void workerFiles_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            List <JMMServerBinary.Contract_AnimeSeries> contracts = e.Result as List <JMMServerBinary.Contract_AnimeSeries>;

            foreach (JMMServerBinary.Contract_AnimeSeries mf in contracts)
            {
                MissingSeriesCollection.Add(new AnimeSeriesVM(mf));
            }
            SeriesCount          = contracts.Count;
            btnRefresh.IsEnabled = true;
            IsLoading            = false;
            this.Cursor          = Cursors.Arrow;
        }
Exemplo n.º 2
0
        void workerFiles_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            List <VM_AnimeSeries_User> contracts = e.Result as List <VM_AnimeSeries_User>;

            foreach (VM_AnimeSeries_User mf in contracts)
            {
                MissingSeriesCollection.Add(mf);
            }
            SeriesCount          = contracts.Count;
            btnRefresh.IsEnabled = true;
            IsLoading            = false;
            Cursor = Cursors.Arrow;
        }