Exemple #1
0
        private void playersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            macXF frm = new macXF();

            frm.PPRow = (DataSetGnl.PPRow)gridView1.GetFocusedDataRow();
            frm.Text  = $"{gridView1.GetFocusedRowCellValue(colAd)} Matches [macXF]";
            frm.ShowDialog();
        }
Exemple #2
0
        private void maclarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            macXF frm = new macXF();

            frm.CEFRow = (DataSetGnl.CEFRow)gridView1.GetFocusedDataRow();
            frm.Text   = $"{gridView1.GetFocusedRowCellDisplayText(colHPP)} >< {gridView1.GetFocusedRowCellDisplayText(colGPP)} Matches [macXF]";
            frm.ShowDialog();
        }
Exemple #3
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();
        }
Exemple #4
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();
        }
Exemple #5
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();
            }
        }