Click here to Skip to main content
15,074,942 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
C#
public Details() {
}

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


What I have tried:

i tried to use breakpoints but no events fired between
C#
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

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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900