Hi,
if LoadFromXml fails, I am loading it from the defaultsetting.xml created during design time or copied from the file saved by raddock.
if (File.Exists(DockStatePath))
{
try { radDock.LoadFromXml(DockStatePath);
}
catch (XmlException)
{
radDock.LoadFromXml("defaulsetting.xml");
}
}
Thx in advance
if LoadFromXml fails, I am loading it from the defaultsetting.xml created during design time or copied from the file saved by raddock.
SaveToXml() method itself. The problem I am having is that toolwindow does not behave correctly. I can't close it or float around etc. Code snippet:
if (File.Exists(DockStatePath))
{
try { radDock.LoadFromXml(DockStatePath);
}
catch (XmlException)
{
radDock.LoadFromXml("defaulsetting.xml");
}
}
Thx in advance