private void ThisAddIn_StatusChanged (object sender, Scheduling.SchedulerStatusEventArgs e) { SynchronizeNowButton.Enabled = !e.IsRunning; }