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