예제 #1
0
        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;
        }
예제 #2
0
        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;
        }