This commit is contained in:
EggMan20339 2024-02-16 07:50:02 -05:00
parent 686579a35b
commit f0a1e25848

View File

@ -328,7 +328,7 @@ namespace Louis__Pharmacy_CNSA212_FP
PatientAdd.Show();
PatientAdd.Focus();
Console.WriteLine( dgvPatient.SelectedRows.Count);
DataGridViewRow row = dgvPatient.SelectedRows[1];
DataGridViewRow row = dgvPatient.SelectedRows[0];
PatientAdd.FillPatient(row.Cells[0].Value.ToString().Trim());
}
}