Question in Zooming PictureBox
Hello Friends ;
really i got confused about this zooming Code.
I have PictureBox.Picture consisting on ;
- Small picture
- Line
- Circle
Only all what i want, is when click on Zoom in, it go to be zoomed in as fig shows ;
[IMG]http://img435.imageshack.us/img435/5354/10zl1.jpg[/IMG]
And when i click zoom out , it go to be zoomed out ....
Remark ; when you zoom the Pciture, all its components going to be zoomed AS WELL
[IMG]http://img427.imageshack.us/img427/7084/25wy1.jpg[/IMG]
I Hoooooope from heart, That if you helped me, to Attach your answer with your Sample, to make it easy for me to understand.... :)
Thank You my friends
Re: Question in Zooming PictureBox
In the plus button just add a value onto the height and width of the picturebox. Call form1.cls and redraw the circle with a bigger radius and make the line longer. Then do the reverse in the minus button.