Hi,
There is not such a concept as a global variable, what you can do is create
a static variable inside a class, this variable can be accessed from all the
classes running on the same AppDomain. and it does exist while it's running.
class Variable_Wrapper
{
static public int I;
}
it can be accessed using
Variable_Wrapper.I
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Mohammed Abdel-Razzak" <an*******@discussions.microsoft.com> wrote in
message news:1d*****************************@phx.gbl...
Dear sirs
How can I declare a variable(Global) that all forms in my
project can see and use it
thanks
Mohammed