Touch Problem

hello,

I use the program GHIGraphicalDemo.
Inside I added a class, but I can use a touch in it.

Do you have any solutions?

Thanks

The demo includes full source code, you can follow the example to see how to get touch events in your app.

Pyxis2 source code is a good reference as well.

http://pyxis2.codeplex.com/

Doesn’t pyxis poll the touchscreen on a separate thread instead of using events?

What is the best practice?

http://code.tinyclr.com/project/198/manual-touch-collection/

Pyxis works in 2 methods based on what’s happening.

Normal Mode: Event driven.

Modal Operations: Polling.

The reason for this is during modal operations the event thread blocks.

thanks, I have resolve my problem