Create a context object for the dialog
    A context object enables you to reuse the same dialog type in different panes and for different purposes.
- Create the context object:
- InProject view, right-clickUIand select .
 - Hover-over the object, select, and enter
ConfirmationDialogContext. 
 - Convert the context object into an object type:
- InType view, double-clickUser interface.
 - FromProject view, dragConfirmationDialogContextinto theType viewpane.InProject view,ConfirmationDIalogContextType (type)appears.
 - InProject view, right-clickConfirmationDialogContextand selectDelete.
 
 - Configure the context object type:
- InProject view, selectConfirmationDialogContextType (type).
 - InProperties, at the top, selectand select
Variable. - Hover-over the variable, selectand enter
Message. - SelectInt32and selectLocalizedText.TIP: If you do not see the required option, select theShow allcheckbox.
 - Remove theMessagevariable value.
 - InProject view, right-clickConfirmationDialogContextType (type)and select .
 - Hover-over the method invocation, selectand enter
OnConfirm. - InProject view, right-clickConfirmationDialogContextType (type)and select .
 - Hover-over the method invocation, selectand enter
OnCancel. 
 
Provide Feedback