Added code on mnuNavigationAUPaPh click to open frmPatientPhysician.
This commit is contained in:
parent
8e3c58eec4
commit
560165a809
1
Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs
generated
1
Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs
generated
@ -80,6 +80,7 @@
|
||||
this.mnuNavigationAUPaPh.Name = "mnuNavigationAUPaPh";
|
||||
this.mnuNavigationAUPaPh.Size = new System.Drawing.Size(286, 22);
|
||||
this.mnuNavigationAUPaPh.Text = "Add/Update Patient/Physician";
|
||||
this.mnuNavigationAUPaPh.Click += new System.EventHandler(this.mnuNavigationAUPaPh_Click);
|
||||
//
|
||||
// mnuNavigationAUPres
|
||||
//
|
||||
|
@ -38,5 +38,17 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
|
||||
mnuNavigationView.Checked = true;
|
||||
}
|
||||
|
||||
private void mnuNavigationAUPaPh_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmPatientPhysician formAdd = new frmPatientPhysician();
|
||||
|
||||
formAdd.MdiParent = this;
|
||||
formAdd.StartPosition = FormStartPosition.CenterScreen;
|
||||
formAdd.Show();
|
||||
formAdd.Focus();
|
||||
|
||||
mnuNavigationAUPaPh.Checked = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user