Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Needs Original node of Clone Node (Read 1200 times)
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Needs Original node of Clone Node
May 11th, 2009 at 2:47pm
Print Post  
Hi,

I have a node and I have created a clone node of this node using ShapeNode node = sourceNode.Clone(true) as ShapeNode;.
I have done this in MouseEnter Event.

Now in event Diagram_NodeDoubleClicked on cloneNode I want Original node of this cloneNode.Is there any way to get this one?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Needs Original node of Clone Node
Reply #1 - May 11th, 2009 at 2:51pm
Print Post  
You could keep the mapping in a Dictionary<ShapeNode, ShapeNode>.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint