private void BroadcastNewProgressConvertingChatLogEvent(string message, int progress, int taskBarProgress) { Chat.EventHandlers.NewProgressConvertingChatLogEventArgs e = new Chat.EventHandlers.NewProgressConvertingChatLogEventArgs(); e.Message = message; e.Progress = progress; e.TaskBarProgress = taskBarProgress; OnNewProgressConvertingChatLog(this, e); }
protected virtual void OnNewProgressConvertingChatLog(object sender, Chat.EventHandlers.NewProgressConvertingChatLogEventArgs e) { NewProgressConvertingChatLog?.Invoke(this, e); }