public void updateMouseDown(int x, int y)
{
Bitmap bmp = ScreenCapture.captureScreen(0);
if (bmp != null) {//40x35
Bitmap zone = new Bitmap(40 * 2, 35 * 2);
Graphics g = Graphics.FromImage(zone);
g.DrawImage(bmp, (x * -1) + 40, (y * -1) + 35);
g.Dispose();
bmp = null;
zone = OCRTools.toGrayscale(zone);
zone = OCRTools.extractImage(zone);
pictureBox.Image = zone;
}
}