I don't think you'll be able to do it directly.
A Minimize call to the window can happen from a number of places, not just the minimize button on the Window Chrome (e.g. The right clicking on the TaskBar, or from Windows Task Manager), and AFAIK, there's no way to directly handle button events fired from the Window Chrome (if somebody does know how to do this, please let me know!).
The good news is that you can fake it, but it's not trivial, so you'll have to decide if it's worth it. First, you'll have to replace the standard Window Chrome with your own. You can find out how to do that here.
Secondly, you'll have to create your own "Maximize/Minimize/Close" Buttons and wire up the events to the appropriate behaviors. Since this is your own UI, you are free to listen to and cancel the Button events as you choose.
Keep in mind that you still won't be able to detect or prevent users from Minimizing via the TaskBar/Windows Task Manager, so it may not be exactly what you're looking for.