G
Guest
I have a question on event handling. Here is my situation.
I have a main form which has a TreeView control containing nodes whose tags
contain class instances of test cases. As I traverse through the list of
nodes executing these tests one of the tests needs to fire an event. I need
that event to be picked up by the main form for it to do a desired action.
Now for the confusing part (to me). Sometimes that test case which fires
the event may not be present in which case the event will never be fired.
That is okay. However, if the test case is present and fires the event, how
do I get the main form to catch the event in order to tell it to do something?
I have a main form which has a TreeView control containing nodes whose tags
contain class instances of test cases. As I traverse through the list of
nodes executing these tests one of the tests needs to fire an event. I need
that event to be picked up by the main form for it to do a desired action.
Now for the confusing part (to me). Sometimes that test case which fires
the event may not be present in which case the event will never be fired.
That is okay. However, if the test case is present and fires the event, how
do I get the main form to catch the event in order to tell it to do something?