|
@@ -20,11 +20,11 @@ namespace YtYtAvalonia.ViewModels
|
|
|
#pragma warning restore CA1822 // Mark members as static
|
|
|
public string Greeting => "Welcome to Avalonia!";
|
|
|
|
|
|
-// public UserControl Login { get => login; set => this.RaiseAndSetIfChanged(ref login, value); }
|
|
|
-//#pragma warning restore CA1822 // Mark members as static
|
|
|
+ public UserControl UC { get => uc; set => this.RaiseAndSetIfChanged(ref uc, value); }
|
|
|
+#pragma warning restore CA1822 // Mark members as static
|
|
|
|
|
|
-// private UserControl login = new LoginView();
|
|
|
+ private UserControl uc = new LoginView();
|
|
|
|
|
|
-// public void LoadLoginView() => Login = new LoginView();
|
|
|
+ public void LoadRegistrationView() => UC = new RegistrationView();
|
|
|
}
|
|
|
}
|