Reply to thread

Change the Astring  declaration to make it static:


[code=csharp]public class Globals {

    public static string Astring = "Joe";

}[/code]


Then access it from your forms like so:

[code=csharp]label5.Text = Globals.Astring;[/code]


Back
Top