Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How Do I Call OnResize() ?
Message
 
À
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:
01412850
Vues:
47
Let me clarify my question.

What's the correct way to fire the resize from within my class?


.

>>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.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform