调用使用C#中的按钮,屏幕上的键盘 [英] Calling the on-screen keyboard using a button in C#

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

问题描述

我使用C#,其中在点击时的GUI按钮时,应显示屏幕键盘创建一个Windows应用程序。

I am creating a windows application using C#, where in a button on the GUI when clicked, should display the on-screen keyboard.

希望如果任何帮助是理所当然的。谢谢。

Would appreciate if any help is granted. thanks.

此外,因为我主要是用Emgu简历库我的应用程序的其余部分,我们能否简单地用它来调用屏幕上的键盘?

Also, since I am mostly using Emgu Cv library for the rest of my app, Can we simply use it for calling the On-screen keyboard?

推荐答案

在C#中,你可以简单地编写以下代码行来调用Windows附带的屏幕键盘应用程序:

In C#, you can simply write the following line of code to invoke the on-screen keyboard application that comes with Windows:

System.Diagnostics.Process.Start("osk.exe");

您可以找到更多的帮助的这里

You can find more help here.

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

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