I am looking to develop an app which can be operated by touch (Microsoft Surface) or using a regular laptop with Mouse. Is this possible, and if so, how do I go about implementing it?
Resources/Links/Blogs much appreciated–thanks in advance!
Link to similar/unanswered question: Stackoverflow Question
.NET 4.0+ controls support both Touch and Mouse input methods. For example, Click events are still fired by using Touch. There are also touch-specific events like TouchDown, TouchUp, etc.
You can import the Microsoft Surface 2.0 SDK and use the controls they’ve bundled. I particularly like their SurfaceListBox since it seems to handle touch-scrolling the better than a traditional listbox. Technical note: if you import the Surface SDK libraries, your target machine must have the Surface redistributable installed. It registers vital DLLs to your system, which you can do manually through COM Interop if that works for your project.