private void KDTnavBarItem_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { var doc = documentManager1.GetDocument(frmKdt); if (doc != null) { tabbedView1.Controller.Activate(doc); } else { frmKdt = new KdtXF(); frmKdt.MdiParent = this; frmKdt.Show(); } }
private void KDTbutton_Click(object sender, EventArgs e) { KdtXF frm = new KdtXF(); frm.Show(); }