I'm developing a class that inherits from System.ComponentModel.Component in much the same way as Timer etc.
What I need to know is "How do I get a reference to the parent Form?"
I need this so I can add a event handler for the forms Activated/Deactivated events.
I've looked though my MSDN and it happily defines the ISite interface properties but it doesn't show how the whole thing fits together.
Also, when I debug the component, this.Site and this.Comtainer are both null...Is there an attribute I need to add to the Component?
Thanks for any help you can give me on this guys (and Gals!)
Insert Sig. Here!