brady gaster

yadnb

excellent at winforms? give me some help!

Think Visio. You put two boxes (let's say WinForms Panels, 'cuz that's what I'm using) onto a workspace (yet another Panel). You click one of them and you begin to draw a line. You move your mouse over to another panel and click it. “Click!” There is now a line connecting those two panels. And when you move the panels around on the workspace, the line stays connected to both Panels and gets longer/short depending on how you move the Panels around on the workspace.

Anyone know how to pull this off? Got links? Got samples?

Comments

denny said:

depending on what you are doing this link may help:
http://www.nwoods.com/go/dotnet.htm

check it out.
# March 26, 2004 2:59 PM

Rich C said:

My group created a mini-UML editor for a project at school last year. It included 'connected' boxes. It might provide what you are looking for.

blog At theclaussens Dot com

if you would like to see the code.
# March 27, 2004 7:08 PM

brady gaster said:

WOW! Thanks so much denny - this is perfect!
# March 29, 2004 10:07 PM

ben said:

Try this one too...when it finally comes out:

http://www.dundas.com/products/diagram/index.aspx?Section=Diagram
# April 12, 2004 12:05 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)