Hi
I know my problem will invariably involve something to do with delegates and/or events, but I'm not exactly sure how to implement them at the moment.
The basic problem -
1) I must somehow find out when a static method in my class is triggered by some other object.
2) The static method populates a static string variable.
3) An instance method that has listened to the static method realises it has populated the string and will now do soemthing with it - like show a message box or something.
Any ideas guys would be so appreciated.
Cheers!
I know my problem will invariably involve something to do with delegates and/or events, but I'm not exactly sure how to implement them at the moment.
The basic problem -
1) I must somehow find out when a static method in my class is triggered by some other object.
2) The static method populates a static string variable.
3) An instance method that has listened to the static method realises it has populated the string and will now do soemthing with it - like show a message box or something.
Any ideas guys would be so appreciated.
Cheers!