예제 #1
0
        public LoginViewModel(AppRootViewModel parentViewModel)
        {
            _parentViewModel = parentViewModel;

            Username = LocalSettings.I.LastUsername;

            APL.I.AuthenticationFailed  += onAuthenticationFailed;
            APL.I.AuthenticationSuccess += onAuthenticationSuccess;
        }
예제 #2
0
 private static MainViewModel MainViewEvaluator(AppRootViewModel i)
 {
     return(new MainViewModel(i));
 }
예제 #3
0
 private static RegisterViewModel RegisterViewEvaluator(AppRootViewModel i)
 {
     return(new RegisterViewModel(i));
 }
예제 #4
0
 private static LoginViewModel LoginViewEvaluator(AppRootViewModel i)
 {
     return(new LoginViewModel(i));
 }
예제 #5
0
 public RegisterViewModel(AppRootViewModel parentReference)
 {
     _parentReference = parentReference;
 }
예제 #6
0
 public MainViewModel(AppRootViewModel parentViewModel)
 {
     _parentViewModel             = parentViewModel;
     APL.I.AuthenticationSuccess += OnAuthenticationSuccess;
 }