Click here to Skip to main content
15,887,435 members
Articles / Desktop Programming / Windows Forms

Hooking Events to Private Members of User Controls

Rate me:
Please Sign up or sign in to vote.
4.60/5 (2 votes)
4 Feb 2010CPOL 13.2K   4  
Say you need capture an event for a control in a User Control and you are not permitted to change the control itself.You can hook into control events, even for private controls with this code://In a Windows Form//Get the private control cboSomePrivateControl from the user control's...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions