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