Set up WinForms project
This commit is contained in:
		
							parent
							
								
									d47c3fb71c
								
							
						
					
					
						commit
						473820151a
					
				| @ -1,6 +1,11 @@ | ||||
|  | ||||
| Microsoft Visual Studio Solution File, Format Version 12.00 | ||||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Processor", "Processor\Processor.csproj", "{E24B7026-05BE-434D-9481-7CA5785BC7A8}" | ||||
| # Visual Studio Version 17 | ||||
| VisualStudioVersion = 17.3.32519.111 | ||||
| MinimumVisualStudioVersion = 10.0.40219.1 | ||||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Processor", "Processor\Processor.csproj", "{E24B7026-05BE-434D-9481-7CA5785BC7A8}" | ||||
| EndProject | ||||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UI WinForms", "UI WinForms\UI WinForms.csproj", "{5AE84E7C-3141-46CA-B390-4E42878B6195}" | ||||
| EndProject | ||||
| Global | ||||
| 	GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||||
| @ -12,5 +17,15 @@ Global | ||||
| 		{E24B7026-05BE-434D-9481-7CA5785BC7A8}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||||
| 		{E24B7026-05BE-434D-9481-7CA5785BC7A8}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||
| 		{E24B7026-05BE-434D-9481-7CA5785BC7A8}.Release|Any CPU.Build.0 = Release|Any CPU | ||||
| 		{5AE84E7C-3141-46CA-B390-4E42878B6195}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||||
| 		{5AE84E7C-3141-46CA-B390-4E42878B6195}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||||
| 		{5AE84E7C-3141-46CA-B390-4E42878B6195}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||||
| 		{5AE84E7C-3141-46CA-B390-4E42878B6195}.Release|Any CPU.Build.0 = Release|Any CPU | ||||
| 	EndGlobalSection | ||||
| 	GlobalSection(SolutionProperties) = preSolution | ||||
| 		HideSolutionNode = FALSE | ||||
| 	EndGlobalSection | ||||
| 	GlobalSection(ExtensibilityGlobals) = postSolution | ||||
| 		SolutionGuid = {DF189166-FC1F-4927-826D-9D7F940CE7C8} | ||||
| 	EndGlobalSection | ||||
| EndGlobal | ||||
|  | ||||
							
								
								
									
										48
									
								
								I18N Commander/UI WinForms/Main.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								I18N Commander/UI WinForms/Main.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @ -0,0 +1,48 @@ | ||||
| namespace UI_WinForms | ||||
| { | ||||
|     partial class Main | ||||
|     { | ||||
|         /// <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.SuspendLayout(); | ||||
|             //  | ||||
|             // Main | ||||
|             //  | ||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F); | ||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; | ||||
|             this.ClientSize = new System.Drawing.Size(800, 450); | ||||
|             this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); | ||||
|             this.Name = "Main"; | ||||
|             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||
|             this.Text = "I18N Commander"; | ||||
|             this.ResumeLayout(false); | ||||
| 
 | ||||
|         } | ||||
| 
 | ||||
|         #endregion | ||||
|     } | ||||
| } | ||||
							
								
								
									
										9
									
								
								I18N Commander/UI WinForms/Main.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								I18N Commander/UI WinForms/Main.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,9 @@ | ||||
| namespace UI_WinForms; | ||||
| 
 | ||||
