用C#调用Windows API向指定窗口发送按键消息
摘要:一、调用Windows API。 C#下调用Windows API方法如下: 1、引入命名空间:using System.Runtime.InteropServices; 2、引用需要使用的方法,格式:[DllImport("DLL文件")]方法的声明; [DllImport("user32.dll
阅读全文
posted @ 2016-11-26 09:14
posted @ 2016-11-26 09:14
posted @ 2016-11-25 16:41
posted @ 2016-11-25 16:26
posted @ 2016-11-25 15:36
posted @ 2016-11-25 15:17
posted @ 2016-11-25 15:09
posted @ 2016-11-23 16:16