diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index aa4dcf0..242e85f 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -237,7 +237,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPatient.Panel1.Controls.Add(lblPatientFirst); this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst); this.splcPatient.Panel1.Controls.Add(this.btnPatientSearch); - this.splcPatient.Panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.Panel1_Paint); + //this.splcPatient.Panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.Panel1_Paint); // // splcPatient.Panel2 // diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs index d809ff5..a930986 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs @@ -270,7 +270,7 @@ namespace Louis__Pharmacy_CNSA212_FP cmuPatientEdit.Enabled = dgvPatient.Rows.Count > 0; cmuPatientDelete.Enabled = dgvPatient.Rows.Count > 0; - dgvPatient.Visible = dgvPatient.Rows.Count > 0; + //dgvPatient.Visible = dgvPatient.Rows.Count > 0; dgvPatient.Focus(); @@ -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(); @@ -492,10 +492,10 @@ namespace Louis__Pharmacy_CNSA212_FP { } - private void Panel1_Paint(object sender, PaintEventArgs e) - { + //private void Panel1_Paint(object sender, PaintEventArgs e) + //{ - } + //} private void cmuPatientDelete_Click(object sender, EventArgs e) {