예제 #1
0
        public void Dashboard()
        {
            btnDashboard.Checked = true;

            var frm = new frmDashboard();

            frm.TopLevel = false;
            panel3.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
        }
예제 #2
0
        private void BtnDashboard_Click(object sender, EventArgs e)
        {
            btnDashboard.Checked   = true;
            btnStudent.Checked     = false;
            btnBook.Checked        = false;
            btnIssueBook.Checked   = false;
            btnHistory.Checked     = false;
            btnReports.Checked     = false;
            btnUserAccount.Checked = false;
            btnSettings.Checked    = false;

            frmDashboard frm = new frmDashboard();

            frm.TopLevel = false;
            panel3.Controls.Add(frm);
            frm.BringToFront();
            frm.Show();
        }