Quote:
|
Originally Posted by Imajie
Are you tring to use variables between forms?
I don't think that it is possible in C# to go between to forms with the same variables. C# doesn't have headers like C and C++ it has just source code and reference files that you add like a database or pictures, sound, ect.
|
I am using C++ and yes, I am trying to share variable as well as objects, such as serialPort1, between different forms. The object is only initialized in one form but I need to use it others. Any ideas?
Thanks