Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Performance / December 2005

Tip: Looking for answers? Try searching our database.

Poor Drawing Performance on Inherited WinForms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Essex - 05 Dec 2005 00:59 GMT
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
cody - 06 Dec 2005 16:56 GMT
did you try with the controlstyle "doublebuffered"?

> We have a SmartClient application that utilizes Visual Inheritance on many
> of the forms.  We have noticed that these forms are much slower to
[quoted text clipped - 9 lines]
> Thanks,
> Mark
Mark Essex - 07 Dec 2005 03:35 GMT
I just noticed that setting in Visual Studio 2005 on my User Controls.  I
will take a look at that, and see what it does.

I was able to get some better 'perceived' performance, but hiding main
panels, and then showing them at the end, once the controls had been
initialized.  It isn't perfect, but much better.

I'll try the doublebuffer stuff and let you know what I find.

Thanks,
Mark

> did you try with the controlstyle "doublebuffered"?
>
[quoted text clipped - 11 lines]
>> Thanks,
>> Mark

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.