private void Filter() { int length = this.Text.Length; this.SelectionStart = length; gridView.ApplyFindFilter(this.Text.Trim()); if (length > 0 && gridView.RowCount > 0) { gridView.MoveFirst(); } else { CleanStatus(); } }