Beispiel #1
0
        private void admMealSheetUpd_Click(object sender, EventArgs e)
        {
            EditMealChart editMeal = new EditMealChart(this);

            editMeal.Show(this);
            this.Hide();
        }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            EditMealChart ec = new EditMealChart();

            ec.Show();
        }
Beispiel #3
0
        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();
            }
        }
Beispiel #4
0
 public SeeBookedMeal(EditMealChart editMealChartnew) : this()
 {
     this.editMealChartnewBack = editMealChartnew;
 }