Пример #1
0
        private void DoReceiveChatMessage(ReceieveMessage message)
        {
            var chatMessage = GlobalVariable.CreateChatMessage(message);

            DoAction(() =>
            {
                OpenChatForm(chatMessage);
            });
        }
Пример #2
0
        /// <summary>
        /// 处理收到的聊天信息
        /// </summary>
        /// <param name="message"></param>
        private void DoReceiveChatMessage(ReceieveMessage message)
        {
            var chatMessage = GlobalVariable.CreateChatMessage(message);

            this.InvokeOnUiThreadIfRequired(() =>
            {
                OpenOrCreateChatForm(chatMessage, true);
            });
        }