Depends on the color too. If you are using metallic, I would only paint after assembly (although you could do edging like neswes suggests above). Metallic is very difficult to get to color match if parts are painted separately.
Solid colors are more forgiving. Personally, I am painting in pieces, then assembling with a white/blue solid color two tone.
Regards,
Steve
New Orleans