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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Selva GanapathyRank #560 · 4.3K reputationPosted Mar 10, 2014, 4:05 AM EDT
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 Pillai84 reputationPosted Mar 10, 2014, 4:43 AM EDT
Perfect.. Thanks for your help