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

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

            UpdateMyData();
        }