Пример #1
0
        public void EditCourse_Click(object sender, EventArgs e)
        {
            int ID = Convert.ToInt32(CourseControl.listView.SelectedItems[0].SubItems[0]);
            AddCourseForm addCou = new AddCourseForm();

            addCou.ShowForm(ID);
        }
Пример #2
0
 public void AddCourse_Click(object sender, EventArgs e)
 {
     AddCourseForm addCou = new AddCourseForm();
     addCou.ShowForm();
 }