摘要:
一、调用Windows API。 C#下调用Windows API方法如下: 1、引入命名空间:using System.Runtime.InteropServices; 2、引用需要使用的方法,格式:[DllImport("DLL文件")]方法的声明; [DllImport("user32.dll")]private static extern bool ShowWindow(IntPtr hWnd, int nCmdShow); [DllImport("user32.dll")]private static extern bool 阅读全文
posted @ 2011-08-24 17:53
为乐而来
阅读(1004)
评论(0)
推荐(0)

浙公网安备 33010602011771号