[Features] (#260, #261, #262, #263, #264, #265, #266, #267), version 1.1.2.3

This commit is contained in:
Markus Hofknecht 2021-12-09 21:12:56 +01:00
parent 4fad5b17aa
commit a846f1b5e4
27 changed files with 132 additions and 440 deletions

View file

@ -88,10 +88,6 @@ namespace SystemTrayMenu
public static Bitmap BitmapSearch { get; set; }
public static Bitmap BitmapFoldersCount { get; set; }
public static Bitmap BitmapFilesCount { get; set; }
public static Color Icons { get; set; }
public static Color DarkModeIcons { get; set; }

View file

@ -46,8 +46,6 @@ namespace SystemTrayMenu
AppColors.BitmapSettings.Dispose();
AppColors.BitmapRestart.Dispose();
AppColors.BitmapSearch.Dispose();
AppColors.BitmapFoldersCount.Dispose();
AppColors.BitmapFilesCount.Dispose();
}
public static Icon GetAppIcon()
@ -242,8 +240,6 @@ namespace SystemTrayMenu
AppColors.BitmapRestart = ReadSvg(Properties.Resources.ic_fluent_arrow_sync_24_regular, htmlColorCodeIcons);
AppColors.BitmapPinActive = ReadSvg(Properties.Resources.ic_fluent_pin_48_filled, htmlColorCodeIcons);
AppColors.BitmapSearch = ReadSvg(Properties.Resources.ic_fluent_search_48_regular, htmlColorCodeIcons);
AppColors.BitmapFoldersCount = ReadSvg(Properties.Resources.ic_fluent_folder_48_regular, htmlColorCodeIcons);
AppColors.BitmapFilesCount = ReadSvg(Properties.Resources.ic_fluent_document_48_regular, htmlColorCodeIcons);
colorAndCode.HtmlColorCode = Settings.Default.ColorSearchField;
colorAndCode.Color = Color.FromArgb(255, 255, 255);

View file

@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.2.2")]
[assembly: AssemblyFileVersion("1.1.2.2")]
[assembly: AssemblyVersion("1.1.2.3")]
[assembly: AssemblyFileVersion("1.1.2.3")]

