From d63ccc2b010c49531a9e01e6183762c4862b32a7 Mon Sep 17 00:00:00 2001 From: Lelouch Date: Sun, 4 Feb 2024 15:01:22 +0400 Subject: [PATCH] tank --- Tank/Form1.Designer.cs | 39 ++++++++++++++ Tank/Form1.cs | 10 ++++ Tank/Form1.resx | 120 +++++++++++++++++++++++++++++++++++++++++ Tank/Program.cs | 17 ++++++ Tank/Tank.csproj | 11 ++++ Tank/Tank.sln | 25 +++++++++ 6 files changed, 222 insertions(+) create mode 100644 Tank/Form1.Designer.cs create mode 100644 Tank/Form1.cs create mode 100644 Tank/Form1.resx create mode 100644 Tank/Program.cs create mode 100644 Tank/Tank.csproj create mode 100644 Tank/Tank.sln diff --git a/Tank/Form1.Designer.cs b/Tank/Form1.Designer.cs new file mode 100644 index 0000000..13100eb --- /dev/null +++ b/Tank/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace Tank +{ + 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/Tank/Form1.cs b/Tank/Form1.cs new file mode 100644 index 0000000..77e72c7 --- /dev/null +++ b/Tank/Form1.cs @@ -0,0 +1,10 @@ +namespace Tank +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} diff --git a/Tank/Form1.resx b/Tank/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Tank/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/Tank/Program.cs b/Tank/Program.cs new file mode 100644 index 0000000..1b63cfc --- /dev/null +++ b/Tank/Program.cs @@ -0,0 +1,17 @@ +namespace Tank +{ + 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 diff --git a/Tank/Tank.csproj b/Tank/Tank.csproj new file mode 100644 index 0000000..663fdb8 --- /dev/null +++ b/Tank/Tank.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net8.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/Tank/Tank.sln b/Tank/Tank.sln new file mode 100644 index 0000000..f1a360e --- /dev/null +++ b/Tank/Tank.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.8.34408.163 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tank", "Tank.csproj", "{D120613A-276E-415B-948B-8F03CA271C8C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D120613A-276E-415B-948B-8F03CA271C8C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D120613A-276E-415B-948B-8F03CA271C8C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D120613A-276E-415B-948B-8F03CA271C8C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D120613A-276E-415B-948B-8F03CA271C8C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {B8B443EE-F8D7-4007-9F9A-4BCB6531736B} + EndGlobalSection +EndGlobal