OverView

Windows Presentation Foundation (WPF) (formerly known by its code name "Avalon") is a brand-new presentation framework for Windows XP and Windows Vista, the next version of the Windows client operating system. For developers, WPF is a cornucopia of new technologies, including a new graphics engine that supports 3-D graphics, animation, and more; an XML-based markup language (XAML) for declaring the structure of your Windows UI; and a radical new model for controls.


Programming Windows Presentation Foundation is the book you need to get up to speed on WPF. By page two, you'll have written your first WPF application, and by the end of Chapter 1, "Hello WPF," you'll have completed a rapid tour of the framework and its major elements. These include the XAML markup language and the mapping of XAML markup to WinFX code; the WPF content model; layout; controls, styles, and templates; graphics and animation; and, finally, deployment.


Programming Windows Presentation Foundation features:


  • Scores of C# and XAML examples that show you what it takes to get a WPF application up and running, from a simple "Hello, Avalon" program to a tic-tac-toe game

  • Insightful discussions of the powerful new programming styles that WPF brings to Windows development, especially its new model for controls

  • A color insert to better illustrate WPF support for 3-D, color, and other graphics effects

  • A tutorial on XAML, the new HTML-like markup language for declaring Windows UI

  • An explanation and comparison of the features that support interoperability with Windows Forms and other Windows legacy applications



The next generation of Windows applications is going to blaze a trail into the unknown. WPF represents the best of the control-based Windows world and the content-based web world; it's an engine just itching to be taken for a spin. Inside, you'll find the keys to the ignition.

---------------------------------------------------------------------------------------------------------------------------------

Windows Presentation Foundation (WPF) (之前曾使用项目代号 "Avalon"而为人所知)是为Windows XP及下一个Windows客户端操作系统——Windows Vista提供的全新的显示框架。对于开发者来说,WPF不啻于一场新技术的盛宴,其中包含了支持3D图形、动画和其他特性的新的图形引擎;基于XML的用于描述您的Windows用户界面结构的标识语言,以及激进而全新的控制模型。

当您需要赶上WPF发展的步伐时,Programming WPF正是您所需要的书.在第二页,您将编写您的第一个WPF应用程序;而在第一章"Hello WPF"的结尾,您将完成对于这套框架以及它的主要元素的概览.这些包括了对于XAML语言以及其到WinFX代码的映射;WPF内容模型;布局;空间,风格和模板;图形和动画,以及部署.

本书的内容包括:

    大量的基于C#和XAML的例子来向您展示如何成功地实现一个WPF应用程序,从单纯的"Hello,Avalon"到一字棋游戏程序;

    关于WPF带给Windows应用程序开发的全新而强大的编程风格的重要讨论,尤其是关于它的全新控制模型;

    为了更好地描述WPF对于3D,色彩以及其他图形特性的支持而绘制的彩色插图;

    对于类似于HTML的Windows用户界面描述语言XAML的使用教程;

    对WPF用于支持与Windows Forms以及其它遗留的Windows应用程序协同工作的各种特性的解释与比较.

下一代Windows应用程序的面貌难以预期,而WPF则描绘出了一个基于控制的Windows世界和基于内容的Web世界.WPF是一部渴望着被发动的引擎,而在本书中,你能找到启动它的钥匙.

 

About the Authors
Chris Sells is a program manager for the Connected Systems Division. He's written several books, including Programming Windows Presentation Foundation, Windows Forms Programming in C# (Addison Wesley) and ATL Internals (Addison Wesley). In his free time, Chris hosts various conferences and makes a pest of himself on Microsoft internal product team discussion lists. More information about Chris, and his various projects, is available at http://www.sellsbrothers.com.

Ian Griffiths is an independent consultant, developer, speaker, and author. He has written books on the Windows Presentation Foundation, Windows Forms, and Visual Studio. He lives in London but can often be found on various developer mailing lists and newsgroups, where a popular sport is to see who can get him to write the longest email in reply to the shortest possible question. More information about what Ian is up to can be found on his blog at http://www.interact-sw.co.uk/iangblog/.
 