View file

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
@ -13,12 +13,12 @@ namespace SystemTrayMenu.Properties {
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
@ -33,7 +33,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
@ -47,8 +47,8 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
@ -61,7 +61,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] ic_fluent_arrow_sync_24_regular {
get {
@ -71,27 +71,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// </summary>
public static byte[] ic_fluent_document_48_regular {
get {
object obj = ResourceManager.GetObject("ic_fluent_document_48_regular", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// </summary>
public static byte[] ic_fluent_folder_48_regular {
get {
object obj = ResourceManager.GetObject("ic_fluent_folder_48_regular", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] ic_fluent_folder_arrow_right_48_regular {
get {
@ -101,7 +81,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] ic_fluent_pin_48_filled {
get {
@ -111,7 +91,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] ic_fluent_pin_48_regular {
get {
@ -121,7 +101,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] ic_fluent_search_48_regular {
get {
@ -131,7 +111,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// Looks up a localized resource of type System.Byte[].
/// </summary>
public static byte[] ic_fluent_settings_28_regular {
get {
@ -141,7 +121,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Icon ähnlich wie (Symbol).
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
public static System.Drawing.Icon Loading {
get {
@ -151,7 +131,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Icon ähnlich wie (Symbol).
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
public static System.Drawing.Icon NotFound {
get {
@ -161,7 +141,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Icon ähnlich wie (Symbol).
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
public static System.Drawing.Icon SystemTrayMenu {
get {
@ -171,7 +151,7 @@ namespace SystemTrayMenu.Properties {
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Icon ähnlich wie (Symbol).
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
public static System.Drawing.Icon White50Percentage {
get {

View file

@ -130,15 +130,9 @@
<data name="ic_fluent_pin_48_regular" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ic_fluent_pin_48_regular.svg;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="ic_fluent_folder_48_regular" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ic_fluent_folder_48_regular.svg;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="ic_fluent_search_48_regular" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ic_fluent_search_48_regular.svg;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="ic_fluent_document_48_regular" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ic_fluent_document_48_regular.svg;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="ic_fluent_folder_arrow_right_48_regular" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ic_fluent_folder_arrow_right_48_regular.svg;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>

View file

@ -1,3 +0,0 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#585858" d="M12.25 4C9.90279 4 8 5.90279 8 8.25V39.75C8 42.0972 9.90279 44 12.25 44H35.75C38.0972 44 40 42.0972 40 39.75V18.4142C40 17.8175 39.7629 17.2452 39.341 16.8232L27.1768 4.65901C26.7548 4.23705 26.1825 4 25.5858 4H12.25ZM10.5 8.25C10.5 7.2835 11.2835 6.5 12.25 6.5H24V15.25C24 17.3211 25.6789 19 27.75 19H37.5V39.75C37.5 40.7165 36.7165 41.5 35.75 41.5H12.25C11.2835 41.5 10.5 40.7165 10.5 39.75V8.25ZM35.4822 16.5H27.75C27.0596 16.5 26.5 15.9404 26.5 15.25V7.51777L35.4822 16.5Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 607 B

View file

@ -1,3 +0,0 @@
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#585858" d="M17.0607 9C17.8933 9 18.7 9.27703 19.3552 9.78393L19.5301 9.92784L22.1162 12.1907C22.3061 12.3569 22.5409 12.4609 22.7891 12.4909L22.9393 12.5H40.25C42.2543 12.5 43.8913 14.0724 43.9948 16.0508L44 16.25V35.25C44 37.2543 42.4276 38.8913 40.4492 38.9948L40.25 39H7.75C5.74574 39 4.10873 37.4276 4.0052 35.4492L4 35.25V12.75C4 10.7457 5.57236 9.10873 7.55084 9.0052L7.75 9H17.0607ZM22.8474 14.9989L20.7205 17.6147C20.0559 18.4327 19.0803 18.9305 18.035 18.9933L17.8101 19L6.5 18.999V35.25C6.5 35.8972 6.99187 36.4295 7.62219 36.4935L7.75 36.5H40.25C40.8972 36.5 41.4295 36.0081 41.4935 35.3778L41.5 35.25V16.25C41.5 15.6028 41.0081 15.0705 40.3778 15.0065L40.25 15L22.8474 14.9989ZM17.0607 11.5H7.75C7.10279 11.5 6.57047 11.9919 6.50645 12.6222L6.5 12.75V16.499L17.8101 16.5C18.1394 16.5 18.4534 16.3701 18.6858 16.142L18.7802 16.0382L20.415 14.025L17.8838 11.8093C17.6939 11.6431 17.4591 11.5391 17.2109 11.5091L17.0607 11.5Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1 KiB

View file

@ -366,6 +366,24 @@ namespace SystemTrayMenu.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to item.
/// </summary>
internal static string element {
get {
return ResourceManager.GetString("element", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to items.
/// </summary>
internal static string elements {
get {
return ResourceManager.GetString("elements", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Exit.
/// </summary>
@ -492,24 +510,6 @@ namespace SystemTrayMenu.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Item.
/// </summary>
internal static string Item {
get {
return ResourceManager.GetString("Item", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Items.
/// </summary>
internal static string Items {
get {
return ResourceManager.GetString("Items", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Language.
/// </summary>
@ -944,15 +944,6 @@ namespace SystemTrayMenu.Resources {
}
}
/// <summary>
/// Looks up a localized string similar to Title.
/// </summary>
internal static string Title {
get {
return ResourceManager.GetString("Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to USB.
/// </summary>
@ -970,14 +961,5 @@ namespace SystemTrayMenu.Resources {
return ResourceManager.GetString("Use icon from folder", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Warning.
/// </summary>
internal static string Warning {
get {
return ResourceManager.GetString("Warning", resourceCulture);
}
}
}
}

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Přečtěte si časté dotazy a poté vyberte kořenový adresář pro SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Varování</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Vybrat složku</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Okraj vybrané položky</value>
</data>
<data name="Title" xml:space="preserve">
<value>Titul</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Změnit na relativní složku</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Vlastní (přetáhněte jej na příslušné místo)</value>
</data>
<data name="element" xml:space="preserve">
<value>živel</value>
</data>
<data name="elements" xml:space="preserve">
<value>elementy</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Lese das FAQ und wähle anschließend ein root Verzeichniss für die SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Warnung</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Ordner auswählen</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Rand des ausgewählten Elements</value>
</data>
<data name="Title" xml:space="preserve">
<value>Titel</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Zum relativen Ordner ändern</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Benutzerdefiniert (an die entsprechende Stelle ziehen)</value>
</data>
<data name="element" xml:space="preserve">
<value>Element</value>
</data>
<data name="elements" xml:space="preserve">
<value>Elemente</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Lea las preguntas frecuentes y luego elija un directorio raíz para SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Advertencia</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Seleccione la carpeta</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Borde del elemento seleccionado</value>
</data>
<data name="Title" xml:space="preserve">
<value>Título</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Cambiar a carpeta relativa</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Personalizado (arrástrelo al lugar apropiado)</value>
</data>
<data name="element" xml:space="preserve">
<value>elemento</value>
</data>
<data name="elements" xml:space="preserve">
<value>elementos</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>سوالات متداول را بخوانید و سپس یک دایرکتوری ریشه برای SystemTrayMenu انتخاب کنید.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>هشدار</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>پوشه را انتخاب کنید</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>حاشیه مورد انتخاب شده</value>
</data>
<data name="Title" xml:space="preserve">
<value>عنوان</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>به پوشه نسبی تغییر دهید</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>سفارشی (آن را به مکان مناسب بکشید)</value>
</data>
<data name="element" xml:space="preserve">
<value>عنصر</value>
</data>
<data name="elements" xml:space="preserve">
<value>عناصر</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Lire la FAQ pour choisir le répertoire des raccourcis pour SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Attention</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Choisir le répertoire</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Bordure de l'élément sélectionné</value>
</data>
<data name="Title" xml:space="preserve">
<value>Titre</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Passer au dossier relatif</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Personnalisé (faites-le glisser à l'endroit approprié)</value>
</data>
<data name="element" xml:space="preserve">
<value>élément</value>
</data>
<data name="elements" xml:space="preserve">
<value>éléments</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Leggere le domande frequenti e quindi scegliere una directory principale per SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Avvertimento</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Seleziona cartella</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Bordo dell'elemento selezionato</value>
</data>
<data name="Title" xml:space="preserve">
<value>Titolo</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Passa alla cartella relativa</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Personalizzato (trascinalo nella posizione appropriata)</value>
</data>
<data name="element" xml:space="preserve">
<value>elemento</value>
</data>
<data name="elements" xml:space="preserve">
<value>elementi</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>よくある質問を読み、SystemTrayMenu のルート ディレクトリを選択します。</value>
</data>
<data name="Warning" xml:space="preserve">
<value>警告</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>フォルダーを選択</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>選択したアイテムの境界</value>
</data>
<data name="Title" xml:space="preserve">
<value>題名</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>相対フォルダに変更</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>カスタム(適切な場所にドラッグ)</value>
</data>
<data name="element" xml:space="preserve">
<value>エレメント</value>
</data>
<data name="elements" xml:space="preserve">
<value>要素</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>FAQ를 읽고 SystemTrayMenu의 루트 디렉토리를 선택하십시오.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>경고</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>폴더 선택</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>선택한 항목의 테두리</value>
</data>
<data name="Title" xml:space="preserve">
<value>표제</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>상대 폴더로 변경</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>사용자 지정(적절한 위치로 드래그)</value>
</data>
<data name="element" xml:space="preserve">
<value>요소</value>
</data>
<data name="elements" xml:space="preserve">
<value>집단</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Lees de FAQ en kies dan een hoofdmap voor het SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Waarschuwing</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Selecteer Map</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Rand van geselecteerde item</value>
</data>
<data name="Title" xml:space="preserve">
<value>Titel</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Verander naar de relatieve map</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Aangepast (sleep het naar de juiste plaats)</value>
</data>
<data name="element" xml:space="preserve">
<value>element</value>
</data>
<data name="elements" xml:space="preserve">
<value>elementen</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Leia as Perguntas Frequentes e então escolha uma pasta raiz para o SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Aviso</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Selecionar Pasta</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Borda do item selecionado</value>
</data>
<data name="Title" xml:space="preserve">
<value>Título</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Mudar para a pasta relativa</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Personalizado (arraste-o para o local apropriado)</value>
</data>
<data name="element" xml:space="preserve">
<value>elemento</value>
</data>
<data name="elements" xml:space="preserve">
<value>elementos</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Read the FAQ and then choose a root directory for the SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Warning</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Select Folder</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Border of selected item</value>
</data>
<data name="Title" xml:space="preserve">
<value>Title</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Change to relative folder</value>
</data>
@ -417,10 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Custom (drag it to the appropriate place)</value>
</data>
<data name="Item" xml:space="preserve">
<value>Item</value>
<data name="element" xml:space="preserve">
<value>item</value>
</data>
<data name="Items" xml:space="preserve">
<value>Items</value>
<data name="elements" xml:space="preserve">
<value>items</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Прочтите FAQ, а затем выберите корневой каталог для SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Предупреждение</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Выберите папку</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Граница выбранного объекта</value>
</data>
<data name="Title" xml:space="preserve">
<value>Заголовок</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Перейти в относительную папку</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Пользовательский (перетащите в соответствующее место)</value>
</data>
<data name="element" xml:space="preserve">
<value>элемент</value>
</data>
<data name="elements" xml:space="preserve">
<value>элементы</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>SSS bölümünü okuyun ve ardından SystemTrayMenu için bir kök dizin seçin.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Uyarı</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Klasör Seç</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Seçili öğenin kenarlığı</value>
</data>
<data name="Title" xml:space="preserve">
<value>Başlık</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Göreli klasöre geç</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Özel (uygun yere sürükleyin)</value>
</data>
<data name="element" xml:space="preserve">
<value>eleman</value>
</data>
<data name="elements" xml:space="preserve">
<value>elementler</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>Đọc Câu hỏi thường gặp và sau đó chọn một thư mục gốc cho SystemTrayMenu.</value>
</data>
<data name="Warning" xml:space="preserve">
<value>Cảnh báo</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>Chọn thư mục</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>Đường viền của mục đã chọn</value>
</data>
<data name="Title" xml:space="preserve">
<value>Tiêu đề</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>Thay đổi thành thư mục tương đối</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>Tùy chỉnh (kéo nó đến vị trí thích hợp)</value>
</data>
<data name="element" xml:space="preserve">
<value>thành phần</value>
</data>
<data name="elements" xml:space="preserve">
<value>các yếu tố</value>
</data>
</root>

View file

@ -180,9 +180,6 @@
<data name="TextFirstStart" xml:space="preserve">
<value>阅读常见问题,然后为 SystemTrayMenu 选择一个根目录。</value>
</data>
<data name="Warning" xml:space="preserve">
<value>警告</value>
</data>
<data name="Select Folder" xml:space="preserve">
<value>选择文件夹</value>
</data>
@ -255,9 +252,6 @@
<data name="Border of selected item" xml:space="preserve">
<value>所选项目的边框</value>
</data>
<data name="Title" xml:space="preserve">
<value>标题</value>
</data>
<data name="Change to relative folder" xml:space="preserve">
<value>切换到相对文件夹</value>
</data>
@ -417,4 +411,10 @@
<data name="Custom (drag it to the appropriate place)" xml:space="preserve">
<value>自定义(拖动到合适的地方)</value>
</data>
<data name="element" xml:space="preserve">
<value>元素</value>
</data>
<data name="elements" xml:space="preserve">
<value>元素</value>
</data>
</root>

View file

@ -557,11 +557,11 @@ namespace SystemTrayMenu.UserInterface
labelFilesCount.Text = filesAndFoldersCount.ToString();
if (filesAndFoldersCount == 1)
{
labelItems.Text = Translator.GetText("Item");
labelItems.Text = Translator.GetText("element");
}
else
{
labelItems.Text = Translator.GetText("Items");
labelItems.Text = Translator.GetText("elements");
}
}
@ -936,18 +936,6 @@ namespace SystemTrayMenu.UserInterface
e.Graphics.DrawImage(AppColors.BitmapSearch, new Rectangle(Point.Empty, pictureBox.ClientSize));
}
private void PictureBoxFoldersCount_Paint(object sender, PaintEventArgs e)
{
PictureBox pictureBox = (PictureBox)sender;
e.Graphics.DrawImage(AppColors.BitmapFoldersCount, new Rectangle(Point.Empty, pictureBox.ClientSize));
}
private void PictureBoxFilesCount_Paint(object sender, PaintEventArgs e)
{
PictureBox pictureBox = (PictureBox)sender;
e.Graphics.DrawImage(AppColors.BitmapFilesCount, new Rectangle(Point.Empty, pictureBox.ClientSize));
}
private void LoadingMenu_Paint(object sender, PaintEventArgs e)
{
PictureBox pictureBox = (PictureBox)sender;

View file

@ -1,60 +0,0 @@
// <copyright file="PerPixelAlphaBlend.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace SystemTrayMenu.UserInterface
{
using System;
using System.Drawing;
using System.Drawing.Imaging;
internal static class PerPixelAlphaBlend
{
public static void SetBitmap(Bitmap bitmap, int left, int top, IntPtr handle, double opacityInPercentage)
{
int opacity = (int)(opacityInPercentage * 255);
SetBitmap(bitmap, (byte)opacity, left, top, handle);
}
public static void SetBitmap(Bitmap bitmap, byte opacity, int left, int top, IntPtr handle)
{
if (bitmap.PixelFormat != PixelFormat.Format32bppArgb)
{
throw new ApplicationException("The bitmap must be 32ppp with alpha-channel.");
}
IntPtr screenDc = Win32.GetDC(IntPtr.Zero);
IntPtr memDc = Win32.CreateCompatibleDC(screenDc);
IntPtr hBitmap = IntPtr.Zero;
IntPtr oldBitmap = IntPtr.Zero;
try
{
hBitmap = bitmap.GetHbitmap(Color.FromArgb(0));
oldBitmap = Win32.SelectObject(memDc, hBitmap);
Win32.Size size = new(bitmap.Width, bitmap.Height);
Win32.Point pointSource = new(0, 0);
Win32.Point topPos = new(left, top);
Win32.BLENDFUNCTION blend = new();
blend.BlendOp = Win32.AC_SRC_OVER;
blend.BlendFlags = 0;
blend.SourceConstantAlpha = opacity;
blend.AlphaFormat = Win32.AC_SRC_ALPHA;
Win32.UpdateLayeredWindow(handle, screenDc, ref topPos, ref size, memDc, ref pointSource, 0, ref blend, Win32.ULW_ALPHA);
}
finally
{
Win32.ReleaseDC(IntPtr.Zero, screenDc);
if (hBitmap != IntPtr.Zero)
{
Win32.SelectObject(memDc, oldBitmap);
Win32.DeleteObject(hBitmap);
}
Win32.DeleteDC(memDc);
}
}
}
}

View file

@ -1,73 +0,0 @@
// <copyright file="RoundedRectangle.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace SystemTrayMenu.UserInterface
{
using System;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using SystemTrayMenu.DataClasses;
using SystemTrayMenu.DllImports;
using SystemTrayMenu.Helper;
using SystemTrayMenu.Utilities;
public static class RoundedRectangle
{
public static GraphicsPath RoundedRect(Rectangle bounds, int radius)
{
int diameter = radius * 2;
Size size = new(diameter, diameter);
Rectangle arc = new(bounds.Location, size);
GraphicsPath path = new();
if (radius == 0)
{
path.AddRectangle(bounds);
return path;
}
// top left arc
path.AddArc(arc, 180, 90);
// top right arc
arc.X = bounds.Right - diameter;
path.AddArc(arc, 270, 90);
// bottom right arc
arc.Y = bounds.Bottom - diameter;
path.AddArc(arc, 0, 90);
// bottom left arc
arc.X = bounds.Left;
path.AddArc(arc, 90, 90);
path.CloseFigure();
return path;
}
public static void FillRoundedRectangle(Graphics graphics, Brush brush, Rectangle bounds, int cornerRadius)
{
if (graphics == null)
{
throw new ArgumentNullException("graphics");
}
if (brush == null)
{
throw new ArgumentNullException("brush");
}
using (GraphicsPath path = RoundedRect(bounds, cornerRadius))
{
graphics.FillPath(brush, path);
}
}
}
}

View file

@ -1,99 +0,0 @@
// <copyright file="Win32.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace SystemTrayMenu.UserInterface
{
using System;
using System.Data;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.Globalization;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using SystemTrayMenu.DataClasses;
using SystemTrayMenu.DllImports;
using SystemTrayMenu.Helper;
using SystemTrayMenu.Utilities;
internal class Win32
{
public enum Bool
{
False = 0,
True
};
[StructLayout(LayoutKind.Sequential)]
public struct Point
{
public Int32 x;
public Int32 y;
public Point(Int32 x, Int32 y) { this.x = x; this.y = y; }
}
[StructLayout(LayoutKind.Sequential)]
public struct Size
{
public Int32 cx;
public Int32 cy;
public Size(Int32 cx, Int32 cy) { this.cx = cx; this.cy = cy; }
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct ARGB
{
public byte Blue;
public byte Green;
public byte Red;
public byte Alpha;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct BLENDFUNCTION
{
public byte BlendOp;
public byte BlendFlags;
public byte SourceConstantAlpha;
public byte AlphaFormat;
}
public const Int32 ULW_COLORKEY = 0x00000001;
public const Int32 ULW_ALPHA = 0x00000002;
public const Int32 ULW_OPAQUE = 0x00000004;
public const byte AC_SRC_OVER = 0x00;
public const byte AC_SRC_ALPHA = 0x01;
[DllImport("user32.dll", ExactSpelling = true, SetLastError = true)]
public static extern Bool UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, ref Point pptDst, ref Size psize, IntPtr hdcSrc, ref Point pprSrc, Int32 crKey, ref BLENDFUNCTION pblend, Int32 dwFlags);
[DllImport("user32.dll", ExactSpelling = true, SetLastError = true)]
public static extern IntPtr GetDC(IntPtr hWnd);
[DllImport("user32.dll", ExactSpelling = true)]
public static extern int ReleaseDC(IntPtr hWnd, IntPtr hDC);
[DllImport("gdi32.dll", ExactSpelling = true, SetLastError = true)]
public static extern IntPtr CreateCompatibleDC(IntPtr hDC);
[DllImport("gdi32.dll", ExactSpelling = true, SetLastError = true)]
public static extern Bool DeleteDC(IntPtr hdc);
[DllImport("gdi32.dll", ExactSpelling = true)]
public static extern IntPtr SelectObject(IntPtr hDC, IntPtr hObject);
[DllImport("gdi32.dll", ExactSpelling = true, SetLastError = true)]
public static extern Bool DeleteObject(IntPtr hObject);
}
}