public override void StopEditing() { this.TextBox.KeyPress -= new KeyPressEventHandler(OnKeyPress); this.TextBox.LostFocus -= new EventHandler(OnLostFocus); base.StopEditing(); this.DroppedDown = false; this.parentForm = null; }