Пример #1
0
 private void miQuanLyBanHang_Click(object sender, EventArgs e)
 {
     if (!CheckForm("frmQuanLyBanHang"))
     {
         frmQuanLyBanHang frm = new frmQuanLyBanHang();
         frm.MdiParent = this;
         frm.Show();
     }
 }
Пример #2
0
        private void frmDangNhap_XacThucTaiKhoan(object sender)
        {
            PhanQuyen quyen = (PhanQuyen)sender;

            maTaiKhoan = quyen.TaiKhoan.ma;
            IsLockAction(true);
            PhanQuyen(quyen.maPhanQuyen);
            if (!CheckForm("frmQuanLyBanHang"))
            {
                frmQuanLyBanHang frm = new frmQuanLyBanHang();
                frm.MdiParent = this;
                frm.Show();
            }
        }