Hi,
I have made an applicationa in C#(VS 2005), which allows the user to plot and zoom a graph.
while zooming, the user drags the mouse to specify a rectangular area, which is then magnified.
I would like to show this rectangle actually being created.
The problem is, the apllication creates a rectangle with every drag of the mouse,
thereby creating nearly 100-200 rectangles. I want only the last rectangle to be visible and erase the previos rectangles.
Any help is appreciated.
Thnx.
I have made an applicationa in C#(VS 2005), which allows the user to plot and zoom a graph.
while zooming, the user drags the mouse to specify a rectangular area, which is then magnified.
I would like to show this rectangle actually being created.
The problem is, the apllication creates a rectangle with every drag of the mouse,
thereby creating nearly 100-200 rectangles. I want only the last rectangle to be visible and erase the previos rectangles.
Any help is appreciated.
Thnx.
Comment