private void FullSyncMenuItem_Click(object sender, RoutedEventArgs e) { if (caseList.FullSyncStarted == true) { caseList.StopSync = true; FullSyncMenuItem.Header = "Start Full Sync"; } else { caseList.StartFullSync(); FullSyncMenuItem.Header = "Stop Sync"; } }