How do I reference controls that are in a TabPage of a TabControl?
I have a TabControl called tabMain, and have created three TabPages called tabHazard,tabRisk,tabAction. Inside tabHazard I have a datagrid called dgridHazard. How would I reference this datagrid in code?
I thought it might be something like tabMain.tabHazard.dgridHazard but I'm not getting any joy.