private void BroadcastNewProgressDownloadingEmoticonEvent(string message, int progress) { Emoticons.EventHandlers.NewProgressDownloadingEmoticonEventArgs e = new Emoticons.EventHandlers.NewProgressDownloadingEmoticonEventArgs(); e.Message = message; e.Progress = progress; OnNewProgressDownloadingEmoticon(this, e); }
protected virtual void OnNewProgressDownloadingEmoticon(object sender, Emoticons.EventHandlers.NewProgressDownloadingEmoticonEventArgs e) { NewProgressDownloadingEmoticon?.Invoke(this, e); }