您的位置:首页 > 编程语言 > C#

C# WinForm 显示 隐藏 鼠标 .

2012-11-14 08:21 183 查看
using System.Runtime.InteropServices;

[DllImport("user32.dll", EntryPoint="ShowCursor",CharSet=CharSet.Auto)]
public extern static void ShowCursor(int status);


调用ShowCursor(0)或ShowCursor(1)来设置. 只是调用个api.

来自:http://hi.baidu.com/qiangfans/item/64c1212ed95c35f950fd87bc
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: