using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace KafeKazarin03 { public partial class Form9 : Form { public Form9() { InitializeComponent(); } private void button4_Click(object sender, EventArgs e) { Form4 cooks = new Form4(); cooks.Show(); this.Hide(); } private void button1_Click(object sender, EventArgs e) { this.Validate(); this.orderedDishesBindingSource.EndEdit(); this.tableAdapterManager.UpdateAll(this.kazarinKafeDataSet); this.Hide(); } private void Form9_Load(object sender, EventArgs e) { // TODO: данная строка кода позволяет загрузить данные в таблицу "kazarinKafeDataSet.OrderedDishes". При необходимости она может быть перемещена или удалена. this.orderedDishesTableAdapter.Fill(this.kazarinKafeDataSet.OrderedDishes); orderedDishesBindingSource.AddNew(); } } }