how to get the selected connector in FreeformActivityDesigner;

hi all,

i create a custom activity designer which derived FreeformActivityDesigner,

using dragdrop mouse action ,user can create connector between Activities each other, when a Activity is selected then Del Key be pressed or click Delete menuitem from contectmenu, both the selected activity and connector associated are deleted correctly.

but ,when i want to delete the connector only by selecting the connector then click Delete menuitem form contextmenu, the connector is still exist yet.

so i have to write delecting logic method, but ,want i go on,

i can't find any method can get the current selected connector object.

is the any body can give me some more idea?

thanks in advance.

[741 byte] By [MattLin] at [2007-12-23]

Software Development for Windows Vista

Site Classified