public InscriptionViewModel() { loader = new ResourceLoader(); ValidateCommand = new RelayCommand(ValidateExecute); PasswordBoxCommand = new RelayCommand(PasswordBoxCommandExecute); NewUser = new User(); NewAddress = new Address(); Navigation = new NavigationService(); }
public ProfilUserViewModel() { Navigation = new NavigationService(); NeedUpdate = false; CanUpdate = false; ButtonContent = "Editer mes informations"; SelectionCommand = new RelayCommand(SelectionExecute); EditClickCommand = new RelayCommand(EditInformationExecute); TappedCommand = new RelayCommand(TappedCommandExecute); _coreApplicationView = CoreApplication.GetCurrentView(); loader = new ResourceLoader(); //Navigation.GoBack(); }
public ExplorerViewModel() { loader = new ResourceLoader(); Navigation = new NavigationService(); InfluenceTapped = new RelayCommand(InfluenceTappedExecute); // AmbianceTapped = new RelayCommand(AmbianceTappedExecute); AlbumCommand = new RelayCommand(AlbumCommandExecute); TappedCommand = new RelayCommand(ArtisteTappedCommand); AddToPlaylist = new RelayCommand(AddToPlaylistExecute); AddMusicToCart = new RelayCommand(AddMusicToCartExecute); PlayCommand = new RelayCommand(PlayCommandExecute); DowloadMusic = new RelayCommand(DownloadMusicExecute); LoadCommand = new RelayCommand(LoadContent); MusiCommand = new RelayCommand(MusiCommandExecute); }