.NET Framework 1.xFor discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the .NET Framework 1.x section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Could anybody help with this problem. I am working on a project that adds a tab control to a windows form. The number of tabs in the tab control is defined in a database table and then I add various controls to tabs in the tab control. All of this is done in code.
I would like to save the form so the user can then open the form in design mode and move/resize the controls as required. Does anybody know how to save the form in code.
Are the form tabs and controls being created at application runtime? Are saying you want the user to be able to save the form and rearrange the controls? When you say "design mode" you mean you are building an application that has a design mode (not the visual studio design mode)?
if u r developing a Form-Generator like application thn, u can save form's setting (Objects, Size, Position, etc.) in an XML file or any Database
and before displaying tht form...create all the objects at run time