private void SetFilter(string filter) { if (string.IsNullOrEmpty(filter)) return; toolStripTextBoxFilter.Text = filter; ApplyFilter(); }