Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.


 
GeneralOnly Fools and Horses PinmemberThe Bhai4-Mar-13 3:56 
GeneralRe: Only Fools and Horses PinmemberChrisElston4-Mar-13 4:00 
GeneralRe: Only Fools and Horses PinmemberThe Bhai4-Mar-13 4:04 
GeneralRe: Only Fools and Horses PinmemberChrisElston4-Mar-13 4:13 
GeneralRe: Only Fools and Horses PinmemberBergholt Stuttley Johnson4-Mar-13 4:47 
GeneralRe: Only Fools and Horses PinmemberThe Bhai4-Mar-13 4:50 
GeneralRe: Only Fools and Horses PinmemberBergholt Stuttley Johnson4-Mar-13 6:20 
GeneralWhat technique do you use to persist state? PinprotectorMarc Clifton4-Mar-13 3:18 
No, not a programming question, and no, not a "recover from a Friday drinking binge" question.
 
Just curious, what different techniques people use (specifically for WinForm apps). Do you roll your own persistence class? If you're a .NET developer, do you use ApplicationSettingsBase[^] ?
 
I'm also curious, if you develop client/server apps, if you store your app's state information locally or in a database so that your user can use any client machine and the UI is configured to their preferences ?
 
And yes, I'm talking about UI things, such as last window size and location, but also more interesting things such as what columns the user selected to be visible on a grid, what display order, what sort order, etc. Same with, say, a tree control - what nodes were expanded and what nodes weren't? Plus things like "exit without asking" info, and so forth.
 
Heck, do you even save the user's preferences / state of the UI?
 
Marc

GeneralRe: What technique do you use to persist state? Pinmemberc24234-Mar-13 3:26 
GeneralRe: What technique do you use to persist state? PinmemberS Douglas4-Mar-13 20:54 
GeneralRe: What technique do you use to persist state? PinprotectorDaveAuld4-Mar-13 3:30 
GeneralRe: What technique do you use to persist state? PinprotectorDaveAuld4-Mar-13 3:32 
GeneralRe: What technique do you use to persist state? PinprotectorMarc Clifton4-Mar-13 5:03 
GeneralRe: What technique do you use to persist state? Pinmemberleppie4-Mar-13 3:32 
GeneralRe: What technique do you use to persist state? PinmemberRavi Bhavnani4-Mar-13 3:40 
GeneralRe: What technique do you use to persist state? PinprotectorMarc Clifton4-Mar-13 5:04 
GeneralRe: What technique do you use to persist state? Pinmemberharold aptroot4-Mar-13 3:41 
GeneralRe: What technique do you use to persist state? PinmvpCPallini4-Mar-13 3:53 
GeneralRe: What technique do you use to persist state? PinmemberNagy Vilmos4-Mar-13 3:59 
GeneralRe: What technique do you use to persist state? PinmemberChrisElston4-Mar-13 4:14 
GeneralRe: What technique do you use to persist state? PinprotectorMarc Clifton4-Mar-13 5:10 
GeneralRe: What technique do you use to persist state? PinmemberForogar4-Mar-13 5:33 
GeneralRe: What technique do you use to persist state? PinprotectorMarc Clifton4-Mar-13 5:46 
GeneralRe: What technique do you use to persist state? PinmemberMarco Bertschi4-Mar-13 4:20 
GeneralRe: What technique do you use to persist state? PinmvpOriginalGriff4-Mar-13 4:32 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150302.1 | Last Updated 6 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid