G
Guest
Hello All,
Does anybody have an example to raise an event that may or may not give
feedback to the caller? I am thinking about something roughly like the
Cancel property of an CancelEventArgs or the Handled property on the KeyDown
events.
What I have is a user control that I want to raise an event that allows the
parent to set a property in the control, and set a flag in the event that
says it has set the property. The user control would then process
conditional code if the parent responds to the event (or does not).
Thanks,
pagates
Does anybody have an example to raise an event that may or may not give
feedback to the caller? I am thinking about something roughly like the
Cancel property of an CancelEventArgs or the Handled property on the KeyDown
events.
What I have is a user control that I want to raise an event that allows the
parent to set a property in the control, and set a flag in the event that
says it has set the property. The user control would then process
conditional code if the parent responds to the event (or does not).
Thanks,
pagates