123456789101112131415161718192021222324252627 |
- using Avalonia;
- using Avalonia.Controls;
- using Avalonia.Interactivity;
- using Avalonia.Markup.Xaml;
- using Teachers.ViewModels;
- namespace Teachers;
- public partial class AddCourseWindow : Window
- {
- public AddCourseWindow()
- {
- InitializeComponent();
- DataContext = new AddTeacherViewModel();
- }
- public void bAddCourse(object sender, RoutedEventArgs args)
- {
- AddTeacherViewModel viewModel = new AddTeacherViewModel();
- <<<<<<< HEAD
- //viewModel.AddCourse();
- =======
- viewModel.AddCourse();
- >>>>>>> cb3f32a974d3f3dd8a95538b44505c7803821611
- this.Close(true);
- }
- }
|