I am not sure if it is what you are looking for, but the calculator is now open source under the MIT license
https://github.com/Microsoft/calculator
As a recall, making notepad is like a homework assignment for a visual basic class. You just drag the text editor window and add the menus, there isn't a whole lot there!
Paint would probably be a bit more work, but there are a few clones out there already