private void uc_PatientsGrid1_OnDoubleClickEvent(object sender, EventArgs e) { if (uc_PatientsGrid1.SelectedPatientBE == null) return; SelectedPatientBE = uc_PatientsGrid1.SelectedPatientBE; if (State == Fwk.Bases.EntityUpdateEnum.UPDATED) { using (FrmABMPatient frm = new FrmABMPatient(Fwk.Bases.EntityUpdateEnum.UPDATED)) { frm.Patient = SelectedPatientBE; frm.Refresh(); if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { } } return; } //if (State == Fwk.Bases.EntityUpdateEnum.UPDATED) //{ // this.Mutuales = Controller.GetPatient_Mutuals(SelectedPatientBE.IdPatient); //} this.DialogResult = System.Windows.Forms.DialogResult.OK; this.Close(); }
private void uc_PatientsGrid1_OnDoubleClickEvent(object sender, EventArgs e) { if (uc_PatientsGrid1.SelectedPatientBE == null) { return; } SelectedPatientBE = uc_PatientsGrid1.SelectedPatientBE; if (State == Fwk.Bases.EntityUpdateEnum.UPDATED) { using (FrmABMPatient frm = new FrmABMPatient(Fwk.Bases.EntityUpdateEnum.UPDATED)) { frm.Patient = SelectedPatientBE; frm.Refresh(); if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { } } return; } //if (State == Fwk.Bases.EntityUpdateEnum.UPDATED) //{ // this.Mutuales = Controller.GetPatient_Mutuals(SelectedPatientBE.IdPatient); //} this.DialogResult = System.Windows.Forms.DialogResult.OK; this.Close(); }