There seems to be no SelectedTab property in TabControl in CompactFramework 2.0, only a SelectedIndex. I don't see any way to retrieve the index from a TabPage either.
Is comparing with a number the only way to see if a certain tab page is selected?
Using SelectedIndex
should work.
Checking if a tab page is selected is done like:
if (tabControl.TabPages.IndexOf(yourTabPage) == tabControl.SelectedIndex)
{
doSomething();
}