PictureBox1 As PictureBox
Public Sub Form_Open()
With Me
.H = 400
.W = 500
.Padding = 5
.Arrangement = Arrange.Vertical
.Center
End With
With PictureBox1 = New PictureBox(Me) As "PictureBox1"
.Alignment = Align.Center
.Expand = True
.Mode = PictureBox.Contain
.Picture = Picture["icon:/256/emote-cool"]
End With
End