Beispiel #1
0
 public override void Start(List <Game> games)
 {
     Cnt                    = 0;
     _processor             = new MoveAsync();
     _processor.OnError    += _processor_OnError;
     _processor.OnProgress += _processor_OnProgress;
     GameCnt                = games.Count;
     base.Start(games);
 }
Beispiel #2
0
        public void ProcessGames(List <Game> games, string source, string destination)
        {
            _source      = source;
            _destination = destination;
            _cnt         = 0;

            _gamecnt = 0;
            Abort    = false;
            Finished = false;
            Thread th = new Thread(ExecutorThread);

            _processor             = new MoveAsync();
            _processor.OnError    += _processor_OnError;
            _processor.OnProgress += _processor_OnProgress;
            _processor.Abort       = false;
            th.Start(games);
        }