private void DataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) { Course selected = courses[e.RowIndex]; CourseViewWindow cvw = new CourseViewWindow(selected); cvw.Show(); }
public void InitData(Course course, List <Rating> ratings, CourseViewWindow cvw) { this.course = course; this.ratings = ratings; this.cvw = cvw; GetValuesFromCourses(); InitGUI(); InitGUI(); }
public void InitData(Course course, List <Rating> ratings, CourseViewWindow cvw) { this.course = course; this.ratings = ratings; this.cvw = cvw; InitCourseProperties(); InitComments(); InitCommentPage(1); }