TPL中限制进程数量
摘要:The MaxDegreeOfParallelism sets the maximum number of simultaneous threads that will be used for the Parallel.For(). It does not mean that only two th
阅读全文
posted @
2017-04-26 20:42
武胜-阿伟
阅读(433)
推荐(0) 编辑
DockManager如何停靠 z
摘要:http://www.dxper.net/thread-8992-1-1.html DockManager默认只能停靠在窗体上,如果想停靠在其他控件上,我们发现并没有选项可以选,可能目前大部分解决方法是新建一个用户控件文件,再在用户控件里面单独设计模块。 除了这种方法还有没有其他的呢?其实方法很简单
阅读全文
posted @
2017-04-25 19:39
武胜-阿伟
阅读(352)
推荐(0) 编辑
wpf z
摘要:Finding an ancestor of a WPF dependency object This is a simple snippet which helps you to find a specified parent of a given WPF dependency object so
阅读全文
posted @
2017-04-16 18:31
武胜-阿伟
阅读(376)
推荐(0) 编辑
DevExpress 利用DateEdit 仅显示和选择年份 z
摘要:DevExpress只提供了选择月份的控件MonthEdit,并没提供选择选择年份的控件,目测是官方偷懒不想弄,因为要实现的方法也很简单,利用ComboBoxEdit添加年份数据即可,直接封装一个控件轻松搞定的事。当然想偷懒的话,就用DateEdit这个控件稍微设置几个属性也可以做到选择年份的效果
阅读全文
posted @
2017-04-10 20:36
武胜-阿伟
阅读(1619)
推荐(0) 编辑
DevExpress Components16.2.6 Source Code 编译
摘要:DevExpress 是一个比较有名的界面控件套件,提供了一系列优秀的界面控件。这篇文章将展示如何在拥有源代码的情况下,对 DevExpress 的程序集进行重新编译。 特别提示:重编译后,已安装好的 DevExpress Demo 项目都将无法正常运行,需要将 Demo 也进行重编译操作后,方可恢
阅读全文
posted @
2017-04-05 21:10
武胜-阿伟
阅读(784)
推荐(0) 编辑