public ViewModelLogin(IloginUserService loginUserService) { this._loginService = loginUserService; loginCommand = new RelayCommand(LoginButtonClick); cancelCommand = new RelayCommand(CancelButton); registerCommand = new RelayCommand(RegisterButtonView); }
public ViewModelMain(IloginUserService loginUserService, ISearchService searchService) { loggedInMessage = loginUserService.LoggedInMessage(); this._viewModelRepo = iocc.GetInstance <ViewModelRepo>(); this._searchService = searchService; this.loginUserService = loginUserService; mainNavigationCommand = new MyICommand <string>(this._onNavigationChanged); // dialogService.ShowMessageBox(this, "", ""); }
public ViewModelRegister(IloginUserService loginUserService) { this._loginService = loginUserService; registerCommand = new RelayCommand(RegisterButtonClick); backCommand = new RelayCommand(BackButtonClick); }