摘要: 1.空白WPF项目的创建: 1)新建项目:在VS2010中,文件-新建-项目-visual c#-windows-空项目; 2)添加引用:PresentationFramework,PresentationCore,WindowsBase,System,System.Xaml,共5个。书中是4个,这是因为早期WindowsBase中的一些类后来放到了System.Xaml里。 3)添加文件:在项目中添加“新建项”,选择“代码文件"。2.SayHello程序 using System;using System.Windows;namespace LY.SayHello{ class . 阅读全文
posted @ 2013-08-13 00:28 小p 阅读(738) 评论(0) 推荐(0) 编辑