/ Published in: C#
Expand |
Embed | Plain Text
//The following goes in the class that will have the event and fire the event public delegate void LogHandler(string message); // Define an Event based on the above Delegate public event LogHandler Log; set { m_RestartAnywhere = value; //Notify clients if (Log!= null) { Log(this, value); } }
Comments
Subscribe to comments
You need to login to post a comment.

The log should actually be renamed to XXhandler and the XXhandler should be renamed to the event name