How detect when a node is created?

Hi, i have two nodes on my palette, both with 50 x 30, when drop it into diagram, i need resize it to 100 x 60.

How can do it?


One solution is to make the nodes in the palette 100x60 and set the Diagram.InitialScale=“0.5”.

Another solution is to implement a Diagram.ExternalObjectsDropped event handler and iterate through the Diagram.SelectedParts to resize each node appropriately.

Thanks, walter, the second solution is better.