using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices; namespace AutoRun.Common{ public class WinIo { public const int KBC_KEY_CMD = 0x64; public const int KBC_KEY_DATA = 0x60; [DllImport("winio.dll"
public partial class Form1 : Form { public Form1() { InitializeComponent(); } [DllImport("USER32.DLL")] public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); //导入寻找windows窗体的方法 [DllImport("USER32.DLL")] publi