Yep, you broke it. But honestly, this wasn't your first mistake.
"Boot partition" does not refer to where Windows is located, but where the MBR is located, which is, in your case, D.
The MBR
should always be on the first logical partition (0), whereas you apparently installed Windows on the second (1), causing their order to get flipped in Windows (because the lettered naming conventions are awkward that way), causing this confusion.
I wouldn't know anything about
fixing it, because this isn't a situation in which putting things back to the way they were (fixing the mess you just caused) is the recommended solution.
While I know this is not the ideal solution, I'm suggesting you reformat and get the partitions right this time.
This will have the added bonus of speeding up Windows boot times slightly, because the front of the physical drive is faster for seek times.
TL;DR: Don't go poking around changing
your partition ANY settings unless you know what the consequences are.
Sounds like you deleted the Ghost drive Windows 7 makes for recovery, you're gonna have to reinstall the OS again.
No such thing. Period. Only OEM manufacturers do that, because they always like to install stuff you don't need, and for dumb people or whatever.
I will assume that you have the opportunity to enter BIOS, do this, find BOOT priority, and put drive C: into it.
If this doesn't work, use BIOS to make drive D: you Primary again and stop messing with the PC.
If it's complaining about the bootloader being missing, boot priority is anything but the problem.
Boot priority is also not what he screwed up in the partition manager.
E: Unless it also created a broken MBR on the other partition.. But that would just make things even more troublesome, so I stand by reformatting.
Insert the Windows 7 DVD or USB drive. There should be a repair on it for stuff like NTLDR and the master boot record.
That's possible, I guess. But I would still recommend a reformat, if only to right the original wrong as I mentioned above.