private void LoadMoreButton_Click(object sender, RoutedEventArgs e) { if (NextStart == null) { LilyToast toast = new LilyToast("再也没有了"); toast.Show(); return; } LoadMore(board, pid, NextStart); }
private void ShowError(LongListSelector content, TextBlock error) { content.Visibility = Visibility.Collapsed; error.Visibility = Visibility.Visible; LilyToast toast = new LilyToast(); toast.Message = (app.Resources["NetworkErrorMessage"] as NetworkErrorMessage).Message; toast.Show(); }