Merge
This commit is contained in:
commit
c5eb955c84
@ -229,7 +229,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
else
|
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.");
|
MessageBox.Show("No records found.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -404,7 +404,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
}
|
}
|
||||||
else
|
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.");
|
MessageBox.Show("No records found.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -447,7 +447,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
cmuPhysicianDelete.Enabled = dgvPhysician.Rows.Count > 0;
|
cmuPhysicianDelete.Enabled = dgvPhysician.Rows.Count > 0;
|
||||||
|
|
||||||
|
|
||||||
//dgvPhysician.Visible = dgvPhysician.Rows.Count > 0;
|
dgvPhysician.Visible = dgvPhysician.Rows.Count > 0;
|
||||||
|
|
||||||
dgvPhysician.Focus();
|
dgvPhysician.Focus();
|
||||||
|
|
||||||
@ -755,7 +755,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
}
|
}
|
||||||
else
|
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.");
|
MessageBox.Show("No records found.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -783,7 +783,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
cmuPrescriptionRefillThis.Enabled = dgvPrescription.Rows.Count > 0;
|
cmuPrescriptionRefillThis.Enabled = dgvPrescription.Rows.Count > 0;
|
||||||
cmuPrescriptionViewRefills.Enabled = dgvPrescription.Rows.Count > 0;
|
cmuPrescriptionViewRefills.Enabled = dgvPrescription.Rows.Count > 0;
|
||||||
|
|
||||||
dgvPrescription.Visible = dgvPrescription.Rows.Count > 0;
|
// dgvPrescription.Visible = dgvPrescription.Rows.Count > 0;
|
||||||
|
|
||||||
dgvPrescription.Focus();
|
dgvPrescription.Focus();
|
||||||
|
|
||||||
@ -892,7 +892,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
}
|
}
|
||||||
else
|
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.");
|
MessageBox.Show("No records found.");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -927,7 +927,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
cmuMedicationEdit.Enabled = dgvMedication.Rows.Count > 0;
|
cmuMedicationEdit.Enabled = dgvMedication.Rows.Count > 0;
|
||||||
cmuMedicationDelete.Enabled = dgvMedication.Rows.Count > 0;
|
cmuMedicationDelete.Enabled = dgvMedication.Rows.Count > 0;
|
||||||
|
|
||||||
dgvMedication.Visible = dgvMedication.Rows.Count > 0;
|
// dgvMedication.Visible = dgvMedication.Rows.Count > 0;
|
||||||
|
|
||||||
dgvMedication.Focus();
|
dgvMedication.Focus();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user