private void Quanly_Load(object sender, EventArgs e) { FormDangnhap frmDangNhap = new FormDangnhap(); frmDangNhap.ShowDialog(); if (!frmDangNhap.loginSuccess) { this.Close(); } lblUser.Text = "Xin chào " + FormDangnhap.loginUsename; }