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

            frm.MdiParent = Program.MF;
            frm.DDRow     = (DataSetGnl.DDRow)gridView1.GetFocusedDataRow();
            frm.Text      = $"{gridView1.GetFocusedRowCellValue(colAd)} Rank [pprdXF]";
            frm.Show();
        }
示例#2
0
        private void PPRDnavBarItem_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            var doc = documentManager1.GetDocument(frmPPRD);

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