Esempio n. 1
0
        private void Window_ImageReady(object sender, MapCreationSettings settings)
        {
            var pending = new PendingMapsWithID(GetSafeID(), settings, WorldSide);

            ImportSide.AddPending(pending);
            pending.ProgressChanged += Pending_ProgressChanged;
        }
Esempio n. 2
0
 public void AddPending(PendingMapsWithID pending)
 {
     pending.Finished += Pending_Finished;
     ProcessingMaps.TryAdd(pending, pending);
     MapsChanged?.Invoke(this, EventArgs.Empty);
 }