private void GetLogin() { var TrungTam = BioNet_Bus.GetThongTinTrungTam(); var NgayServer = BioNet_Bus.GetDateTime(); DLLLicensePS.Reponse res = DLLLicensePS.DECRYPT.CheckLisences(TrungTam.ID, string.Empty, TrungTam.LicenseKey, NgayServer.Date.ToString("dd/MM/yyyy"), DateTime.Now.Date.ToString("dd/MM/yyy")); if (!res.Result) { XtraMessageBox.Show("Bản quyền phần mềm hết hạn,vui lòng liên hệ với nhà cung cấp! \r\n Thông tin chi tiết : " + res.ResultString, "BioNet - Chương trình sàng lọc sơ sinh!", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } else { if (res.TimeRemind < 7) { string str = @"Bản quyền phần mềm chỉ còn {0} ngày. Vui lòng liên hệ mua bản quyền để sử dụng phần mềm không bị gián đoạn!"; string mes = string.Format(str, res.TimeRemind); XtraMessageBox.Show(mes, "BioNet - Chương trình sàng lọc sơ sinh!", MessageBoxButtons.OK, MessageBoxIcon.Warning); } DiaglogFrm.FrmLogin frm = new DiaglogFrm.FrmLogin(); frm.ShowDialog(); if (!frm.cancel) { this.empCode = frm._EmployeeCode; List <PSMenuSecurity> lstMenuSecurity = new List <PSMenuSecurity>(); lstMenuSecurity = BioBLL.ListMenuSecurity(empCode); foreach (var item in lstMenuSecurity) { this.SetMenu(item.MenuCode); } } } }
private void LoadListDonViSearchLookup() { this.lstDonVi.Clear(); this.lstDonVi = BioNet_Bus.GetDanhSachDonVi_Searchlookup(); this.searchLookUpDonViCoSo.Properties.DataSource = null; this.searchLookUpDonViCoSo.Properties.DataSource = this.lstDonVi; }
private void btnAddKey_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(this.txtLicense.Text.Trim())) { DLLLicensePS.Reponse res = DLLLicensePS.DECRYPT.CheckLisences(this.TrungTam.ID, string.Empty, this.txtLicense.Text.Trim(), this.NgayServer.Date.ToString("dd/MM/yyyy"), DateTime.Now.Date.ToString("dd/MM/yyyy")); if (res != null) { if (res.TimeRemind > 0) { var submit = BioNet_Bus.CapNhatLisence(this.txtLicense.Text.Trim()); if (submit.Result) { this.DialogResult = DialogResult.OK; this.Close(); } else { XtraMessageBox.Show(submit.StringError, "BioNet sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } else { if (string.IsNullOrEmpty(res.ResultString)) { XtraMessageBox.Show("Key này đã hết hạn, vui lòng thử key khác!", "BioNet sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { XtraMessageBox.Show(res.ResultString, "BioNet sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Information); } } } } }
private void LuuDotTiepNhan() { SplashScreenManager.ShowForm(this, typeof(DiaglogFrm.WaitingfromSave), true, true, false); var lst = this.lstTiepNhan.OrderByDescending(p => p.MaDonVi).ToList(); if (lst.Count > 0) { bool isOK = true; foreach (var tiepnhan in lst) { var result = BioNet_Bus.InsertTiepNhan(tiepnhan); if (!result.Result) { XtraMessageBox.Show("Lưu không thành công phiếu " + tiepnhan.MaPhieu + "\r\n Lý do : " + result.StringError, "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning); isOK = false; } else { var res = this.lstTiepNhan.FirstOrDefault(p => p.MaPhieu == tiepnhan.MaPhieu); this.lstTiepNhan.Remove(res); } } this.FrmLoad_From(); this.LoadGCDaTiepNhan(); this.LoadDanhSachTiepNhan(); SplashScreenManager.CloseForm(); if (isOK) { XtraMessageBox.Show("Đã lưu thành công!", "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Information); } } }
private void Luu() { try { PSDotChuanDoan dot = new PSDotChuanDoan(); dot.RowIDBNCanTheoDoi = long.Parse(this.txtRowIDBenhNhanNguyCo.Text.Trim()); dot.MaBenhNhan = ""; dot.MaKhachHang = ""; dot.NgayChanDoan = DateTime.Now; dot.ChanDoan = this.txtChanDoan.Text; dot.GhiChu = this.txtGhiChu.Text; dot.KetQua = this.txtKetQua.Text; dot.rowIDDotChanDoan = string.IsNullOrEmpty(this.txtRowIDDotKham.Text) == true ? 0 : long.Parse(this.txtRowIDDotKham.Text); var result = BioNet_Bus.InsertDotChanDoan(dot); if (result.Result) { MessageBox.Show("Lưu thành công!", "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning); this.btnLuu.Enabled = false; this.Reset(); this.btnMoi.Enabled = true; this.LoadListTreeView(); this.LoadGCKQChiTiet(); this.LoadGCKQChiTietCu(); } else { MessageBox.Show("Lưu không thành công! \r\n Lỗi chi tiết : " + result.StringError, "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }catch (Exception ex) { MessageBox.Show("Lỗi khi lưu! \r\n Lỗi chi tiết : " + ex.ToString(), "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void FrmGuiMail_Load(object sender, EventArgs e) { this.txtChiCuc.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ChiCuc(); this.txtDonVi.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_DonVi("all"); this.txtDonVi.EditValue = "all"; this.bttGuiMail.Enabled = false; }
private void FrmDiaglogGhiChuXetNghiem_Load(object sender, EventArgs e) { if (string.IsNullOrEmpty(maKQ)) { XtraMessageBox.Show("Không tìm thấy nội dung mà bạn cần!", "BioNet - Chương trình sàng lọc sơ sinh!", MessageBoxButtons.OK, MessageBoxIcon.Warning); this.btnSua.Enabled = false; this.btnThoat.Focus(); } else { var res = BioNet_Bus.GetGhiChuPhongXetNghiem(maKQ); if (!string.IsNullOrEmpty(res)) { this.txtGhiChu.Text = res; this.btnSua.Enabled = true; this.txtGhiChu.Enabled = false; this.txtGhiChu.ReadOnly = true; } else { XtraMessageBox.Show("Không tìm thấy nội dung mà bạn cần!", "BioNet - Chương trình sàng lọc sơ sinh!", MessageBoxButtons.OK, MessageBoxIcon.Warning); this.btnSua.Enabled = false; this.btnThoat.Focus(); } } }
private void FrmInfoPerson_Load(object sender, EventArgs e) { this.LoadDanhSachBenhNhan(); this.lookUpDanToc.Properties.DataSource = BioNet_Bus.GetDanhSachDanToc(-1); btnEdit.Enabled = btnCancel.Enabled = btnSave.Enabled = false; ReadOnlyText(true); }
private void LoadNgayServer() { try { this.NgayServer = BioNet_Bus.GetDateTime(); } catch { } }
private void LoadGethongTinTrungTam() { try { this.TrungTam = BioNet_Bus.GetThongTinTrungTam(); } catch (Exception ex) { } }
private void LoadDanhSachCho() { this.lstBenhNhan.Clear(); var dv = this.searchLookUpDonViCoSo.EditValue ?? string.Empty; this.lstBenhNhan = BioNet_Bus.GetDanhSachBenhNhanNguyCoCao(dv.ToString()); this.LoadGCBenhNhanNguyCoCao(); }
private void urcReportTrungTam_SoBo_Load(object sender, EventArgs e) { this.PanelSingle.Visible = true; this.PanelSingle.Dock = DockStyle.Fill; this.PanelMulti.Visible = false; this.txtChiCuc.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ChiCuc(); this.txtDonVi.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_DonVi("all"); }
private void LayDanhSachCacPhieuCanCapMa() { this.lstCanDanhMa.Clear(); this.lstDonViCanCapMa.Clear(); this.lstCanDanhMaFull.Clear(); int[] lstChecked = this.GVDanhSachCho.GetSelectedRows(); foreach (var index in lstChecked) { if (index >= 0) { string maChiDinh = this.GVDanhSachCho.GetRowCellValue(index, this.col_MaChiDinh_GCDanhSachCho).ToString(); string maGoiXN = this.GVDanhSachCho.GetRowCellValue(index, this.col_MaGoiXN).ToString(); var cd = BioNet_Bus.GetThongTinhChiDinh(maChiDinh); if (cd != null) { this.lstCanDanhMaFull.Add(cd); if (!maChiDinh.Substring(0, 2).Equals("XN")) { this.lstCanDanhMa.Add(cd); } } } } if (this.lstCanDanhMa.Count > 0) { var lst = this.lstCanDanhMa.GroupBy(p => p.MaDonVi).Select(r => new { maDonVi = r.Key, soLuong = r.Count(), soBatDau = 0 }).ToList(); this.lstCapMaTheoDonVi.Clear(); int bd = 1; try { bd = int.Parse(BioNet_Bus.GetMaXNTrongBangGhi()) + 1; } catch { } foreach (var item in lst) { PsDanhSachCapMa cm = new PsDanhSachCapMa(); cm.maDonVi = item.maDonVi; cm.soLuong = item.soLuong; cm.soBatDau = bd; cm.soKetThuc = bd + item.soLuong - 1; bd += item.soLuong; this.lstDonViCanCapMa.Add(item.maDonVi); this.lstCapMaTheoDonVi.Add(cm); } this.maKT = bd - 1; } //for (int i = 0; i < this.GVDanhSachCho.RowCount; i++) //{ // try // { // // if(this.GVDanhSachCho.GetRowCellValue(i)) // } // catch { } // } }
private void LoadDanhSachDonVi() { var lst = BioNet_Bus.GetDanhSachDonViCoSo(); if (lst != null) { this.lstDonVi = lst; } }
private void LoadGoiDichVuXetNGhiem() { try { this.lstgoiXN = BioNet_Bus.GetDanhsachGoiDichVuChung(); this.LookUpGoiXN.DataSource = this.lstgoiXN; } catch { } }
private void LoadGoiXetNghiem(string maDonVi) { var list = BioNet_Bus.GetDanhsachGoiDichVuTrungTam(maDonVi); this.radioGroupGoiXN.Properties.Items.Clear(); foreach (var item in list) { this.radioGroupGoiXN.Properties.Items.Add(new DevExpress.XtraEditors.Controls.RadioGroupItem(item.IDGoiDichVuChung, item.TenGoiDichVuTrungTam)); } }
private void LoadDanhSachDaTiepNhan() { this.lstDaTiepNhan.Clear(); DateTime tu = this.txtTuNgay_ChuaKQ.EditValue == null ? DateTime.Now.Date : (DateTime)this.txtTuNgay_ChuaKQ.EditValue; DateTime den = this.txtDenNgay_ChuaKQ.EditValue == null ? DateTime.Now.Date : (DateTime)this.txtDenNgay_ChuaKQ.EditValue; string madv = this.searchLookUpDonViCoSo.EditValue == null ? string.Empty : this.searchLookUpDonViCoSo.EditValue.ToString();; this.lstDaTiepNhan = BioNet_Bus.GetDanhSachPhieuChuaDanhGia(madv, tu, den); this.LoadGCDaTiepNhan(); }
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; }
private void CapMaXNTheoMaPhieu() { if (this.lstCanDanhMaFull.Count > 0) { foreach (var mau in this.lstCanDanhMaFull) { if (mau.MaChiDinh.Substring(0, 2).Equals("XN")) { PSXN_KetQua ds = new PSXN_KetQua(); ds.MaChiDinh = mau.MaChiDinh; ds.MaDonVi = mau.MaDonVi; ds.MaPhieu = mau.MaPhieu; ds.NgayLamXetNghiem = DateTime.Now.Date; ds.MaTiepNhan = mau.MaTiepNhan; ds.NgayChiDinh = mau.NgayChiDinhLamViec; ds.NgayTiepNhan = mau.NgayTiepNhan; ds.MaGoiXN = mau.IDGoiDichVu; ds.MaXetNghiem = string.IsNullOrEmpty(BioNet_Bus.GetMaXN(mau.MaTiepNhan)) == true? mau.MaPhieu + "_L2": BioNet_Bus.GetMaXN(mau.MaTiepNhan) + "_L2"; this.lstDaDanhMaXN.Add(ds); } else { PSXN_KetQua ds = new PSXN_KetQua(); ds.MaChiDinh = mau.MaChiDinh; ds.MaDonVi = mau.MaDonVi; ds.MaPhieu = mau.MaPhieu; ds.NgayLamXetNghiem = DateTime.Now.Date; ds.MaTiepNhan = mau.MaTiepNhan; ds.NgayChiDinh = mau.NgayChiDinhLamViec; ds.NgayTiepNhan = mau.NgayTiepNhan; ds.MaXetNghiem = mau.MaPhieu; ds.MaGoiXN = mau.IDGoiDichVu; this.lstDaDanhMaXN.Add(ds); } } foreach (var phieu in lstDaDanhMaXN) { var result = this.lstCho.FirstOrDefault(p => p.MaPhieu == phieu.MaPhieu && p.MaTiepNhan == phieu.MaTiepNhan); if (result != null) { try { this.lstCho.Remove(result); } catch (Exception ex) { XtraMessageBox.Show("Lỗi khi cập nhật lại danh sách chờ! \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.LoadGCDanhSachCho(); this.LoadGCDanhSachDaDanhMa(); } }
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); } }
private void txtChiCuc_EditValueChanged(object sender, EventArgs e) { try { SearchLookUpEdit sear = sender as SearchLookUpEdit; var value = sear.EditValue.ToString(); this.txtDonVi.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_DonVi(value.ToString()); this.txtDonVi.EditValue = "all"; } catch { } }
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(); } }
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 btnNguyCoGia_Click(object sender, EventArgs e) { try { if (btnNguyCoGia.Text.Trim().Equals("Nguy cơ giả")) { if (XtraMessageBox.Show("Bạn có chắc chắn phát hiện bệnh nhân này là trường hợp nguy cơ giả không?", "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes) { var res = BioNet_Bus.BenhNhanNguyCoGia(long.Parse(this.txtRowIDBenhNhanNguyCo.Text.Trim())); if (res.Result) { XtraMessageBox.Show("Cập nhật thành công", "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Information); this.LoadDanhSachCho(); this.loadDanhSachBNNguyCoGia(); this.GCChiTietKetQua.DataSource = null; this.GCChiTietKQCu.DataSource = null; this.Reset(); this.btnMoi.Enabled = false; this.btnNguyCoGia.Enabled = false; } else { MessageBox.Show("Lỗi khi loại bệnh nhân ra khỏi danh sách cần theo dõi! \r\n Lỗi chi tiết : " + res.StringError.ToString(), "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } } else { if (XtraMessageBox.Show("Bạn có chắc chắn bệnh nhân này là nguy cơ cao không?", "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes) { var res = BioNet_Bus.BenhNhanNguyCoCao(long.Parse(this.txtRowIDBenhNhanNguyCo.Text.Trim())); if (res.Result) { XtraMessageBox.Show("Cập nhật thành công", "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Information); this.LoadDanhSachCho(); this.loadDanhSachBNNguyCoGia(); this.GCChiTietKetQua.DataSource = null; this.GCChiTietKQCu.DataSource = null; this.Reset(); this.btnMoi.Enabled = false; this.btnNguyCoGia.Enabled = false; } else { MessageBox.Show("Lỗi khi đưa bệnh nhân vào danh sách cần theo dõi! \r\n Lỗi chi tiết : " + res.StringError.ToString(), "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning); } } } } catch (Exception ex) { MessageBox.Show("Lỗi khi loại bệnh nhân ra khỏi danh sách cần theo dõi! \r\n Lỗi chi tiết : " + ex.ToString(), "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void LoadListGoiXetNghiem() { var list = BioNet_Bus.GetDanhsachGoiDichVuChung(); this.radioGroup1.Properties.Items.Clear(); foreach (var item in list) { if (!item.IDGoiDichVuChung.Equals("DVGXN0001") && !item.IDGoiDichVuChung.Equals("DVGXNL2")) { this.radioGroup1.Properties.Items.Add(new DevExpress.XtraEditors.Controls.RadioGroupItem(item.IDGoiDichVuChung, item.TenGoiDichVuChung)); } } }
private void LoadDuLieuBaoCao() { this.GC_DSPhieuMail.DataSource = BioNet_Bus.GetTinhTrangPhieuMail(this.dllNgay.tungay.Value, this.dllNgay.denngay.Value, txtDonVi.EditValue.ToString()); if (this.GV_DSPhieuMail.DataRowCount == 0) { MessageBox.Show("Không có dữ liệu phiếu kết quả cần tìm", "BioNet - Chương trình sàng lọc sơ sinh", MessageBoxButtons.OK); this.bttGuiMail.Enabled = false; } else { this.bttGuiMail.Enabled = true; } }
private void LoadListDSCho() { if (this.KiemTraDieuKienLamMoiDanhSach()) { this.lstCho.Clear(); this.lstCho = BioNet_Bus.GetDanhSachChiDinhChuaDuocCapMa(this.searchLookUpDonViCoSo.EditValue.ToString(), (DateTime)this.txtTuNgay_ChuaKQ.EditValue, (DateTime)this.txtDenNgay_ChuaKQ.EditValue); this.LoadGCDanhSachCho(); } else { XtraMessageBox.Show("Đưa danh sách đã cấp mã vào phòng xét nghiệm hoặc hủy danh sách đã cấp mã và làm lại từ đầu", "BioNet - Chương trình sàng lọc sơ sinh!", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void LoadsearchLookUpChiCuc() { try { this.searchLookUpChiCuc.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ChiCuc(); this.searchLookUpChiCuc.EditValue = "all"; this.searchLookUpDonViCoSo.EditValue = "all"; } catch (Exception ex) { XtraMessageBox.Show("Lỗi khi load danh sách chi cục \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.searchLookUpChiCuc.Focus(); } }
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); } }
private void LoadDuLieuDieuKienLoc() { this.txtChanDoan.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ChanDoan(); this.txtChatLuongMau.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ChatLuongMau(); this.txtGioiTinh.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_GioiTinh(); this.txtBenh.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_Benh(); this.txtChatLuongMau.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ChatLuongMau(); this.txtGoiXetNghiem.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_GoiXN(); this.txtDanToc.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_DanToc(); this.txtChuongTrinh.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ChuongTrinh(); this.txtChiCuc.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ChiCuc(); this.txtDonVi.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_DonVi("all"); this.txtViTriLayMau.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_ViTriLayMau(); this.txtNguyCo.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_NguyCo(); this.txtLoaiMau.Properties.DataSource = BioNet_Bus.GetDieuKienLocBaoCao_LoaiMau(); }