예제 #1
0
 private void LoadHome()
 {
     //    MainChild homeFrm = new MainChild();
     homeFrm           = new MainChild();
     homeFrm.MdiParent = this;
     homeFrm.Dock      = DockStyle.Fill;
     homeFrm.Show();
 }
예제 #2
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            MainChild homeFrm = new MainChild();

            homeFrm.MdiParent = this;
            homeFrm.Dock      = DockStyle.Fill;
            homeFrm.Show();
        }