Mark Harris has an example about using his joystick in c#. Mark used Managed DirectX 1.1 which he mentions can be found at the DirectX SDK website. His example is set for a 6-axis, 20+ buttoned joystick which reminds me of Steel Battalion's controller.
He goes on how to get additional axis by using the GetSlider() method and how to return buttons with the GetButton() method. When in doubt, check out MSDN and their library.