Exemplo n.º 1
0
 private void btnSelect_Click(object sender, EventArgs e)
 {
     try {
         ResultRecord = fListRecords.GetSelectedData() as GDMRecord;
         DialogResult = DialogResult.OK;
     } catch (Exception ex) {
         Logger.WriteError("RecordSelectDlg.btnSelect_Click()", ex);
         ResultRecord = null;
         DialogResult = DialogResult.None;
     }
 }
Exemplo n.º 2
0
 private void btnSelect_Click(object sender, EventArgs e)
 {
     try {
         ResultRecord = fListRecords.GetSelectedData() as GEDCOMRecord;
         DialogResult = DialogResult.OK;
     } catch (Exception ex) {
         Logger.LogWrite("RecordSelectDlg.btnSelect_Click(): " + ex.Message);
         ResultRecord = null;
         DialogResult = DialogResult.None;
     }
 }