From e7a62a55df6c9970b318aab06a16e87d4678b963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=9F=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=D0=BF=D0=BE=D0=B2?= Date: Tue, 19 Nov 2024 20:39:03 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D0=B5=D0=BA=D1=82=20=D1=81=20=D1=84=D0=BE=D1=80?= =?UTF-8?q?=D0=BC=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- InternetShop/InternetShop.sln | 10 ++-- ...Designer.cs => FormOrdersList.Designer.cs} | 16 ++++-- .../{Form1.cs => FormOrdersList.cs} | 4 +- .../{Form1.resx => FormOrdersList.resx} | 54 +++++++++---------- InternetShop/InternetShopForms/Program.cs | 2 +- 5 files changed, 46 insertions(+), 40 deletions(-) rename InternetShop/InternetShopForms/{Form1.Designer.cs => FormOrdersList.Designer.cs} (71%) rename InternetShop/InternetShopForms/{Form1.cs => FormOrdersList.cs} (55%) rename InternetShop/InternetShopForms/{Form1.resx => FormOrdersList.resx} (92%) diff --git a/InternetShop/InternetShop.sln b/InternetShop/InternetShop.sln index 0bb5b33..d1d41a5 100644 --- a/InternetShop/InternetShop.sln +++ b/InternetShop/InternetShop.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.11.35312.102 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InternetShopForms", "InternetShopForms\InternetShopForms.csproj", "{0E8AB1C8-F5FF-4331-A0A9-2A23C51E28D0}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InternetShopForms", "InternetShopForms\InternetShopForms.csproj", "{45D39595-B9F2-4F61-ADA5-ED4611FA5D0E}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,10 +11,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0E8AB1C8-F5FF-4331-A0A9-2A23C51E28D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0E8AB1C8-F5FF-4331-A0A9-2A23C51E28D0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0E8AB1C8-F5FF-4331-A0A9-2A23C51E28D0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0E8AB1C8-F5FF-4331-A0A9-2A23C51E28D0}.Release|Any CPU.Build.0 = Release|Any CPU + {45D39595-B9F2-4F61-ADA5-ED4611FA5D0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {45D39595-B9F2-4F61-ADA5-ED4611FA5D0E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {45D39595-B9F2-4F61-ADA5-ED4611FA5D0E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {45D39595-B9F2-4F61-ADA5-ED4611FA5D0E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/InternetShop/InternetShopForms/Form1.Designer.cs b/InternetShop/InternetShopForms/FormOrdersList.Designer.cs similarity index 71% rename from InternetShop/InternetShopForms/Form1.Designer.cs rename to InternetShop/InternetShopForms/FormOrdersList.Designer.cs index 23df59d..a9e8234 100644 --- a/InternetShop/InternetShopForms/Form1.Designer.cs +++ b/InternetShop/InternetShopForms/FormOrdersList.Designer.cs @@ -1,6 +1,6 @@ namespace InternetShopForms { - partial class Form1 + partial class FormOrdersList { /// /// Required designer variable. @@ -28,10 +28,16 @@ /// 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"; + SuspendLayout(); + // + // FormOrdersList + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(800, 450); + Name = "FormOrdersList"; + Text = "Заказы"; + ResumeLayout(false); } #endregion diff --git a/InternetShop/InternetShopForms/Form1.cs b/InternetShop/InternetShopForms/FormOrdersList.cs similarity index 55% rename from InternetShop/InternetShopForms/Form1.cs rename to InternetShop/InternetShopForms/FormOrdersList.cs index 02014c2..a931355 100644 --- a/InternetShop/InternetShopForms/Form1.cs +++ b/InternetShop/InternetShopForms/FormOrdersList.cs @@ -1,8 +1,8 @@ namespace InternetShopForms { - public partial class Form1 : Form + public partial class FormOrdersList : Form { - public Form1() + public FormOrdersList() { InitializeComponent(); } diff --git a/InternetShop/InternetShopForms/Form1.resx b/InternetShop/InternetShopForms/FormOrdersList.resx similarity index 92% rename from InternetShop/InternetShopForms/Form1.resx rename to InternetShop/InternetShopForms/FormOrdersList.resx index 1af7de1..8b2ff64 100644 --- a/InternetShop/InternetShopForms/Form1.resx +++ b/InternetShop/InternetShopForms/FormOrdersList.resx @@ -1,17 +1,17 @@  - diff --git a/InternetShop/InternetShopForms/Program.cs b/InternetShop/InternetShopForms/Program.cs index 708c409..6ac242b 100644 --- a/InternetShop/InternetShopForms/Program.cs +++ b/InternetShop/InternetShopForms/Program.cs @@ -11,7 +11,7 @@ namespace InternetShopForms // To customize application configuration such as set high DPI settings or default font, // see https://aka.ms/applicationconfiguration. ApplicationConfiguration.Initialize(); - Application.Run(new Form1()); + Application.Run(new FormOrdersList()); } } } \ No newline at end of file