.NET windows 应用程序的触摸屏操作? [英] Touch screen operations for .NET windows application?

查看:43
本文介绍了.NET windows 应用程序的触摸屏操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在 .NET 中构建 Windows 应用程序,其要求之一是触摸屏显示器.除此之外,它是一个普通的基于 Windows 窗体的应用程序.但是除了让 UI 项目变得更大以供触摸之外,作为开发人员,我找不到任何我需要为该要求做的事情,因为触摸屏基本上是鼠标操作.我错过了什么吗?

We are building a Windows application in .NET and one of its requirements is touch screen monitor. Other than that, it's a normal windows form based application. But except for making UI items little bigger for touch, I can't find anything I as a developer need to do for the requirement since touch screen is basically mouse operations. Am I missing something?

推荐答案

不,您没有遗漏任何东西.一定要连接实际的硬件,以便您可以对其进行测试,稍微大一点"总是低估了胖手指的问题.一切都应该通过单击来运行,右键单击非常不切实际,最好避免双击.

No, you are not missing anything. Do get the actual hardware hooked up so you can test it, "little bigger" is invariably underestimating the problem of fat fingers. Everything should work from a single click, right-clicks are horribly impractical, double-clicks are best avoided.

您唯一想做的另一件事是进入控制面板 + 显示小程序并更改标准 Windows UI 元素的大小.如果您希望允许用户拖动或关闭窗口,请选择大窗口标题字体.使滚动条至少两倍宽.以及菜单和消息框字体.如果您想支持,请进入鼠标小程序以增加双击范围和时间.

The only other thing you'll want to do is go into the Control Panel + Display applet and change the size of standard Windows UI elements. Pick a large window caption font if you want to allow the user to drag or close windows. Make the scrollbars at least twice as wide. And the menu and message box font. Go in the Mouse applet to increase double-click range and time if you want to support that.

这篇关于.NET windows 应用程序的触摸屏操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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