/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.autoCompleteComboBox1 = new RiskApps3.View.Common.AutoSearchTextBox.AutoCompleteComboBox(); this.SuspendLayout(); // // autoCompleteComboBox1 // this.autoCompleteComboBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.autoCompleteComboBox1.DropDownHeight = 400; this.autoCompleteComboBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.autoCompleteComboBox1.IntegralHeight = false; this.autoCompleteComboBox1.Location = new System.Drawing.Point(4, 4); this.autoCompleteComboBox1.Name = "autoCompleteComboBox1"; this.autoCompleteComboBox1.PopupBorderStyle = System.Windows.Forms.BorderStyle.None; this.autoCompleteComboBox1.PopupOffset = new System.Drawing.Point(0, 4); this.autoCompleteComboBox1.PopupSelectionBackColor = System.Drawing.SystemColors.Highlight; this.autoCompleteComboBox1.PopupSelectionForeColor = System.Drawing.SystemColors.HighlightText; this.autoCompleteComboBox1.PopupWidth = 300; this.autoCompleteComboBox1.Size = new System.Drawing.Size(120, 21); this.autoCompleteComboBox1.TabIndex = 0; this.autoCompleteComboBox1.SizeChanged += new System.EventHandler(this.ComboBox_SizeChanged); // // CoolComboBox // this.BackColor = System.Drawing.SystemColors.Window; this.Controls.Add(this.autoCompleteComboBox1); this.Name = "CoolComboBox"; this.Padding = new System.Windows.Forms.Padding(4); this.Size = new System.Drawing.Size(128, 22); this.ResumeLayout(false); }
/// <summary> /// Initializes a new instance of <see cref="WinHook"/> /// </summary> /// <param name="tbox">The <see cref="AutoCompleteComboBox"/> the hook is running for.</param> public WinHook(AutoCompleteComboBox tbox) { tb = tbox; }