Beispiel #1
0
 private void btnFaculty_Click(object sender, EventArgs e)
 {
     if (frmFacultyManagement == null)
     {
         frmFacultyManagement           = new FrmFacultyManagement(staff);
         frmFacultyManagement.MdiParent = this;
         frmFacultyManagement.Dock      = DockStyle.Fill;
         frmFacultyManagement.Show();
     }
     else
     {
         frmFacultyManagement.BringToFront();
     }
     SetAllButtonToNormal();
     btnFaculty.BackColor = Color.Turquoise;
 }
Beispiel #2
0
 private void btnFaculty_Click(object sender, EventArgs e)
 {
     if (frmFacultyManagement == null)
     {
         frmFacultyManagement = new FrmFacultyManagement(staff);
         frmFacultyManagement.MdiParent = this;
         frmFacultyManagement.Dock = DockStyle.Fill;
         frmFacultyManagement.Show();
     }
     else
     {
         frmFacultyManagement.BringToFront();
     }
     SetAllButtonToNormal();
     btnFaculty.BackColor = Color.Turquoise;
 }