private void onKickHandler(String neckname) { String str; if (neckname == ChaitClient.Instance.Neckname) { str = "[系统]你已被踢出聊天室"; } else { str = "[系统]" + neckname + "因违反规则被踢出聊天室"; } ExThreadUICtrl.AddTextRow(this, tb_chatHistory, str); }
private void onJoinHandler(String neckName) { String str; if (neckName == ChaitClient.Instance.Neckname) { str = "[系统]欢迎加入聊天室"; } else { str = "[系统]" + neckName + "加入了聊天室"; Invoke(new delSwitchNameListItem(switchNameListItem), neckName); } ExThreadUICtrl.AddTextRow(this, tb_chatHistory, str); }
public void ShowChatMsg(String msg) { ExThreadUICtrl.AddTextRow(this, tb_chatHistory, msg); }
private void onQuitGroupHandler(String neckName, String groupName) { String str = "[系统]" + neckName + "离开了群组:" + groupName; ExThreadUICtrl.AddTextRow(this, tb_chatHistory, str); }
private void onLobbyChatHandler(String neckName, String chatStr) { String str = neckName + ":" + chatStr; ExThreadUICtrl.AddTextRow(this, tb_chatHistory, str); }
private void onQuitHandler(String neckName) { String str = "[系统]" + neckName + "离开了聊天室"; ExThreadUICtrl.AddTextRow(this, tb_chatHistory, str); }
public void ShowChatMsg(String msg) { // Invoke(new delUpdateChatContent(updateChatContent), msg); ExThreadUICtrl.AddTextRow(this, tb_groupHistory, msg); }