From 34bc7dd9c2279a328336665fab51a0067f4a987a Mon Sep 17 00:00:00 2001 From: RozhVan Date: Wed, 30 Oct 2024 14:51:04 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GasStation/Form1.Designer.cs | 39 ++++++++++++ GasStation/Form1.cs | 10 +++ GasStation/Form1.resx | 120 +++++++++++++++++++++++++++++++++++ GasStation/GasStation.csproj | 11 ++++ GasStation/GasStation.sln | 25 ++++++++ GasStation/Program.cs | 17 +++++ 6 files changed, 222 insertions(+) create mode 100644 GasStation/Form1.Designer.cs create mode 100644 GasStation/Form1.cs create mode 100644 GasStation/Form1.resx create mode 100644 GasStation/GasStation.csproj create mode 100644 GasStation/GasStation.sln create mode 100644 GasStation/Program.cs diff --git a/GasStation/Form1.Designer.cs b/GasStation/Form1.Designer.cs new file mode 100644 index 0000000..9e56e38 --- /dev/null +++ b/GasStation/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace GasStation +{ + 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() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "Form1"; + } + + #endregion + } +} diff --git a/GasStation/Form1.cs b/GasStation/Form1.cs new file mode 100644 index 0000000..d037ead --- /dev/null +++ b/GasStation/Form1.cs @@ -0,0 +1,10 @@ +namespace GasStation +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/GasStation/Form1.resx b/GasStation/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/GasStation/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/GasStation/GasStation.csproj b/GasStation/GasStation.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/GasStation/GasStation.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/GasStation/GasStation.sln b/GasStation/GasStation.sln new file mode 100644 index 0000000..e7b4ade --- /dev/null +++ b/GasStation/GasStation.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35222.181 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GasStation", "GasStation.csproj", "{8E40BCF6-DCBE-4DF0-AB4D-26C8FF317C77}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {8E40BCF6-DCBE-4DF0-AB4D-26C8FF317C77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8E40BCF6-DCBE-4DF0-AB4D-26C8FF317C77}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E40BCF6-DCBE-4DF0-AB4D-26C8FF317C77}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8E40BCF6-DCBE-4DF0-AB4D-26C8FF317C77}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A4A947C9-6428-477C-A834-325EA9B161D6} + EndGlobalSection +EndGlobal diff --git a/GasStation/Program.cs b/GasStation/Program.cs new file mode 100644 index 0000000..3efb72f --- /dev/null +++ b/GasStation/Program.cs @@ -0,0 +1,17 @@ +namespace GasStation +{ + 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