правки названий

This commit is contained in:
Николай 2023-03-24 00:51:33 +04:00
parent 06257286c4
commit 5a9681885f
2 changed files with 4 additions and 4 deletions

View File

@ -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();
}

View File

@ -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 });
}
}
}