Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
框架元素如何实时移动并充当光标?例如,如果我为鼠标移动添加了一个事件侦听器,并且移动了一个图像而不是显示虚拟光标,则移动的图像将被视为跟随鼠标。
我们的应用程序将不仅仅是移动光标。在窗口内移动光标大小图像的最有效方法是什么?
尝试这个:
Cursor x = new Cursor("yourCursorPath"); this.Cursor = x;