G
Guest
I am working on a new ASP.NET web application (with C# as the underlying
language) using VisualStudio.NET 2003 Enterprise Architect. I am also pretty
much a newbie at this stuff, having been a VFP programmer for lo these many
years. Please be kind, I may not use the exact proper terminology for the
problems I am about to describe, but I'll try to be as descriptive as
possible.
I placed a new CheckBox on a form and under Properties went to the
CheckedChanged event and double clicked it. This caused the IDE to create the
following code:
private void CheckBox1_CheckedChanged(object sender, System.EventArgs e)
{
}
However, the code to assign the delegate for the event (which, I believe, is
supposed to be placed by the IDE in the InitializeCompnent() section) was not
created. Furthermore, even if I manually create the delegate assignation and
place it in the InitializeComponent() section, the Click event never fires at
runtime.
Obviously, this makes it impossible for a CheckBox to be used to enable or
disable other controls on the form, and this is a requirement I must meet.
Any and all help in this matter is greatly appreciated - right now I'm kind
of dead in the water...
Thanks,
-RW-
language) using VisualStudio.NET 2003 Enterprise Architect. I am also pretty
much a newbie at this stuff, having been a VFP programmer for lo these many
years. Please be kind, I may not use the exact proper terminology for the
problems I am about to describe, but I'll try to be as descriptive as
possible.
I placed a new CheckBox on a form and under Properties went to the
CheckedChanged event and double clicked it. This caused the IDE to create the
following code:
private void CheckBox1_CheckedChanged(object sender, System.EventArgs e)
{
}
However, the code to assign the delegate for the event (which, I believe, is
supposed to be placed by the IDE in the InitializeCompnent() section) was not
created. Furthermore, even if I manually create the delegate assignation and
place it in the InitializeComponent() section, the Click event never fires at
runtime.
Obviously, this makes it impossible for a CheckBox to be used to enable or
disable other controls on the form, and this is a requirement I must meet.
Any and all help in this matter is greatly appreciated - right now I'm kind
of dead in the water...
Thanks,
-RW-
