Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form is shown white and then it turns to normal color
Message
 
À
03/09/2004 10:56:10
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00939128
Message ID:
00939220
Vues:
11
Wilson;

Are you using Winforms or Webforms? How fast is your CPU? I have had a similar problem with ASP.NET Webforms. The first time through takes a noticeable hit in time before the objects on the form instantiate, and the succeeding times I instantiate this form it fires almost instantly. I do not have the solution but I am a “member of the club”! :)

Tom

>I made a custom control and place it in a form.
>
>when i run my app the form backcolor is white and then paints to the normal control.
>
>If i delete the custom control from the form the form is shown normal.
>
>It is a simple line control.
>
>Is there something i can do in order to show the form fast?
>
>Something i noticed is that the second time i run the same form in the app, it is show normal.
>
>I already try
>- Refresh
>- Invalite
>- UpdateWindow API
>- RedrawWindow API
>
>None of this worked.
>
>I also compiled the EXE a DLL using Release mode and nothing happened.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform