protected override void Dispose(bool disposing) { if (disposing) { if (this.comboBox != null) { this.comboBox.SelectedIndexChanged -= new EventHandler(this.ComboBox_SelectedIndexChanged); this.comboBox = null; } } base.Dispose(disposing); }