private void button2_Click(object sender, EventArgs e)
 {
     if (ab == 1)
     {
         this.Hide();
         si = new Supervisor.Supervisor_Info();
         si.Show();
     }
     else if (ab == 4)
     {
         this.Hide();
         ai = new Admin_Info();
         ai.Show();
     }
     else
     {
         this.Hide();
         ei = new Employee.Employee_Info();
         ei.Show();
     }
 }
Example #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     this.Hide();
     ai = new Admin_Info();
     ai.Show();
 }