コード例 #1
0
        private void navBarDNPembelian_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            if (CnDnPemb.IsDisposed)
            {
                CnDnPemb           = null;
                CnDnPemb           = new CnDnPembelian();
                CnDnPemb.MdiParent = this;
            }

            CnDnPemb.Show();
            CnDnPemb.Focus();
        }
コード例 #2
0
 private void barButtonItemDNPemb_trans_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (frmDNPembelian == null || frmDNPembelian.IsDisposed)
     {
         frmDNPembelian           = new CnDnPembelian();
         frmDNPembelian.MdiParent = this;
         frmDNPembelian.Show();
     }
     else
     {
         frmDNPembelian.Activate();
     }
 }