Пример #1
0
 private void cnNhanVien_Load(object sender, EventArgs e)
 {
     //Load DataGrid
     dgvNhanVien.DataSource = nvBUS.LayDanhSachNhanVien();
     groupControl1.Enabled  = false;
     binding();
 }
Пример #2
0
 private void Rp_NhanVien_Load(object sender, EventArgs e)
 {
     txtNhanVien.Text = Utilities.user.HoTenNV;
     txtTongSo.Text   = nvBUS.dem_NV();
     nHANVIENBindingSource.DataSource = nvBUS.LayDanhSachNhanVien();
     reportViewer1.RefreshReport();
 }
Пример #3
0
 private void ttNhanVien_Load(object sender, EventArgs e)
 {
     //Load DataGrid
     grid_nhanvien.DataSource = nvBUS.LayDanhSachNhanVien();
     group_thongtin.Enabled   = false;
     bt_them.Enabled          = true;
     bt_sua.Enabled           = true;
     bt_xoa.Enabled           = true;
     binding();
     hien_anh();
 }
Пример #4
0
 private void LoadDataSource()
 {
     dt = Utils.Utils.ConvertToDataTable <NhanVien>(_Nv_Bll.LayDanhSachNhanVien());
     gridControl1.DataSource = dt;
 }