Added code on mnuNavigationAURRefill click to open frmRefill.
This commit is contained in:
parent
847ed02d24
commit
361e09a165
1
Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs
generated
1
Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs
generated
@ -94,6 +94,7 @@
|
|||||||
this.mnuNavigationAURRefill.Name = "mnuNavigationAURRefill";
|
this.mnuNavigationAURRefill.Name = "mnuNavigationAURRefill";
|
||||||
this.mnuNavigationAURRefill.Size = new System.Drawing.Size(286, 22);
|
this.mnuNavigationAURRefill.Size = new System.Drawing.Size(286, 22);
|
||||||
this.mnuNavigationAURRefill.Text = "Add/Update/Remove Refill";
|
this.mnuNavigationAURRefill.Text = "Add/Update/Remove Refill";
|
||||||
|
this.mnuNavigationAURRefill.Click += new System.EventHandler(this.mnuNavigationAURRefill_Click);
|
||||||
//
|
//
|
||||||
// mnuWindow
|
// mnuWindow
|
||||||
//
|
//
|
||||||
|
@ -62,5 +62,17 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
|
|
||||||
mnuNavigationAUPres.Checked = true;
|
mnuNavigationAUPres.Checked = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void mnuNavigationAURRefill_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
frmRefill formRefill = new frmRefill();
|
||||||
|
|
||||||
|
formRefill.MdiParent = this;
|
||||||
|
formRefill.StartPosition = FormStartPosition.CenterScreen;
|
||||||
|
formRefill.Show();
|
||||||
|
formRefill.Focus();
|
||||||
|
|
||||||
|
mnuNavigationAURRefill.Checked = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user