FIxed seacr

This commit is contained in:
EggMan20339 2024-02-21 00:55:50 -05:00
parent c5eb955c84
commit e7cd9e656b

View File

@ -229,7 +229,7 @@ namespace Louis__Pharmacy_CNSA212_FP
else
{
// dgvPatient.Visible = false; // Hide the DataGridView if no results are found.
dgvPatient.Visible = false; // Hide the DataGridView if no results are found.
MessageBox.Show("No records found.");
}
@ -404,7 +404,7 @@ namespace Louis__Pharmacy_CNSA212_FP
}
else
{
// dgvPhysician.Visible = false; // Hide the DataGridView if no results are found.
dgvPhysician.Visible = false; // Hide the DataGridView if no results are found.
MessageBox.Show("No records found.");
}
@ -447,7 +447,7 @@ namespace Louis__Pharmacy_CNSA212_FP
cmuPhysicianDelete.Enabled = dgvPhysician.Rows.Count > 0;
dgvPhysician.Visible = dgvPhysician.Rows.Count > 0;
// dgvPhysician.Visible = dgvPhysician.Rows.Count > 0;
dgvPhysician.Focus();
@ -755,7 +755,7 @@ namespace Louis__Pharmacy_CNSA212_FP
}
else
{
// dgvPrescription.Visible = false; // Hide the DataGridView if no results are found.
dgvPrescription.Visible = false; // Hide the DataGridView if no results are found.
MessageBox.Show("No records found.");
}
@ -892,7 +892,7 @@ namespace Louis__Pharmacy_CNSA212_FP
}
else
{
// dgvMedication.Visible = false; // Hide the DataGridView if no results are found.
dgvMedication.Visible = false; // Hide the DataGridView if no results are found.
MessageBox.Show("No records found.");
}