private void uxRefresh_Click(object sender, EventArgs e) { LibraryData.UpdateFilesList(); uxImagesView.DataSource = LibraryData.GetAllItems().ToList(); treeBuilder.Load(); uxWhere.Properties.DataSource = treeTable.DefaultView; Filter(); needsUpdate = false; //uxRefresh.Enabled = false; timerCheckForUpdates.Enabled = true; }