Пример #1
0
 private void HomePage_Click(object sender, EventArgs e)
 {
     if (HmPage == false)
     {
         Hmfrm           = new HomeFrm();
         Hmfrm.MdiParent = this;
         Hmfrm.Show();
         HmPage = true;
     }
 }
Пример #2
0
 private void MainMdiFrm_Load(object sender, EventArgs e)
 {
     HmPage  = false;
     MatPage = false;
     if (HmPage == false)
     {
         Hmfrm           = new HomeFrm();
         Hmfrm.MdiParent = this;
         Hmfrm.Show();
         HmPage = true;
     }
 }