コード例 #1
0
 private void btnNCC_Click(object sender, EventArgs e)
 {
     if (this.ActiveMdiChild != null)
     {
         this.ActiveMdiChild.Close();
     }
     QuanLy.frmNCC frm = new QuanLy.frmNCC();
     frm.MdiParent = this;
     frm.Show();
 }
コード例 #2
0
ファイル: frmMain.cs プロジェクト: dexonhud/pharmacykimhoang
 private void btnNCC_Click(object sender, EventArgs e)
 {
     if (this.ActiveMdiChild != null)
         this.ActiveMdiChild.Close();
     QuanLy.frmNCC frm = new QuanLy.frmNCC();
     frm.MdiParent = this;
     frm.Show();
 }