void dataWorker_ProgressChanged(object sender, ProgressChangedEventArgs e) { ViewTrakt.Refresh(); TraktWorkerStatusContainer status = e.UserState as TraktWorkerStatusContainer; WorkerStatus = string.Format(Shoko.Commons.Properties.Resources.Community_TraktProgress, status.CurrentAction, status.CurrentSeries, status.TotalSeriesCount, status.CurrentSeriesString); }
void dataWorker_ProgressChanged(object sender, ProgressChangedEventArgs e) { ViewTrakt.Refresh(); TraktWorkerStatusContainer status = e.UserState as TraktWorkerStatusContainer; WorkerStatus = string.Format("{0}: {1} of {2} - {3}", status.CurrentAction, status.CurrentSeries, status.TotalSeriesCount, status.CurrentSeriesString); }
void dataWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { ViewTrakt.Refresh(); ShowStartButton = true; ShowStopButton = false; //ShowPauseButton = false; WorkerStatus = Shoko.Commons.Properties.Resources.Complete; stopWorker = false; EnableDisableControls(true); }
void dataWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { ViewTrakt.Refresh(); ShowStartButton = true; ShowStopButton = false; //ShowPauseButton = false; WorkerStatus = "Complete!"; stopWorker = false; EnableDisableControls(true); }