private void BroadcastErrorOccuredDownloadingEmoticonEvent(string message) { Emoticons.EventHandlers.ErrorOccuredDownloadingEmoticonEventArgs e = new Emoticons.EventHandlers.ErrorOccuredDownloadingEmoticonEventArgs(); e.Message = message; OnErrorOccuredDownloadingEmoticon(this, e); }
protected virtual void OnErrorOccuredDownloadingEmoticon(object sender, Emoticons.EventHandlers.ErrorOccuredDownloadingEmoticonEventArgs e) { ErrorOccuredDownloadingEmoticon?.Invoke(this, e); }