自动补全文本框中的多个单词
我想创建一个简单的 winforms 应用程序,它可以在给定主题上进行简单快速的文本输入。
我的计划是建立一个小型数据库,其中包含用户在给定主题上经常使用的单词(例如他工作的一些技术术语),当他打字时,自动完成功能会建议从下拉列表中完成单词,就像在智能感知中一样编辑。据我所知,.net winforms autcompletion 只能用于一个单词,而不是“动态”。这就像在手机中输入预测短信一样。
我知道有一些开源智能感知控件,但据我所知它们不符合我的要求,它们专门用于编程语言,而不是任何类型的文本。
您对这个主题的开源项目有什么建议吗?
提前致谢!
.net4/c#/vs2010/winforms
I'd like to create a simple winforms application, that enables simple&fast text input on a given topic.
My plan is to have a small db with frequently used words by the user on a given topic (e.g. some technical terms of his job) and when he is typing, an autocomlete feature advises word completion from a drop down list, like in an intellisense editor. As I know .net winforms autcompletion can be used only for a word, not 'dynamically'. It would be like predictive SMS typing in a mobile phone.
I know there are some open source intellisense controls, but as I see they does not fit my requirements, they are specifically for programming languages, not for any type of text.
Do you have any suggestions about open-source projects on this topic?
Thanks in advance!
.net4/c#/vs2010/winforms
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
本教程适用于文本文件自动完成,但如果您想为其创建自己的控件,那么它是一个很好的起点。
http://www. dreamincode.net/forums/topic/34785-create-an-autocomplete-textbox-control-in-c%23/
This tutorial is for a text file auto completion but it's a good starting point if you want to create your own control for it.
http://www.dreamincode.net/forums/topic/34785-create-an-autocomplete-textbox-control-in-c%23/