правки названий
This commit is contained in:
parent
06257286c4
commit
5a9681885f
@ -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();
|
||||
}
|
||||
|
@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user