What i trying to do is to integrate windows forms controls with my classes.
For example if i press a button on my windows forms a function in a class should be called.
Now the problem is that i make an object from a class in the main. The event handler is simply not recognizing the object that i made in the main.
Can i get a simple example on what to write in an event handler so that i am able to access and manipulate the objects.