MainWindowViewModel.cs 660 B

12345678910111213141516171819202122232425
  1. using Avalonia.Controls;
  2. //using AvaloniaApplication12.Models;
  3. //using ReactiveUI;
  4. namespace Connect_with_base.ViewModels
  5. {
  6. public partial class MainWindowViewModel : ViewModelBase
  7. {
  8. public static MainWindowViewModel Instance;
  9. //public static TestBaseContext myConnection = new TestBaseContext();
  10. //public MainWindowViewModel()
  11. //{
  12. // Instance = this;
  13. //}
  14. //UserControl _pageContent = new PageShowCats();
  15. //public UserControl PageContent
  16. //{
  17. // get => _pageContent;
  18. // set => this.RaiseAndSetIfChanged(ref _pageContent, value);
  19. //}
  20. }
  21. }