Click here to Skip to main content
11,921,792 members (67,838 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# WPF
I am working on project which is on WPF and c# . how can i use this software in touch screen , i.e without using mouse.
Please anyone help me
Posted 18-Sep-12 0:26am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

mouse click & touch are same

touch is simply do work of mouse but it is just more friendly.

use mouse click events for create touch-screen applications
and you required touch-screen device(monitor) as input device else attach mouse if you do not have touch-screen device.

Happy Coding!
Smile | :)
ranjith m amin 21-Sep-12 0:52am
But my application work with mouse click and not recognizing touch.
Touch screen is working properly with other inbuilt application.
aarti meswania 21-Sep-12 0:59am
make sure button is pressed properly while touch
refer this link

if you have write something on click event of,
e.g. button -> messagebox 'button clicked'
then while touch this button, click event will fire and it will show that messagebox 'button clicked'
ranjith m amin 22-Sep-12 4:47am
My application has piece of image, which need to be selected and moved by touch.If i select the piece by mouse, then i can move piece by touch But want touch to select and move the piece. Button click event is not working by touch, with mouse it is working properly.
ranjith m amin 22-Sep-12 4:53am
It is not an mobile application. My application is for computer with windows os.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 493
1 Dave Kreskowiak 220
2 phil.o 170
3 Sergey Alexandrovich Kryukov 157
4 KrunalRohit 134
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web04 | 2.8.151120.1 | Last Updated 18 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100