Hi deen,
Of course, you can create or remove the objects at run time. You can implement the Enter & Leave event of a tabpage.
| |
private void DoEnter(object sender, EventArgs e) { MessageBox.Show("Enter"); }
private void DoLeave(object sender, EventArgs e) { MessageBox.Show("Leave"); }
|
But the overload of the creation and remove of the controls at the time of tab change may be big too. So whether it is worthwhile is up to the app.