コード例 #1
0
 private void LoadListDonViSearchLookup()
 {
     this.lstDonVi.Clear();
     this.lstDonVi = BioNet_Bus.GetDanhSachDonVi_Searchlookup();
     this.searchLookUpDonViCoSo.Properties.DataSource = null;
     this.searchLookUpDonViCoSo.Properties.DataSource = this.lstDonVi;
 }
コード例 #2
0
 private void LoadSearchLookUpDoViCoSo()
 {
     try
     {
         this.lstDVCS.Clear();
         this.lstDVCS = BioNet_Bus.GetDanhSachDonVi_Searchlookup();
         this.searchLookUpDonViCoSo.Properties.DataSource = this.lstDVCS;
     }
     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.searchLookUpDonViCoSo.Focus();
     }
 }
コード例 #3
0
 private void LoadSearchLookupDonViCoSo()
 {
     this.searchLookUpDonViCoSo.Properties.DataSource = BioNet_Bus.GetDanhSachDonVi_Searchlookup();
 }