Here are PaintDotNet source codes.