Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        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();
        }