You are developing an Office Visio 2007 Shared Add-in. You need to prevent shape deletions by using custom logic. What should you do?
A.
Configure the add-in to listen to the QueryCancelPageDelete event of the Visio 2007 application.
B.
Configure the add-in to listen to the QueryCancelSelectionDelete event of the Visio 2007 application.
C.
Configure the add-in to listen to the BeforeShapeDelete event of the Visio 2007 application.
D.
Configure the add-in to listen to the BeforeSelectionDelete event of the Visio 2007 application.