遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

2012年9月30日 #

使用xxx.dll.config

摘要: 如果发布的dll文件需要配置时,可以考虑把配置信息转到app.config,当然也可以不转移直接使用xxx.dll.config中的配置,当然需要保证程序执行目录下已经copy有xxx.dll.config文件了代码入下,加入了文件监视缓存View Code using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.Reflection;using System.IO;using System.Web.Cach 阅读全文

posted @ 2012-09-30 08:39 遗忘海岸 阅读(1555) 评论(0) 推荐(0) 编辑

BackgroundWorker使用备忘

摘要: UI类似下面,带进度条与提示信息任务类代码View Code /// <summary> /// 利润分析类 /// </summary> public class ProfitAnalys { public ProfitAnalys(BackgroundWorker worker, DateTime bTime, DateTime eTime) { this.Worker = worker; this.BTime = bTime; this.ETime = eTime... 阅读全文

posted @ 2012-09-30 08:25 遗忘海岸 阅读(440) 评论(0) 推荐(0) 编辑