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
...
If you look in the example directory in the file Mainform.cs you can find an example of this, using the function "GetContentFromPersistentString". There you see they use
I changed your function a bit and this works (for me, testing with frmtoolbox):
probably use a better compare function for string :)