private void LoadDanhSachDonVi()
        {
            var lst = BioNet_Bus.GetDanhSachDonViCoSo();

            if (lst != null)
            {
                this.lstDonVi = lst;
            }
        }
Ejemplo n.º 2
0
 private void LoadRepositoryLookupDonViCoSo()
 {
     try
     {
         this.lstDonVireponsitory = BioNet_Bus.GetDanhSachDonViCoSo();
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show("Lỗi khi lấy danh sách đơn vị cơ sở \r\n Lỗi chi tiết :" + ex.ToString(), "BioNet - Chương trình sàng lọc sơ sinh!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Ejemplo n.º 3
0
 private void LoadRespositoryDonVi()
 {
     this.lstDMDonViCoSo.Clear();
     this.lstDMDonViCoSo = BioNet_Bus.GetDanhSachDonViCoSo();
     this.txtMaDonVi.Properties.DataSource     = null;
     this.repositoryLookupDonVi.DataSource     = null;
     this.repositoryLookupDonVi.DataSource     = this.lstDMDonViCoSo;
     this.txtMaDonVi.Properties.DataSource     = this.lstDMDonViCoSo;
     this.repositoryItemLookUpDonVi.DataSource = null;
     this.repositoryItemLookUpDonVi.DataSource = this.lstDMDonViCoSo;
 }
Ejemplo n.º 4
0
 private void LoadSearchLookUpDonViCoSoTiepNhan()
 {
     try
     {
         this.searchLookUpDonViCoSoTiepNhan.Properties.DataSource = BioNet_Bus.GetDanhSachDonViCoSo();
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show("Lỗi khi load danh sách đơn vị cơ sở \r\n Lỗi chi tiết :" + ex.ToString(), "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         this.searchLookUpDonViCoSoTiepNhan.Focus();
     }
 }
 private void LoadSearchLookUpDoViCoSo()
 {
     try
     {
         this.searchLookUpDonViCoSo.Properties.DataSource = BioNet_Bus.GetDanhSachDonViCoSo();
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show("Lỗi khi load danh sách đơn vị cơ sở \r\n Lỗi chi tiết :" + ex.ToString(), "Bệnh viện điện tử .NET", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         this.searchLookUpDonViCoSo.Focus();
     }
 }
Ejemplo n.º 6
0
 private void LoadRepositoryLookupDonViCoSo()
 {
     try
     {
         this.lstDVCS.Clear();
         this.lstDVCS = BioNet_Bus.GetDanhSachDonViCoSo();
         this.repositoryItemLookUpEdit1.DataSource       = this.lstDVCS;
         this.repositoryLookupDonviCoSo.DataSource       = this.lstDVCS;
         this.repositoryLookUpDonViGCTiepNhan.DataSource = this.lstDVCS;
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show("Lỗi khi lấy danh sách đơn vị cơ sở \r\n Lỗi chi tiết :" + ex.ToString(), "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
Ejemplo n.º 7
0
 private void LoadLookupDonViCoSo()
 {
     this.lookupDonVi.Properties.DataSource = BioNet_Bus.GetDanhSachDonViCoSo();
 }