private void listOfItems_Click(object sender, EventArgs e) { DishForm dishForm = new DishForm(); if (dishForm.ShowDialog() == DialogResult.OK) { this.dishesTableAdapter.Fill(this.restaurantAppDataSet.Dishes); } }
private void dishesbutton_Click(object sender, EventArgs e) { DishForm dishForm = new DishForm(); dishForm.Show(); }