From 5a9681885f198f02273d91729541a770cfbde83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0=D0=B9?= Date: Fri, 24 Mar 2023 00:51:33 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FoodOrders/FoodOrders/FormDish.cs | 4 ++-- FoodOrders/FoodOrders/FormShop.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FoodOrders/FoodOrders/FormDish.cs b/FoodOrders/FoodOrders/FormDish.cs index d538b47..3d9ccee 100644 --- a/FoodOrders/FoodOrders/FormDish.cs +++ b/FoodOrders/FoodOrders/FormDish.cs @@ -56,9 +56,9 @@ namespace FoodOrdersView if (_dishComponents != null) { dataGridView.Rows.Clear(); - foreach (var sc in _dishComponents) + foreach (var dc in _dishComponents) { - dataGridView.Rows.Add(new object[] { sc.Key, sc.Value.Item1.ComponentName, sc.Value.Item2 }); + dataGridView.Rows.Add(new object[] { dc.Key, dc.Value.Item1.ComponentName, dc.Value.Item2 }); } textBoxPrice.Text = CalcPrice().ToString(); } diff --git a/FoodOrders/FoodOrders/FormShop.cs b/FoodOrders/FoodOrders/FormShop.cs index 199ca9b..2cdab05 100644 --- a/FoodOrders/FoodOrders/FormShop.cs +++ b/FoodOrders/FoodOrders/FormShop.cs @@ -56,9 +56,9 @@ namespace FoodOrdersView if (_shopDishes != null) { dataGridView.Rows.Clear(); - foreach (var sc in _shopDishes) + foreach (var sd in _shopDishes) { - dataGridView.Rows.Add(new object[] { sc.Key, sc.Value.Item1.DishName, sc.Value.Item2 }); + dataGridView.Rows.Add(new object[] { sd.Key, sd.Value.Item1.DishName, sd.Value.Item2 }); } } }