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