Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug or Feature: Events
Message
From
01/07/2005 13:11:34
 
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 1.1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01027942
Message ID:
01028258
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform