L
Landley
Hello All,
I am new to C# (and converting from VB.NET).
1. I am trying to create a class that has one method and one event. The
method's sole purpose is to raise the event.
2. ... then instantiate the class from another class (e.g. a Form) and call
the method on the first class.
3. ... then handle the event raised from the first class.
Simple you say! I haven't come across a simple example of this in any
documentation.
Can you help and prevent me from self harm?!
Landley
I am new to C# (and converting from VB.NET).
1. I am trying to create a class that has one method and one event. The
method's sole purpose is to raise the event.
2. ... then instantiate the class from another class (e.g. a Form) and call
the method on the first class.
3. ... then handle the event raised from the first class.
Simple you say! I haven't come across a simple example of this in any
documentation.
Can you help and prevent me from self harm?!
Landley