Example #1
0
 private void StartAutomatedSyncAfterStartup(WorkspaceControl Workspace, bool bCancel, AutomationRequest Request)
 {
     if (bCancel)
     {
         Request.SetOutput(new AutomationRequestOutput(AutomationRequestResult.Canceled));
     }
     else
     {
         Workspace.SyncLatestChange(Result => CompleteAutomatedSync(Result, Workspace.SelectedFileName, Request));
     }
 }
Example #2
0
 private void NotifyMenu_SyncNow_Click(object sender, EventArgs e)
 {
     CurrentWorkspace.SyncLatestChange();
 }