C#中的虚拟键盘 [英] Virtual keyboard in C#

查看:198
本文介绍了C#中的虚拟键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮助我吗?
我想使用C#Windows窗体设计键盘(虚拟).键盘布局与普通键盘有所不同.我的问题是,C#中的文本框对于键入长文档没有太大用处.因此,有什么方法可以使用keboard在单词上写字(例如ms word或记事本或写字板).谢谢!

can any one help me.
i wanna design a keyboard(virtual) using c# windows forms. the keyboard layout is somewhat different from the normal one. my problem is that, the textbox in c# is not that much usful for typing long documents. so is there any means to use the keboard to write on word ( like ms word or note pad or word pad). thank you!

推荐答案

尝试RichTextBox获得更多选项.

Hogan
Try the RichTextBox for a larger variety of options.

Hogan


要添加到较早的答案,请查看构建简单的文字处理器围绕扩展RichTextBox控件 [ ^ ]

您可以使用其中的技巧,而只需添加键盘即可.

如果您正在寻找可用于任何程序的虚拟键盘,建议您使用以下线程:虚拟键盘 [^ ]

最后,一个家伙提供了一个虚拟键盘程序的代码,该程序可以在记事本,单词等任何东西中使用.
To add to the earlier answer, look at Building a Simple Word Processor Around an Extended RichTextBox Control[^]

You could use the techniques in that and just add your keyboard.

If you''re looking for a virtual keyboard that you can use with any program, I suggest this thread: Virtual Keyboard[^]

Towards the end, one of the guys supplied code for a virtual keyboard program that works in notepad, word, whatever.


在我看来,您的兴趣是在Windows上使用自定义键盘布局你的电脑.您想将其用于现成的程序.您想一直使用这种布局吗?您是否看到过 [
It sounds to me like your interest is in using a custom keyboard layout on your computer. You want to use this for off-the-shelf programs. Do you want to use this layout all the time? Have you seen this[^]?


这篇关于C#中的虚拟键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