private void timerCheckForUpdates_Tick(object sender, EventArgs e) { timerCheckForUpdates.Enabled = false; if (!needsUpdate) { needsUpdate = LibraryData.GetFilesListNeedsUpdateStatus(); } //uxRefresh.Enabled = needsUpdate; timerCheckForUpdates.Enabled = !needsUpdate; }