First of all, I am using Visual Studio 2010 and I'm trying to write in C++. :p
Here is my question.
Let's say i define a String in Form1, in my case this:
String^ serverlogin="datasource=;port=;username=;password=";
and i want to use it across ALL my forms, what should I do?
I think that this should be defined in public but then I don't know how to access it. :/
I tried to call it in Form2 with this:
String^ movedvar=Form1::serverlogin;
but it didn't worked...
Thanks in advance for your help!