Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug or Feature: Events
Message
De
01/07/2005 13:11:34
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01027942
Message ID:
01028258
Vues:
22
Victor,

Try putting it in the form load instead and see if that changes anything.

~~Bonnie



>I'm trying to figure out if this is a bug or a feature in regards to the behavior of events...
>
>During the ctor of a form I create a control (std vs.net behavior in the form designer) - I wire up an event... Say for example CheckedChanged Event in a Check Box. Still during the ctor of the form I init the values of say the Check Box Control to checked=true, the event fires as expected.
>
>However, if I remove the event wire up to after setting the initial values of the Check Box Control the event still fires... Any ideas?
>
>Apperantly it happens when the show method the form is executed.
>
>This is the same behavior with Radio Buttons Checked Changed and any type of changed event.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform