I have a tab control. For each new Customer selected a tabpage gets added. So, essentially the controls are the same on each tab page. I have generic event handlers for each of the controls. Since the tabpages are dynamically added..how do I respond to events raised by each tab. (since the event handlers are the same for a control in each of the tab pages, how do I figure out which tabpage/Customer invoked the event handler and access the other controls in the tabpage.)
Any help is appreciated. Thanks.

How to react to Events from Dynamically created TabPages in a TabControl
Guber
I am currently trying to use the selectedtab property to tell me what tabpage it is and then accessing the controls on the page.
Any suggestions/solutions are welcome.
Brian Fink
Pramod_SN
Dim ClickedControl as Control = DirectCast(sender,Control)
Dim ControlsTabPage as TabPage = DirectCast(ClickedControl.Parent,TabPage)
Since the TabPage must be selected in order for you to click on one of it's controls (unless you are mimicking a Click through code), you could just use:
CustomerTabControl.SelectedTab