Adding a button on a desktop form

Is it possible to add a custom action button at the top or bottom of a desktop form, say the Fundraising Enter and Edit Gift form? I know it's possible to add a link in the left navigation (the task area) but I'm more interested in the form itself.

For context: we're building a "cancel gift receipt" feature to clear out the receipt # and the best user experience in my opinion is to add that option on the same screen where the user is viewing the transaction.

Thanks,
Annie