C#拾色器工具源码
public partial class MainForm : Form { private MouseKeyHook mousekeyHook = new MouseKeyHook(); private Timer time = new Timer(); private Point point; private int width = 40 ; private int height = 40 ; public MainForm() { InitializeComponent(); } private void MainForm_Load( object sender, EventArgs e) { try { this .mousekeyHook.MouseMoveEvent += new MouseKeyHook.MouseMoveHandler( this .Mouse_Move); this .mousekeyHook.MouseClickEvent += new MouseKeyHook.MouseClickHandler( this .Mouse_Click); this .mousekeyHook.DirectionKeyDown += new KeyEventHandler( this .Direction_KeyDown); this .time.Tick +=