private void OnWindowGotFocusInternal( object sender, EventArgs e ) { DispatchWhenRequired( (Action)(() => OnWindowGotFocus( sender, e )) ); }