Question Slow control loading when background image is present

R22MPM

New member
Joined
Apr 18, 2012
Messages
4
Programming Experience
Beginner
Hi all,
I have a quick question, there seems to be alot of people reporting the issue when searching but i can not find a definitive answer.

I have several windows forms in an application and all have different backgrounds based on the page, but when the forms loads the dynamic controls which are executed at run time load alot slower than the background causing the background of the labels and textboxes to appear white.

There will be a maximum of around 400 labels and toolboxes to load at run time (but the issue is present with as little as 50), the controls load instantly if no background is selected.

I have changed the way the background is loaded to;

VB.NET:
Me.BackgroundImage = My.Resources.mathsbackground
        Me.BackgroundImageLayout = ImageLayout.Stretch

This had a slight improvement but the issue is still very obvious

Thanks
 
Back
Top