dokhinahaoa wrote:
you can use public static global variable in first forms class (For example form1) and can access that data from next class by(form1.variablename).
Never ever suggest that! It is very bad practice to do this: fro example what happens if you need two instances of form2 with different parameters? Rmember we get a lot of beginners reading this forum - we do not want them getting the idea that this is something you should do in the real world! Either pass parameters via the second form constructor, or use events to pass / pick up the data.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones