我有此代码可以显示键盘,并且在计算机上可以正常使用,但在平板电脑上不能正常使用 你能帮我吗?
try
{
Process[] oskProcessArray = Process.GetProcessesByName("TabTip");
foreach (Process onscreenProcess in oskProcessArray)
{
onscreenProcess.Kill();
}
string progFiles = @"C:\Program Files\Common Files\Microsoft Shared\ink";
string keyboardPath = Path.Combine(progFiles, "TabTip.exe");
Process.Start(keyboardPath);
}
catch (Exception ex)
{
PV.ShowError(ex);
}