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