I have a Winform singleton class that contains a number of buttons. The button click events are handled and monitored in seperate classes that have a reference/instance to the singleton winform class. So obviously when the user clicks the buttons then the tasks associated are handled in the relevant classes.
My question is, the classes that monitor the events are fully encapsulated, meaning that no methods are required to be called for them to work. The only thing they need is the event to be triggered and the tasks are carried out. Where should I therefore create the objects for these classes? Should I simply create the objects within the winform when it is loaded? No further interaction is required with the objects, they simply need an instance to monitor the button click events. Hope i've explained this clearly enough.
Thanks.