摘要:
1.传统ThreadStart 2.ParameterizedThreadStart 3.委托thread = new Thread(delegate() { NoticeBroadcast(userinfos, com2); }); 4.匿名方法 thread = new Thread(() =>NoticeBroadcast(userinfos, com2)); 阅读全文
摘要:
1: public class SpeakLouder 2: { 3: private WavFormat _wavFormat=new WavFormat(); //文件格式 4: private byte[] _audioData; //语音数据 5: private SpeechSy... 阅读全文
摘要:
//阻止enter键回发到服务端$(function () { $("input[type=text]").each(function () { $(this).keydown(function (event) { if (event.which || event.keyCode) { if ((event.which == 13) || (event.keyCode == 13)) { retu... 阅读全文