private void button2_Click(object sender, EventArgs e) { this.Hide(); EditBzaar eb = new EditBzaar(this); eb.Show(); }
private void bt_BazarEdit_Click(object sender, EventArgs e) { EditBzaar bazarEdit = new EditBzaar(this); bazarEdit.Show(this); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { if (managerBack != null) { this.Hide(); EditBzaar editbazar = new EditBzaar(this); editbazar.Show(this); } else { MessageBox.Show("You are not a Manager.\nYou can't Access this section. ", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); this.Hide(); SeeBookedMeal s = new SeeBookedMeal(); s.Show(); } }