void DgIndividuals_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (e.RowIndex >= 0 && e.ColumnIndex >= 0) { string indID = (string)dgIndividuals.CurrentRow.Cells["IndividualID"].Value; Individual ind = ft.GetIndividual(indID); Facts factForm = new Facts(ind); MainForm.DisposeDuplicateForms(factForm); factForm.Show(); } }