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