简体   繁体   English

桌面应用程序自动完成

[英]Desktop Application auto-complete

I am working on a .net project, (first ever for me) and I would like to do something like the AJAX.AutoCompleteExtender that I used with my WEB projects. 我正在开发.net项目(这对我来说是第一次),我想做一些与WEB项目一起使用的AJAX.AutoCompleteExtender。

What should I use? 我应该使用什么? is there something ready to use, Or I should go and make my own using the textbox, or combo box or something like that. 是否有可用的东西,或者我应该使用文本框或组合框之类的东西自己制作。

The app I am working on, is a .net application made for Windows Mobile. 我正在使用的应用程序是为Windows Mobile开发的.net应用程序。 (Pocket PC) (掌上电脑)

thanks 谢谢

Check out this sample for creating an Auto-Complete TextBox using WinForms: 查看此示例,以使用WinForms创建自动完成文本框:

Creating WinForms AutoComplete TextBox using C# 使用C#创建WinForms自动完成文本框

That should at least get you pointed in the right direction (using Events to listen for keypresses, querying your datasource, and drawing the results to screen). 至少应该使您指向正确的方向(使用“事件”来侦听按键,查询数据源以及将结果绘制到屏幕上)。 You might need to slightly modify things for WinCE but it shouldn't be too difficult. 您可能需要对WinCE进行一些修改,但这并不难。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM