draggable line(rectangle) in c #???
Posted on 2007-11-20
I am trying to find a way to draw draggable vertical lines on top of line chart(zedgraph).
I have been looking at this for a while to figure out how I should do this.
Since I don't know how to do this, I came up to this so far.
1) draw vertical lines and draw invisiable rectangle around that line
2) Set up mouse even on that rectangle and when mouse down happens a while mouse comes in that box, redraw line and box at the new point of mouse moved to.
Would this work ??
I need your help to with what I can use, panel, picturebox??
A little startup sample code or example in c# will be greatly appreciated.