예제 #1
0
        private void TextBox_SizeChanged(object sender, System.EventArgs e)
        {
            AutoCompleteTextBox tb = sender as AutoCompleteTextBox;

            this.Height = tb.Height;
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="WinHook"/>
 /// </summary>
 /// <param name="tbox">The <see cref="AutoCompleteTextBox"/> the hook is running for.</param>
 public WinHook(AutoCompleteTextBox tbox)
 {
     this.tb = tbox;
 }