It "doesn't work" because you are trying to access it as if it were a static field. It is not; it is a member variable, i.e., a separate instance of that string belongs to each separate instance of your Form1 class. You will (and should) pass it as an argument to avoid passing references to your main form around all over the place.