Пример #1
0
        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);
        }
Пример #2
0
        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);
        }
Пример #3
0
        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);
        }
Пример #4
0
        void dataWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            ViewTrakt.Refresh();

            ShowStartButton = true;
            ShowStopButton  = false;
            //ShowPauseButton = false;

            WorkerStatus = "Complete!";

            stopWorker = false;
            EnableDisableControls(true);
        }