Example #1
0
 private void DataGrid_PatientSelected_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     if (dgPatients.SelectedItem != null)
     {
         PatientInfo patientInfo = dgPatients.SelectedItem as PatientInfo;
         Patients     = tablePatients.QueryPatient(patientInfo.Patient_ID);
         DialogResult = true;
         Close();
     }
 }