Пример #1
0
 // Displays useful information about a source record in a dialog box
 private void ShowSourceDetailsDialog(Form formParent, CListableBool lbItem, LLClasses.CSourceRecord sr, bool bCanEditPictures, bool bFirstColumnIsCheckbox)
 {
     CRecordDetailsForm detailsForm = new CRecordDetailsForm(formParent, sr, m_gedcom, bCanEditPictures, true);
     detailsForm.ShowDialog(this);
     if (lbItem != null && sr != null)
     {
         SetSourceSubItems(lbItem, sr, bFirstColumnIsCheckbox);
     }
     EnablePrunePanelButtons();
 }
Пример #2
0
 // Brings up a CRecordDetailsForm for the given individual
 public void ShowIndividualDetailsDialog(Form formParent, CListableBool lbItem, LLClasses.CIndividualRecord ir, bool bCanEditPictures, bool bCheckBoxes)
 {
     CRecordDetailsForm detailsForm = new CRecordDetailsForm(formParent, ir, m_gedcom, bCanEditPictures, false);
     detailsForm.ShowDialog(this);
     if (lbItem != null && ir != null)
     {
         SetIndividualSubItems(lbItem, ir, bCheckBoxes);
     }
     EnablePrunePanelButtons();
 }