Support for Touch Gestures

How can I support panning and pinch to zoom touch gestures in my WinForms GoDiagram project?

Actually, I was able to solve this using examples from the MTGesturesCS sample project installed with the Microsoft Windows 7 SDK. I was able to fully implement pinch to zoom and two finger panning by using the WM_GESTURE message in WndProc.