上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 60 下一页
QuickStart3 This sample shows you how to construct a complex Extensible Application Markup Language (XAML) layout by nesting TextBlock, Button, and DockPanels within a parent DockPanel. 这个例子用来... Read More
posted @ 2008-03-08 19:09 包建强 Views(516) Comments(0) Diggs(0)
QuickStart2 This sample shows how to use a DockPanel element to arrange three Button in a vertical stack. 区别于上一个Sample,这个例子在StackPanel里,居左对齐,垂直排列3个按钮。 Button 1 Button 2 Button ... Read More
posted @ 2008-03-08 18:57 包建强 Views(461) Comments(0) Diggs(0)
QuickStart1 This sample shows you how to create an Extensible Application Markup Language (XAML) page that displays "Hello World." 一个用xaml做出的WPF,"Hello world!"。 注意,在StackPanel中使用TextBlock显... Read More
posted @ 2008-03-08 18:56 包建强 Views(603) Comments(0) Diggs(0)
本目录持续更新中,每写完一章都会添加到Blog以及这个目录。估计本系列会在20章左右。 Read More
posted @ 2008-03-08 18:23 包建强 Views(1288) Comments(3) Diggs(1)
EnumerateSubsetOfPrintQueues shows how to use the EnumeratedPrintQueueTypes enumeration to get a subset of available print queues 这个Sample倒也简单,只有一个Main函数,讲的是EnumeratedPrintQueueTypes枚举,通过其两个值L... Read More
posted @ 2008-03-08 18:21 包建强 Views(530) Comments(0) Diggs(0)
PrintDialog This sample illustrates how to create an instance of a simple PrintDialog and then display it. The sample uses both Extensible Application Markup Language (XAML) and procedural code. ... Read More
posted @ 2008-03-08 18:16 包建强 Views(928) Comments(2) Diggs(0)
场景:Vista下,VS2008 Beta2, 建立WCF进程内托管服务,按下F5,打开WCF Test Client.这是会报错,说SvcUtil没有强签名. 于是执行以下命令行: sn -Vr "c:\program files\Microsof SDKs\Windows\v6.0A\Bin\SvcUtil.exe" 这时候, 报错说不能访问注册表. 这是因为没有使用管理员权限, 于是右击命... Read More
posted @ 2008-03-05 15:47 包建强 Views(700) Comments(1) Diggs(0)
第一章 WCF基础 System.ServiceModel WCF中的所有消息均为SOAP消息,消息与传输协议无关(不仅限于HTTP) 服务的执行边界:客户端统一使用代理访问服务 地址,包括服务位置和传输协议,有5种: TCP地址: net.tcp://localhost:8002/MyService HTTP地址: http://localhost:8001 IPC地址: net.pipe... Read More
posted @ 2008-03-05 10:10 包建强 Views(1101) Comments(0) Diggs(1)
看WCF编程很费解.看来要补习一下Remoting了,从今天到下个礼拜要过一遍. Read More
posted @ 2008-03-01 18:19 包建强 Views(296) Comments(1) Diggs(0)
父类一个virtual方法,一个普通方法;子类复写virtual,同时具有同名普通方法(使用new)。则Parent p = new Son();产生有趣结果: class Program { static void Main(string[] args) { Parent p = new Son(); ... Read More
posted @ 2008-02-28 18:37 包建强 Views(463) Comments(0) Diggs(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 60 下一页