| public partial class Main : Form | ||||
| { | ||||
|     public Main() | ||||
|     { | ||||
|         this.InitializeComponent(); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										60
									
								
								I18N Commander/UI WinForms/Main.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								I18N Commander/UI WinForms/Main.resx
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,60 @@ | ||||
| <root> | ||||
|   <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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
|   <resheader name="writer"> | ||||
|     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
|   </resheader> | ||||
| </root> | ||||
							
								
								
									
										11
									
								
								I18N Commander/UI WinForms/Program.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								I18N Commander/UI WinForms/Program.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| namespace UI_WinForms; | ||||
| 
 | ||||
| internal static class Program | ||||
| { | ||||
|     [STAThread] | ||||
|     private static void Main() | ||||
|     { | ||||
|         ApplicationConfiguration.Initialize(); | ||||
|         Application.Run(new Main()); | ||||
|     } | ||||
| } | ||||
							
								
								
									
										63
									
								
								I18N Commander/UI WinForms/Resources/Icons.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								I18N Commander/UI WinForms/Resources/Icons.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							| @ -0,0 +1,63 @@ | ||||
| //------------------------------------------------------------------------------ | ||||
| // <auto-generated> | ||||
| //     This code was generated by a tool. | ||||
| //     Runtime Version:4.0.30319.42000 | ||||
| // | ||||
| //     Changes to this file may cause incorrect behavior and will be lost if | ||||
| //     the code is regenerated. | ||||
| // </auto-generated> | ||||
| //------------------------------------------------------------------------------ | ||||
| 
 | ||||
| namespace UI_WinForms.Resources { | ||||
|     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", "17.0.0.0")] | ||||
|     [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] | ||||
|     [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] | ||||
|     internal class Icons { | ||||
|          | ||||
|         private static global::System.Resources.ResourceManager resourceMan; | ||||
|          | ||||
|         private static global::System.Globalization.CultureInfo resourceCulture; | ||||
|          | ||||
|         [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] | ||||
|         internal Icons() { | ||||
|         } | ||||
|          | ||||
|         /// <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("UI_WinForms.Resources.Icons", typeof(Icons).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; | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										101
									
								
								I18N Commander/UI WinForms/Resources/Icons.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										101
									
								
								I18N Commander/UI WinForms/Resources/Icons.resx
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,101 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <root> | ||||
| 	<!--  | ||||
| 		Microsoft ResX Schema | ||||
| 
 | ||||
| 		Version 1.3 | ||||
| 
 | ||||
| 		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">1.3</resheader> | ||||
| 		<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||
| 		<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||
| 		<data name="Name1">this is my long string</data> | ||||
| 		<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||
| 		<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||
| 			[base64 mime encoded serialized .NET Framework object] | ||||
| 		</data> | ||||
| 		<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||
| 			[base64 mime encoded string representing a byte array form of the .NET Framework object] | ||||
| 		</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="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>1.3</value> | ||||
| 	</resheader> | ||||
| 	<resheader name="reader"> | ||||
| 		<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
| 	</resheader> | ||||
| 	<resheader name="writer"> | ||||
| 		<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||
| 	</resheader> | ||||
| </root> | ||||
							
								
								
									
										35
									
								
								I18N Commander/UI WinForms/UI WinForms.csproj
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								I18N Commander/UI WinForms/UI WinForms.csproj
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,35 @@ | ||||
| <Project Sdk="Microsoft.NET.Sdk"> | ||||
| 
 | ||||
|   <PropertyGroup> | ||||
|     <OutputType>WinExe</OutputType> | ||||
|     <TargetFramework>net6.0-windows</TargetFramework> | ||||
|     <RootNamespace>UI_WinForms</RootNamespace> | ||||
|     <Nullable>enable</Nullable> | ||||
|     <UseWindowsForms>true</UseWindowsForms> | ||||
|     <ImplicitUsings>enable</ImplicitUsings> | ||||
|   </PropertyGroup> | ||||
| 
 | ||||
|   <ItemGroup> | ||||
|     <ProjectReference Include="..\Processor\Processor.csproj" /> | ||||
|   </ItemGroup> | ||||
| 
 | ||||
|   <ItemGroup> | ||||
|     <Folder Include="Components\" /> | ||||
|   </ItemGroup> | ||||
| 
 | ||||
|   <ItemGroup> | ||||
|     <Compile Update="Resources\Icons.Designer.cs"> | ||||
|       <DesignTime>True</DesignTime> | ||||
|       <AutoGen>True</AutoGen> | ||||
|       <DependentUpon>Icons.resx</DependentUpon> | ||||
|     </Compile> | ||||
|   </ItemGroup> | ||||
| 
 | ||||
|   <ItemGroup> | ||||
|     <EmbeddedResource Update="Resources\Icons.resx"> | ||||
|       <Generator>ResXFileCodeGenerator</Generator> | ||||
|       <LastGenOutput>Icons.Designer.cs</LastGenOutput> | ||||
|     </EmbeddedResource> | ||||
|   </ItemGroup> | ||||
| 
 | ||||
| </Project> | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user