Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
270
Boosting the performance of Windows Forms Apps
posted
I 've read two articles about
Boosting The Performance Of Windows Forms Apps

Here is the link and some tips.
Theese articles are about boosting the performance of Windows Forms
Application for drawing gui etc.

Is there any tips webpage ,while paper, document for infragistics
products about this issue ?
http://msdn.microsoft.com/msdnmag/issues/06/03/WindowsFormsPerformance/default.aspx
http://www.informit.com/articles/article.aspx?p=101720&seqNum=3&rl=1
Parents
No Data
Reply
  • 385
    posted

    One thing Mike Saltzman has always stressed was to not create thousands of Appearance objects by modifying appearance in InitializeRow etc, as this is slow and consumes memory. Better to create the various permutations of appearance at design time, if you can, and then just assign predetermined appearance objects after evaluating a condition rather than modifying appearance on the fly.

    In other words rather than:

    cell.Appearance.Backcolor = Color.Red; 

    try

    cell.Appearance = myCautionAppearance;

    Bob Graham

Children
No Data