2010年8月17日

WPF程序设计指南: The Application and the Window

摘要: 1. 最简单的WPF程序:A console application project: say hello. 需要引用的DLL: PresentationCore, PresentationFramework, System, WindowBase代码注:可在Project -Properties菜单中设置OutPut Type为“console Application” 或者 “Window Application”一个程序只能创建一个Application对象,对于程序其他地方来说,此application对象的作用就如同固定的锚一般。Run方法必须保留到最后,Run方法一旦被调用,就不 阅读全文

posted @ 2010-08-17 21:25 I过T 阅读(600) 评论(0) 推荐(0) 编辑

导航