KeyCode == Keys.Enter) { //则调用服务器向客户端发送信息的方法 ServerSendMsg(this.txtSendMsg.Text.Trim());//.Trim()是删除字符串头部及尾部出现的空格 this.
確定! 回上一頁