Simon Posted March 9, 2003 Posted March 9, 2003 Hi, How do you do when you're passing a variable value between forms? Do you use a shared variable or is there another way? Lik sedning an argument in the Show() method, that would be great. Regards, SiMoN. Quote SiMoN.
*Gurus* divil Posted March 9, 2003 *Gurus* Posted March 9, 2003 The easiest way is to alter the constructor of one form so it accepts an instance of the other form. That way it has a handle around in memory that it can always refer to, if it needs to access any members on the first. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.