Example #1
0
 // Event handler for Add New button click
 private void addNewMat_Btn_Click(object sender, EventArgs e)
 {
     stockpage = new RawMaterialsForm();
     stockpage.ShowDialog(); // Open new display
     this.Show();
 }
Example #2
0
 private void reOrderStockToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ReOrderStockForm = new RawMaterialsForm("Order Stock", "Reorder Raw Materials"); // Change the name of the titles on the form
     ReOrderStockForm.ShowDialog();
     this.Show();
 }