private void admMealSheetUpd_Click(object sender, EventArgs e) { EditMealChart editMeal = new EditMealChart(this); editMeal.Show(this); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { this.Hide(); EditMealChart ec = new EditMealChart(); ec.Show(); }
private void button1_Click(object sender, EventArgs e) { //this.Hide(); if (managerBack != null) { this.Hide(); EditMealChart editMeal = new EditMealChart(this); editMeal.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(); } }
public SeeBookedMeal(EditMealChart editMealChartnew) : this() { this.editMealChartnewBack = editMealChartnew; }