2016年11月26日

用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 侠羽风云 阅读(4303) 评论(1) 推荐(0) 编辑

导航