From fc04ec586186e817161113ae816b209fa6699b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=20=D0=91=D0=BE=D0=BD=D0=B4=D0=B0?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Tue, 31 Jan 2023 13:00:12 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B0=D1=87=D0=B0=D0=BB=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ComputersShop/ComputersShop.sln | 25 ++++ .../ComputersShopView.csproj | 11 ++ .../ComputersShopView/Form1.Designer.cs | 39 ++++++ ComputersShop/ComputersShopView/Form1.cs | 10 ++ ComputersShop/ComputersShopView/Form1.resx | 120 ++++++++++++++++++ ComputersShop/ComputersShopView/Program.cs | 17 +++ 6 files changed, 222 insertions(+) create mode 100644 ComputersShop/ComputersShop.sln create mode 100644 ComputersShop/ComputersShopView/ComputersShopView.csproj create mode 100644 ComputersShop/ComputersShopView/Form1.Designer.cs create mode 100644 ComputersShop/ComputersShopView/Form1.cs create mode 100644 ComputersShop/ComputersShopView/Form1.resx create mode 100644 ComputersShop/ComputersShopView/Program.cs diff --git a/ComputersShop/ComputersShop.sln b/ComputersShop/ComputersShop.sln new file mode 100644 index 0000000..7873db4 --- /dev/null +++ b/ComputersShop/ComputersShop.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32825.248 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputersShopView", "ComputersShopView\ComputersShopView.csproj", "{21D38D2F-5FB3-423E-86C1-B0496B9F9062}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {21D38D2F-5FB3-423E-86C1-B0496B9F9062}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {21D38D2F-5FB3-423E-86C1-B0496B9F9062}.Debug|Any CPU.Build.0 = Debug|Any CPU + {21D38D2F-5FB3-423E-86C1-B0496B9F9062}.Release|Any CPU.ActiveCfg = Release|Any CPU + {21D38D2F-5FB3-423E-86C1-B0496B9F9062}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5CD8E001-6529-4F55-996C-2E1B707FEF4F} + EndGlobalSection +EndGlobal diff --git a/ComputersShop/ComputersShopView/ComputersShopView.csproj b/ComputersShop/ComputersShopView/ComputersShopView.csproj new file mode 100644 index 0000000..b57c89e --- /dev/null +++ b/ComputersShop/ComputersShopView/ComputersShopView.csproj @@ -0,0 +1,11 @@ + + + + WinExe + net6.0-windows + enable + true + enable + + + \ No newline at end of file diff --git a/ComputersShop/ComputersShopView/Form1.Designer.cs b/ComputersShop/ComputersShopView/Form1.Designer.cs new file mode 100644 index 0000000..9e31eb7 --- /dev/null +++ b/ComputersShop/ComputersShopView/Form1.Designer.cs @@ -0,0 +1,39 @@ +namespace ComputersShopView +{ + 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/ComputersShop/ComputersShopView/Form1.cs b/ComputersShop/ComputersShopView/Form1.cs new file mode 100644 index 0000000..6b7e5c5 --- /dev/null +++ b/ComputersShop/ComputersShopView/Form1.cs @@ -0,0 +1,10 @@ +namespace ComputersShopView +{ + public partial class Form1 : Form + { + public Form1() + { + InitializeComponent(); + } + } +} \ No newline at end of file diff --git a/ComputersShop/ComputersShopView/Form1.resx b/ComputersShop/ComputersShopView/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/ComputersShop/ComputersShopView/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/ComputersShop/ComputersShopView/Program.cs b/ComputersShop/ComputersShopView/Program.cs new file mode 100644 index 0000000..69ed17b --- /dev/null +++ b/ComputersShop/ComputersShopView/Program.cs @@ -0,0 +1,17 @@ +namespace ComputersShopView +{ + 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