How to keep draggable lines(rectangle) on the panel/rectangle using C##??
Posted on 2007-11-20
I was able to draw two vertical lines on the panel and made them draggable using EE's help.
I want to make it a little beter.
Can you help??
1) I want that rectangle(line, width of 1) to move from left to right direction.
when I move it downward, I see length of line gets reduced, meaning it is moving downward. How can I stop that??
2) Two lines come across when I move them, how can I stop two lines to pass each other??
3) I want two lines to stay on the graph( panel or rectangle). Just stay inside of x axis..