private void frmNhanVienThem_Load(object sender, EventArgs e)
 {
     dt.Columns.Add("col1");
     dt.Columns.Add("col2");
     dt.Columns.Add("col3");
     XuLyGiaoDien.OpenForm(this);
     _HoHang           = _KhachHangO.ThongTinLienLac;
     DuLieuTaoSan.Adic = XuLyDuLieu.ConvertClassToTable(this, _KhachHangO);
     quyenOBindingSource.DataSource   = new D_NHOMQUYEN().DuLieu();
     gioiTinhBindingSource.DataSource = DuLieuTaoSan.GioiTinh();
     e2.EditValue = DateTime.Now;
     NguoiThanKhach();
 }
Example #2
0
 public void DuLieu()
 {
     if (!XuLyGiaoDien.wait.IsSplashFormVisible)
     {
         XuLyGiaoDien.wait.ShowWaitForm();
     }
     khachHangOBindingSource.DataSource     = new D_DAILY().NhanVien(DuLieuTaoSan.NV.TenDangNhapCty.ToLower());
     quyenNhanVienOBindingSource.DataSource = new D_NHOMQUYEN().DuLieu();
     gioiTinhBindingSource.DataSource       = DuLieuTaoSan.GioiTinh();
     if (XuLyGiaoDien.wait.IsSplashFormVisible)
     {
         XuLyGiaoDien.wait.CloseWaitForm();
     }
 }