diff --git a/AppDiagnostic/AppDiagnostic.csproj b/AppDiagnostic/AppDiagnostic.csproj index 65f8e8e7a..cef866153 100644 --- a/AppDiagnostic/AppDiagnostic.csproj +++ b/AppDiagnostic/AppDiagnostic.csproj @@ -76,6 +76,7 @@ True Resources.resx + True @@ -97,5 +98,8 @@ SharedComponents + + + \ No newline at end of file diff --git a/AppDiagnostic/MainForm.cs b/AppDiagnostic/MainForm.cs index ee4f6b817..f7c0d093d 100644 --- a/AppDiagnostic/MainForm.cs +++ b/AppDiagnostic/MainForm.cs @@ -29,6 +29,8 @@ namespace AppDiagnostic public MainForm() { + this.Icon = Properties.Resources.TBF_icon; + InitializeComponent(); // Inicializujeme LogAdapter a priradíme ho k memoListView diff --git a/AppDiagnostic/Properties/Resources.Designer.cs b/AppDiagnostic/Properties/Resources.Designer.cs index 1b5dfe715..51721f7d2 100644 --- a/AppDiagnostic/Properties/Resources.Designer.cs +++ b/AppDiagnostic/Properties/Resources.Designer.cs @@ -8,10 +8,10 @@ // //------------------------------------------------------------------------------ -namespace AppDiagnostic.Properties -{ - - +namespace AppDiagnostic.Properties { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -19,53 +19,55 @@ namespace AppDiagnostic.Properties // 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", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AppDiagnostic.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } + + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// + internal static System.Drawing.Icon TBF_icon { + get { + object obj = ResourceManager.GetObject("TBF_icon", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } } } diff --git a/AppDiagnostic/Properties/Resources.resx b/AppDiagnostic/Properties/Resources.resx index 13b775f1d..1ce3c962e 100644 --- a/AppDiagnostic/Properties/Resources.resx +++ b/AppDiagnostic/Properties/Resources.resx @@ -46,7 +46,7 @@ mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with - : System.Serialization.Formatters.Binary.BinaryFormatter + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 @@ -60,6 +60,7 @@ : and then encoded with base64 encoding. --> + @@ -68,9 +69,10 @@ - + + @@ -85,9 +87,10 @@ - + + @@ -109,9 +112,13 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\Resources\TBF_icon.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/AppDiagnostic/Resources/TBF_icon.ico b/AppDiagnostic/Resources/TBF_icon.ico new file mode 100644 index 000000000..bf67f539b Binary files /dev/null and b/AppDiagnostic/Resources/TBF_icon.ico differ diff --git a/Results/Forms/BatchResultsDlg.cs b/Results/Forms/BatchResultsDlg.cs index 725441262..ec01aaa42 100644 --- a/Results/Forms/BatchResultsDlg.cs +++ b/Results/Forms/BatchResultsDlg.cs @@ -49,6 +49,8 @@ namespace Results.Forms { InitializeComponent(); + this.Icon = Properties.Resources.TBF_icon; + firstEnabledControl = null; lastSizeChange = DateTime.Now; nrGroups = 1; diff --git a/Results/Forms/ManualEntryConfigDlg.cs b/Results/Forms/ManualEntryConfigDlg.cs index 98b3192f6..c67448dde 100644 --- a/Results/Forms/ManualEntryConfigDlg.cs +++ b/Results/Forms/ManualEntryConfigDlg.cs @@ -24,7 +24,10 @@ namespace Results.Forms public ManualEntryConfigDlg() { InitializeComponent(); - manualEntryConfigCtrl.Unlocked = true; + + this.Icon = Properties.Resources.TBF_icon; + + manualEntryConfigCtrl.Unlocked = true; } diff --git a/Results/Forms/MoreWMResultsDlg.cs b/Results/Forms/MoreWMResultsDlg.cs index c78544dd8..a66386737 100644 --- a/Results/Forms/MoreWMResultsDlg.cs +++ b/Results/Forms/MoreWMResultsDlg.cs @@ -25,6 +25,8 @@ namespace Results.Forms { InitializeComponent(); + this.Icon = Properties.Resources.TBF_icon; + Localize(); ShowAllResults(wm); diff --git a/Results/Forms/ResultsConfigDlg.cs b/Results/Forms/ResultsConfigDlg.cs index 2bea3374e..6544b01d7 100644 --- a/Results/Forms/ResultsConfigDlg.cs +++ b/Results/Forms/ResultsConfigDlg.cs @@ -35,7 +35,10 @@ namespace Results.Forms public ResultsConfigDlg() { InitializeComponent(); - resultsConfigCtrl.Unlocked = true; + + this.Icon = Properties.Resources.TBF_icon; + + resultsConfigCtrl.Unlocked = true; } diff --git a/Results/Properties/Resources.Designer.cs b/Results/Properties/Resources.Designer.cs index a3febc1fa..dc0c14ac1 100644 --- a/Results/Properties/Resources.Designer.cs +++ b/Results/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace Results.Properties { // 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", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -69,5 +69,15 @@ namespace Results.Properties { return ((System.Drawing.Bitmap)(obj)); } } + + /// + /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon). + /// + internal static System.Drawing.Icon TBF_icon { + get { + object obj = ResourceManager.GetObject("TBF_icon", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } } } diff --git a/Results/Properties/Resources.resx b/Results/Properties/Resources.resx index 0191a707d..f04250fde 100644 --- a/Results/Properties/Resources.resx +++ b/Results/Properties/Resources.resx @@ -121,4 +121,7 @@ ..\Resources\Headpic.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\TBF_icon.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/Results/Resources/TBF_icon.ico b/Results/Resources/TBF_icon.ico new file mode 100644 index 000000000..bf67f539b Binary files /dev/null and b/Results/Resources/TBF_icon.ico differ diff --git a/Results/Results.csproj b/Results/Results.csproj index 06cf05a71..c19b74969 100644 --- a/Results/Results.csproj +++ b/Results/Results.csproj @@ -256,6 +256,7 @@ +