private void AddToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddUpdateFamily addUpdateFamily = new AddUpdateFamily(false);

            addUpdateFamily.FormClosing += new FormClosingEventHandler(this.FamilyUpdated);

            addUpdateFamily.ShowDialog();
        }
        private void EditToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (familiesDataGridView.Rows.Count <= 0)
            {
                return;
            }
            if (familiesDataGridView.SelectedRows.Count <= 0)
            {
                return;
            }
            AddUpdateFamily addUpdateFamily = new AddUpdateFamily(true, new FamiliesController().Show((int)familiesDataGridView.SelectedRows[0].Cells["familyId"].Value));

            addUpdateFamily.FormClosing += new FormClosingEventHandler(this.FamilyUpdated);

            addUpdateFamily.ShowDialog();
        }