Adds an event handler for the IDesignerHost.TransactionClosing event.
This event occurs just before a transaction is completed.
A transaction can sometimes change multiple values. The transaction methods provide a way to prevent performance and flicker problems by avoiding repetitive processing. These methods defer processing until after the transaction has closed.