martinhoge
October 24th, 2005, 08:59 AM
Hi,
I've got some performance problems in my application, only with design
part on control side, so there are no db connections and such things, just pure design.
On my Form, there are many controls in it. For dividing them along splitters, most of them are placed in another controls - finally it is a big tree.
Totaly there is about 20-25 controls (mean class somehow derived from Control class) on form. When application is starting, it takes lot of time to show them, and even, all of them are showed in weird order, they appear gradually, it is bad. I would like them to show at one moment.
Another problem I see in using sliders. Main form is divided into two parts by vertical splitter. On both sides, there are few ( about 3) horizontal splitterrs. If I move main vertical splitter, it takes about 1-2 seconds for everything to appear in appropriate orded. All controls are again resized gradually, that's not good effect.
Most of controls initializing I am doing at constructors, I don't use OnLoad stuff.
Have you got some advices how to make it faster ?? If you know some article about it for instance, please write me as well.
Thanks
Martin
I've got some performance problems in my application, only with design
part on control side, so there are no db connections and such things, just pure design.
On my Form, there are many controls in it. For dividing them along splitters, most of them are placed in another controls - finally it is a big tree.
Totaly there is about 20-25 controls (mean class somehow derived from Control class) on form. When application is starting, it takes lot of time to show them, and even, all of them are showed in weird order, they appear gradually, it is bad. I would like them to show at one moment.
Another problem I see in using sliders. Main form is divided into two parts by vertical splitter. On both sides, there are few ( about 3) horizontal splitterrs. If I move main vertical splitter, it takes about 1-2 seconds for everything to appear in appropriate orded. All controls are again resized gradually, that's not good effect.
Most of controls initializing I am doing at constructors, I don't use OnLoad stuff.
Have you got some advices how to make it faster ?? If you know some article about it for instance, please write me as well.
Thanks
Martin