SyncChanges Method
When overridden in a derived class, the SyncChanges method of the ToolPart class is called after all other tool parts have called their ApplyChanges methods.
Remarks
The ToolPane class calls the SyncChanges method for each tool part after all tool parts have successfully called the ApplyChanges method. A tool part should override the SyncChanges method with code to synchronize its user interface to the current values of any custom properties that affect its functionality, because other tool parts may have changed these values. If an error occurs when calling ApplyChanges, the ToolPane will not call SyncChanges for any tool parts. This may cause inconsistent values in the user interface. In this case, the user must resolve the erroneous property value(s) before the properties can be saved.
Requirements
Platforms: Windows Server 2003
Security: Code Access Security