Ejemplo n.º 1
0
 void Instance_SynchronizationCompleted(object sender, SyncComplEventArgs e)
 {
     //this.SwitchSyncUIEffects(false);
     ClearHandlers();
     if (e.SynchronizationResult == SynchronizationResult.Success)
         UIHelper.ShowInfo("Synchronizacja zakończona pomyślnie.");
     else if (e.SynchronizationResult == SynchronizationResult.Failed)
         UIHelper.ShowError("Błąd synchronizacji");
     else if (e.SynchronizationResult == SynchronizationResult.Cancelled)
         UIHelper.ShowInfo("Synchronizacja anulowana.");
     OnSynchroEnds();
 }
Ejemplo n.º 2
0
 void Instance_SynchronizationCompleted(object sender, SyncComplEventArgs e)
 {
     DialogClose();
 }