Event handling and communication between two classes
Posted on 2004-08-23
Ive tried to simplify what my problem is, and its probably straight forward Delegate/Event stuff, but I havent really got the hang of that yet!!
I have two classes, say, class A and class B
Class B has a private member variable called myString = "Hello"
using an Event in Class A, I want to call an EventHandler in class B, which returns the word "Hello" back to Class A. But how is this done???