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