Diagrams linking controls
Hello All
I need to create a Diagram in a Form… Like Gantt diagrams or SQLServer Relations Diagrams.
The scenario is like this:
I have two Listbox controls (LB1 and LB2) and I want to relate graphically both of them doing some drag and drop…
Let’s say I select one element on LB1 and Drag that element to link it/overlap it to one element in LB2. What should happen, is that a Line should be drawn linking LB1 and LB2 by the elements just related…
I have been investigating the dragdropeffects Enumeration, and there is a LINK value but I don’t know how to use it and if is the solution to my issue….
Can anybody suggest/Help?
Regards,
VCM
Splitting the question in 2
I think we can split the question in 2 topics...
1) How can a relate/link two items in 2 list boxes (with drag and drop if possible)?
2) How can a draw a line to see the relation in point 1?