private void ContentDialog_PrimaryButtonClickAsync(ContentDialog sender, ContentDialogButtonClickEventArgs args) { if (!btnPath.IsEnabled) { return; } movieList.Instance.addMovie(addMovie); NeoSingleton._connect(); NeoSingleton._addMovie(addMovie); return; }
private void AddToButton_Click(object sender, RoutedEventArgs e) { int index = 0; foreach (NeoModels.Movie movie in Suggested) { if (ShouldAdd[index]) { movieList.Instance.addMovie(movie); NeoSingleton._connect(); NeoSingleton._addMovie(movie); } index++; } Frame.Navigate(typeof(MoviesPage)); }
private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { if (!btnPath.IsEnabled) { return; } NeoSingleton._connect(); if (already) { NeoSingleton._addSeason(addSeason, show); seasonList.Instance.addSeason(addSeason, show); } else { NeoSingleton._addTvShow(show); seasonList.Instance.addTVShow(show); } }
public PreferencesPage() { this.InitializeComponent(); NumberOfMovies.Text = "You have " + NeoSingleton._numberOfMovies().ToString() + " movies and " + NeoSingleton._numberOfSeasons().ToString() + " TVShow seasons in your collection."; }
private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { movieList.Instance.modifyMovie(addMovie); NeoSingleton._connect(); NeoSingleton._modifyMovie(addMovie); }