02 2015 档案

摘要:这种错误的原因,是因为List<T>不是线程安全的。 阅读全文
posted @ 2015-02-27 17:44 ChuckLu 阅读(228) 评论(0) 推荐(0) 编辑
摘要:The dialog result of a form is the value that is returned from the form when it is displayed as a modal dialog box. If the form is displayed as a dial 阅读全文
posted @ 2015-02-27 15:29 ChuckLu 阅读(601) 评论(0) 推荐(0) 编辑
摘要:假如有A窗体,有一个计时器B窗体,也有一个计时器。要求B窗体的计时器和A窗体同步。A窗体是主界面,B窗体是子界面方案1:要使得B窗体和A窗体保持同步的计时器,那么在启动B窗体的时候,可以将A窗体的计时器的间隔作为B窗体的构造函数的参数传递或者将A窗体的间隔保存到文件中,在B窗体加载之后,从配置中读取... 阅读全文
posted @ 2015-02-26 10:46 ChuckLu 阅读(307) 评论(0) 推荐(0) 编辑
摘要:I ran into a question on stackoverflow the other day that sort of shocked me. It was a piece of code, with the author asking why it wasn't a factory p 阅读全文
posted @ 2015-02-26 09:20 ChuckLu 阅读(458) 评论(0) 推荐(0) 编辑
摘要:http://www.codeproject.com/Articles/39040/Auto-and-Manual-Reset-Events-Revisited 阅读全文
posted @ 2015-02-09 16:04 ChuckLu 阅读(374) 评论(0) 推荐(0) 编辑
摘要:ConnectionReset The connection was reset by the remote peer. http://stackoverflow.com/questions/1434451/what-does-connection-reset-by-peer-mean It's f 阅读全文
posted @ 2015-02-05 10:48 ChuckLu 阅读(1370) 评论(0) 推荐(0) 编辑
摘要:public event EventHandler CurrentCellDirtyStateChanged 当单元格的内容已更改,但更改尚未保存时,该单元格将标记为已修改。 此事件通常会在以下情况下发生:当单元格已编辑,但是更改尚未提交到数据缓存中时,或者当编辑操作被取消时。 阅读全文
posted @ 2015-02-04 16:18 ChuckLu 阅读(346) 评论(0) 推荐(0) 编辑
摘要:方法一:LinqChannelList就是一个List类型的数据,IsOpen 是其元素的属性channelCount = (from channel in DevicesManager.Instance.CurrentDevice.ChannelList ... 阅读全文
posted @ 2015-02-03 11:29 ChuckLu 阅读(15782) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/horan/archive/2012/04/20/wpf-multilanguage.html4.0版本的locbaml http://michaelsync.net/2010/03/01/locbaml-for-net-4-0使用visual stud... 阅读全文
posted @ 2015-02-02 19:51 ChuckLu 阅读(522) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示