Hello,
I am drawing graphs using Visual Basic.Net . I have a class Plotter with methods such as Plotter.plot(array,array). This class extends Form. Now I need to plot more than one graph in the same form. So for example, I may initialise Plotter and call the plot() method more than once to plot more than one graph in my client area.
But I am facing a problem here. I am unable to update my client area properly.I have overridden onPaint() but even with this I am able to validate only my last plot. The remaining plots disappear whenever I "dirty"(move another window over my form) my form. So how do I retain or store the entire contents of my client area , so that I can refresh the whole client whenever I "dirty" my form or window.
Thank you,
SHankar
I am drawing graphs using Visual Basic.Net . I have a class Plotter with methods such as Plotter.plot(array,array). This class extends Form. Now I need to plot more than one graph in the same form. So for example, I may initialise Plotter and call the plot() method more than once to plot more than one graph in my client area.
But I am facing a problem here. I am unable to update my client area properly.I have overridden onPaint() but even with this I am able to validate only my last plot. The remaining plots disappear whenever I "dirty"(move another window over my form) my form. So how do I retain or store the entire contents of my client area , so that I can refresh the whole client whenever I "dirty" my form or window.
Thank you,
SHankar