Example #1
0
 private void ScheduleTimerElapsed()
 {
     for (int Idx = 0; Idx < TabControl.GetTabCount(); Idx++)
     {
         WorkspaceControl Workspace = TabControl.GetTabData(Idx) as WorkspaceControl;
         if (Workspace != null)
         {
             Workspace.ScheduleTimerElapsed();
         }
     }
 }
 private void ScheduleSettledTimerElapsed()
 {
     for (int Idx = 0; Idx < TabControl.GetTabCount(); Idx++)
     {
         WorkspaceControl Workspace = TabControl.GetTabData(Idx) as WorkspaceControl;
         if (Workspace != null && (Settings.ScheduleAnyOpenProject || Settings.ScheduleProjects.Contains(Workspace.SelectedProject)))
         {
             Workspace.ScheduleTimerElapsed();
         }
     }
 }
Example #3
0
 private void ScheduleSettledTimerElapsed()
 {
     Log.WriteLine("Schedule: Starting Sync");
     for (int Idx = 0; Idx < TabControl.GetTabCount(); Idx++)
     {
         WorkspaceControl Workspace = TabControl.GetTabData(Idx) as WorkspaceControl;
         if (Workspace != null)
         {
             Log.WriteLine("Schedule: Considering {0}", Workspace.SelectedFileName);
             if (Settings.ScheduleAnyOpenProject || Settings.ScheduleProjects.Contains(Workspace.SelectedProject))
             {
                 Log.WriteLine("Schedule: Starting Sync");
                 Workspace.ScheduleTimerElapsed();
             }
         }
     }
 }