How do you delete Dropbox from OS X Yosemite?
Check Activity Monitor to see if there are any Dropbox processes running. If there are, kill them, then you should be able to delete the Dropbox app. If you have used Dropbox at all, then remember that any files you synched will still be on your MacBook's HD in /Users/[your_username]/Dropbox.