Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...