simple c# program to read values from witilt

Hi,

I manage to pair witilt with my computer. The thing that i want to do now is to write a simple program that reads the x,y and z values of witilt and display them in textboxes. I know how to open serial port . Can anyone teach me how to read the values and build the program? (c# preferable) but other languages are also welcomed

thanks a lot…