From e7cd9e656bfd7344eba1420aab2849f79c9d9dce Mon Sep 17 00:00:00 2001 From: EggMan20339 <99349302+EggMan20339@users.noreply.github.com> Date: Wed, 21 Feb 2024 00:55:50 -0500 Subject: [PATCH] FIxed seacr --- Louis'-Pharmacy_CNSA212-FP/frmInfo.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs index 3faed5f..cf6bb4a 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs @@ -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."); }