private void bntLogin_Click(object sender, EventArgs e) { if (loginBusiness.KiemTraDangNhap(txtUsername.Text, txtPassword.Text)) { MessageBox.Show("Đăng nhập thành công"); parent.KiemTraQuyenChucNang(true); this.Close(); } else { MessageBox.Show("Đăng nhập thất bại, liên hệ Sadmin để kiểm tra tài khoản"); } }