How to i reference a class i created within a checkchanged method


  • Hi guys,

    I am a relatively new visual studio programmer so please bear with me.

    I am writing a program where I have created a new class within a form:

    PlayerInformation PlayerInfo = new PlayerInformation();

    Later on, I need to reference (and update) the information I am storing in PlayerInfo from within a checkchanged event.

    The problem is, right now when I am coding in the checkchanged event, I cannot reference class PlayerInfo that I already created.

    Can someone please help me and tell me what I need to do to be able to see my class (and update it) within CheckChanged?

    thanks in advance!

    Saturday, November 7, 2015 7:39 PM


All replies