Ejemplo n.º 1
0
 private void navBar_NvDenhanKyhopdong_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     Report.frm_sapkiHD frm = new Report.frm_sapkiHD();
     foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren)
     {
         if (frm.Name == _mdi_child.Name)
         {
             _mdi_child.Close();
         }
     }
     frm.MdiParent = this;
     frm.Show();
 }
Ejemplo n.º 2
0
 private void btBaocaoNVdenhanhopdong_ItemClick(object sender, ItemClickEventArgs e)
 {
     Report.frm_sapkiHD frm = new Report.frm_sapkiHD();
     foreach (System.Windows.Forms.Form _mdi_child in this.MdiChildren)
     {
         if (frm.Name == _mdi_child.Name)
         {
             _mdi_child.Close();
         }
     }
     frm.MdiParent = this;
     frm.Show();
 }