Which Control is Best To Draw Graphs?
-
Hi, I want to draw my own graphs in a WinForm, but I don't want to draw directly on the Form. Which control is best to draw inside of? Picture Box? Panel? etc... thanks for help...
Your best bet is to write your own control which draws it directly. A picture box is only good if you write the code to generate a bitmap with your graph, and use a picture box to display it.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Hi, I want to draw my own graphs in a WinForm, but I don't want to draw directly on the Form. Which control is best to draw inside of? Picture Box? Panel? etc... thanks for help...
Typically if you need a blank control to draw on, inherit one from System.Windows.Forms.Control, or draw on a panel.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: And in this corner, the Party of Allah The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Hi, I want to draw my own graphs in a WinForm, but I don't want to draw directly on the Form. Which control is best to draw inside of? Picture Box? Panel? etc... thanks for help...