.net不建议使用api,而是将其封装了
刚才查了.net对照表,发现怎么找不到列表中的函数呢?
例如
ScreenToClient对应System.Windows.Forms.Form.PointToClient但是我在程序中键入System.Windows.Forms.Form却根本找不到PointToClient啊,难道是我需要引用别的dll?
还是我的命名空间引用不对?
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;