Example #1
0
        private void btnAnalytics_Click(object sender, EventArgs e)
        {
            pnlNav.Height          = btnAnalytics.Height;
            pnlNav.Top             = btnAnalytics.Top;
            btnAnalytics.BackColor = Color.FromArgb(46, 51, 73);

            lbltitle.Text = "Analytics";
            this.pnlFormLoader.Controls.Clear();
            frmAnalytics frmAnalytics_vrb = new frmAnalytics()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            frmAnalytics_vrb.FormBorderStyle = FormBorderStyle.None;
            this.pnlFormLoader.Controls.Add(frmAnalytics_vrb);
            frmAnalytics_vrb.Show();
        }
Example #2
0
        private void BtnAnalytics_Click_1(object sender, EventArgs e)
        {
            PnlNav.Height          = BtnAnalytics.Height;
            PnlNav.Top             = BtnAnalytics.Top;
            PnlNav.Left            = BtnAnalytics.Left;
            BtnAnalytics.BackColor = Color.FromArgb(46, 51, 73);

            lblTitle.Text = "Analytics";
            this.PnlFormLoader.Controls.Clear();
            frmAnalytics FrmDashboard_Vrb = new frmAnalytics()
            {
                Dock = DockStyle.Fill, TopLevel = false, TopMost = true
            };

            FrmDashboard_Vrb.FormBorderStyle = FormBorderStyle.None;
            this.PnlFormLoader.Controls.Add(FrmDashboard_Vrb);
            FrmDashboard_Vrb.Show();
        }