Windows窗体C#中的触摸屏支持 [英] Touch Screen Support in Windows Forms C#

查看:1140
本文介绍了Windows窗体C#中的触摸屏支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在搜索如何支持C#Windows Froms控件的触摸交互方面有点困惑。我见过提供这种支持的库,所以必须有可能找不到与WinForms C#有关的文档。只有WPF和C ++。



我有一种感觉触摸支持可以建立在将触摸视为点击但我不是100%。有什么我想念的吗?多点触控/手势支持怎么样。



有谁知道从哪里开始这个?



感谢George

解决方案

一般情况下,您不需要做任何事情来支持触摸屏,因为驱动程序充当鼠标设备。



您的应用程序中唯一需要做的更改是使按钮更大,更友好。


参考此答案CodeProject

Hi All,

I am a little stuck with searching for how to support touch interactions for C# Windows Froms controls. I have seen libraries offering this support so it must be possible however have found no documentation specifically relating to WinForms C#. Only WPF and C++.

I have a feeling touch support could be built in treating touches as clicks but i'm not 100%. Is there anything i'm missing and what about multi touch / gesture support.

Does anyone know where to start with this?

Thanks George

解决方案

Generally you don't have to do anything to support touch screens since the drivers act as mouse devices.

The only change you need in your application is to make buttons bigger and more touch friendly.


Refer this answer CodeProject


这篇关于Windows窗体C#中的触摸屏支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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