110,536
社区成员
发帖
与我相关
我的任务
分享
if ((SystemService.GetAsyncKeyState(17) != 0) && (SystemService.GetAsyncKeyState(76) != 0) && (SystemService.GetAsyncKeyState(73) != 0))//同时ctrl,l,i
{
MessageBox.Show("SystemService.GetAsyncKeyState(17)的状态值:" + SystemService.GetAsyncKeyState(17) + "\nSystemService.GetAsyncKeyState(76)键的状态值:" + SystemService.GetAsyncKeyState(76) + "\nSystemService.GetAsyncKeyState(73)键的状态值:" + SystemService.GetAsyncKeyState(73));
}
if ((SystemService.GetAsyncKeyState(17) != 0) && (SystemService.GetAsyncKeyState(76) != 0) && (SystemService.GetAsyncKeyState(73) != 0))
if(true&&false&&false)
var a = (SystemService.GetAsyncKeyState(17) != 0);
var b = (SystemService.GetAsyncKeyState(76) != 0);
var c = (SystemService.GetAsyncKeyState(73) != 0);
if (a && b && c)//同时ctrl,l,i
{
MessageBox.Show("SystemService.GetAsyncKeyState(17)的状态值:" + a + "\nSystemService.GetAsyncKeyState(76)键的状态值:" + b + "\nSystemService.GetAsyncKeyState(73)键的状态值:" + c);
}