Esempio n. 1
0
        protected override void OnEnter()
        {
            Updater_.SetProgressID(StageProgressID.DownloadResInfoBegin);
            Updater_.SetProgressValue(0);
            Updater_.ClearError();
            StageCode_ = StageCode.Continue;

            DownloadTask Task = Downloader.Start(Updater_.GetResVersionInfo().ResUrl_, UpdateTool.ServerVersionInfoPath_, string.Empty, true);

            Task.Progress  += OnProgressCallback;
            Task.Completed += OnCompletedCallback;
        }