Click here to Skip to main content
14,664,862 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi,
i use DevExpress form with name "Details" , it very slow during loading the interface. it have around 20 sec between last code in
public Details() {
}

and the first line
private void Details_Load(object sender, EventArgs e){
}


What I have tried:

i tried to use breakpoints but no events fired between
public Details() {
}

private void Details_Load(object sender, EventArgs e){
}
Posted
Updated 9-Sep-19 6:44am
Comments
Richard MacCutchan 9-Sep-19 11:57am
   
Neither of those methods should be doing anything significant, so it must be due to the framework.
Gerry Schmitz 9-Sep-19 12:35pm
   
How many "details" are you loading. Things "suck" when too many things are done the wrong way.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

How many controls do you have on the form? The more controls and properties you set on them, the slower the form is going to load.

If you've got a hundred controls, expect it to take forever to load.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100