private void DoReceiveChatMessage(ReceieveMessage message) { var chatMessage = GlobalVariable.CreateChatMessage(message); DoAction(() => { OpenChatForm(chatMessage); }); }
/// <summary> /// 处理收到的聊天信息 /// </summary> /// <param name="message"></param> private void DoReceiveChatMessage(ReceieveMessage message) { var chatMessage = GlobalVariable.CreateChatMessage(message); this.InvokeOnUiThreadIfRequired(() => { OpenOrCreateChatForm(chatMessage, true); }); }