private void NameText_Enter(object sender, EventArgs e) { BeginInvoke((Action) delegate { NameText.SelectAll(); }); }