摘要: using System; using System.Collections.Generic; using System.Text; using System.Net.Sockets; using System.Threading; using System.IO; namespace TrialSystem { /// /// 读取到正确的配置信息后调用 /// ... 阅读全文
posted @ 2016-08-28 15:54 悟道007 阅读(2243) 评论(0) 推荐(0)
摘要: using System; using System.Collections; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using... 阅读全文
posted @ 2016-08-28 15:48 悟道007 阅读(660) 评论(0) 推荐(0)
摘要: using System; using System.Diagnostics; //using Excel; namespace DotNet.Utilities { /// /// 操作EXCEL导出数据报表的类 /// public class DataToExcel { public DataToExcel() {... 阅读全文
posted @ 2016-08-28 15:40 悟道007 阅读(1546) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 组合模式 * * 树型节点管理 */namespace App_MYCS.HDL_SJMS.ZHMS{ class my_ZHM 阅读全文
posted @ 2016-08-28 15:28 悟道007 阅读(142) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;/* 装饰模式 * * 定义接口或类(类或抽象类) * 分类实现 * 如多种对象类 A 或 B * 使用继承实现B类多样代处理和自己的处 阅读全文
posted @ 2016-08-28 15:28 悟道007 阅读(154) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 桥接模式 * 把抽象部分与它的实现部分分离 变得可以独立变化 * 多用聚合,少用继承 合成 聚合 * 合成是指一个整体 一个对象 阅读全文
posted @ 2016-08-28 15:27 悟道007 阅读(168) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 为方便统一接口。通过适配器来转换调用 */namespace App_MYCS.HDL_SJMS.SPCMS{ class my 阅读全文
posted @ 2016-08-28 15:27 悟道007 阅读(83) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 外观模式 */namespace App_MYCS.HDL_SJMS.WGMS{ class myclass_WGMS { pu 阅读全文
posted @ 2016-08-28 15:27 悟道007 阅读(108) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 职责链模式 * * * 好处是把任务分化了,并让各个执行只管处理自己的部分,处理不能转交下一个处理进行处理 * 不好是可能到最后 阅读全文
posted @ 2016-08-28 15:26 悟道007 阅读(117) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 中介者模式 * * 集中控制 * 所有的操作都通过中介进行转发处理 */ namespace App_MYCS.HDL_SJMS 阅读全文
posted @ 2016-08-28 15:25 悟道007 阅读(134) 评论(0) 推荐(0)