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