






























2、CheckBox全选例子。














































































































































































































































3、使用svcutil 生成WCF客户端
打开Visual Studio 2008 Command Prompt
d:
cd temp
svcutil /language:c# /out:NotifyServiceClient.cs /config:app.config http://localhost:8000/Service/NotifyService.svc
4、手工书写WCF客户端




















5、如何方便地自动生成WCF客户端及配置文件。
A、设置VS2008 X86 tools的环境:Call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
B、svcutil /language:c# /out:NotifyServiceClient.cs /config:app.config http://localhost:8000/Service/NotifyService.svc
C、写成一个生成后事件