Regarding Custom Control event.. RRS feed

  • Question

  • Hi,
     I have a class called LISTENER, in this class i have 2 properties called Subject,  Name and 1 event
    public event MessageReceivedEventHandler ListenerMessageReceivedEvent;

    Now i am creating a custom control and in that control i am adding a property called LISTENERS this property contains collection of LISTENER class.

    Now i am placing this control in windows form and adding LISTENERs object properties. I am able to add N number of LISTENER object. But i am not able to bring the event "ListenerMessageReceivedEvent".

    Can anyone help me on this?

    Thanks in Advance.
    Thursday, March 22, 2007 10:21 PM