画图和线条分别用Polygon和Polyline,过程如下1.定义一个画图信息相关的对象,这个对象画图和画线条都是可以应用的1 var polyOption =
2 {3 paths: [],4 strokeColor: "#FF0000",5 strokeOpacity: ...
using System;using
System.Collections.Generic;using System.IO;using System.Linq;using
System.Reflection;using System.Runtime.InteropServices;namespace...
分类:
其他好文 时间:
2014-05-23 10:59:24
阅读次数:
223
参考资料《大话设计模式》Mediator(中介者)模式:使各个对象不需要显式的相互调用,从而使其耦合松散。using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ds_me...
分类:
其他好文 时间:
2014-05-23 10:13:17
阅读次数:
331
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Management;using
System.Threading.Tasks;namespace TaskT...
分类:
编程语言 时间:
2014-05-23 08:40:04
阅读次数:
413
http协议中的头信息和正文是采用空行分开,什么是空行呢?简单来说,就是\r\n\r\n。
所以将服务器返回的数据用\r\n\r\n分开后的结果,一个是头信息,一个是正文信息。
C#的代码如下:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
usi...
分类:
其他好文 时间:
2014-05-22 12:55:02
阅读次数:
300
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Tex...
分类:
其他好文 时间:
2014-05-22 12:36:05
阅读次数:
243
有图真相:ASP.NET代码: C#代码: 1 using System; 2 using
System.Collections.Generic; 3 using System.Linq; 4 using Syste...
分类:
Web程序 时间:
2014-05-22 05:35:59
阅读次数:
338
参考资料《大话设计模式》职责链模式:using System;using
System.Collections.Generic;using System.Linq;using System.Text;namespace
ds_chainofresponsibility{ class Progr...
分类:
其他好文 时间:
2014-05-20 12:52:03
阅读次数:
328
一:上图,不清楚的看代码注解,很详细了二:具体代码窗体代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using Sy...
using System;using System.Collections.Generic;using
System.Linq;using System.Text;using System.Data;using
System.Data.SqlClient;namespace AddressBook{...
分类:
数据库 时间:
2014-05-20 10:08:21
阅读次数:
328