C# WinForm 显示 隐藏 鼠标 .

来源:互联网 发布:建党伟业观后感知乎 编辑:程序博客网 时间:2024/06/12 12:00
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

 

原创粉丝点击