.net – 在桌面下打开和关闭Windows 8触摸键盘tabtip
发布时间:2020-07-16 10:43:54 所属栏目:Windows 来源:互联网
导读:我需要从 Windows 8(桌面winform .NET)下的程序中关闭tabtip键盘. 我发现需要时打开它,运行TabTip.exe来显示Windows 8 Touch键盘,但我无法在需要时关闭它! 我试图用process.kill来杀死这个过程,但是它没有用,有人知道怎么做了吗? 问候 让 – 克洛德· 尝试
我需要从
Windows 8(桌面winform .NET)下的程序中关闭tabtip键盘.
问候 公共类Form1 Private oskProcess As Process Private Sub openButton_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles openButton.Click If Me.oskProcess Is Nothing OrElse Me.oskProcess.HasExited Then If Me.oskProcess IsNot Nothing AndAlso Me.oskProcess.HasExited Then Me.oskProcess.Close() End If Me.oskProcess = Process.Start("osk") End If End Sub Private Sub closeButton_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles closeButton.Click If Me.oskProcess IsNot Nothing Then If Not Me.oskProcess.HasExited Then 'CloseMainWindow would generally be preferred but the OSK doesn't respond. Me.oskProcess.Kill() End If Me.oskProcess.Close() Me.oskProcess = Nothing End If End Sub 结束班 (编辑:鄂州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- windows-installer – 安装期间的错误代码2753
- adodb – Windows脚本宿主(jscript):我如何下载二进制文件
- Windows Phone 8.1 cordova下拉列表无法正常工作
- silent-installer – 如何在没有用户交互的情况下安装Micro
- POJ2823 Sliding Window(单调队列,线段树,set,deque)
- BAT脚本编写教程(比较易懂和全面)
- 逆向工程 – windows中的objdump和Dumpbin有什么区别?
- 身份验证错误 要求的函数不受支持 Windows远程桌面连接
- windows – WFPSampler编译问题 – 找不到wfpcalloutsclass
- xaml – 在开发Windows 8 Store应用程序时处理不同的方向
推荐文章
站长推荐
热点阅读