protected void OnChange(object s, WorkCompletedEventArgs e) { if (Change != null) { Change(s, e); } }
public void BroadcastIt(string message) { if (!string.IsNullOrEmpty(message)) { var info = new WorkCompletedEventArgs(message); OnChange(this, info); } }
protected void OnChange(object s, WorkCompletedEventArgs e) { if (Change != null) Change(s, e); }