diff --git a/ATXTray/ATXTray.csproj b/ATxTray/ATXTray.csproj similarity index 97% rename from ATXTray/ATXTray.csproj rename to ATxTray/ATXTray.csproj index d3f0902541f0e7f9ceab46936140867350e75b48..50ac4135691c6696f1c6e159d12787330642e42b 100644 --- a/ATXTray/ATXTray.csproj +++ b/ATxTray/ATXTray.csproj @@ -7,8 +7,8 @@ <ProjectGuid>{0CEB80C5-65DB-406B-BCFA-4D0474C2309B}</ProjectGuid> <OutputType>WinExe</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>ATXTray</RootNamespace> - <AssemblyName>ATXTray</AssemblyName> + <RootNamespace>ATxTray</RootNamespace> + <AssemblyName>ATxTray</AssemblyName> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> </PropertyGroup> @@ -74,6 +74,7 @@ <Compile Include="Properties\Resources.Designer.cs"> <AutoGen>True</AutoGen> <DependentUpon>Resources.resx</DependentUpon> + <DesignTime>True</DesignTime> </Compile> <None Include="packages.config" /> <None Include="Properties\Settings.settings"> diff --git a/ATXTray/AutoTxTray.cs b/ATxTray/AutoTxTray.cs similarity index 99% rename from ATXTray/AutoTxTray.cs rename to ATxTray/AutoTxTray.cs index 311fa6c7dc2e5a98aa18d2625b6cb5b050fd3d22..256b62cfffb9544762ed51c1b394884476bf5270 100644 --- a/ATXTray/AutoTxTray.cs +++ b/ATxTray/AutoTxTray.cs @@ -11,7 +11,7 @@ using NLog.Config; using NLog.Targets; using Timer = System.Timers.Timer; -namespace ATXTray +namespace ATxTray { public class AutoTxTray : ApplicationContext { diff --git a/ATXTray/Program.cs b/ATxTray/Program.cs similarity index 95% rename from ATXTray/Program.cs rename to ATxTray/Program.cs index adc49d615e955b305191917ad0fcd0f16ea69527..33d438058e5cfa76853e64131d800b3632d1d806 100644 --- a/ATXTray/Program.cs +++ b/ATxTray/Program.cs @@ -1,7 +1,7 @@ using System; using System.Windows.Forms; -namespace ATXTray +namespace ATxTray { internal static class Program { diff --git a/ATXTray/Properties/AssemblyInfo.cs b/ATxTray/Properties/AssemblyInfo.cs similarity index 94% rename from ATXTray/Properties/AssemblyInfo.cs rename to ATxTray/Properties/AssemblyInfo.cs index 0dfbe941ce8e7f9f65a066b7b9e5d1342c491d39..e309ac8973b2fe2d2d8565e21859af5d85c7e80e 100644 --- a/ATXTray/Properties/AssemblyInfo.cs +++ b/ATxTray/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("ATXTray")] +[assembly: AssemblyTitle("ATxTray")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Universitaet Basel")] -[assembly: AssemblyProduct("ATXTray")] +[assembly: AssemblyProduct("ATxTray")] [assembly: AssemblyCopyright("Copyright © Universitaet Basel 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/ATXTray/Properties/Resources.Designer.cs b/ATxTray/Properties/Resources.Designer.cs similarity index 86% rename from ATXTray/Properties/Resources.Designer.cs rename to ATxTray/Properties/Resources.Designer.cs index 5d0d9dcd7267cfa4b898f3c02466c0c380ef119b..394274bf67135effca3ae4fc5a76b9871ec87c97 100644 --- a/ATXTray/Properties/Resources.Designer.cs +++ b/ATxTray/Properties/Resources.Designer.cs @@ -8,10 +8,10 @@ // </auto-generated> //------------------------------------------------------------------------------ -namespace ATXTray.Properties -{ - - +namespace ATxTray.Properties { + using System; + + /// <summary> /// A strongly-typed resource class, for looking up localized strings, etc. /// </summary> @@ -22,48 +22,40 @@ namespace ATXTray.Properties [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.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() { } - + /// <summary> /// Returns the cached ResourceManager instance used by this class. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ATXTray.Properties.Resources", typeof(Resources).Assembly); + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ATxTray.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// <summary> /// 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)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/ATXTray/Properties/Settings.Designer.cs b/ATxTray/Properties/Settings.Designer.cs similarity index 83% rename from ATXTray/Properties/Settings.Designer.cs rename to ATxTray/Properties/Settings.Designer.cs index 6eec4f8c6a77541ff8e20d1dd059a51f0cffe81b..d42e625772b9d3f4a1eb2f1b93b68fb9a33379cf 100644 --- a/ATXTray/Properties/Settings.Designer.cs +++ b/ATxTray/Properties/Settings.Designer.cs @@ -8,21 +8,17 @@ // </auto-generated> //------------------------------------------------------------------------------ -namespace ATXTray.Properties -{ - - +namespace ATxTray.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/AutoTx.sln b/AutoTx.sln index 20e20182ce24e9b39acd0ab161a6644d9cd83da9..35e8ffc7eb18866c0d260de3ec027307f67824dd 100644 --- a/AutoTx.sln +++ b/AutoTx.sln @@ -9,7 +9,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ATxCommon", "ATxCommon\ATxC EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ATxConfigTest", "ATxConfigTest\ATxConfigTest.csproj", "{81E0A5AC-0E0D-4F98-B399-41A58612EF33}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ATXTray", "ATXTray\ATXTray.csproj", "{0CEB80C5-65DB-406B-BCFA-4D0474C2309B}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ATxTray", "ATxTray\ATxTray.csproj", "{0CEB80C5-65DB-406B-BCFA-4D0474C2309B}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution