123456789101112131415161718192021222324 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using Avalonia.Controls;
- using AvaloniaApplication3.Models;
- using AvaloniaApplication3.Views;
- using ReactiveUI;
- namespace AvaloniaApplication3.ViewModels
- {
- public class StartWindowViewModel : ViewModelBase
- {
- //UserControl mainUserControl;
- //public UserControl MainUserControl { get => mainUserControl; set => this.RaiseAndSetIfChanged(ref mainUserControl, value); }
- User currentUser;
- public StartWindowViewModel(User currentUser)
- {
- this.currentUser = currentUser;
- MainAcc = new PersonalAccountPage(this.currentUser);
- //MainUserControl = MainAcc;
- }
- }
- }
|