diff options
Diffstat (limited to 'Projects')
18 files changed, 345 insertions, 96 deletions
| diff --git a/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.cs b/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.cs index 34903f4258..32543fc59b 100644 --- a/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.cs +++ b/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.cs @@ -28,8 +28,10 @@ namespace CPUMonitor          {              AppRegKey = Registry.CurrentUser.CreateSubKey("Software\\CPUMonitor"); -            for (int i = 1; i <= 99; i++) -                cmbComPort.Items.Add("COM" + i.ToString()); +            String[] PortNames = System.IO.Ports.SerialPort.GetPortNames(); +            Array.Sort<String>(PortNames, delegate(string strA, string strB) { return int.Parse(strA.Substring(3)).CompareTo(int.Parse(strB.Substring(3))); }); +            cmbComPort.Items.Clear(); +            cmbComPort.Items.AddRange(PortNames);              cmbComPort.SelectedIndex = System.Convert.ToInt32(AppRegKey.GetValue("Port", "1")) - 1;              serSerialPort.PortName = cmbComPort.Text; diff --git a/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.csproj b/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.csproj index 42039033bc..7b08690f7c 100644 --- a/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.csproj +++ b/Projects/LEDNotifier/CPUUsageApp/CPUMonitor.csproj @@ -1,5 +1,5 @@  <?xml version="1.0" encoding="utf-8"?>
 -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
      <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
      <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
 @@ -12,6 +12,10 @@      <AssemblyName>CPUMonitor</AssemblyName>
      <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
      <FileAlignment>512</FileAlignment>
 +    <FileUpgradeFlags>
 +    </FileUpgradeFlags>
 +    <OldToolsVersion>3.5</OldToolsVersion>
 +    <UpgradeBackupLocation />
    </PropertyGroup>
    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
      <DebugSymbols>true</DebugSymbols>
 @@ -68,6 +72,7 @@      <Compile Include="Properties\Resources.Designer.cs">
        <AutoGen>True</AutoGen>
        <DependentUpon>Resources.resx</DependentUpon>
 +      <DesignTime>True</DesignTime>
      </Compile>
      <None Include="Properties\Settings.settings">
        <Generator>SettingsSingleFileGenerator</Generator>
 diff --git a/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.Designer.cs b/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.Designer.cs index a3ba63d3d5..bf80e05fc5 100644 --- a/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.Designer.cs +++ b/Projects/LEDNotifier/CPUUsageApp/Properties/Resources.Designer.cs @@ -1,17 +1,17 @@  //------------------------------------------------------------------------------  // <auto-generated>  //     This code was generated by a tool. -//     Runtime Version:2.0.50727.4927 +//     Runtime Version:4.0.30319.239  //  //     Changes to this file may cause incorrect behavior and will be lost if  //     the code is regenerated.  // </auto-generated>  //------------------------------------------------------------------------------ -namespace CPUMonitor.Properties -{ - - +namespace CPUMonitor.Properties { +    using System; +     +          /// <summary>      ///   A strongly-typed resource class, for looking up localized strings, etc.      /// </summary> @@ -19,51 +19,43 @@ namespace CPUMonitor.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", "2.0.0.0")] +    [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)) -                { +        internal static global::System.Resources.ResourceManager ResourceManager { +            get { +                if (object.ReferenceEquals(resourceMan, null)) {                      global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CPUMonitor.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/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs b/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs index 31165608c4..690fde3ba2 100644 --- a/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs +++ b/Projects/LEDNotifier/CPUUsageApp/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@  //------------------------------------------------------------------------------  // <auto-generated>  //     This code was generated by a tool. -//     Runtime Version:2.0.50727.4927 +//     Runtime Version:4.0.30319.239  //  //     Changes to this file may cause incorrect behavior and will be lost if  //     the code is regenerated.  // </auto-generated>  //------------------------------------------------------------------------------ -namespace CPUMonitor.Properties -{ - - +namespace CPUMonitor.Properties { +     +          [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] -    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase -    { - +    [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 -            { +         +        public static Settings Default { +            get {                  return defaultInstance;              }          } diff --git a/Projects/LEDNotifier/HotmailNotifierApp/MailNotifier.cs b/Projects/LEDNotifier/HotmailNotifierApp/MailNotifier.cs index 43cbef88c9..02d83e856e 100644 --- a/Projects/LEDNotifier/HotmailNotifierApp/MailNotifier.cs +++ b/Projects/LEDNotifier/HotmailNotifierApp/MailNotifier.cs @@ -23,8 +23,10 @@ namespace TestWinForms              Messenger = new MessengerAPI.Messenger();              AppRegKey = Registry.CurrentUser.CreateSubKey("Software\\MailNotifier"); -            for (int i = 1; i < 99; i++) -                cmbComPort.Items.Add("COM" + i.ToString()); +            String[] PortNames = System.IO.Ports.SerialPort.GetPortNames(); +            Array.Sort<String>(PortNames, delegate(string strA, string strB) { return int.Parse(strA.Substring(3)).CompareTo(int.Parse(strB.Substring(3))); }); +            cmbComPort.Items.Clear(); +            cmbComPort.Items.AddRange(PortNames);              cmbComPort.SelectedIndex = System.Convert.ToInt32(AppRegKey.GetValue("Port", "1")) - 1;              serSerialPort.PortName = cmbComPort.Text; diff --git a/Projects/LEDNotifier/HotmailNotifierApp/MailNotifier.csproj b/Projects/LEDNotifier/HotmailNotifierApp/MailNotifier.csproj index 3156b5d125..98989a01f8 100644 --- a/Projects/LEDNotifier/HotmailNotifierApp/MailNotifier.csproj +++ b/Projects/LEDNotifier/HotmailNotifierApp/MailNotifier.csproj @@ -1,5 +1,5 @@  <?xml version="1.0" encoding="utf-8"?>
 -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
      <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
      <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
 @@ -12,6 +12,10 @@      <AssemblyName>MailNotifier</AssemblyName>
      <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
      <FileAlignment>512</FileAlignment>
 +    <FileUpgradeFlags>
 +    </FileUpgradeFlags>
 +    <OldToolsVersion>3.5</OldToolsVersion>
 +    <UpgradeBackupLocation />
    </PropertyGroup>
    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
      <DebugSymbols>true</DebugSymbols>
 diff --git a/Projects/LEDNotifier/HotmailNotifierApp/Properties/Resources.Designer.cs b/Projects/LEDNotifier/HotmailNotifierApp/Properties/Resources.Designer.cs index 67e2793d2e..663fe11857 100644 --- a/Projects/LEDNotifier/HotmailNotifierApp/Properties/Resources.Designer.cs +++ b/Projects/LEDNotifier/HotmailNotifierApp/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@  //------------------------------------------------------------------------------  // <auto-generated>  //     This code was generated by a tool. -//     Runtime Version:2.0.50727.4927 +//     Runtime Version:4.0.30319.239  //  //     Changes to this file may cause incorrect behavior and will be lost if  //     the code is regenerated. @@ -19,7 +19,7 @@ namespace MailNotifier.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", "2.0.0.0")] +    [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 { diff --git a/Projects/LEDNotifier/HotmailNotifierApp/Properties/Settings.Designer.cs b/Projects/LEDNotifier/HotmailNotifierApp/Properties/Settings.Designer.cs index 2906c3ff3e..7f27c5eeaa 100644 --- a/Projects/LEDNotifier/HotmailNotifierApp/Properties/Settings.Designer.cs +++ b/Projects/LEDNotifier/HotmailNotifierApp/Properties/Settings.Designer.cs @@ -1,7 +1,7 @@  //------------------------------------------------------------------------------  // <auto-generated>  //     This code was generated by a tool. -//     Runtime Version:2.0.50727.4927 +//     Runtime Version:4.0.30319.239  //  //     Changes to this file may cause incorrect behavior and will be lost if  //     the code is regenerated. @@ -12,7 +12,7 @@ namespace MailNotifier.Properties {      [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] +    [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()))); diff --git a/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs b/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs index 6e19af8edc..dfaffed309 100644 --- a/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs +++ b/Projects/LEDNotifier/LEDMixerApp/LEDMixer.cs @@ -20,8 +20,10 @@ namespace LEDMixer          private void LEDMixer_Load(object sender, EventArgs e)          { -            for (int i = 1; i <= 99; i++) -                cbPort.Items.Add("COM" + i.ToString()); +            String[] PortNames = System.IO.Ports.SerialPort.GetPortNames(); +            Array.Sort<String>(PortNames, delegate(string strA, string strB) { return int.Parse(strA.Substring(3)).CompareTo(int.Parse(strB.Substring(3))); }); +            cbPort.Items.Clear(); +            cbPort.Items.AddRange(PortNames);              cbPort.SelectedIndex = 0; diff --git a/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj b/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj index 9b4660026a..4e9318c6eb 100644 --- a/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj +++ b/Projects/LEDNotifier/LEDMixerApp/LEDMixer.csproj @@ -1,5 +1,5 @@  <?xml version="1.0" encoding="utf-8"?>
 -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
      <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
      <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
 @@ -12,6 +12,10 @@      <AssemblyName>LEDMixer</AssemblyName>
      <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
      <FileAlignment>512</FileAlignment>
 +    <FileUpgradeFlags>
 +    </FileUpgradeFlags>
 +    <OldToolsVersion>3.5</OldToolsVersion>
 +    <UpgradeBackupLocation />
    </PropertyGroup>
    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
      <DebugSymbols>true</DebugSymbols>
 @@ -68,6 +72,7 @@      <Compile Include="Properties\Resources.Designer.cs">
        <AutoGen>True</AutoGen>
        <DependentUpon>Resources.resx</DependentUpon>
 +      <DesignTime>True</DesignTime>
      </Compile>
      <None Include="Properties\Settings.settings">
        <Generator>SettingsSingleFileGenerator</Generator>
 diff --git a/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs b/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs index 74c0e3e7e5..53e3f2e0b9 100644 --- a/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs +++ b/Projects/LEDNotifier/LEDMixerApp/Properties/Resources.Designer.cs @@ -1,17 +1,17 @@  //------------------------------------------------------------------------------  // <auto-generated>  //     This code was generated by a tool. -//     Runtime Version:2.0.50727.4927 +//     Runtime Version:4.0.30319.239  //  //     Changes to this file may cause incorrect behavior and will be lost if  //     the code is regenerated.  // </auto-generated>  //------------------------------------------------------------------------------ -namespace LEDMixer.Properties -{ - - +namespace LEDMixer.Properties { +    using System; +     +          /// <summary>      ///   A strongly-typed resource class, for looking up localized strings, etc.      /// </summary> @@ -19,51 +19,43 @@ namespace LEDMixer.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", "2.0.0.0")] +    [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)) -                { +        internal static global::System.Resources.ResourceManager ResourceManager { +            get { +                if (object.ReferenceEquals(resourceMan, null)) {                      global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LEDMixer.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/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs b/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs index 1e613aa26f..d79f28b804 100644 --- a/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs +++ b/Projects/LEDNotifier/LEDMixerApp/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@  //------------------------------------------------------------------------------  // <auto-generated>  //     This code was generated by a tool. -//     Runtime Version:2.0.50727.4927 +//     Runtime Version:4.0.30319.239  //  //     Changes to this file may cause incorrect behavior and will be lost if  //     the code is regenerated.  // </auto-generated>  //------------------------------------------------------------------------------ -namespace LEDMixer.Properties -{ - - +namespace LEDMixer.Properties { +     +          [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] -    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] -    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase -    { - +    [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 -            { +         +        public static Settings Default { +            get {                  return defaultInstance;              }          } diff --git a/Projects/TempDataLogger/TempLogHostApp/Properties/AssemblyInfo.cs b/Projects/TempDataLogger/TempLogHostApp/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..e6fb7a3a92 --- /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 0000000000..1806a129a1 --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------
 +// <auto-generated>
 +//     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.
 +// </auto-generated>
 +//------------------------------------------------------------------------------
 +
 +namespace TemperatureLoggerHostApp.Properties {
 +    using System;
 +    
 +    
 +    /// <summary>
 +    ///   A strongly-typed resource class, for looking up localized strings, etc.
 +    /// </summary>
 +    // 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() {
 +        }
 +        
 +        /// <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 (object.ReferenceEquals(resourceMan, null)) {
 +                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TemperatureLoggerHostApp.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 {
 +                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 0000000000..ffecec851a --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/Resources.resx @@ -0,0 +1,117 @@ +<?xml version="1.0" encoding="utf-8"?>
 +<root>
 +  <!-- 
 +    Microsoft ResX Schema 
 +    
 +    Version 2.0
 +    
 +    The primary goals of this format is to allow a simple XML format 
 +    that is mostly human readable. The generation and parsing of the 
 +    various data types are done through the TypeConverter classes 
 +    associated with the data types.
 +    
 +    Example:
 +    
 +    ... ado.net/XML headers & schema ...
 +    <resheader name="resmimetype">text/microsoft-resx</resheader>
 +    <resheader name="version">2.0</resheader>
 +    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
 +    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
 +    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
 +    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
 +    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
 +        <value>[base64 mime encoded serialized .NET Framework object]</value>
 +    </data>
 +    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
 +        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
 +        <comment>This is a comment</comment>
 +    </data>
 +                
 +    There are any number of "resheader" rows that contain simple 
 +    name/value pairs.
 +    
 +    Each data row contains a name, and value. The row also contains a 
 +    type or mimetype. Type corresponds to a .NET class that support 
 +    text/value conversion through the TypeConverter architecture. 
 +    Classes that don't support this are serialized and stored with the 
 +    mimetype set.
 +    
 +    The mimetype is used for serialized objects, and tells the 
 +    ResXResourceReader how to depersist the object. This is currently not 
 +    extensible. For a given mimetype the value must be set accordingly:
 +    
 +    Note - application/x-microsoft.net.object.binary.base64 is the format 
 +    that the ResXResourceWriter will generate, however the reader can 
 +    read any of the formats listed below.
 +    
 +    mimetype: application/x-microsoft.net.object.binary.base64
 +    value   : The object must be serialized with 
 +            : System.Serialization.Formatters.Binary.BinaryFormatter
 +            : and then encoded with base64 encoding.
 +    
 +    mimetype: application/x-microsoft.net.object.soap.base64
 +    value   : The object must be serialized with 
 +            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
 +            : and then encoded with base64 encoding.
 +
 +    mimetype: application/x-microsoft.net.object.bytearray.base64
 +    value   : The object must be serialized into a byte array 
 +            : using a System.ComponentModel.TypeConverter
 +            : and then encoded with base64 encoding.
 +    -->
 +  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 +    <xsd:element name="root" msdata:IsDataSet="true">
 +      <xsd:complexType>
 +        <xsd:choice maxOccurs="unbounded">
 +          <xsd:element name="metadata">
 +            <xsd:complexType>
 +              <xsd:sequence>
 +                <xsd:element name="value" type="xsd:string" minOccurs="0" />
 +              </xsd:sequence>
 +              <xsd:attribute name="name" type="xsd:string" />
 +              <xsd:attribute name="type" type="xsd:string" />
 +              <xsd:attribute name="mimetype" type="xsd:string" />
 +            </xsd:complexType>
 +          </xsd:element>
 +          <xsd:element name="assembly">
 +            <xsd:complexType>
 +              <xsd:attribute name="alias" type="xsd:string" />
 +              <xsd:attribute name="name" type="xsd:string" />
 +            </xsd:complexType>
 +          </xsd:element>
 +          <xsd:element name="data">
 +            <xsd:complexType>
 +              <xsd:sequence>
 +                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 +                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
 +              </xsd:sequence>
 +              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
 +              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
 +              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
 +            </xsd:complexType>
 +          </xsd:element>
 +          <xsd:element name="resheader">
 +            <xsd:complexType>
 +              <xsd:sequence>
 +                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
 +              </xsd:sequence>
 +              <xsd:attribute name="name" type="xsd:string" use="required" />
 +            </xsd:complexType>
 +          </xsd:element>
 +        </xsd:choice>
 +      </xsd:complexType>
 +    </xsd:element>
 +  </xsd:schema>
 +  <resheader name="resmimetype">
 +    <value>text/microsoft-resx</value>
 +  </resheader>
 +  <resheader name="version">
 +    <value>2.0</value>
 +  </resheader>
 +  <resheader name="reader">
 +    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 +  </resheader>
 +  <resheader name="writer">
 +    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
 +  </resheader>
 +</root>
\ 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 0000000000..21450f64b5 --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------
 +// <auto-generated>
 +//     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.
 +// </auto-generated>
 +//------------------------------------------------------------------------------
 +
 +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 0000000000..abf36c5d3d --- /dev/null +++ b/Projects/TempDataLogger/TempLogHostApp/Properties/Settings.settings @@ -0,0 +1,7 @@ +<?xml version='1.0' encoding='utf-8'?>
 +<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
 +  <Profiles>
 +    <Profile Name="(Default)" />
 +  </Profiles>
 +  <Settings />
 +</SettingsFile>
 diff --git a/Projects/TempDataLogger/TempLogHostApp/TempLoggerHostApp.csproj b/Projects/TempDataLogger/TempLogHostApp/TempLoggerHostApp.csproj index e3b08928f8..b644f4b476 100644 --- a/Projects/TempDataLogger/TempLogHostApp/TempLoggerHostApp.csproj +++ b/Projects/TempDataLogger/TempLogHostApp/TempLoggerHostApp.csproj @@ -1,5 +1,5 @@  <?xml version="1.0" encoding="utf-8"?>
 -<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
      <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
      <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
 @@ -12,6 +12,10 @@      <AssemblyName>TemperatureLoggerHostApp</AssemblyName>
      <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
      <FileAlignment>512</FileAlignment>
 +    <FileUpgradeFlags>
 +    </FileUpgradeFlags>
 +    <OldToolsVersion>3.5</OldToolsVersion>
 +    <UpgradeBackupLocation />
    </PropertyGroup>
    <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
      <DebugSymbols>true</DebugSymbols>
 | 
