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