private void SetFilter(string value) { fromTextBox = false; this.Filter = value; fromTextBox = true; }