private void SyncthingStateChanged(object sender, SyncthingStateChangedEventArgs e)
 {
     if (e.NewState != SyncthingState.Running)
         this.ClearAllDevices();
     // Else, we'll get DataLoaded shortly
 }
 private void StateChanged(object sender, SyncthingStateChangedEventArgs e)
 {
     this.SyncthingState = e.NewState;
     if (e.NewState != SyncthingState.Running)
         this.SyncthingSyncing = false; // Just make sure we reset this..
 }
Beispiel #3
0
 private void SyncthingStateChanged(object sender, SyncthingStateChangedEventArgs e)
 {
     this.syncthingState = e.NewState;
     this.RefreshBrowser();
 }
 private void SyncthingStateChanged(object sender, SyncthingStateChangedEventArgs e)
 {
     this.Reset();
 }