I have a Panel which have
Now I want to zoom this Panel and every thing in it
How can I solve this problem?
First you have to set the Anchor to all 4 sides for all controls in the panel, resizing the panel will resize the controls also.
Here is the Code.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Panel1.Width = Panel1.Width + 10
Panel1.Height = Panel1.Height + 10
End Sub
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.