Wrox Programmer Forums
|
.NET Framework 1.x For 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
 
Old May 1st, 2007, 06:22 AM
Registered User
 
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic Windows forms

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.

Thanks

Tom


 
Old May 1st, 2007, 03:51 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

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)?

-Peter
 
Old July 4th, 2007, 02:16 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Forms sambathrajmca Windows Workflow 1 November 27th, 2007 06:25 AM
windows forms lakshmiR .NET Framework 1.x 1 August 31st, 2007 08:32 PM
Help with Windows Forms tycotrix C# 1 January 16th, 2007 11:58 AM
windows forms chandrasekhar ASP.NET 2.0 Professional 2 February 27th, 2006 10:41 PM
Windows forms eyan C# 1 July 1st, 2004 04:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.