Beispiel #1
0
        private void viewInventoryToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Create a new instance of the MDI child template form
            InventoryUI inventoryForm = new InventoryUI(i);

            //Set parent form for the child window
            inventoryForm.MdiParent = this;

            //Display the child window
            inventoryForm.Show();
        }