protected override void OnMouseHover(EventArgs e) { base.OnMouseHover(e); ControlBoxManager.ProcessMouseOperate( PointToClient(MousePosition), MouseOperate.Hover); }
protected override void OnMouseMove(MouseEventArgs e) { base.OnMouseMove(e); ControlBoxManager.ProcessMouseOperate( e.Location, MouseOperate.Move); if (Renderer is IPSSkinRender) { foreach (ImageButton button in ((IPSSkinRender)Renderer).Buttons) { button.MouseMove(PointToClient(MousePosition).X, PointToClient(MousePosition).Y); } } }
protected override void OnMouseLeave(EventArgs e) { base.OnMouseLeave(e); ControlBoxManager.ProcessMouseOperate( Point.Empty, MouseOperate.Leave); }
protected override void OnMouseUp(MouseEventArgs e) { base.OnMouseUp(e); ControlBoxManager.ProcessMouseOperate( e.Location, MouseOperate.Up); }