Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global application Variable
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Global application Variable
Divers
Thread ID:
00639211
Message ID:
00639211
Vues:
37
Hi Guys,
I am using c#(RTM). I have an ApplicationVar Class Which Stores all App properties like date,CurrentUserName,ServerIpAddress etc. I want these properties to be used throughout the application which i am writing. At the moment I define the ApplicationVar Class as public in Form1(Startup Form), I can access these Properties in form1 without any problem. Then From Form1 I call Form2 and when I try to uses these properties in Form2 it cannot see them, even though I declared them as public. Can anyone help me ?

TIA
Regards,
Fred Besterwitch, MCP

The harder you work. The luckier you get.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform