protected OnAllowUnfocusedMouseWheelChanged ( |
||
e | The |
|
return | void |
protected virtual void OnAllowUnfocusedMouseWheelChanged(EventArgs e)
{
EventHandler handler;
if (AllowUnfocusedMouseWheel)
{
// TODO: Not doing any reference counting so there's
// currently no way of disabling the message filter
// after the first time it has been enabled
ImageBoxMouseWheelMessageFilter.Active = true;
}
handler = AllowUnfocusedMouseWheelChanged;
if (handler != null)
handler(this, e);
}