コード例 #1
0
        private void ResetMatKhauQuanTriVien()
        {
            PassMa      = txtMa.Text;
            passAccount = txtAccount.Text;

            FrmQuanTriVienResetMatKhau frm1 = new FrmQuanTriVienResetMatKhau(PassMa, passAccount);

            frm1.Show();
        }
コード例 #2
0
        private void ResetMatKhauQuanTriVien()
        {
            PassMa = txtNMSMa.Text;
            QuanTriVien qtv = new QuanTriVien();

            qtv.ID = int.Parse(txtNMSMa.Text);
            QuanTriVienBLL     qtvbll = new QuanTriVienBLL();
            List <QuanTriVien> dsqtv  = qtvbll.TimTenQTVTheoMa(qtv);

            foreach (QuanTriVien tenqtv in dsqtv)
            {
                PassAccount = tenqtv.TenDangNhap;
            }

            FrmQuanTriVienResetMatKhau frm1 = new FrmQuanTriVienResetMatKhau(PassMa, PassAccount);

            frm1.Show();
        }