Loadfromxml does not seem to work. It reads the XML file, then branches to the function that returns the forms to load, and that returns the forms, but it never loads the forms. They never appear. Any ideas what I'm doing wrong? Code snippet below
DockPanel.LoadFromXml(configFile, AddressOf ReloadContent)
...
Private Function ReloadContent(ByVal persistString As String) As IDockContent
Try
Debug.Print(Now() & " start ReloadContent " & persistString)
Me.Cursor = Cursors.WaitCursor
Select Case persistString
Case "PIX4.frmTreeView"
Return frmTreeView
...