// Called when the cursor leaves this polygon's visible area private void RectangleOnCursorLeave7(object sender, CursorEventArgs args) { if (remoteRec != R7 || remoteRec == null) { args.Cursor.EndHover(); args.Cursor.HoverFinished -= Cursor_HoverFinished; rectangleNumber = 0; } }
// Called when the cursor leaves this button's visible area private void OnCursorLeave(object sender, CursorEventArgs args) { args.Cursor.EndHover(); args.Cursor.HoverFinished -= Cursor_HoverFinished; }
// Called when the cursor enters this polygon's visible area private void RectangleOnCursorEnter9(object sender, CursorEventArgs args) { if (remoteRec != R9 || remoteRec == null) { args.Cursor.BeginHover(); args.Cursor.HoverFinished += Cursor_HoverFinished; rectangleNumber = 9; } }
// Called when the cursor enters this button's visible area private void OnCursorEnter(object sender, CursorEventArgs args) { args.Cursor.BeginHover(); args.Cursor.HoverFinished += Cursor_HoverFinished; }