/// <summary>
        /// Initializes a new instance of <see cref="EditableComboBoxDisplay"/> class.
        /// </summary>
        public EditableComboBoxDisplay(TypedTextParser textParser)
            : base()
        {
            textBox                     = new ComboTextBox();
            textBox.BorderStyle         = BorderStyle.None;
            textBox.TabStop             = false;
            textBox.Enter              += new EventHandler(textBox_Enter);
            textBox.EnterPressed       += new EventHandler(textBox_EnterPressed);
            textBox.EscapePressed      += new EventHandler(textBox_EscapePressed);
            textBox.AltDownOrF4Pressed += new EventHandler(textBox_AltDownOrF4Pressed);
            textBox.Validated          += new EventHandler(textBox_Validated);
            textBox.Name                = "textBox";

            this.ParseTypedText = textParser;
            this.Controls.Add(textBox);
        }
 /// <summary>
 /// Initializes a new instance of <see cref="ComboBoxDisplayAdapter"/> with editable display.
 /// </summary>
 /// <param name="displayIcon">Indicates whether to display icon or not.</param>
 /// <param name="iconWidth">The width of icon in pixels.</param>
 /// <param name="textParser">The method that parses the edited text.</param>
 public ComboBoxDisplayAdapter(bool displayIcon, int iconWidth, TypedTextParser textParser)
     : this(new EditableComboBoxDisplay(textParser), displayIcon, iconWidth)
 {
 }