Added code on mnuNavigationAUpres click to open frmPrescription.
This commit is contained in:
parent
560165a809
commit
847ed02d24
1
Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs
generated
1
Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs
generated
@ -87,6 +87,7 @@
|
|||||||
this.mnuNavigationAUPres.Name = "mnuNavigationAUPres";
|
this.mnuNavigationAUPres.Name = "mnuNavigationAUPres";
|
||||||
this.mnuNavigationAUPres.Size = new System.Drawing.Size(286, 22);
|
this.mnuNavigationAUPres.Size = new System.Drawing.Size(286, 22);
|
||||||
this.mnuNavigationAUPres.Text = "Add/Update Prescription";
|
this.mnuNavigationAUPres.Text = "Add/Update Prescription";
|
||||||
|
this.mnuNavigationAUPres.Click += new System.EventHandler(this.mnuNavigationAUPres_Click);
|
||||||
//
|
//
|
||||||
// mnuNavigationAURRefill
|
// mnuNavigationAURRefill
|
||||||
//
|
//
|
||||||
|
@ -41,14 +41,26 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
|
|
||||||
private void mnuNavigationAUPaPh_Click(object sender, EventArgs e)
|
private void mnuNavigationAUPaPh_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
frmPatientPhysician formAdd = new frmPatientPhysician();
|
frmPatientPhysician formPaPh = new frmPatientPhysician();
|
||||||
|
|
||||||
formAdd.MdiParent = this;
|
formPaPh.MdiParent = this;
|
||||||
formAdd.StartPosition = FormStartPosition.CenterScreen;
|
formPaPh.StartPosition = FormStartPosition.CenterScreen;
|
||||||
formAdd.Show();
|
formPaPh.Show();
|
||||||
formAdd.Focus();
|
formPaPh.Focus();
|
||||||
|
|
||||||
mnuNavigationAUPaPh.Checked = true;
|
mnuNavigationAUPaPh.Checked = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void mnuNavigationAUPres_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
frmPrescription formPrescription = new frmPrescription();
|
||||||
|
|
||||||
|
formPrescription.MdiParent = this;
|
||||||
|
formPrescription.StartPosition = FormStartPosition.CenterScreen;
|
||||||
|
formPrescription.Show();
|
||||||
|
formPrescription.Focus();
|
||||||
|
|
||||||
|
mnuNavigationAUPres.Checked = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user