可以使用API ClipCursor,如果你不嫌麻烦的话. 以下方法: Private Sub Form1_MouseDown(sender As System.Object, e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseDown Dim X, Y As Integer Dim loc As System.Drawing.Point = Me.Location + Me.MonthCalendar1.Location
using UnityEngine; using System.Collections.Generic; using UnityEngine.EventSystems; using UnityEngine.UI; public class ManualRoam { private static ManualRoam mouse_this; public static ManualRoam Instance() { if (mouse_this == null) { mouse_this = ne