Each program has its own settings for download locations, for example, Safari -> Preferences -> General. You might want to think about it, though, not all downloads are ready to work applications. Many have installers that need to be run to extract the program itself. I find it easier to drop them on the Desktop, run the installer then delete the download.