Hi,
I have TabControl. I added it to tabpages. To one of them(tpTags) I dynamically add usercontrol tagsModule. When I'll click at tpTags I wanna to call method on tagsModule BindData
NEW CODE:
TabPage tpTags = new TabPage();
tabControl1.TabPages.Add(tpTags);
...setting properties...
TagsModule tagsModule = newTagsModule(_countryCode, ObjectType.Country);
tpTags.Select() = tpTags.BindData(); //**How do it ??**
tpTags.Controls.Add(tagsModule);
It could be: "how do I set an event that triggers when this tab is selected?"