开发者

Creating Silverlight Designer

开发者 https://www.devze.com 2023-01-29 20:33 出处:网络
I am creating a workflow SilverLight Web Designer. I created a custom shapes, lets say it is a rectangle. I can add these shapes dynamically to the main canvas that is placed on the page.

I am creating a workflow SilverLight Web Designer.

I created a custom shapes, lets say it is a rectangle. I can add these shapes dynamically to the main canvas that is placed on the page.

I want to create a link between the two shapes, so i used the开发者_JAVA百科 line object with the MouseLeftButtonDown, MouseLeftButtonUp and MouseMove events to draw the line between the two objects.

When Moving any one of the shapes i have to move all the lines connected to it. I did it.

I just want to know if there is an easier way or a common way, maybe more professional way to do this behavior.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号