07-24-2013, 05:44 PM
Change to this:
//seeing in what title I clicked
int title_x = (mouse_Location_x / title_Width);
int title_y = (mouse_Location_y / title_height);
And to this:
//getting the image
bmp = new Bitmap(title_Width, title_height);
Bitmap temp = new Bitmap(pictureBox1.Image);
bmp = temp.Clone(rect, temp.PixelFormat);
temp.Dispose();

