View Single Post
  #1 (permalink)  
Old September 2nd, 2006, 10:58 PM
Nathan Fleming Nathan Fleming is offline
Registered User
 
Join Date: Sep 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default C# classes working for multiple forms w/ reseting

I am trying to use a class with all of my [u]windows forms </u>in Visual C#.. I keep having to do

MyStats Stat1 = new MyStats();
and it starts the constructor all over...
I somehow need to just set up one Stat in the memory,
Someone mentioned Statics to me and others said there are no Globals in C#...
Honestly I have no clue I just started programming C# three days ago...

I