private void createOrderToolStripMenuItem_Click(object sender, EventArgs e) { //Create a new instance of the MDI child template form OrderUI orderForm = new OrderUI(i); //Set parent form for the child window orderForm.MdiParent = this; //Display the child window orderForm.Show(); }