摘要: OpenFileDialog fileDialog = new OpenFileDialog();//fileDialog.InitialDirectory = tbLocalPath.Text;fileDialog.Title = "选择文件";fileDialog.Filter = "xml files (*.xml)|*.xml";fileDialog... 阅读全文
posted @ 2010-09-19 10:48 风中的云 阅读(262) 评论(0) 推荐(0) 编辑
摘要: Assembly ass = Assembly.LoadFrom("TestClassLibrary.dll");Type t = ass.GetType("TestClassLibrary.TestUserControl");UserControl uc = Activator.CreateInstance(t) as UserControl;if (uc... 阅读全文
posted @ 2010-09-18 09:25 风中的云 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 网址:http://www.cnblogs.com/bokeren/archive/2007/04/16/715241.html 阅读全文
posted @ 2010-09-17 15:56 风中的云 阅读(138) 评论(0) 推荐(0) 编辑
摘要: ISchedulerFactory schedFactory = new StdSchedulerFactory();sched = schedFactory.GetScheduler();//读取配置文件中配置的Job和Trigger信息到Scheduler中JobSchedulingDataProcessor processor = new JobSchedulingDataProcessor... 阅读全文
posted @ 2010-09-17 15:35 风中的云 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 读取:  保存:Configurationconfig = CurrentDllConfiguration; config.Save(); DllConfigFilePath定义:private static stringDllConfigFilePath {           ... 阅读全文
posted @ 2010-09-17 15:26 风中的云 阅读(775) 评论(0) 推荐(0) 编辑