private void loadMoreButton_Click(object sender, RoutedEventArgs e) { loadMoreButton.IsEnabled = false; TopProgressBar.IsIndeterminate = true; TopProgressBar.Visibility = System.Windows.Visibility.Visible; Top250HtmlParser.parseTop250(); }
private void loadTopPivotItem() { // Get top 250 movie top250LongListSelector.ItemsSource = Top250HtmlParser.observableMovieList; loadMoreButton.IsEnabled = false; TopProgressBar.IsIndeterminate = true; TopProgressBar.Visibility = System.Windows.Visibility.Visible; Top250HtmlParser.progressBar = TopProgressBar; Top250HtmlParser.loadText = loadText; Top250HtmlParser.loadMoreButton = loadMoreButton; Top250HtmlParser.loaded = top250Loaded; Top250HtmlParser.parseTop250(); }