private void LaunchSyncanySynchro()
 {
     if (_infraSyncany.SynchronisationRunning)
     {
         _infraSyncany.SuspendSynchro();
     }
     else
     {
         _infraSyncany.ResumeSynchro();
     }
 }
Пример #2
0
 private void SwitchSynchro()
 {
     if (_syncany.SynchronisationRunning)
     {
         _syncany.SuspendSynchro();
     }
     else
     {
         _syncany.ResumeSynchro();
     }
     buttonSynchroStartStop.Text = _syncany.SynchronisationRunning ? GetText.Text("Started") : GetText.Text("Stopped");
 }
 private void LaunchSyncanySynchro()
 {
     if (_infraSyncany.SynchronisationRunning)
     {
         _infraSyncany.SuspendSynchro();
     }
     else
     {
         _infraSyncany.ResumeSynchro();
     }
     _timer.Stop();
     _tsm.RefreshData(this);
     _timer.Start();
 }