tempus
Member
- Joined
- Oct 8, 2013
- Messages
- 11
- Programming Experience
- 10+
I have an event on a winform, call it myEvent. On the winform, I have a some condition that raises that event. So far so good. I have a user control ,myUserControl, that I want to subscribe to the parent form event. Where is the best place to wire this up? I currently have it coded so that it's wired up in the ParentChanged event on the user control. I've read on numerous sites that I should avoid using the Load event of the user control although to be honest, I've never really understood why since all I want to do is wire up a event handler. Which of the two events would be preferred?