?
Solved

Speed up drawing of windows forms

Posted on 2003-12-03
5
Medium Priority
?
332 Views
Last Modified: 2010-04-16
Hello Gurus,

It seems pretty sad to me that a C# windows form with about 100 controls, tabcontrols, text boxes, etc. Can't be drawn instantly.  Is there a way to draw my screens faster?  

I look froward to any and all suggestions.

ACanadian
0
Comment
Question by:ACanadian
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:Tonylmiller
ID: 9871821
Are you compiling in "Release" mode?
0
 

Author Comment

by:ACanadian
ID: 9871928
I am was compiling in Debug mode. I tried compiling in Release mode, should there have been a difference?

0
 
LVL 4

Expert Comment

by:Tonylmiller
ID: 9874255
I thought with 100 controls it might make a difference.  I've never had that many controls on a form before.  Is it feasible to break it down into multiple forms?
0
 

Author Comment

by:ACanadian
ID: 9876657
Well,

Its a form that has three tabs on it, and in total there are 75 controls. 25 / tab.  All the information is pertinent, it just doesn't make sense that it should take a couple seconds for the screen to load.

I think if I broke the screen into smaller parts it would become less effecient for the end user.

ACanadian
0
 
LVL 3

Accepted Solution

by:
sohilm earned 375 total points
ID: 9893196
My suggestion to you is to build the fields on each tab dynamically. In other words. If the user is in tab 1 and he selects tab 2, all of tab1 fields are disposed off and the tab 2 fields are regenrated. You can probalby copy the code for the controls right from auto generated code.

Sohil
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month13 days, 16 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question