private void AFBbutton_Click(object sender, EventArgs e) { var aaa = mainDataSet.XGT; AvmXF frm = new AvmXF(); frm.Show(); }
private void AVMnavBarItem_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { var doc = documentManager1.GetDocument(frmAvm); if (doc != null) { tabbedView1.Controller.Activate(doc); } else { frmAvm = new AvmXF(); frmAvm.MdiParent = this; frmAvm.Show(); } }