Exemple #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();
        }
Exemple #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();
        }