private void BtnOpenCourseView(object sender, RoutedEventArgs e) { CourseView view = new CourseView(); view.Closing += CourseView_Closing; view.ShowDialog(); }
public void NavigateToCourse() { var view = new CourseView(); view.ShowDialog(); }