摘要: Open Source Aspect-Oriented Frameworks in C# AspectSharp - Aspect# (pronunced as AspectSharp) is a free AOP ( Aspect Oriented Programming ) framework for the .NET Framework, it uses Dynamic Prox... 阅读全文
posted @ 2007-03-22 14:55 Dragon-China 阅读(814) 评论(2) 推荐(0) 编辑
摘要: 转:http://www.cnblogs.com/tuyile006/archive/2006/12/19/596969.html用正则表达式实现识别单词:using System.Text.RegularExpressions;//解析 private void button1_Click(object sender, System.EventArgs e) { //字符串不能为空 ... 阅读全文
posted @ 2007-03-22 14:50 Dragon-China 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 呵呵,很简单,先定义一个窗体变量; 如:frmDirTool() DirTool = null; 然后再从生成这个窗体的点击事件中写入如下代码:呵呵,这个方法,就不用从关闭子窗体事件中写东西了 if(DirTool == null) //如果还没有字窗体时,则创建新的子窗体 { DirTool = new frmDirTool(); ... 阅读全文
posted @ 2007-03-22 11:13 Dragon-China 阅读(510) 评论(1) 推荐(0) 编辑
摘要: 这几天在做一个把大量Infopath生成的XML数据,进行处理的程序,我用了MDI子窗体,每个窗体包含了各自的功能,如,遍历目录及其子目录检查文件类型并自动生成Sql语句并入库、对Infopath数据的自动检查、对数据中的某些域的替换及更改处理、对数据文件的合并、拆分、剔除记录、统计数据、 对数据自动导入数据库。。。等等。 当我打开一个子窗体,进行某项操作时,如果字窗体中有循环... 阅读全文
posted @ 2007-03-22 10:39 Dragon-China 阅读(2158) 评论(0) 推荐(0) 编辑