private void LoadGoiDichVuXetNGhiem() { try { this.lstgoiXN = BioNet_Bus.GetDanhsachGoiDichVuChung(); this.LookUpGoiXN.DataSource = this.lstgoiXN; } catch { } }
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)); } } }