Drew Taylor

Drew Taylor

  • NA
  • 70
  • 0

Global variables using windows forms

Oct 12 2006 7:04 AM

I am creating a game using windows forms, i need to show the score on all windows. how do i create a global variable so that it can be displayed on every form?

How do i convert a string to an int? I know how to do it for the console but it doesn't seem to work when using windows forms.

Also, if and swtich statements don't seem to work when i use them in windows forms.


Answers (3)