예제 #1
0
        private void toolStripButton17_Click(object sender, EventArgs e)
        {
            RegsWindow regs = new RegsWindow();

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

            // Display the child window
            regs.Show();
        }
예제 #2
0
        private void registersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // Create a new instance of the MDI child template form
            RegsWindow chForm = new RegsWindow();

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

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