示例#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();
        }