예제 #1
0
 public override void Refresh()
 {
     if (this.Tag.Equals("CEI10"))
     {
         medicalEventPMODiagListBindingSource.DataSource = ServiceCalls.RetriveMedicalEvent_PMO_Diad(ServiceCalls.CurrentPatient.PatientId, false, true, false);
     }
     if (this.Tag.Equals("PMOMetodoComplementario"))
     {
         medicalEventPMODiagListBindingSource.DataSource = ServiceCalls.RetriveMedicalEvent_PMO_Diad(ServiceCalls.CurrentPatient.PatientId, false, false, true);
     }
     if (this.Tag.Equals("PMOQuir"))
     {
         medicalEventPMODiagListBindingSource.DataSource = ServiceCalls.RetriveMedicalEvent_PMO_Diad(ServiceCalls.CurrentPatient.PatientId, true, false, false);
         this.lblTitle.Text = "Lista de practicas quirurgicas";
     }
     gridControl1.RefreshDataSource();
 }