|
1. The picturebox picture property is set to zoom, the picturebox.parent control uses a panel, and the autoscroll property is set to true
2. When the picturebox loads the picture, set the size to image.size
3. When the scroll wheel zooms in, set picturebox.width = picturebox.width*1.1 picturebox.height=picturebox.height*1.1 |
|