mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-30 21:02:32 +01:00 
			
		
		
		
	Delete obsolete LEDNotifier project host application.
This commit is contained in:
		
							parent
							
								
									214d5b39fc
								
							
						
					
					
						commit
						6dde585475
					
				| @ -1,113 +0,0 @@ | |||||||
| namespace TestWinForms |  | ||||||
| { |  | ||||||
|     partial class MailNotifier |  | ||||||
|     { |  | ||||||
|         /// <summary> |  | ||||||
|         /// Required designer variable. |  | ||||||
|         /// </summary> |  | ||||||
|         private System.ComponentModel.IContainer components = null; |  | ||||||
| 
 |  | ||||||
|         /// <summary> |  | ||||||
|         /// Clean up any resources being used. |  | ||||||
|         /// </summary> |  | ||||||
|         /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |  | ||||||
|         protected override void Dispose(bool disposing) |  | ||||||
|         { |  | ||||||
|             if (disposing && (components != null)) |  | ||||||
|             { |  | ||||||
|                 components.Dispose(); |  | ||||||
|             } |  | ||||||
|             base.Dispose(disposing); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         #region Windows Form Designer generated code |  | ||||||
| 
 |  | ||||||
|         /// <summary> |  | ||||||
|         /// Required method for Designer support - do not modify |  | ||||||
|         /// the contents of this method with the code editor. |  | ||||||
|         /// </summary> |  | ||||||
|         private void InitializeComponent() |  | ||||||
|         { |  | ||||||
|             this.components = new System.ComponentModel.Container(); |  | ||||||
|             this.serSerialPort = new System.IO.Ports.SerialPort(this.components); |  | ||||||
|             this.cmbComPort = new System.Windows.Forms.ComboBox(); |  | ||||||
|             this.lblComPort = new System.Windows.Forms.Label(); |  | ||||||
|             this.btnMinimize = new System.Windows.Forms.Button(); |  | ||||||
|             this.btnExit = new System.Windows.Forms.Button(); |  | ||||||
|             this.nicoNotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); |  | ||||||
|             this.SuspendLayout(); |  | ||||||
|             //  |  | ||||||
|             // cmbComPort |  | ||||||
|             //  |  | ||||||
|             this.cmbComPort.FormattingEnabled = true; |  | ||||||
|             this.cmbComPort.Location = new System.Drawing.Point(108, 12); |  | ||||||
|             this.cmbComPort.Name = "cmbComPort"; |  | ||||||
|             this.cmbComPort.Size = new System.Drawing.Size(126, 21); |  | ||||||
|             this.cmbComPort.TabIndex = 0; |  | ||||||
|             this.cmbComPort.SelectedIndexChanged += new System.EventHandler(this.cmbComPort_SelectedIndexChanged); |  | ||||||
|             //  |  | ||||||
|             // lblComPort |  | ||||||
|             //  |  | ||||||
|             this.lblComPort.AutoSize = true; |  | ||||||
|             this.lblComPort.Location = new System.Drawing.Point(12, 15); |  | ||||||
|             this.lblComPort.Name = "lblComPort"; |  | ||||||
|             this.lblComPort.Size = new System.Drawing.Size(90, 13); |  | ||||||
|             this.lblComPort.TabIndex = 1; |  | ||||||
|             this.lblComPort.Text = "COM Port to Use:"; |  | ||||||
|             //  |  | ||||||
|             // btnMinimize |  | ||||||
|             //  |  | ||||||
|             this.btnMinimize.Location = new System.Drawing.Point(12, 42); |  | ||||||
|             this.btnMinimize.Name = "btnMinimize"; |  | ||||||
|             this.btnMinimize.Size = new System.Drawing.Size(109, 23); |  | ||||||
|             this.btnMinimize.TabIndex = 2; |  | ||||||
|             this.btnMinimize.Text = "Minimize to Tray"; |  | ||||||
|             this.btnMinimize.UseVisualStyleBackColor = true; |  | ||||||
|             this.btnMinimize.Click += new System.EventHandler(this.btnMinimize_Click); |  | ||||||
|             //  |  | ||||||
|             // btnExit |  | ||||||
|             //  |  | ||||||
|             this.btnExit.Location = new System.Drawing.Point(131, 42); |  | ||||||
|             this.btnExit.Name = "btnExit"; |  | ||||||
|             this.btnExit.Size = new System.Drawing.Size(109, 23); |  | ||||||
|             this.btnExit.TabIndex = 3; |  | ||||||
|             this.btnExit.Text = "Exit"; |  | ||||||
|             this.btnExit.UseVisualStyleBackColor = true; |  | ||||||
|             this.btnExit.Click += new System.EventHandler(this.btnExit_Click); |  | ||||||
|             //  |  | ||||||
|             // nicoNotifyIcon |  | ||||||
|             //  |  | ||||||
|             this.nicoNotifyIcon.Text = "Mail Notifier"; |  | ||||||
|             this.nicoNotifyIcon.Visible = true; |  | ||||||
|             //  |  | ||||||
|             // MailNotifier |  | ||||||
|             //  |  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |  | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |  | ||||||
|             this.ClientSize = new System.Drawing.Size(252, 77); |  | ||||||
|             this.Controls.Add(this.btnExit); |  | ||||||
|             this.Controls.Add(this.btnMinimize); |  | ||||||
|             this.Controls.Add(this.lblComPort); |  | ||||||
|             this.Controls.Add(this.cmbComPort); |  | ||||||
|             this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |  | ||||||
|             this.MaximizeBox = false; |  | ||||||
|             this.Name = "MailNotifier"; |  | ||||||
|             this.Text = "Mail Notifier Light"; |  | ||||||
|             this.WindowState = System.Windows.Forms.FormWindowState.Minimized; |  | ||||||
|             this.Load += new System.EventHandler(this.MailNotifier_Load); |  | ||||||
|             this.ResumeLayout(false); |  | ||||||
|             this.PerformLayout(); |  | ||||||
| 
 |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         #endregion |  | ||||||
| 
 |  | ||||||
|         private System.IO.Ports.SerialPort serSerialPort; |  | ||||||
|         private System.Windows.Forms.ComboBox cmbComPort; |  | ||||||
|         private System.Windows.Forms.Label lblComPort; |  | ||||||
|         private System.Windows.Forms.Button btnMinimize; |  | ||||||
|         private System.Windows.Forms.Button btnExit; |  | ||||||
|         private System.Windows.Forms.NotifyIcon nicoNotifyIcon; |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| @ -1,113 +0,0 @@ | |||||||
| using System; |  | ||||||
| using System.Collections.Generic; |  | ||||||
| using System.ComponentModel; |  | ||||||
| using System.Data; |  | ||||||
| using System.Drawing; |  | ||||||
| using System.Text; |  | ||||||
| using System.Windows.Forms; |  | ||||||
| using Microsoft.Win32; |  | ||||||
| 
 |  | ||||||
| namespace TestWinForms |  | ||||||
| { |  | ||||||
|     public partial class MailNotifier : Form |  | ||||||
|     { |  | ||||||
|         private MessengerAPI.Messenger Messenger; |  | ||||||
|         private RegistryKey AppRegKey; |  | ||||||
| 
 |  | ||||||
|         private const int LIGHT_MAX = 0x1F; |  | ||||||
| 
 |  | ||||||
|         public MailNotifier() |  | ||||||
|         { |  | ||||||
|             InitializeComponent(); |  | ||||||
| 
 |  | ||||||
|             Messenger = new MessengerAPI.Messenger(); |  | ||||||
|             AppRegKey = Registry.CurrentUser.CreateSubKey("Software\\MailNotifier"); |  | ||||||
| 
 |  | ||||||
|             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; |  | ||||||
| 
 |  | ||||||
|             nicoNotifyIcon.Icon = this.Icon; |  | ||||||
|             nicoNotifyIcon.MouseClick += new MouseEventHandler(TrayIconClick); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         private void MailNotifier_Load(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             Messenger.OnUnreadEmailChange += new MessengerAPI.DMessengerEvents_OnUnreadEmailChangeEventHandler(NewEmail); |  | ||||||
| 
 |  | ||||||
|             bool UnreadMail = (Messenger.get_UnreadEmailCount(MessengerAPI.MUAFOLDER.MUAFOLDER_INBOX) > 0); |  | ||||||
|             NotifyLight((!UnreadMail ? LIGHT_MAX : 0), (UnreadMail ? LIGHT_MAX : 0), 0); |  | ||||||
| 
 |  | ||||||
|             Hide(); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         private void TrayIconClick(object sender, MouseEventArgs e) |  | ||||||
|         { |  | ||||||
|             this.Show(); |  | ||||||
|             this.WindowState = FormWindowState.Normal; |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         private void NewEmail(MessengerAPI.MUAFOLDER folder, int amount, ref bool enableDefault) |  | ||||||
|         { |  | ||||||
|             if (folder == MessengerAPI.MUAFOLDER.MUAFOLDER_INBOX) |  | ||||||
|             { |  | ||||||
|                 bool UnreadMail = (Messenger.get_UnreadEmailCount(MessengerAPI.MUAFOLDER.MUAFOLDER_INBOX) > 0); |  | ||||||
|                 NotifyLight((!UnreadMail ? LIGHT_MAX : 0), (UnreadMail ? LIGHT_MAX : 0), 0); |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         private void NotifyLight(int Red, int Green, int Blue) |  | ||||||
|         { |  | ||||||
|             byte[] buffer = new byte[3]; |  | ||||||
|             buffer[0] = (byte)(0x80 | (Red & LIGHT_MAX)); |  | ||||||
|             buffer[1] = (byte)(0x40 | (Green & LIGHT_MAX)); |  | ||||||
|             buffer[2] = (byte)(0x20 | (Blue & LIGHT_MAX)); |  | ||||||
| 
 |  | ||||||
|             try |  | ||||||
|             { |  | ||||||
|                 serSerialPort.Open(); |  | ||||||
|                 serSerialPort.Write(buffer, 0, buffer.Length); |  | ||||||
|                 serSerialPort.Close(); |  | ||||||
|             } |  | ||||||
|             catch (Exception e) |  | ||||||
|             { |  | ||||||
| 
 |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         private void btnExit_Click(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             Application.Exit(); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         private void cmbComPort_SelectedIndexChanged(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             AppRegKey.SetValue("Port", cmbComPort.SelectedIndex + 1); |  | ||||||
|             serSerialPort.PortName = cmbComPort.Text; |  | ||||||
| 
 |  | ||||||
|             for (int i = 1; i < 10; i++) |  | ||||||
|             { |  | ||||||
|                 NotifyLight((LIGHT_MAX / i), (LIGHT_MAX / (i * 10)), 0); |  | ||||||
|                 System.Threading.Thread.Sleep(10); |  | ||||||
|             } |  | ||||||
| 
 |  | ||||||
|             for (int i = 10; i > 0; i--) |  | ||||||
|             { |  | ||||||
|                 NotifyLight((LIGHT_MAX / i), (LIGHT_MAX / (i * 10)), 0); |  | ||||||
|                 System.Threading.Thread.Sleep(10); |  | ||||||
|             } |  | ||||||
| 
 |  | ||||||
|             bool UnreadMail = (Messenger.get_UnreadEmailCount(MessengerAPI.MUAFOLDER.MUAFOLDER_INBOX) > 0); |  | ||||||
|             NotifyLight((!UnreadMail ? LIGHT_MAX : 0), (UnreadMail ? LIGHT_MAX : 0), 0); |  | ||||||
|         } |  | ||||||
| 
 |  | ||||||
|         private void btnMinimize_Click(object sender, EventArgs e) |  | ||||||
|         { |  | ||||||
|             this.Hide(); |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @ -1,102 +0,0 @@ | |||||||
| <?xml version="1.0" encoding="utf-8"?> |  | ||||||
| <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> |  | ||||||
|     <ProductVersion>9.0.21022</ProductVersion> |  | ||||||
|     <SchemaVersion>2.0</SchemaVersion> |  | ||||||
|     <ProjectGuid>{64376AAC-32C5-4A78-80CC-407A6B9824FE}</ProjectGuid> |  | ||||||
|     <OutputType>WinExe</OutputType> |  | ||||||
|     <AppDesignerFolder>Properties</AppDesignerFolder> |  | ||||||
|     <RootNamespace>MailNotifier</RootNamespace> |  | ||||||
|     <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> |  | ||||||
|     <DebugType>full</DebugType> |  | ||||||
|     <Optimize>false</Optimize> |  | ||||||
|     <OutputPath>bin\Debug\</OutputPath> |  | ||||||
|     <DefineConstants>DEBUG;TRACE</DefineConstants> |  | ||||||
|     <ErrorReport>prompt</ErrorReport> |  | ||||||
|     <WarningLevel>4</WarningLevel> |  | ||||||
|   </PropertyGroup> |  | ||||||
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |  | ||||||
|     <DebugType>pdbonly</DebugType> |  | ||||||
|     <Optimize>true</Optimize> |  | ||||||
|     <OutputPath>bin\Release\</OutputPath> |  | ||||||
|     <DefineConstants>TRACE</DefineConstants> |  | ||||||
|     <ErrorReport>prompt</ErrorReport> |  | ||||||
|     <WarningLevel>4</WarningLevel> |  | ||||||
|   </PropertyGroup> |  | ||||||
|   <ItemGroup> |  | ||||||
|     <Reference Include="System" /> |  | ||||||
|     <Reference Include="System.Xml.Linq"> |  | ||||||
|       <RequiredTargetFramework>3.5</RequiredTargetFramework> |  | ||||||
|     </Reference> |  | ||||||
|     <Reference Include="System.Data.DataSetExtensions"> |  | ||||||
|       <RequiredTargetFramework>3.5</RequiredTargetFramework> |  | ||||||
|     </Reference> |  | ||||||
|     <Reference Include="System.Data" /> |  | ||||||
|     <Reference Include="System.Deployment" /> |  | ||||||
|     <Reference Include="System.Drawing" /> |  | ||||||
|     <Reference Include="System.Windows.Forms" /> |  | ||||||
|     <Reference Include="System.Xml" /> |  | ||||||
|   </ItemGroup> |  | ||||||
|   <ItemGroup> |  | ||||||
|     <Compile Include="MailNotifier.cs"> |  | ||||||
|       <SubType>Form</SubType> |  | ||||||
|     </Compile> |  | ||||||
|     <Compile Include="MailNotifier.Designer.cs"> |  | ||||||
|       <DependentUpon>MailNotifier.cs</DependentUpon> |  | ||||||
|     </Compile> |  | ||||||
|     <Compile Include="Program.cs" /> |  | ||||||
|     <Compile Include="Properties\AssemblyInfo.cs" /> |  | ||||||
|     <EmbeddedResource Include="MailNotifier.resx"> |  | ||||||
|       <DependentUpon>MailNotifier.cs</DependentUpon> |  | ||||||
|       <SubType>Designer</SubType> |  | ||||||
|     </EmbeddedResource> |  | ||||||
|     <EmbeddedResource Include="Properties\Resources.resx"> |  | ||||||
|       <Generator>ResXFileCodeGenerator</Generator> |  | ||||||
|       <LastGenOutput>Resources.Designer.cs</LastGenOutput> |  | ||||||
|       <SubType>Designer</SubType> |  | ||||||
|     </EmbeddedResource> |  | ||||||
|     <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> |  | ||||||
|       <LastGenOutput>Settings.Designer.cs</LastGenOutput> |  | ||||||
|     </None> |  | ||||||
|     <Compile Include="Properties\Settings.Designer.cs"> |  | ||||||
|       <AutoGen>True</AutoGen> |  | ||||||
|       <DependentUpon>Settings.settings</DependentUpon> |  | ||||||
|       <DesignTimeSharedInput>True</DesignTimeSharedInput> |  | ||||||
|     </Compile> |  | ||||||
|   </ItemGroup> |  | ||||||
|   <ItemGroup> |  | ||||||
|     <COMReference Include="MessengerAPI"> |  | ||||||
|       <Guid>{E02AD29E-80F5-46C6-B416-9B3EBDDF057E}</Guid> |  | ||||||
|       <VersionMajor>1</VersionMajor> |  | ||||||
|       <VersionMinor>0</VersionMinor> |  | ||||||
|       <Lcid>0</Lcid> |  | ||||||
|       <WrapperTool>tlbimp</WrapperTool> |  | ||||||
|       <Isolated>False</Isolated> |  | ||||||
|     </COMReference> |  | ||||||
|   </ItemGroup> |  | ||||||
|   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |  | ||||||
|   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  |  | ||||||
|        Other similar extension points exist, see Microsoft.Common.targets. |  | ||||||
|   <Target Name="BeforeBuild"> |  | ||||||
|   </Target> |  | ||||||
|   <Target Name="AfterBuild"> |  | ||||||
|   </Target> |  | ||||||
|   --> |  | ||||||
| </Project> |  | ||||||
| @ -1,126 +0,0 @@ | |||||||
| <?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" /> |  | ||||||
|     <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" use="required" type="xsd:string" /> |  | ||||||
|               <xsd:attribute name="type" type="xsd:string" /> |  | ||||||
|               <xsd:attribute name="mimetype" type="xsd:string" /> |  | ||||||
|               <xsd:attribute ref="xml:space" /> |  | ||||||
|             </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" use="required" msdata:Ordinal="1" /> |  | ||||||
|               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |  | ||||||
|               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |  | ||||||
|               <xsd:attribute ref="xml:space" /> |  | ||||||
|             </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> |  | ||||||
|   <metadata name="serSerialPort.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |  | ||||||
|     <value>17, 17</value> |  | ||||||
|   </metadata> |  | ||||||
|   <metadata name="nicoNotifyIcon.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |  | ||||||
|     <value>126, 17</value> |  | ||||||
|   </metadata> |  | ||||||
| </root> |  | ||||||
| @ -1,20 +0,0 @@ | |||||||
| using System; |  | ||||||
| using System.Collections.Generic; |  | ||||||
| using System.Windows.Forms; |  | ||||||
| 
 |  | ||||||
| namespace TestWinForms |  | ||||||
| { |  | ||||||
|     static class Program |  | ||||||
|     { |  | ||||||
|         /// <summary> |  | ||||||
|         /// The main entry point for the application. |  | ||||||
|         /// </summary> |  | ||||||
|         [STAThread] |  | ||||||
|         static void Main() |  | ||||||
|         { |  | ||||||
|             Application.EnableVisualStyles(); |  | ||||||
|             Application.SetCompatibleTextRenderingDefault(false); |  | ||||||
|             Application.Run(new MailNotifier()); |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @ -1,36 +0,0 @@ | |||||||
| 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("MailNotifier")] |  | ||||||
| [assembly: AssemblyDescription("")] |  | ||||||
| [assembly: AssemblyConfiguration("")] |  | ||||||
| [assembly: AssemblyCompany("Dean Camera")] |  | ||||||
| [assembly: AssemblyProduct("Mail LED Notifier")] |  | ||||||
| [assembly: AssemblyCopyright("Public Domain")] |  | ||||||
| [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("25e10140-cf96-4619-adaa-9010abc62d0a")] |  | ||||||
| 
 |  | ||||||
| // 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")] |  | ||||||
| @ -1,63 +0,0 @@ | |||||||
| //------------------------------------------------------------------------------ |  | ||||||
| // <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 MailNotifier.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("MailNotifier.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; |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @ -1,117 +0,0 @@ | |||||||
| <?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> |  | ||||||
| @ -1,26 +0,0 @@ | |||||||
| //------------------------------------------------------------------------------ |  | ||||||
| // <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 MailNotifier.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; |  | ||||||
|             } |  | ||||||
|         } |  | ||||||
|     } |  | ||||||
| } |  | ||||||
| @ -1,7 +0,0 @@ | |||||||
| <?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> |  | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera