Declare the variable as static in form1. so that you can access it from any form using the form name.
public static string var;
from any other form access it as
As it is a static member you can refer to it by class name. Object.reference is not required.
quote:Originally posted by dzisaacs
if a have a variable in form1, how can i use that variable on form2??