It depends what you're trying to do.
There are tree view controls out there already. You can even extend the behaviour of the default tree view control to use a custom renderer for the tree nodes by setting the
SetRenderMethodDelegate
But if you're looking draw it all yourself then drawing is done using
GDI+
and the
Graphics
object.
The following is an excellent place to start for drawing graphics with code:
http://msdn.microsoft.com/en-us/library/5y289054.aspx[
^]