private void backBtn_Click(object sender, EventArgs e) { Hide(); LunchMenuForm form = new LunchMenuForm(tafel, order, employee, maaltijd); form.ShowDialog(Owner); Close(); }
private void drankBtn_Click(object sender, EventArgs e) { Button btn = (Button)sender; string maaltijd = btn.Text; LunchMenuForm form = new LunchMenuForm(tafel, order, employee, maaltijd); Hide(); form.ShowDialog(Owner); Close(); }