Hello,
I have an application that simulates heat exchangers.
There is a Edit form that allows to edit the parameters of the heat
exchanger - 50-60 parameters. Currently Iam using 6 structures (each with
8-10 elements) that I pass between the main form and the edit form. These
structures are also passed around in other forms and modules (for saving to
file etc.).
Is there a better way of doing this ? i.e. not using structures etc.

Thank you.
vikrantca

Re: Passing large data between forms by Sahil

Sahil
Wed Sep 29 00:05:15 CDT 2004

Create a class representing the dataobject instead of a struct. Structs in
C# are different from C++ in the sense that they are value type.

- Sahil Malik
You can reach me thru my blog -
http://www.dotnetjunkies.com/weblog/sahilmalik


"vikrantca" <vikrantca@discussions.microsoft.com> wrote in message
news:366C6821-8FE1-4764-91A5-FAA7D20F0E07@microsoft.com...
> Hello,
> I have an application that simulates heat exchangers.
> There is a Edit form that allows to edit the parameters of the heat
> exchanger - 50-60 parameters. Currently Iam using 6 structures (each with
> 8-10 elements) that I pass between the main form and the edit form. These
> structures are also passed around in other forms and modules (for saving
> to
> file etc.).
> Is there a better way of doing this ? i.e. not using structures etc.
>
> Thank you.
> vikrantca
>