I am making an event to check if specific tab page in a tab control is active.
The point is, it will trigger an event if that tab page in a tab control is the curren
For whatever reason the above would not work for me. This is what did:
if (tabControl.SelectedTab.Name == "tabName" ) { .. do stuff }
where tabControl.SelectedTab.Name is the name attribute assigned to the page in the tabcontrol itself.