Custom Workspace and Persistence

Topics: CAB & Smart Client Software Factory
Jul 18, 2006 at 6:10 AM
originally posted by: sarsfield

Hope someone can give me some advice.

I have created a custom Mdi workspace that uses DevComponents.DotNetBar docu.ment docking to give a tabbed look and feel combined with docking/undocking functionality.

When a navigation button is clicked a View is shown in this workspace. Subsequent clicks on other navigation items create more tabs containing other views from other modules.
Once these views are loaded they then can be rearranged on the screen, very much like VS2005.

What i would like to do is persist the layout of what loaded and its layout!!

DotNetBar provides the ability to saves Defintion and Layout files I can do this in the Workspace or the implementing layout view.

What I dont know is how to save which Views have been loaded and how to retrieve this information? I was expecting to be able to use some standard service provided by the CAB.

Any help would be greatly appreciated!!!
Jul 18, 2006 at 5:26 PM
originally posted by: askew

That's a good service to write. I don't know of one that already exists. XML or XAML, perhaps?
Jul 18, 2006 at 11:38 PM
originally posted by: sarsfield

askew
thanks for the response
looks like i am going to be writing a new service!!! its my lucky day!

still interested in anyone else's take on this.