Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need a way to jump to record. [modified] Pin
PyroManiak27-Jun-06 10:40
PyroManiak27-Jun-06 10:40 
QuestionDragDrop of buttons to TabControl Pin
For_IT27-Jun-06 9:53
For_IT27-Jun-06 9:53 
QuestionSaving Unicode characters Pin
For_IT27-Jun-06 9:46
For_IT27-Jun-06 9:46 
AnswerRe: Saving Unicode characters Pin
For_IT27-Jun-06 9:58
For_IT27-Jun-06 9:58 
QuestionDebug CompactFramework app on local PC? Pin
QuiJohn27-Jun-06 9:06
QuiJohn27-Jun-06 9:06 
AnswerRe: Debug CompactFramework app on local PC? Pin
Gavin Roberts27-Jun-06 23:20
Gavin Roberts27-Jun-06 23:20 
QuestionSaving the current state of a form Pin
3Dizard27-Jun-06 7:56
3Dizard27-Jun-06 7:56 
AnswerRe: Saving the current state of a form Pin
Josh Smith27-Jun-06 9:21
Josh Smith27-Jun-06 9:21 
You won't be able to serialize a Form object. It's not serializable. What you can do is serialize the state of the application's data, and then reload that instead. XML serialization should work fine for that, but you might as well use the BinaryFormatter because it's faster and more compact.

If you also want to save the state of individual controls on a form, then you better hope that you're using some good 3rd party controls, like Infragistics. The MS inbox controls suck, and as such, don't provide runtime serialization APIs. But some 3rd party controls will save user configured settings for you, which is a nice feature for most apps.

Josh
AnswerRe: Saving the current state of a form Pin
BoneSoft27-Jun-06 12:36
BoneSoft27-Jun-06 12:36 
QuestionOne more question Pin
3Dizard28-Jun-06 3:49
3Dizard28-Jun-06 3:49 
AnswerRe: Saving the current state of a form Pin
Rojan Gh.28-Jun-06 3:14
professionalRojan Gh.28-Jun-06 3:14 
QuestionDataGridView and Database Pin
Wouter Van Ranst27-Jun-06 6:02
Wouter Van Ranst27-Jun-06 6:02 
AnswerRe: DataGridView and Database Pin
led mike27-Jun-06 9:33
led mike27-Jun-06 9:33 
GeneralRe: DataGridView and Database Pin
Wouter Van Ranst28-Jun-06 0:21
Wouter Van Ranst28-Jun-06 0:21 
GeneralRe: DataGridView and Database Pin
led mike28-Jun-06 4:47
led mike28-Jun-06 4:47 
GeneralRe: DataGridView and Database Pin
Wouter Van Ranst28-Jun-06 4:50
Wouter Van Ranst28-Jun-06 4:50 
GeneralRe: DataGridView and Database Pin
led mike28-Jun-06 5:20
led mike28-Jun-06 5:20 
GeneralRe: DataGridView and Database Pin
Wouter Van Ranst28-Jun-06 5:36
Wouter Van Ranst28-Jun-06 5:36 
GeneralRe: DataGridView and Database Pin
led mike28-Jun-06 7:39
led mike28-Jun-06 7:39 
QuestionDelegate Beginner stage Pin
kurangu27-Jun-06 5:52
kurangu27-Jun-06 5:52 
AnswerRe: Delegate Beginner stage Pin
Robert Rohde27-Jun-06 6:12
Robert Rohde27-Jun-06 6:12 
GeneralRe: Delegate Beginner stage Pin
kurangu27-Jun-06 9:27
kurangu27-Jun-06 9:27 
Questiongridview to textbox Pin
johnes777927-Jun-06 5:38
johnes777927-Jun-06 5:38 
AnswerRe: gridview to textbox Pin
eggsovereasy27-Jun-06 10:55
eggsovereasy27-Jun-06 10:55 
QuestionRe: gridview to textbox? Pin
johnes777927-Jun-06 11:37
johnes777927-Jun-06 11:37 

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.