protected virtual void OnMessageContent(MessageContentEventArgs e) { if (MessageContent != null) { MessageContent(this, e); } }
void HandleMessageContent(object sender, MessageContentEventArgs e) { Application.Instance.AsyncInvoke(delegate { AddMessageContent(e.Content); }); }
protected virtual void OnMessageContent(MessageContentEventArgs e) { if (MessageContent != null) MessageContent(this, e); }