Exemple #1
0
        private void button3_Click_1(object sender, EventArgs e)
        {
            //for reports
            ucReports rep = new ucReports();

            splitCont.Panel2.Controls.Clear();
            splitCont.Panel2.Controls.Add(rep);
            rep.Dock = DockStyle.Fill;
        }
Exemple #2
0
        private void nbiViewReports_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            ucReports uc = new ucReports()
            {
                Dock = DockStyle.Fill
            };

            LoadControl(uc);
            MainRibbon.MergeRibbon(uc.ribbonControl1);
            MainRibbon.SelectedPage = MainRibbon.MergedRibbon.SelectedPage;
        }