运行效果如下://重写API函数
[System.Runtime.InteropServices.DllImport("user32.dll", EntryPoint = "ShowCursor")]
public extern static bool ShowCursor(bool bShow);
private void btnHide_Click(object sender, EventArgs e)
{
ShowCursor(false);//鼠标隐藏
}
private void btnShow_Click(object sender, EventArgs e)
{
ShowCursor(true);//鼠标显示
}
亲爱的:被墙域名跳转TG:@qianhenetwork QQ:851617266,可否收藏+评论+分享呢?
文章评论 本文章有个评论