예제 #1
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            frmDangNhap dangnhap = new frmDangNhap();

            dangnhap.ShowDialog();
            if (UserLogin != null)
            {
                // KiemTraQuyen();
            }
            else
            {
                //khong dang nhap thoat phan mem
                this.Close();
            }
        }
예제 #2
0
        private void mnuDangNhap_Click(object sender, EventArgs e)
        {
            frmDangNhap dangnhap = new frmDangNhap();

            dangnhap.ShowDialog();
        }