V
vidalsasoon
Ok, this is the structure of my classes.
" class Global
" |
" -------------------------------------------
" | |
"class SomeForm1 class SomeForm2
Now I declare an int in "Global" and initialize in the main of
Someform1. When I try to access this int from SomeForm2 it ignores the
changes I made to this int from SomeForm1.
What should I do to have a true global variable that can be modified
anywhere and accessed anywhere without having to worry about these
instances?
hope this is clear.
" class Global
" |
" -------------------------------------------
" | |
"class SomeForm1 class SomeForm2
Now I declare an int in "Global" and initialize in the main of
Someform1. When I try to access this int from SomeForm2 it ignores the
changes I made to this int from SomeForm1.
What should I do to have a true global variable that can be modified
anywhere and accessed anywhere without having to worry about these
instances?
hope this is clear.