Hi,
I have developed my application with huge GDI operations. So while loading and operation performance is very slow. Can any one give suggestion to increase my application performance?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Selva GanapathyPosted Mar 10, 2014, 8:05 AM
Since you focused on GDI, you may have rendering performance that would cause the application delay. You can enable double buffer ( In WPF , it enabled by default) and allow user paint and wm paint by using the following code snippet. So you may have better performance in your applications.
this.DoubleBuffered = true;
this.SetStyle(ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint, true);
Regards,
Selva Ganapathy K
nathaJegamoorty PillaiPosted Mar 10, 2014, 8:43 AM
Perfect.. Thanks for your help