public override void MouseLeave(EventArgs e)
{
Debug.Assert(e != null);
// Validate incoming reference
if (e == null) throw new ArgumentNullException("e");
// Only interested if the application window we are inside is active
if (_active)
{
// If there is an active element
if (_activeGroup != null)
{
_activeGroup.PerformNeedPaint(false, _activeGroup.ClientRectangle);
_activeGroup.Tracking = false;
_activeGroup = null;
}
}
// Remember to call base class for standard mouse processing
base.MouseLeave(e);
}