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; }
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; }