コード例 #1
0
        private void add_dish_btn_Click(object sender, EventArgs e)
        {
            AddDishForm ad = new AddDishForm();

            ad.ShowDialog();

            this.Fill();
        }
コード例 #2
0
        private void all_dish_list_DoubleClick(object sender, EventArgs e)
        {
            Dish        obj = (Dish)all_dish_list.SelectedItem;
            AddDishForm adf = new AddDishForm(obj);

            adf.ShowDialog();

            this.Fill();
        }