コード例 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (lvLessons.SelectedItems.Count == 0)
            {
                return;
            }
            OpenCourse     oc  = CourseManageAction.QueryOpenCourseInfo(lvLessons.SelectedItems[0].SubItems[0].Text);
            studentInClass SIC = new studentInClass(oc);

            SIC.MdiParent = this.MdiParent;
            SIC.Show();
        }
コード例 #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();
        }