コード例 #1
0
        private void listOfItems_Click(object sender, EventArgs e)
        {
            DishForm dishForm = new DishForm();

            if (dishForm.ShowDialog() == DialogResult.OK)
            {
                this.dishesTableAdapter.Fill(this.restaurantAppDataSet.Dishes);
            }
        }
コード例 #2
0
        private void dishesbutton_Click(object sender, EventArgs e)
        {
            DishForm dishForm = new DishForm();

            dishForm.Show();
        }