call event in a method RRS feed

  • Question


    how to call event in a method
    Friday, April 18, 2008 5:21 AM


  • Hi

    Did you mean how you raise an custom event ??

            public delegate void OnMessaging(string Message);
            public event OnMessaging OnMessage;

    and then at point where you want to raise it call,

    Thanks n Regards
    Anu Viswan

    Friday, April 18, 2008 5:26 AM