HighTechTalks DotNet Forums  

Re: Poor Drawing Performance on Inherited WinForms

Dotnet Framework (Performance) microsoft.public.dotnet.framework.performance


Discuss Re: Poor Drawing Performance on Inherited WinForms in the Dotnet Framework (Performance) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
cody
 
Posts: n/a

Default Re: Poor Drawing Performance on Inherited WinForms - 12-06-2005 , 11:56 AM






did you try with the controlstyle "doublebuffered"?

"Mark Essex" <messex (AT) netalytics (DOT) com> schrieb im Newsbeitrag
news:uPHS1dT%23FHA.740 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Quote:
We have a SmartClient application that utilizes Visual Inheritance on many
of the forms. We have noticed that these forms are much slower to
'initialize' when the are first drawn. I don't know if it is because the
InitializeComponent() method is being called on each level, thus the
SuspendLayout() and ResumeLayout() are getting called for each form? Just
wondering if there is a way I can suspend the Layout drawing of the form
until all levels have been created, thus giving an appearance of a 'snappy
' application.

Anybody else deal with this before?

Thanks,
Mark





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.