Click here to Skip to main content
15,911,711 members
Home / Discussions / C#
   

C#

 
QuestionThread Timing Issues (Debug/Release) Pin
Office Lineman3-Feb-06 12:51
Office Lineman3-Feb-06 12:51 
AnswerRe: Thread Timing Issues (Debug/Release) Pin
Guffa3-Feb-06 13:16
Guffa3-Feb-06 13:16 
AnswerRe: Thread Timing Issues (Debug/Release) Pin
Dave Kreskowiak3-Feb-06 13:18
mveDave Kreskowiak3-Feb-06 13:18 
GeneralRe: Thread Timing Issues (Debug/Release) Pin
Office Lineman3-Feb-06 14:01
Office Lineman3-Feb-06 14:01 
Joke(OT) Re: Thread Timing Issues (Debug/Release) Pin
mav.northwind3-Feb-06 21:43
mav.northwind3-Feb-06 21:43 
GeneralRe: (OT) Re: Thread Timing Issues (Debug/Release) Pin
Dave Kreskowiak4-Feb-06 7:06
mveDave Kreskowiak4-Feb-06 7:06 
QuestionShowing a Form quickly Pin
ranzask3-Feb-06 12:20
ranzask3-Feb-06 12:20 
AnswerRe: Showing a Form quickly Pin
Dave Kreskowiak3-Feb-06 13:35
mveDave Kreskowiak3-Feb-06 13:35 
There's usually no way to speed things up. Most people who have "heavy" forms are using 100's++ of controls and don't realize that creating a control is an expensive operation. Drawing all of them is also not cheap. The form is not compiled into an .EXE prebuilt with all the controls in place, ready to go. They are created added to the form's Controls collection when the instance of the form is created (calling the its constructor) and the constructor calls the form's InitializeComponents method.

I think the next most common problem is using images that are FAR bigger than they need to be for displaying at a normal resolution. For example, loading a 2,000x2,000 pixel image at 32bbp into a PictureBox that is only sized to 200x200. That's 10 times the image detail being put in a box that will never show it. Reduce the image size, if at all possible, to what is actually going to be shown.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Showing a Form quickly Pin
ranzask3-Feb-06 14:19
ranzask3-Feb-06 14:19 
GeneralRe: Showing a Form quickly Pin
Dave Kreskowiak3-Feb-06 15:49
mveDave Kreskowiak3-Feb-06 15:49 
Question.xsd Pin
fmardani3-Feb-06 12:02
fmardani3-Feb-06 12:02 
Question.xsd files Pin
fmardani3-Feb-06 10:36
fmardani3-Feb-06 10:36 
QuestionFun with setting subproperties through reflection Pin
tantiboh3-Feb-06 10:08
tantiboh3-Feb-06 10:08 
QuestionLisview 2.0 Databinding Pin
machocr3-Feb-06 9:05
machocr3-Feb-06 9:05 
AnswerRe: Lisview 2.0 Databinding Pin
Ravi Bhavnani3-Feb-06 9:37
professionalRavi Bhavnani3-Feb-06 9:37 
GeneralRe: Lisview 2.0 Databinding Pin
machocr3-Feb-06 11:03
machocr3-Feb-06 11:03 
QuestionAquiring publish version number Pin
Nazadus3-Feb-06 9:05
Nazadus3-Feb-06 9:05 
QuestionComparing Data Pin
Kenneth Childs3-Feb-06 8:21
Kenneth Childs3-Feb-06 8:21 
AnswerRe: Comparing Data Pin
Pualee3-Feb-06 8:34
Pualee3-Feb-06 8:34 
GeneralRe: Comparing Data Pin
Kenneth Childs3-Feb-06 8:39
Kenneth Childs3-Feb-06 8:39 
GeneralRe: Comparing Data Pin
Pualee3-Feb-06 8:50
Pualee3-Feb-06 8:50 
Questionproblem when opening a form Pin
melanieab3-Feb-06 8:17
melanieab3-Feb-06 8:17 
AnswerRe: problem when opening a form Pin
S. Senthil Kumar4-Feb-06 20:09
S. Senthil Kumar4-Feb-06 20:09 
QuestionDatabinding with combobox as 'lookup' table Pin
Rajendra Rana3-Feb-06 8:13
Rajendra Rana3-Feb-06 8:13 
Questionhow to create registry objects of Skype (TM) Pin
Sasuko3-Feb-06 8:07
Sasuko3-Feb-06 8:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.