From 4211c2355e43e867f68ee42d5a2b7a38b941effc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=B8=D0=BB=20=D0=9F=D1=83=D1=82?= =?UTF-8?q?=D0=B8=D0=BD=D1=86=D0=B5=D0=B2?= Date: Sun, 24 Mar 2024 22:19:09 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FoodOrders/FoodOrders.sln | 8 +++++++- FoodOrders/FoodOrdersView/FormMain.cs | 2 +- FoodOrders/FoodOrdersView/FormMain.designer.cs | 16 ++++++++-------- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/FoodOrders/FoodOrders.sln b/FoodOrders/FoodOrders.sln index 1404a36..b6f4886 100644 --- a/FoodOrders/FoodOrders.sln +++ b/FoodOrders/FoodOrders.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.7.34221.43 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FoodOrdersView", "FoodOrdersView\FoodOrdersView.csproj", "{C61B8C6C-4777-4AB5-854F-55EA1F16622C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersView", "FoodOrdersView\FoodOrdersView.csproj", "{C61B8C6C-4777-4AB5-854F-55EA1F16622C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FoodOrdersListImplement", "FoodOrdersListImplement\FoodOrdersListImplement.csproj", "{4240E07C-4AD6-468D-87D9-6EB713D86638}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,6 +17,10 @@ Global {C61B8C6C-4777-4AB5-854F-55EA1F16622C}.Debug|Any CPU.Build.0 = Debug|Any CPU {C61B8C6C-4777-4AB5-854F-55EA1F16622C}.Release|Any CPU.ActiveCfg = Release|Any CPU {C61B8C6C-4777-4AB5-854F-55EA1F16622C}.Release|Any CPU.Build.0 = Release|Any CPU + {4240E07C-4AD6-468D-87D9-6EB713D86638}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4240E07C-4AD6-468D-87D9-6EB713D86638}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4240E07C-4AD6-468D-87D9-6EB713D86638}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4240E07C-4AD6-468D-87D9-6EB713D86638}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/FoodOrders/FoodOrdersView/FormMain.cs b/FoodOrders/FoodOrdersView/FormMain.cs index 9aa8040..bb69764 100644 --- a/FoodOrders/FoodOrdersView/FormMain.cs +++ b/FoodOrders/FoodOrdersView/FormMain.cs @@ -51,7 +51,7 @@ namespace FoodOrdersView } } - private void МороженоеToolStripMenuItem_Click(object sender, EventArgs e) + private void БлюдоToolStripMenuItem_Click(object sender, EventArgs e) { var service = Program.ServiceProvider?.GetService(typeof(FormDishes)); if (service is FormDishes form) diff --git a/FoodOrders/FoodOrdersView/FormMain.designer.cs b/FoodOrders/FoodOrdersView/FormMain.designer.cs index 1332c55..799780e 100644 --- a/FoodOrders/FoodOrdersView/FormMain.designer.cs +++ b/FoodOrders/FoodOrdersView/FormMain.designer.cs @@ -31,7 +31,7 @@ menuStrip = new MenuStrip(); справочникиToolStripMenuItem = new ToolStripMenuItem(); компонентыToolStripMenuItem = new ToolStripMenuItem(); - мороженоеToolStripMenuItem = new ToolStripMenuItem(); + блюдоToolStripMenuItem = new ToolStripMenuItem(); buttonIssuedOrder = new Button(); buttonOrderReady = new Button(); buttonTakeOrderInWork = new Button(); @@ -55,7 +55,7 @@ // // справочникиToolStripMenuItem // - справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, мороженоеToolStripMenuItem }); + справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, блюдоToolStripMenuItem }); справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem"; справочникиToolStripMenuItem.Size = new Size(117, 24); справочникиToolStripMenuItem.Text = "Справочники"; @@ -67,12 +67,12 @@ компонентыToolStripMenuItem.Text = "Компоненты"; компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click; // - // мороженоеToolStripMenuItem + // блюдоToolStripMenuItem // - мороженоеToolStripMenuItem.Name = "мороженоеToolStripMenuItem"; - мороженоеToolStripMenuItem.Size = new Size(224, 26); - мороженоеToolStripMenuItem.Text = "Еда"; - мороженоеToolStripMenuItem.Click += МороженоеToolStripMenuItem_Click; + блюдоToolStripMenuItem.Name = "блюдоToolStripMenuItem"; + блюдоToolStripMenuItem.Size = new Size(224, 26); + блюдоToolStripMenuItem.Text = "Еда"; + блюдоToolStripMenuItem.Click += БлюдоToolStripMenuItem_Click; // // buttonIssuedOrder // @@ -182,7 +182,7 @@ private MenuStrip menuStrip; private ToolStripMenuItem справочникиToolStripMenuItem; private ToolStripMenuItem компонентыToolStripMenuItem; - private ToolStripMenuItem мороженоеToolStripMenuItem; + private ToolStripMenuItem блюдоToolStripMenuItem; private Button buttonIssuedOrder; private Button buttonOrderReady; private Button buttonTakeOrderInWork;