From 50cf4da5f48d58aade60e25b33aad06164e06463 Mon Sep 17 00:00:00 2001 From: safia Date: Mon, 5 Feb 2024 19:07:10 +0300 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 --- ProjectBattleship/ProjectBattleship.sln | 25 ++++ .../ProjectBattleship/Form1.Designer.cs | 39 ++++++ ProjectBattleship/ProjectBattleship/Form1.cs | 10 ++ .../ProjectBattleship/Form1.resx | 120 ++++++++++++++++++ .../ProjectBattleship/Program.cs | 17 +++ .../ProjectBattleship.csproj | 11 ++ 6 files changed, 222 insertions(+) create mode 100644 ProjectBattleship/ProjectBattleship.sln create mode 100644 ProjectBattleship/ProjectBattleship/Form1.Designer.cs create mode 100644 ProjectBattleship/ProjectBattleship/Form1.cs create mode 100644 ProjectBattleship/ProjectBattleship/Form1.resx create mode 100644 ProjectBattleship/ProjectBattleship/Program.cs create mode 100644 ProjectBattleship/ProjectBattleship/ProjectBattleship.csproj diff --git a/ProjectBattleship/ProjectBattleship.sln b/ProjectBattleship/ProjectBattleship.sln new file mode 100644 index 0000000..f7bbc6b --- /dev/null +++ b/ProjectBattleship/ProjectBattleship.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.6.33829.357 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ProjectBattleship", "ProjectBattleship\ProjectBattleship.csproj", "{5A3633FE-53CE-4B12-BE47-534F35E3DF0A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5A3633FE-53CE-4B12-BE47-534F35E3DF0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5A3633FE-53CE-4B12-BE47-534F35E3DF0A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5A3633FE-53CE-4B12-BE47-534F35E3DF0A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5A3633FE-53CE-4B12-BE47-534F35E3DF0A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {4E17DF77-9204-41B8-9BC0-419E8D64D51A} + EndGlobalSection +EndGlobal diff --git a/ProjectBattleship/ProjectBattleship/Form1.Designer.cs b/ProjectBattleship/ProjectBattleship/Form1.Designer.cs new file mode 100644 index 0000000..d6ab4c3 --- /dev/null +++ b/ProjectBattleship/ProjectBattleship/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace ProjectBattleship +{ + 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 + } +} \ No newline at end of file diff --git a/ProjectBattleship/ProjectBattleship/Form1.cs b/ProjectBattleship/ProjectBattleship/Form1.cs new file mode 100644 index 0000000..6619484 --- /dev/null +++ b/ProjectBattleship/ProjectBattleship/Form1.cs @@ -0,0 +1,10 @@ +namespace ProjectBattleship +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/ProjectBattleship/ProjectBattleship/Form1.resx b/ProjectBattleship/ProjectBattleship/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/ProjectBattleship/ProjectBattleship/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/ProjectBattleship/ProjectBattleship/Program.cs b/ProjectBattleship/ProjectBattleship/Program.cs new file mode 100644 index 0000000..886e9f5 --- /dev/null +++ b/ProjectBattleship/ProjectBattleship/Program.cs @@ -0,0 +1,17 @@ +namespace ProjectBattleship +{ + 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/ProjectBattleship/ProjectBattleship/ProjectBattleship.csproj b/ProjectBattleship/ProjectBattleship/ProjectBattleship.csproj new file mode 100644 index 0000000..b57c89e --- /dev/null +++ b/ProjectBattleship/ProjectBattleship/ProjectBattleship.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file