|
I'm new on c#, but if you want somenthing like a
application parameters you can create an object to handle your
configurations will be easy to access from anywhere in your
application...
PS.: I had some applications using same system in
Delphi, and worked fine....
----- Original Message -----
Sent: Sunday, July 31, 2005 12:20
AM
Subject: [Microsofts_C_Sharp] Global
Variables
Hello
I am quite new to C# although I do have
experience with C++ and Java. I am trying to figure out how to
utilize variables in a global-like manner in a Windows
Application.
I would like to be able to pass information from form to
form as well as maintain some state information using both basic datatypes
and well as some simple classes that I have created.
Most of the
books or articles I've checked do not seem to offer any insight. The
closest I've come are some articles describing how to utilize the Session
object, but since I am in a Windows App, that won't help. Likewise
the MSDN has not been very helpful.
If someone could please either give
me an example or direct me to a tutorial showing how where to declare,
initialize and how to access a global variable in a Windows application I
would really appreciate it.
Thanks - C -
YAHOO! GROUPS LINKS
|