- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 GRASP(通用职责分配软件模式)介绍及一些小经验
通用职责分配软件模式(GRASP)侧重于基本的通用设计过程,是针对FURPS+需求模型中的Functional(功能性)的重要的设计原则。 GoF设计模式更注重FURPS+需求模型中的质量需求的设计。 可以在GoF设计模式中找到GRASP的影子。个人的一点小经验:1、解决接口变化的外部服务问题时使用“适配器模式2、解决变化的算法及策略问题时(客户定制业务规则)使用“策略模式(将不同算法定义为实现同
2004-12-31 18:38:00 2969 2
原创 搜索硬盘的程序
using System;using System.IO;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.Management;using System.Threading;na
2004-12-21 20:30:00 1882 7
原创 将复合控件子控件事件上传到顶层的例子
这是一个选择省份然后将点击事件上传到控件顶层在页面处理事件的一个例子。加粗部分是整个上传事件过程。上传事件(暴露事件)、暴露属性、复杂属性管理、样式管理等是asp.net服务器自定义控件的高级主题。using System;using System.Web;using System.Web.UI;using System.Data;using System.Data.SqlClient;using
2004-12-15 17:14:00 1708
原创 宿主程序为windows服务的remoting
remoting一般宿主在windows服务里.新建一个windows服务,在OnStart方法里写入如下代码: protected override void OnStart(string[] args) { // TODO: 在此处添加代码以启动服务。 EventLog myLog=new EventLog(); myLog.Source="MonthListService"
2004-12-05 15:22:00 1949
原创 使用WebClient实现文件上传
using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.IO;using System.Net;using System.Threading;namespace
2004-12-04 18:27:00 1814 1
原创 使用WebClient实现下载
截图using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.IO;using System.Net;using System.Threading;namespace
2004-12-04 16:49:00 2060
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人