02 2015 档案
摘要:这种错误的原因,是因为List<T>不是线程安全的。
阅读全文
摘要: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
阅读全文
摘要:假如有A窗体,有一个计时器B窗体,也有一个计时器。要求B窗体的计时器和A窗体同步。A窗体是主界面,B窗体是子界面方案1:要使得B窗体和A窗体保持同步的计时器,那么在启动B窗体的时候,可以将A窗体的计时器的间隔作为B窗体的构造函数的参数传递或者将A窗体的间隔保存到文件中,在B窗体加载之后,从配置中读取...
阅读全文
摘要: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
阅读全文
摘要:http://www.codeproject.com/Articles/39040/Auto-and-Manual-Reset-Events-Revisited
阅读全文
摘要:ConnectionReset The connection was reset by the remote peer. http://stackoverflow.com/questions/1434451/what-does-connection-reset-by-peer-mean It's f
阅读全文
摘要:public event EventHandler CurrentCellDirtyStateChanged 当单元格的内容已更改,但更改尚未保存时,该单元格将标记为已修改。 此事件通常会在以下情况下发生:当单元格已编辑,但是更改尚未提交到数据缓存中时,或者当编辑操作被取消时。
阅读全文
摘要:方法一:LinqChannelList就是一个List类型的数据,IsOpen 是其元素的属性channelCount = (from channel in DevicesManager.Instance.CurrentDevice.ChannelList ...
阅读全文
摘要: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...
阅读全文