/// <summary>
 /// Constructs an auto-complete capable text box and
 /// starts auto-completion with the specified flags.
 /// </summary>
 /// <param name="autoCompleteFlags">Flags controlling
 /// auto-completion</param>
 public AutoCompleteTextBox(
     AutoCompleteTextBox.SHAutoCompleteFlags autoCompleteFlags
     ) : this()
 {
     // Handle will not be available at this point; we need
     // to wait for HandleCreated:
     this.autoCompleteFlags = autoCompleteFlags;
     this.flagsSet          = true;
 }
        /// <summary>
        /// Constructs an auto-complete capable text box and
        /// starts auto-completion with the specified flags.
        /// </summary>
        /// <param name="autoCompleteFlags">Flags controlling
        /// auto-completion</param>
        public AutoCompleteTextBox(
			AutoCompleteTextBox.SHAutoCompleteFlags autoCompleteFlags
			)
            : this()
        {
            // Handle will not be available at this point; we need
            // to wait for HandleCreated:
            this.autoCompleteFlags = autoCompleteFlags;
            this.flagsSet = true;
        }
 private static extern int SHAutoComplete(
     IntPtr hwndEdit,
     AutoCompleteTextBox.SHAutoCompleteFlags dwFlags);