Example #1
0
 /// <summary>
 /// Sync is finished
 /// </summary>
 public void SyncFinished(DropboxSyncResult syncresult)
 {
   _syncresult = syncresult;
   var msg =
     syncresult == DropboxSyncResult.Success
     ? "Sync succeeded"
     : "Nothing changed";
   UpdateDescription(msg);
   _donebutton.Show();
 }
Example #2
0
 /// <summary>
 /// Fire finish event with given result code
 /// </summary>
 /// <param name="result">Dropbox sync result code</param>
 void FireFinishedEvent(DropboxSyncResult result,
                        string errormessage)
 {
   Finished(this,
     new DropboxSyncEventArgs
     {
       Result = result,
       ErrorMessage = errormessage
     });
 }