Re: Save + Restore form variables

From: Kevin Powick (nospam_at_nomail.com)
Date: 02/17/04


Date: Mon, 16 Feb 2004 22:15:32 -0500

In article <4031749B.CE4E6566@nowthere.com>, nowhere@nowthere.com
says...

> So, suppose you've got a form with a bunch of edit fields and local variables in
> it. Some local variables are set up as public and published properties, and
> others are private to the form class.
>
> You want somebody to be able to run the application once to set up some values
> that are used in subsequent processing by saving the results to, eg., an INI
> file, when the form closes.

I think Storage Library from Deep Software will do the trick. It's a
nice and affordable set of components.

http://www.deepsoftware.ru/rsllib/index.html

-- 
Kevin Powick


Relevant Pages

  • Re: accessing a field of another class within same namespace
    ... >> I am trying to access a public field of another form class within ... > Oh dear - you should consider making it private, ... but I have a warning telling me that cForm1 is ... I think you're missing that you need an ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Mulitihreading problem with BackgroundWorker
    ... I found some info on the Net that advised to create a new event in the Form class and subscribe to it from other classes, but you suggest creating the event in the class that actually raises the event and subscribe to it from the Form class, which makes more sense and sounds less cumbersome. ... just edit the Designer code and change "private" to "public." ... It works if I've changed textbox1 from private to public, but I guess it's not good practice. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: access a control in another form
    ... There's a property for each control determining its visibility outside the ... It's 'private' by default, you can change it to 'internal' or ... 'public' for the control field to become visible outside the form class. ... Dmitriy Lapshin [C# / .NET MVP] ...
    (microsoft.public.dotnet.languages.csharp)