You're not loading any layout, so there'a nothing to show
'MainForm.RootPane.LoadLayout("Layout1") 'Load the layout file.
uncomment this one
Have you created any layout on Designer view ?
Edit: is the log that doesn't show ? Test to move Log before the mainform show