Ejemplo n.º 1
0
        private void cCToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ccXF frm = new ccXF();

            frm.MdiParent = Program.MF;
            frm.DDRow     = (DataSetGnl.DDRow)gridView1.GetFocusedDataRow();
            frm.Text      = $"{gridView1.GetFocusedRowCellValue(colAd)} Competitions [ccXF]";
            frm.Show();
        }
Ejemplo n.º 2
0
        private void CCnavBarItem_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            var doc = documentManager1.GetDocument(frmCC);

            if (doc != null)
            {
                tabbedView1.Controller.Activate(doc);
            }
            else
            {
                frmCC = new ccXF
                {
                    MdiParent = this
                };
                frmCC.Show();
            }
        }