private void buttonAddChild_Click(object sender, EventArgs e)
        {
            setFamilyDetailsFromFrom();

            listIndividualsForm form = new listIndividualsForm(quatre, this, true, enums.ListFilter.None, this.family);
            form.StartPosition = FormStartPosition.CenterParent;
            form.ShowDialog(this);
            if (form.selectedIndividual != null)
            {
                Individual selectedindividual = form.selectedIndividual;
                Label label = new Label();
                label.Text = selectedindividual.ID + " " + selectedindividual.DisplayName;
                label.Tag = selectedindividual.ID;
                lstChildren.Items.Add(label);
            }
        }
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     listIndividualsForm form = new listIndividualsForm(quatre, this, false, enums.ListFilter.None);
     form.StartPosition = FormStartPosition.CenterParent;
     form.ShowDialog(this);
     if (form.FamilyAdded)
     {
         loadList();
     }
     else
     {
         populateList(txtSearch.Text);
     }
 }
 private void buttonSelectWife_Click(object sender, EventArgs e)
 {
     listIndividualsForm form = new listIndividualsForm(quatre, this, true, enums.ListFilter.Female);
     form.StartPosition = FormStartPosition.CenterParent;
     form.ShowDialog(this);
     if (form.selectedIndividual != null)
     {
         Individual selectedindividual = form.selectedIndividual;
         lblWife.Tag = selectedindividual.ID;
         lblWife.Text = selectedindividual.ID + " " + selectedindividual.DisplayName;
     }
 }