Exemple #1
0
        private void AddCourse(object sender, RoutedEventArgs e)
        {
            AddEditCourse aeCourse = new AddEditCourse();

            aeCourse.Show();
        }
Exemple #2
0
        private void EditCourse(object sender, RoutedEventArgs e)
        {
            AddEditCourse aeCourse = new AddEditCourse(int.Parse(((Button)sender).Tag.ToString()));

            aeCourse.Show();
        }