P
pnp
I have a tab control and in each tab a custom control. All the custom
controls (different amongst them) have a common function.
What I want to do is when a user clicks on a tab, I want the function of the
control in the tab page to be called. Is there a way to do this without
using a switch statement or an if statement?
Something like this.Tab_Management.SelectedTab.Controls[0] ...
controls (different amongst them) have a common function.
What I want to do is when a user clicks on a tab, I want the function of the
control in the tab page to be called. Is there a way to do this without
using a switch statement or an if statement?
Something like this.Tab_Management.SelectedTab.Controls[0] ...