Example #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (eid == 200)
     {
         Waiter w = new Waiter(eid);
         this.Close();
         w.Show();
     }
     else if (eid == 300)
     {
         Cashier c = new Cashier(eid);
         this.Close();
         c.Show();
     }
     else if (eid == 100)
     {
         Chef ch = new Chef(eid);
         this.Close();
         ch.Show();
     }
 }