2017年7月27日

后台订阅前台无刷新显示

摘要: 后台 //创建客户端实例 MqttClient client = new MqttClient(IPAddress.Parse(mqttcon.addressip)); client.MqttMsgPublishReceived += client_MqttMsgPublishReceived; s 阅读全文

posted @ 2017-07-27 15:12 A欣 阅读(166) 评论(0) 推荐(0) 编辑

用js实现关闭页面后台事件

摘要: 前台代码: window._onbeforeunload = function(){ $('txtrefchild').click(); return true;} 后代代码: protected void txtrefchild_Click(object sender, EventArgs e){ 阅读全文

posted @ 2017-07-27 11:41 A欣 阅读(1346) 评论(0) 推荐(0) 编辑

导航