protected void GrabTheFocus() { // Remember the current focus location _oldFocus = WindowsAPI.GetFocus(); // Grab the focus this.Focus(); }