protected override void OnGotFocus(EventArgs e) { // Inform parent window we have the focus if (_parentWindow != null) { _parentWindow.WindowDetailGotFocus(this); } base.OnGotFocus(e); }