예제 #1
0
파일: MDIFORM.cs 프로젝트: fyyc1204/MTSICS
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     if (!ExistsMdiChildrenlnstance("MainFrm"))
     {
         MainFrm maifrm = new MainFrm();
         maifrm.MdiParent = this;
         maifrm.WindowState = FormWindowState.Maximized;
         maifrm.Dock = DockStyle.Fill;
         maifrm.Show();
     }
 }
예제 #2
0
파일: MDIFORM.cs 프로젝트: fyyc1204/MTSICS
        private void MDIFORM_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;
            this.StartPosition = FormStartPosition.CenterScreen;
               // this.MaximizeBox = false;
               // this.MinimizeBox = false;

            MainFrm maifrm = new MainFrm();
            maifrm.MdiParent = this;
            maifrm.WindowState = FormWindowState.Maximized;
            maifrm.Dock = DockStyle.Fill;
            maifrm.Show();
        }