App main form size
I am trying to set the size of the initial form. The following code doesn't work, the size is always 793, 1068 (don't know where this came from). groupbox4 is made invisible so I know the code is being run.
Private Sub MyControl_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyControl.Load MyControl.AutoSize = False MyControl.Width = 230 MyControl.Height = 800 groupBox4.Visible = False ' Initialization code goes here End Sub