Click here to Skip to main content
15,919,132 members
Home / Discussions / C#
   

C#

 
JokeRe: Get return value from one class to another Pin
Saamir28-Jun-06 16:40
Saamir28-Jun-06 16:40 
GeneralRe: Get return value from one class to another Pin
Alexander Wiseman28-Jun-06 16:48
Alexander Wiseman28-Jun-06 16:48 
AnswerRe: Get return value from one class to another Pin
Mike Poz28-Jun-06 12:12
Mike Poz28-Jun-06 12:12 
AnswerRe: Get return value from one class to another Pin
Rojan Gh.28-Jun-06 14:45
professionalRojan Gh.28-Jun-06 14:45 
Questionload a whole database into a DataSet Pin
hamidreza_buddy28-Jun-06 10:56
hamidreza_buddy28-Jun-06 10:56 
AnswerRe: load a whole database into a DataSet Pin
stancrm28-Jun-06 20:26
stancrm28-Jun-06 20:26 
QuestionXMLSerialize and Microsoft Controls Pin
3Dizard28-Jun-06 10:14
3Dizard28-Jun-06 10:14 
AnswerRe: XMLSerialize and Microsoft Controls Pin
BoneSoft28-Jun-06 10:55
BoneSoft28-Jun-06 10:55 
You don't need to recreate the controls dynamically. Just catalog the information you need to save, organize it into some XML format, then use XSD.exe or something like Skeleton Crew[^] to generate an XML serializable model.

Then on form load, read the XML file and use the resulting model to update the controls affected by your information, and on form closing fill a model with your information and serialize it out to the XML file.

You can restrict your data to the text in text fields, or the form's size, or whatever you want to persist. Keep it simple.



Try code model generation tools at BoneSoft.com.
QuestionHelp with UserControl State Save and Restore Pin
TheBlindWatchmaker28-Jun-06 9:04
TheBlindWatchmaker28-Jun-06 9:04 
AnswerRe: Help with UserControl State Save and Restore [modified] Pin
Martin#28-Jun-06 9:59
Martin#28-Jun-06 9:59 
QuestionDatagridview.selectedValue help? Pin
PyroManiak28-Jun-06 8:38
PyroManiak28-Jun-06 8:38 
AnswerRe: Datagridview.selectedValue help? Pin
Mairaaj Khan28-Jun-06 20:11
professionalMairaaj Khan28-Jun-06 20:11 
GeneralRe: Datagridview.selectedValue help? Pin
PyroManiak29-Jun-06 10:51
PyroManiak29-Jun-06 10:51 
QuestionRegular expression Pin
NaNg1524128-Jun-06 8:36
NaNg1524128-Jun-06 8:36 
AnswerRe: Regular expression [modified] Pin
User 665828-Jun-06 8:44
User 665828-Jun-06 8:44 
GeneralRe: Regular expression Pin
Bitwise Gamgee28-Jun-06 11:41
Bitwise Gamgee28-Jun-06 11:41 
QuestionReference status bar in Windows Application Pin
Saamir28-Jun-06 8:16
Saamir28-Jun-06 8:16 
AnswerRe: Reference status bar in Windows Application Pin
Dave Kreskowiak28-Jun-06 9:25
mveDave Kreskowiak28-Jun-06 9:25 
Questionequivalent of control.CreateGraphics() for CF Pin
donkaiser28-Jun-06 8:10
donkaiser28-Jun-06 8:10 
AnswerRe: equivalent of control.CreateGraphics() for CF Pin
donkaiser28-Jun-06 8:14
donkaiser28-Jun-06 8:14 
AnswerRe: equivalent of control.CreateGraphics() for CF Pin
Guffa28-Jun-06 10:29
Guffa28-Jun-06 10:29 
GeneralRe: equivalent of control.CreateGraphics() for CF Pin
os0028-Jun-06 21:49
os0028-Jun-06 21:49 
GeneralRe: equivalent of control.CreateGraphics() for CF Pin
donkaiser29-Jun-06 5:18
donkaiser29-Jun-06 5:18 
AnswerRe: equivalent of control.CreateGraphics() for CF Pin
Guffa29-Jun-06 13:12
Guffa29-Jun-06 13:12 
AnswerRe: equivalent of control.CreateGraphics() for CF Pin
donkaiser29-Jun-06 6:51
donkaiser29-Jun-06 6:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.