Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
'MainForm.RootPane.LoadLayout("1") 'Load the layout file.
MainForm.Show
End Sub
Sub MainForm_Closed
End Sub
Sub MainForm_CloseRequest (EventData As Event)
End Sub
Sub MainForm_FocusChanged (HasFocus As Boolean)
End Sub
Sub MainForm_IconifiedChanged (Iconified As Boolean)
End Sub
'Return true to allow the default exceptions handler to handle the uncaught exception.
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
Return True
End Sub