I want to know if the user moved an object in my diagram, because I want to enable the “dirty” flag for the application. I know I can override the “OnBoundsChanged” method in my node sub-class, but ideally I would like to handle it at the view or document level. Is there an equivalent of the “OnBoundsChanged” in the document or view class?
Define a GoDocument.Changed event handler, perhaps by overriding GoDocument.OnChanged and calling the base method. Look for the Hint == GoLayer.ChangedObject and the SubHint == GoObject.ChangedBounds.
That worked great! Thanks