1. Panel1 - Dock - Fill
2. Panel1 - AutoSizeMode - GrowAndShrink
3. Picturebox1 - Location - 0;0
4. Picturebox1 - AutoSize
5. Form3 - AutoSizeMode - GrownOnly
6.
Private Sub Form3_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.Size = New Size(Me.Width + Me.PictureBox1.Width - Me.Panel1.Width,
Me.Height + Me.PictureBox1.Height - Me.Panel1.Height)
End Sub
I have amazed myself again, before someone even knows the answer Gj to me :)