From 65644164792c3eaa9214c5abcb62052ca6ea2344 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 9 Nov 2011 12:45:10 +0000 Subject: Update host C# applications for VS2010. Make LEDNotifier project host applications only display valid COM port names for the PC it is run on, rather than all possible port names. Add missing property files to the TempDataLogger project host application. --- .../TempLogHostApp/Properties/AssemblyInfo.cs | 36 +++++++ .../Properties/Resources.Designer.cs | 63 +++++++++++ .../TempLogHostApp/Properties/Resources.resx | 117 +++++++++++++++++++++ .../TempLogHostApp/Properties/Settings.Designer.cs | 26 +++++ .../TempLogHostApp/Properties/Settings.settings | 7 ++ .../TempLogHostApp/TempLoggerHostApp.csproj | 6 +- 6 files changed, 254 insertions(+), 1 deletion(-) create mode 100644 Projects/TempDataLogger/TempLogHostApp/Properties/AssemblyInfo.cs create mode 100644 Projects/TempDataLogger/TempLogHostApp/Properties/Resources.Designer.cs create mode 100644 Projects/TempDataLogger/TempLogHostApp/Properties/Resources.resx create mode 100644 Projects/TempDataLogger/TempLogHostApp/Properties/Settings.Designer.cs create mode 100644 Projects/TempDataLogger/TempLogHostApp/Properties/Settings.settings (limited to 'Projects/TempDataLogger/TempLogHostApp') diff --git a/Projects/TempDataLogger/TempLogHostApp/Properties/AssemblyInfo.cs b/Projects/TempDataLogger/TempLogHostApp/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..e6fb7a3a9 --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +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("TempDataLoggerHostApp")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Dean Camera")] +[assembly: AssemblyProduct("Temp DataLogger HostApp")] +[assembly: AssemblyCopyright("Copyright © Dean Camera 2011")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f41d67c7-13b2-4710-9e0f-f78e7f2bf2e9")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// 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.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Projects/TempDataLogger/TempLogHostApp/Properties/Resources.Designer.cs b/Projects/TempDataLogger/TempLogHostApp/Properties/Resources.Designer.cs new file mode 100644 index 000000000..1806a129a --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.239 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TemperatureLoggerHostApp.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + 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() { + } + + /// + /// 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 (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TemperatureLoggerHostApp.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 { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/Projects/TempDataLogger/TempLogHostApp/Properties/Resources.resx b/Projects/TempDataLogger/TempLogHostApp/Properties/Resources.resx new file mode 100644 index 000000000..ffecec851 --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Projects/TempDataLogger/TempLogHostApp/Properties/Settings.Designer.cs b/Projects/TempDataLogger/TempLogHostApp/Properties/Settings.Designer.cs new file mode 100644 index 000000000..21450f64b --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.239 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace TemperatureLoggerHostApp.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.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 { + return defaultInstance; + } + } + } +} diff --git a/Projects/TempDataLogger/TempLogHostApp/Properties/Settings.settings b/Projects/TempDataLogger/TempLogHostApp/Properties/Settings.settings new file mode 100644 index 000000000..abf36c5d3 --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Projects/TempDataLogger/TempLogHostApp/TempLoggerHostApp.csproj b/Projects/TempDataLogger/TempLogHostApp/TempLoggerHostApp.csproj index e3b08928f..b644f4b47 100644 --- a/Projects/TempDataLogger/TempLogHostApp/TempLoggerHostApp.csproj +++ b/Projects/TempDataLogger/TempLogHostApp/TempLoggerHostApp.csproj @@ -1,5 +1,5 @@  - + Debug AnyCPU @@ -12,6 +12,10 @@ TemperatureLoggerHostApp v3.5 512 + + + 3.5 + true -- cgit v1.2.3