01 2015 档案
摘要:1、简介 随着多核时代的到来,并行开发越来越展示出它的强大威力!使用并行程序,充分的利用系统资源,提高程序的性能。在.net 4.0中,微软给我们提供了一个新的命名空间:System.Threading.Tasks。2、测试类using System;using System.Collection...
阅读全文
摘要:一、ImageButton1、继承ImageButtonButton,添加依赖属性using System;using System.Windows;using System.Windows.Controls;namespace June.Wpf.Tookit.Controls{ public...
阅读全文
摘要:1. 在你的工程中,添加app.config文件。文件的内容默认为:1 2 3 2.如果你想给程序配置一些参数,就在标签中添加.例如下面:1 2 3 4 5 6 7 3.然后你在后台程序里需要的地方读写它就可以了。记住需要添加引用usi...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows;using System.Windo...
阅读全文