public InspectorForm(int size, int quadrantSize) { InitializeComponent(); SIZE = size; QUAD_SIZE = quadrantSize; ZOOM_SIZE = QUAD_SIZE * 2 + 1; HALF = (size - 1) / 2; ZOOM_SRC = new Rectangle(HALF - QUAD_SIZE, HALF - QUAD_SIZE, ZOOM_SIZE, ZOOM_SIZE); ZOOM_DST = new Rectangle(0, 0, SIZE, SIZE); ToolTip toolTip = new ToolTip(); toolTip.SetToolTip(btnInspect, "Press and drag to begin inspecting."); toolTip.SetToolTip(pnlZoom, "Click a color to select it."); toolTip.SetToolTip(pnlColor, "Click to change colors."); _mouseHook = new MouseHook(this); }