C# - 平移光标 [英] C# - Pan cursor

查看:132
本文介绍了C# - 平移光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在实现在PictureBox控件中的大型图像的平移,我没有问题设置适当的方向平移光标。但是,我似乎找不到用于平底锅原点的图像(一个带有箭头的圆圈)。

I'm implementing panning of a large image in a PictureBox control, and I have no problem setting the appropriate directional pan cursors. However, I can't seem to find the image used for the origin of the pan (a circle with arrows inside of it).

我在哪里可以找到它? / p>

Where can I find it?

推荐答案

我认为你所看到的图片不包含在框架中。每个应用程序使用自己的光标(AFAIK)。你可以得到的最接近的是使用Cursors.SizeAll作为Hans Passant已经告诉你:

I think the image that you are looking is not included in the framework. Every app uses their own cursor for that (AFAIK). The closest you can get is using Cursors.SizeAll as Hans Passant already told you:

this.Cursor = Cursors.SizeAll;

这篇关于C# - 平移光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