access variable of form1 in form2
-
I have a Windows Form Application and I was wondering how to store a user defined variable from a textbox in Form1 and then use the variable in Form2. I am not able to do this. How it will be done?
-
I have a Windows Form Application and I was wondering how to store a user defined variable from a textbox in Form1 and then use the variable in Form2. I am not able to do this. How it will be done?
-
I have a Windows Form Application and I was wondering how to store a user defined variable from a textbox in Form1 and then use the variable in Form2. I am not able to do this. How it will be done?
in my opinion save the varible and create a property
-
I have a Windows Form Application and I was wondering how to store a user defined variable from a textbox in Form1 and then use the variable in Form2. I am not able to do this. How it will be done?
Always a good read regarding the topic: Passing Values between Forms in .NET 1.x with C# and VB.NET examples[^]
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook