private void OnControlRemoved(object sender, ControlEventArgs e) { if (e.Control == this.unvalidated_control) { this.unvalidated_control = null; } if (e.Control == this.active_control) { this.unvalidated_control = null; } // base.OnControlRemoved(e); }