Пример #1
0
        private void frmMDIMain_Load(object sender, EventArgs e)
        {
            //Position
            this.StartPosition = FormStartPosition.CenterScreen;

            frmMain frmMain = new frmMain();
            frmMain.MdiParent = this;
            frmMain.Show();

            //Width
            this.Width = 1000;
            //Height
            this.Height = 700;
        }
Пример #2
0
 private void toolStripVPRR_Click(object sender, EventArgs e)
 {
     frmMain frmMain = new frmMain();
     frmMain.MdiParent = this;
     frmMain.Show();
 }