private void tabControl1_SelectedIndexChanged(object sender, EventArgs e) { this.ValidateChildren(); }