Grofit
January 10th, 2009, 11:55 AM
Hey,
I had a form that generated a simple graph that you can manipulate, all done through GDI and it works great, although i have double buffering on the form.
Now im having to change alot of these forms into usercontrols so that i can house them all within tab pages in another form...
Anyway now ive put them into the tab control and there is alot of tearing whenever i change the values (thats when it refreshes), the containers used to be:
Form - GDI Drawing
Now its
Form
|
| - TabPanelControl
| |
| | - TabPageControl
| | |
| | | - CustomControl - GDI Drawing
So im wondering if its down to it being placed in another control, ive set the form to double buffered, anyway if anyone has any advice let me know!
I had a form that generated a simple graph that you can manipulate, all done through GDI and it works great, although i have double buffering on the form.
Now im having to change alot of these forms into usercontrols so that i can house them all within tab pages in another form...
Anyway now ive put them into the tab control and there is alot of tearing whenever i change the values (thats when it refreshes), the containers used to be:
Form - GDI Drawing
Now its
Form
|
| - TabPanelControl
| |
| | - TabPageControl
| | |
| | | - CustomControl - GDI Drawing
So im wondering if its down to it being placed in another control, ive set the form to double buffered, anyway if anyone has any advice let me know!