How to raise events from a nested class?

  • Thread starter Thread starter AA
  • Start date Start date
A

AA

Hello, somebody know how to raise an event from a nested class??

This is my situation... I have two classes, the class1 with 2 events, and a
nested class (class2) inside the class1. So... How can I raise class1 events
from the class2?

Thanks a lot!!
 
Hi,

try to use delegates..

public delegate void delegatecall();
private event delegatecall pointer;
pointer += new delegatecall(cmdEventName);

Raghavendra...
 
Back
Top