|
-
May 1st, 2007, 08:59 AM
#3
Fanatic Member
Re: The Definitive "Passing Data Between Forms"
I prefer to use a class object, as well, where I can access any of it's information from any form, rather than having to remember the specific form the variables are part of.
For instance, all of my projects here at work contain a common class that is called by the Application name (such as UnifiedClass). Many of them contain similar variables and properties and enums and methods that I can use over and over again in each project with almost no modification. To do the same with forms would require me to import those forms, remove the code, add that code to the new forms, and then exclude those imported forms - far more work.
Warren Ayen
Senior C# Developer
DLS Software Studios ( http://www.dlssoftwarestudios.com/)
I use Microsoft Visual Studio 2005, 2008, working with Visual Basic and Visual C#
Hey! If you like my post, or I solve your issue, please Rate Me!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|