Esempio n. 1
0
 private void addRemovePackagingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     int linkFrom = 2;
     Password formSentry = new Password();
     formSentry.sendLinkInfo(linkFrom);
     formSentry.ShowDialog();
 }
Esempio n. 2
0
 private void addRemoveIngredientsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //When clicked it sends a variable to the password form so it knows where to send the user once the pasword is entered correctly. Using one Password Form instead of three seperate
     int linkFrom = 1;
     Password formSentry = new Password();
     formSentry.sendLinkInfo(linkFrom);
     formSentry.ShowDialog();
 }