Beispiel #1
0
        private void shippersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ViewShippers theForm = new ViewShippers();

            theForm.MdiParent   = this; // Tell the form that I (main form ) am the parent
            theForm.WindowState = FormWindowState.Maximized;
            theForm.Show();             // we do NOT pause here as we show the form...
            MessageBox.Show("Here's the ViewShipper's Form!");
        }
Beispiel #2
0
        private void shippersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ViewShippers theform = new ViewShippers();

            theform.MdiParent   = this; //tell the new form I am the parent
            theform.WindowState = FormWindowState.Maximized;
            theform.Show();             //no pause here
            MessageBox.Show("Here is ViewShipper form!");
        }