From 6dbac30d0919a026e9d6515dd849f7cb39b7f4db Mon Sep 17 00:00:00 2001 From: Rinat Date: Mon, 12 Feb 2024 07:06:03 -0800 Subject: [PATCH] first --- ElectricLocomotive/ElectricLocomotive.sln | 25 ++++ .../ElectricLocomotive.csproj | 11 ++ .../ElectricLocomotive/Form1.Designer.cs | 45 +++++++ .../ElectricLocomotive/Form1.cs | 10 ++ .../ElectricLocomotive/Form1.resx | 120 ++++++++++++++++++ .../ElectricLocomotive/Program.cs | 17 +++ 6 files changed, 228 insertions(+) create mode 100644 ElectricLocomotive/ElectricLocomotive.sln create mode 100644 ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.csproj create mode 100644 ElectricLocomotive/ElectricLocomotive/Form1.Designer.cs create mode 100644 ElectricLocomotive/ElectricLocomotive/Form1.cs create mode 100644 ElectricLocomotive/ElectricLocomotive/Form1.resx create mode 100644 ElectricLocomotive/ElectricLocomotive/Program.cs diff --git a/ElectricLocomotive/ElectricLocomotive.sln b/ElectricLocomotive/ElectricLocomotive.sln new file mode 100644 index 0000000..c19a7fc --- /dev/null +++ b/ElectricLocomotive/ElectricLocomotive.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34525.116 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ElectricLocomotive", "ElectricLocomotive\ElectricLocomotive.csproj", "{4D945FCE-9358-42F9-AE60-159256B4D9CA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4D945FCE-9358-42F9-AE60-159256B4D9CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4D945FCE-9358-42F9-AE60-159256B4D9CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4D945FCE-9358-42F9-AE60-159256B4D9CA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4D945FCE-9358-42F9-AE60-159256B4D9CA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {09FB2C10-894B-4529-BBD2-BFF03BE4AC73} + EndGlobalSection +EndGlobal diff --git a/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.csproj b/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/ElectricLocomotive/ElectricLocomotive/ElectricLocomotive.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/ElectricLocomotive/ElectricLocomotive/Form1.Designer.cs b/ElectricLocomotive/ElectricLocomotive/Form1.Designer.cs new file mode 100644 index 0000000..9f7b73d --- /dev/null +++ b/ElectricLocomotive/ElectricLocomotive/Form1.Designer.cs @@ -0,0 +1,45 @@ +namespace ElectricLocomotive +{ + partial class Form1 + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + SuspendLayout(); + // + // Form1 + // + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(793, 480); + Name = "Form1"; + Text = "Form1"; + ResumeLayout(false); + } + + #endregion + } +} diff --git a/ElectricLocomotive/ElectricLocomotive/Form1.cs b/ElectricLocomotive/ElectricLocomotive/Form1.cs new file mode 100644 index 0000000..c5ecbc9 --- /dev/null +++ b/ElectricLocomotive/ElectricLocomotive/Form1.cs @@ -0,0 +1,10 @@ +namespace ElectricLocomotive +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/ElectricLocomotive/ElectricLocomotive/Form1.resx b/ElectricLocomotive/ElectricLocomotive/Form1.resx new file mode 100644 index 0000000..af32865 --- /dev/null +++ b/ElectricLocomotive/ElectricLocomotive/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/ElectricLocomotive/ElectricLocomotive/Program.cs b/ElectricLocomotive/ElectricLocomotive/Program.cs new file mode 100644 index 0000000..107b7fb --- /dev/null +++ b/ElectricLocomotive/ElectricLocomotive/Program.cs @@ -0,0 +1,17 @@ +namespace ElectricLocomotive +{ + internal static class Program + { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() + { + // To customize application configuration such as set high DPI settings or default font, + // see https://aka.ms/applicationconfiguration. + ApplicationConfiguration.Initialize(); + Application.Run(new Form1()); + } + } +} \ No newline at end of file