1234567891011121314151617181920212223 |
- using Avalonia.Controls;
- using ReactiveUI;
- using TeacheresAndCourses.Models;
- namespace TeacheresAndCourses.ViewModels
- {
- public class MainWindowViewModel : ViewModelBase
- {
- public static MainWindowViewModel Instance;
- public MainWindowViewModel()
- {
- Instance = this;
- }
- public static _43pSuharevaContext connection = new _43pSuharevaContext();
- UserControl uc = new TeachersPage();
- public UserControl Uc { get => uc; set => this.RaiseAndSetIfChanged(ref uc, value); }
- }
- }
|