protected override void OnGotFocus(EventArgs e)
{
// Cannot process a message for a disposed control
if (!IsDisposed && !Disposing)
{
// Do we have a manager for processing source messages?
if (ViewManager != null)
ViewManager.GotFocus();
}
// Let base class fire standard event
base.OnGotFocus(e);
}