Fixed Patient/Physician search error.
This commit is contained in:
parent
d7fc3aa037
commit
1c3ba8315d
2
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
2
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
@ -237,7 +237,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.splcPatient.Panel1.Controls.Add(lblPatientFirst);
|
this.splcPatient.Panel1.Controls.Add(lblPatientFirst);
|
||||||
this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst);
|
this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst);
|
||||||
this.splcPatient.Panel1.Controls.Add(this.btnPatientSearch);
|
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
|
// splcPatient.Panel2
|
||||||
//
|
//
|
||||||
|
@ -270,7 +270,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
|
|
||||||
cmuPatientEdit.Enabled = dgvPatient.Rows.Count > 0;
|
cmuPatientEdit.Enabled = dgvPatient.Rows.Count > 0;
|
||||||
cmuPatientDelete.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();
|
dgvPatient.Focus();
|
||||||
@ -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();
|
||||||
|
|
||||||
@ -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)
|
private void cmuPatientDelete_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user