Hello,
Attached a simple application that has one pane.
Upon init, I'm calling to:
mainPane.Content = new UserControl1();
Upon 'save' menu item I'm calling to:
FileStream Stream = File.Create("MyApplication.wsp");
Docking.SaveLayout(Stream);
Stream.Close();
Upon 'load' menu item I'm calling to:
FileStream Stream = File.Open("MyApplication.wsp", FileMode.Open);
Docking.LoadLayout(Stream);
Stream.Close();
But at this point, the pane is displayed exactly in the location where it was when layout was saved.
But it's empty, without its user control.
Can you please help ?
How can I upload full source tree ?
Thank you,
Zvika