G
Guest
Hi!
In my application, I have a panel in the middle of the form, which I'll be
using as a drawing panel. I would like to update the drawing panel each time
when it is required, without updating the form as a whole. The following
snippet makes compiler mad :
this.DXPanel.SetStyle(ControlStyles.AllPaintingInWmPaint |
ControlStyles.Opaque, true);
How can I apply double buffering to panel to update it (with its paint
method and
without flickers)?
Please respond in C#. I am new to C# and have no knowledge in VB.
Thanks for all the suggestion.
Regards
In my application, I have a panel in the middle of the form, which I'll be
using as a drawing panel. I would like to update the drawing panel each time
when it is required, without updating the form as a whole. The following
snippet makes compiler mad :
this.DXPanel.SetStyle(ControlStyles.AllPaintingInWmPaint |
ControlStyles.Opaque, true);
How can I apply double buffering to panel to update it (with its paint
method and
without flickers)?
Please respond in C#. I am new to C# and have no knowledge in VB.
Thanks for all the suggestion.
Regards