--------------------------------------------------------------------------------------------------

关于作者

Chris Shells 是微软互联系统事业部的项目经理.他曾经有写作数本书籍的经历,其中包括Programming Windows Presentation Foundation, Windows Forms Programming in C# (Addison Wesley)(其实VisualBasic的版本也是他写的...插一句...) 和ATL Internals (Addison Wesley).在他的业余时间,Chris主办各种讨论以及在微软内部产品团队维护一个关于他自己的令人讨厌之处的讨论列表.更多关于Chris以及他的各种工程的信息,可以在 http://www.sellsbrothers.com得到.

Ian Griffiths是一位独立顾问,开发者,演讲者和作家.他曾经为WPF,Windows Forms和VisualStudio写作书籍.他居住在伦敦,不过你可以在各种开发者邮件列表和新闻组中找到他的身影.在那些地方,一个热门的活动是看谁能让他用最长的email答复尽可能短小的问题.更多关于他的信息可以参阅他的博客:http://www.interact-sw.co.uk/iangblog/.

 

 

 

PS:这还仅仅是一个OverView而已...应该就是O'Reilly封底上面那个介绍性的文字...翻成这样,估计我要被杀了...

      WPF,我也不懂,也指望这本书边翻译边学哩,于是原文中n多东西都是云里雾里的T_T...最后一段感觉好抽象啊,,,几乎看不懂的说...

      全文中都不知道应该把controls翻译成"控制"还是"控件",最后全都翻译成"控制"了...不了解WPF,也不知道这样翻译对不对...

      因为我手头的O'Reilly书OverView后面都是作者介绍,所以我也把作者介绍贴在后面了.Program Manager和Connected Systems Division不会翻译,放狗搜了一下,竟然搜到O'Reilly的老巢去了...原来这个书的第二版有中文版的说...

### Tessy 概述报告 (Overview Report) 的定义与功能 Tessy 是一种自动化测试工具,主要用于嵌入式软件的功能测试。它通过静态分析和动态执行来验证代码的行为是否符合预期[^1]。在软件测试过程中,Tessy 提供了一个 **概述报告 (Overview Report)** ,该报告旨在提供关于测试过程的整体视图以及关键指标。 #### 报告的主要组成部分 以下是 Tessy 概述报告中的主要部分及其作用: 1. **覆盖率统计** 覆盖率是评估测试质量的重要指标之一。Tessy 可以计算多种类型的覆盖级别,例如语句覆盖、分支覆盖和 MC/DC(修正条件判定覆盖)。这些数据会显示在概述报告中,帮助开发者了解哪些代码路径已被充分测试。 2. **测试用例状态** 概述报告汇总了所有测试用例的状态信息,包括成功运行的测试数量、失败的数量以及其他未完成的情况。这种概览有助于快速识别潜在问题区域并优先处理它们。 3. **错误日志摘要** 如果某些测试未能按计划执行或者发现了缺陷,则会在 Overview Report 中记录相应的错误消息或警告提示。这使得团队能够迅速定位到具体的问题所在位置以便进一步调查解决方法。 4. **性能度量** 对于时间敏感型应用来说,在 Tessy 的 summary section 还可能包含有关每次调用所需耗时的数据点;这对于优化程序效率非常有用。 5. **图表展示** 为了更直观地理解上述各项数值之间的关系,许多现代版本还引入图形化界面支持——比如饼状图表示各类别所占比例等等形式呈现出来让使用者一目了然掌握全局状况。 ```python # 示例 Python 伪代码用于生成简单的覆盖率统计数据 def calculate_coverage(passed_tests, total_tests): coverage_percentage = (passed_tests / total_tests) * 100 return f"{coverage_percentage:.2f}%" total_test_cases = 100 successful_tests = 87 print(calculate_coverage(successful_tests, total_test_cases)) ``` 此脚本仅作为演示目的,并不特指任何实际产品特性实现方式。 ---
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值