Hi guys,
I've been struggling for days to do this.
I've got 2 form. The first form (Form1) is to assign a variable (Result) a value. Another form (DisplayResult) is to display out the value.
Actually, my purpose is to learn how i can use global variables to share information between multiple forms and files, as well as to WATCH the value in Debug mode.
The problem I'm facing are:
1) In Form1, I assign 10 to Result. But in DisplayResult, it display Result as 0.
2) I can't seem to view the Result variable in watch window in Debug mode.
I've spend days in trying to find solution to it. Please advice.
I tried to upload the Visual Studio 2008 project but for some reason it failed. So I upload it to http://ifile.it/sf0kglz instead.
Thanks.