D
Doug
I have a delegate and it works fine, but I'm having difficulty using it w/ a
switch statement.
Basically, i have a component that has a listbox with a delegate for the
SelectedIndexChanged event. On the main form where i'm capturing the event
I want to use a switch statement to see what the user selected. The
"sender" has the value (based on the debugger) {SelectedItem="my value"}.
How do I capture this in a switch statement?
Doug
switch statement.
Basically, i have a component that has a listbox with a delegate for the
SelectedIndexChanged event. On the main form where i'm capturing the event
I want to use a switch statement to see what the user selected. The
"sender" has the value (based on the debugger) {SelectedItem="my value"}.
How do I capture this in a switch statement?
Doug