One way . . .
in form 1
Declare a Public Readonly Property to get a Privately declared variable
value
in form 2
Overload the Sub new and pass it the reference form the the calling form
Use the passed reference to get the Property in form1
in form1
dim f as new Form2(me)
f.show()
--
Terry Burns
http://TrainingOn.net
"paavani krama via .NET 247" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
(Type your message here)
I am using two forms.From the first form i need to get informatiom.After
performing necessary calculations,the result should be displayed in the 2nd
form.i am storing the results in public variables in 1st form.I want the 2nd
form to access the public variables in the 1st form and display the same in
the second form.How can i do it?
--------------------------------
From: paavani krama
-----------------------
Posted by a user from .NET 247 (
http://www.dotnet247.com/)
<Id>LMZS1NrIL0iPBKc2Im564w==</Id>