コード例 #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();
        }
コード例 #2
0
ファイル: MainUI.cs プロジェクト: bloomj/BurritoPOS_CSharp
        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();
        }