I have a custom user control on my windows forms. This control has a few labels on it.
I will be dynamically displaying an array of these controls on my form which w
foreach (Control c in this.Controls) { c.Click += new EventHandler(SameAsForm_Click); }
Keep in mind that this won't add labels' clickevents in groupboxes, panels etc to the "SameAsForm_Click"-EventHandler.