D
dani
Hi everybody
I have a problem:
Assume I have two shapes and a connector between it which is connected
to both of them.
Now, if I remove just one end of the connector from a shape, I get once
the connectionsDeleted-event to which I listen to. But if I drag the
connector away from both shapes, both connections are deleted and the
event is fired twice.
Now my question: No matter what case happened, I want to launch my
ConnectionsDeleted-EventHandler-Method exactly once. Is it somehow
possible to ignore the second firing of this event so the handler
doesn't get startet again?
thanks
Daniel
I have a problem:
Assume I have two shapes and a connector between it which is connected
to both of them.
Now, if I remove just one end of the connector from a shape, I get once
the connectionsDeleted-event to which I listen to. But if I drag the
connector away from both shapes, both connections are deleted and the
event is fired twice.
Now my question: No matter what case happened, I want to launch my
ConnectionsDeleted-EventHandler-Method exactly once. Is it somehow
possible to ignore the second firing of this event so the handler
doesn't get startet again?
thanks
Daniel