使用using System.Runtime.InteropServices;
[DllImport(
"user32.dll"
, EntryPoint =
"ShowCursor"
, CharSet = CharSet.Auto)]
public
static
extern
void
ShowCursor(
int
status);status:0/1 :隐藏/显示
[DllImport(
"user32.dll"
, EntryPoint =
"ShowCursor"
, CharSet = CharSet.Auto)]
public
static
extern
void
ShowCursor(
int
status);status:0/1 :隐藏/显示