Re: How to Store state of controls on a Form?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: CodeMonkey (agaskelluk_at_yahoo.com)
Date: 02/03/05


Date: 3 Feb 2005 02:36:37 -0800

Thanks Chris.

Chris Dunaway wrote:
> The best solution is to create a class that holds all the data that
> needs to be displayed. When a form is opened, it should populate its
> fields with the values of the properties of the class.
>
> The form should not be used to store the data. It's sole purpose
> should be to display the data. The data should be stored in a class
or
> other storage medium such as a file.
>
> Look for the Model View Controller design pattern and it will give
you
> further details.



Relevant Pages

  • Re: How to hide information from address line of JSP?
    ... >form serves the sole purpose of selecting data for display. ... the 50 cent term for this idempotent. ...
    (comp.lang.java.help)
  • Re: google browser - Chrome
    ... "This license is for the sole purpose of ... enabling Google to display, distribute and promote the Services and may ...
    (it.comp.macintosh)
  • Re: How to Store state of controls on a Form?
    ... it should populate its ... should be to display the data. ... other storage medium such as a file. ... Look for the Model View Controller design pattern and it will give you ...
    (microsoft.public.dotnet.framework.windowsforms)