There are a couple of old programs that might let you do this, like DS2Key and Win2DS and such. I never really looked into them all that much myself though.
The only one I know is DS2Key, and it's great! When painting though, keep in mind that the resolution of the DS and PC isn't the same. So you'll use only a small (very small!) piece of the screen.