Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Do I Call OnResize() ?
Message
De
16/07/2009 16:28:16
John Baird
Coatesville, Pennsylvanie, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01412846
Message ID:
01412848
Vues:
64
>I have a usercontrol, and internally I'm changing it's size. I then have:
>
>
>        protected override void OnResize(EventArgs e)
>        {
>            // My code here
>
>            base.OnResize(e);
>        }
>
>
>What event args is it expecting?

You usually have object Sender and EventArgs (of some kind) e. These arguments are provided to you by the event system and should be prefilled. If you want to create your own you can.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform