I have a program which gives two options through which to test a student’s knowledge of complex numbers. However, I want the content in the tab (labels, textboxes) to be cleared when the tab is changed. Is there a method I can use to do this?
Share
just handle the
SelectedIndexChangedevent ofTabControland retrieve all the controls within the tab. Now you can loop through controls and do whatever you want with them, like this-hope it helps…!!