Example #1
0
        private void courseEnrollmentToolStripMenuItem_Click(object sender, EventArgs e)
        {
            // show course enrollment details report
            var courseEnrollment = new frm_CourseEnrollment();

            courseEnrollment.MdiParent   = this;
            courseEnrollment.WindowState = FormWindowState.Maximized;
            courseEnrollment.Show();
        }
Example #2
0
        private void btn_CourseRegistration_Click(object sender, EventArgs e)
        {
            // show course registration form
            panel_Holder.Controls.Clear();
            var courseRegistration = new frm_CourseEnrollment(Role);

            courseRegistration.TopLevel = false;
            panel_Holder.Controls.Add(courseRegistration);
            courseRegistration.Dock = DockStyle.Fill;
            courseRegistration.Show();
        }