示例#1
0
        private void matchesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            macXF frm = new macXF();

            frm.MdiParent = Program.MF;
            frm.CCRow     = (DataSetGnl.CCRow)gridView1.GetFocusedDataRow();
            frm.Text      = $"{gridView1.GetFocusedRowCellValue(colAd)} / {gridView1.GetFocusedRowCellValue(colSkl)} Matches [macXF]";
            frm.Show();
        }
示例#2
0
        private void maclarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            macXF frm = new macXF();

            frm.MdiParent = Program.MF;
            frm.CETRow    = (DataSetGnl.CETRow)gridView1.GetFocusedDataRow();
            frm.Text      = $"{gridView1.GetFocusedRowCellDisplayText(colHCT)} - {gridView1.GetFocusedRowCellDisplayText(colGCT)} Matches [macXF]";
            frm.HCTAd     = gridView1.GetFocusedRowCellDisplayText(colHCT);
            frm.GCTAd     = gridView1.GetFocusedRowCellDisplayText(colGCT);
            frm.Show();
        }
示例#3
0
        private void MACnavBarItem_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            var doc = documentManager1.GetDocument(frmMAC);

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