api函数:1 [DllImport("user32.dll")]//取设备场景2 private static extern IntPtr GetDC(IntPtr hwnd);//返回设备场景句柄3 4 [DllImport("gdi32.dll")]//取指定点颜色5 private static extern int GetPixel(IntPtr hdc, Point p);主要方法: Timer tim = new Timer(); tim.Interval = 1; tim.Tick += delegate { Point p ... Read More
posted @ 2012-11-06 11:39 一抹、思乡泪 Views(4876) Comments(3) Diggs(3) Edit