I thought this would be easy. According to this article, it is:
http://www.informit.com/articles/art...&seqNum=7&rl=1
Of course I'd rather access public properties than a public variable but it doesn't really matter what I'd rather do because it isn't working! Of course I'm trying to pass an integer but when I enter MyForm.MyInteger=2 I get the error "MyInteger is not a member of System.Windows.Forms.Form".

Does this work only for forms?

Thanks.