Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Course c = CourseManageAction.QueryCourseInfo(tbCourseNo.Text);

            CourseManager.OpenCourseForm ocf = new OpenCourseForm(c);
            ocf.MdiParent = this.MdiParent;
            ocf.Show();
        }
Esempio n. 2
0
        private void btoRevise_Click(object sender, EventArgs e)
        {
            if (lvLessons.SelectedItems.Count == 0)
            {
                return;
            }
            OpenCourse oc = CourseManageAction.QueryOpenCourseInfo(lvLessons.SelectedItems[0].SubItems[0].Text);

            CourseManager.OpenCourseForm ocf = new OpenCourseForm(oc);
            ocf.MdiParent = this.MdiParent;
            ocf.Show();
        }
Esempio n. 3
0
 private void 开设课程ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CourseManager.OpenCourseForm openCourse = new CourseManager.OpenCourseForm();
     openCourse.MdiParent = this;
     openCourse.Show();
 }