Exemple #1
0
        private void btnDishesEdit_Click(object sender, EventArgs e)
        {
            using (var adf = new AddingDishForm(_products, (DishInfo)lbActWithDishes.SelectedItem))
            {
                adf.ShowDialog();
            }

            UpdateMyData();
        }
Exemple #2
0
        private void btnDishesAdd_Click(object sender, EventArgs e)
        {
            using (var adf = new AddingDishForm(_products))
            {
                adf.ShowDialog();
            }

            UpdateMyData();
        }