Example #1
0
 //账户管理
 private void btnMangSet_Click(object sender, EventArgs e)
 {
     //判断窗体是否重复打开
     foreach (Form f in this.MdiChildren)
     {
         if (f is LL.Main.HY_System.Management)
         {
             f.Activate();
             return;
         }
     }
     LL.Main.HY_System.Management hyng = new LL.Main.HY_System.Management();
     //hyng.MdiParent = this;
     hyng.ShowDialog();
 }
Example #2
0
 private void 帐户管理ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //判断窗体是否重复打开
     foreach (Form f in this.MdiChildren)
     {
         if (f is LL.Main.HY_System.Management)
         {
             f.Activate();
             return;
         }
     }
     LL.Main.HY_System.Management hyng = new LL.Main.HY_System.Management();
     //hyng.MdiParent = this;
     hyng.Show();
 }