protected void BroadcastNewProgressFetchingEmoticonJsonEvent(string message, int progress) { Emoticons.EventHandlers.NewProgressFetchingEmoticonJsonEventArgs e = new Emoticons.EventHandlers.NewProgressFetchingEmoticonJsonEventArgs(); e.Message = message; e.Progress = progress; OnNewProgressFetchingEmoticonJson(this, e); }
protected virtual void OnNewProgressFetchingEmoticonJson(object sender, Emoticons.EventHandlers.NewProgressFetchingEmoticonJsonEventArgs e) { NewProgressFetchingEmoticonJson?.Invoke(this, e); }