private void dgvDiseases_MouseDoubleClick(object sender, MouseEventArgs e) { foreach (DataGridViewRow row in dgvDiseases.SelectedRows) { if (row.Cells[0].Value != null) { _idDiseases = Convert.ToInt32(row.Cells[0].Value.ToString()); } } connects.DiseasesAndLaboratoryResearchs.Clear(); connects.DiseasesAndSymptomses.Clear(); connects.DiseasesAndUltrasonographies.Clear(); connects.ShowFieldsDiseasesAndLaboratoryreSearch(_idDiseases); Output(connects.DiseasesAndSymptomses, connects.DiseasesAndLaboratoryResearchs, connects.DiseasesAndUltrasonographies); }