DotNetBar TextBoxDropDown响应按键事件

textBoxDropDownHelp.TextBox.KeyDown += new KeyEventHandler(textBoxDropDownHelp_KeyDown);
private void textBoxDropDownHelp_KeyDown(object sender, KeyEventArgs e)
        {
            if(e.KeyCode==Keys.Enter)
            {
                textBoxDropDownHelp.ShowDropDown();
            }
        }

  

 

posted @ 2018-01-30 18:02  zhaogaojian  阅读(836)  评论(0编辑  收藏  举报