private void btnSinhVien_Click(object sender, EventArgs e) { _pnlRight.Controls.Clear(); UCSinhVien uCSinhVien = new UCSinhVien(); _pnlRight.Controls.Add(uCSinhVien); uCSinhVien.Show(); lblInformation.Text = "Chức năng: Sinh viên"; }
private void btnSinhVien_Click(object sender, EventArgs e) { ButtonFontBold(btnSinhVien, FontStyle.Bold, Color.Green); ButtonFontBold(btnAddMember, FontStyle.Regular, Color.Black); ButtonFontBold(_btNhanVien, FontStyle.Regular, Color.Black); ButtonFontBold(btnEditRemove, FontStyle.Regular, Color.Black); ButtonFontBold(btnRest, FontStyle.Regular, Color.Black); ButtonFontBold(btnXoa, FontStyle.Regular, Color.Black); _pnlRight.Controls.Clear(); UCSinhVien uCSinhVien = new UCSinhVien(); _pnlRight.Controls.Add(uCSinhVien); uCSinhVien.Show(); lblInformation.Text = "Chức năng: Sinh viên"; }