private void queryString_Enter(object sender, EventArgs e) { //Select all text queryString.SelectAll(); }