Esempio n. 1
0
        private void KPTnavBarItem_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            var doc = documentManager1.GetDocument(frmKpt);

            if (doc != null)
            {
                tabbedView1.Controller.Activate(doc);
            }
            else
            {
                frmKpt           = new KptXF();
                frmKpt.MdiParent = this;
                frmKpt.Show();
            }
        }
Esempio n. 2
0
        private void KPTbutton_Click(object sender, EventArgs e)
        {
            KptXF frm = new KptXF();

            frm.Show();
        }