123456789101112131415161718 |
- using YtYtAvalonia.Models;
- using YtYtAvalonia.Views;
- using YtYtAvalonia.ViewModels;
- namespace YtYtAvalonia.ViewModels
- {
- public class MainWindowViewModel : ViewModelBase
- {
- #pragma warning disable CA1822 // Mark members as static
- public static SuharevaContext myConnection = new SuharevaContext();
- RegistrationViewModel regPage = new RegistrationViewModel(myConnection);
- public RegistrationViewModel RegPage { get => regPage; set => regPage = value; }
- #pragma warning restore CA1822 // Mark members as static
- }
- }
|