Sign in to follow this  
CDProp

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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this