protected OnGotFocus ( EventArgs e ) : void | ||
e | EventArgs | |
Résultat | void |
protected override void OnGotFocus(EventArgs e)
{
CheckDisposed();
if (Disposing)
return;
DataTree.MakeSliceVisible(this); // otherwise no change our control can take focus.
base.OnGotFocus(e);
if (Control != null && Control.CanFocus)
Control.Focus();
}