static void showCv() { CourseView cv = new CourseView(); cv.Show(); MessageBox.Show("New course added!"); }
private void CourseAdd_FormClosed(object sender, FormClosedEventArgs e) { // if the editing is true // and the form has been closed, it will open the view course form if (this.edit == true) { CourseView vv = new CourseView(); vv.Show(); vv.TopMost = true; } }
private void courseView_Click(object sender, EventArgs e) { CourseView course = new CourseView(); course.Show(); }