コード例 #1
0
        async Task asyAll4Steps()
        {
            try
            {
                DF             = FC = DC = AG = Brushes.LightGray;
                MUProgressPerc = 0; MUProgressState = TaskbarItemProgressState.Normal;

                //Bpr.BeepFDNK(2000, 100, 20);
#if DEBUG_THIS
                Bpr.BeepDone();
                await asy4AnonsGenr();
#else
                await asy1UpdtFeeds();
                await asy2FindNewDL();

                onDbSave();
                await asy3UpdtDnLds();

                onDbSave();
                await asy4AnonsGenr();
                await asy2FindNewDL(FeedList.Where(r => !r.IsDeleted).ToList());

                onDbSave(null);
#endif

                RecentCmd.Execute(null);
            }
            finally
            {
                MUProgressPerc = 1; MUProgressState = TaskbarItemProgressState.Paused;
                Bpr.BeepDone();
            }
        }