Loading a WeifenLuo DockPanel Suite layout from XML

I am currently working on a project where I have implemented the DockPanel suite and I am now trying to load the user's layout back from an XML file. The DockPanel object has methods \[code\]LoadFromXml\[/code\] and \[code\]SaveToXml\[/code\]. Saving to an XML is relatively simple. I am unsure how to get the layout loaded back in, whether I need to initialise all of the components again and whether they need to be added back to the form. Any help would be appreciated as there is very little help with this online. I couldn't really work out much from the sample either.Thank you
 
Back
Top