Jump to content
  • Advertisement
Sign in to follow this  
CDProp

What sort of control would you use for this? (C#)

This topic is 3388 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

It just needs to be a 2D graph that I can plot things on. I would need to use some picking so that I can move the graph plots around. The only thing I can think of is to derive from Panel and draw on it myself, which is totally fine.

Share this post


Link to post
Share on other sites
Advertisement
UserControl and overridden OnPaint.

If you want per-pixel access, a Bitmap object, locking/unlocking bits in an unsafe block would be the fastest.

I wouldn't use Panel unless you need its AutoScroll stuff.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!