private void HeaderControlButtonReloadClick(object sender, EventArgs e) { filter = null; TextBoxFilter.Clear(); AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoWork; AnimatedThreadWorker.DoWork -= AnimatedThreadWorkerDoFilteringWork; AnimatedThreadWorker.DoWork += AnimatedThreadWorkerDoWork; AnimatedThreadWorker.RunWorkerAsync(); }
private void ButtonClearFilter_Click(object sender, EventArgs e) { TextBoxFilter.Clear(); TextBoxFilter.Focus(); }