Controll touchscreen Fez Cobra

Hello

I have Fez Cobra and a 4.3 TFT screen with 4 wire touchpanel, connected to touch screen pins.

Now i wont to read the touch panel, but in the examples I see use of windows etc, but that is not what I wont.

I just want an small programm that can read the value of the touch screen, how can i do so?

kind regards

See the Microsoft.SPOT.Touch namespace especially the Touch class. You need to provide an object (that implements IEventListener) to the Initialize method.

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

Thank you for information