public override void OnWindowlessControlMessageReceived(WindowlessControlMessage message) { if (message != null && message is MouseOverMessageExchangeMessage) { MouseOverMessageExchangeMessage mouseOverMessageExchangeMessage = (MouseOverMessageExchangeMessage)message; if (mouseOverMessageExchangeMessage.IsReverting && isMouseOver) { isMouseOver = false; Invalidate(); } else if (!mouseOverMessageExchangeMessage.IsReverting && mouseOverMessageExchangeMessage.RelatedControls.Contains(this) && !isMouseOver) { isMouseOver = true; Invalidate(); } } }
public virtual void OnWindowlessControlMessageReceived(WindowlessControlMessage message) { }