C#ShowCursor光标的显示与隐藏

 
使用using System.Runtime.InteropServices;
[DllImport("user32.dll" , EntryPoint = "ShowCursor" , CharSet = CharSet.Auto)]
public static extern void ShowCursor(int status);status:0/1 :隐藏/显示
posted @ 2016-07-16 15:21  龙骑科技  阅读(2021)  评论(0编辑  收藏  举报