C# and .NET were made for each other. So, it seems, were Windows and Charles Petzold. Petzold's Programming Windows, first published in 1988 and now in its fifth edition, has been the most authoritative guide to Windows development for one generation of programmers after another. Now, it's joined by a new classic: his new Programming Microsoft Windows with C#.Web apps get the hype nowadays; Petzold focuses elsewhere: on the powerful .NET Windows Forms tools that enable state-of-the-art Windows development. Whether you're building traditional standalone "client" apps or front-ends for distributed systems, he guides you through the "Windows" side of .NET with unprecedented depth and insight.This isn't "Harry Potter" coding: No wizards allowed. Petzold doesn't even use the Windows Forms Designer: It can take you only so far, he says, and if you don't understand how to manually code your controls, you'll be up a creek without a paddle. Prepare to get your hands dirty.Petzold begins with the basics of Windows Forms, the essential data types required to program graphical applications, and the basics of text output. Then, he moves on to the two large collections of .NET framework classes - user and graphics - that encompass the "visual" aspects of Windows development. While these can be traced all the way back to Windows 1.0, they've been refined again - and, of course, C# and .NET change how you get at them.On the "graphics" side of the house, the book's systematic coverage includes lines, curves, fills, pages, transforms, text, fonts, images, bitmaps, Bйzier curves, paths, regions, clipping, brushes, pens, fonts, printing, and vector graphic metafiles. On the UI side, he starts with mouse and keyboard programming (showing how to provide the oft-neglected keyboard equivalents, and raising a few thorny issues that seem to require recourse to the old Win32 API). Next, he covers all the GUI elements of a modern Windows application: buttons, labels, scrolling, dialog boxes, edit, list, and spin boxes, toolbars, status bars, tree views, list views, clipboards, and more.One more note: Whether you're writing Windows or web apps, you'll often find yourself dealing with file I/O, floating-point mathematics, and string manipulation. Each are significantly changed in the C#/.NET environment. Failing to find reliable guides to them, Petzold has written his own and included them as appendices.As Windows programming continues to evolve, one thing fortunately remains constant: Charles Petzold's still there to explain it to us - brilliantly.
C#和.NET是为彼此而生的。看来,Windows和Charles Petzold也是如此。Petzold的《Windows编程》最早出版于1988年,现在已经是第五版了,对于一代又一代的程序员来说,它一直是最权威的Windows开发指南。现在,这本书又有了新的经典之作:他的新作《用C#编程微软Windows》。如今,网络应用被炒得沸沸扬扬;而Petzold则关注其他方面:强大的.NET Windows Forms工具,使最先进的Windows开发成为可能。无论你是构建传统的独立 "客户端 "应用程序还是分布式系统的前端,他都以前所未有的深度和洞察力指导你完成.NET的 "Windows "方面。这不是 "哈利-波特 "编码:不允许有巫师。Petzold甚至没有使用Windows Forms Designer。他说,它只能带你到这里,如果你不了解如何手动编码你的控件,你将会是一个没有桨的小河。Petzold从Windows Forms的基础知识、图形应用程序编程所需的基本数据类型,以及文本输出的基础知识开始。然后,他转向了.NET框架的两个大类集合--用户和图形--它们包含了Windows开发的 "视觉 "方面。虽然这些类可以一直追溯到Windows 1.0,但它们已经被再次完善--当然,C#和.NET也改变了你获取它们的方式。在 "图形 "方面,本书的系统性覆盖包括线条、曲线、填充、页面、变换、文本、字体、图像、位图、Bйzier曲线、路径、区域、剪切、画笔、笔、字体、打印和矢量图形元文件。在用户界面方面,他从鼠标和键盘编程开始(展示如何提供经常被忽视的键盘等价物,并提出了一些棘手的问题,似乎需要求助于旧的Win32 API)。接下来,他涵盖了现代Windows应用程序的所有GUI元素:按钮、标签、滚动、对话框、编辑、列表和旋转框、工具栏、状态栏、树状视图、列表视图、剪贴板等等。还有一点要注意:无论你是在编写Windows还是Web应用程序,你都会发现自己在处理文件I/O、浮点数学和字符串操作。在C#/.NET环境中,每一项都有很大的变化。由于找不到可靠的指南,Petzold写了自己的指南,并将其作为附录。随着Windows编程的不断发展,有一件事幸运地保持不变:Charles Petzold仍然在那里向我们解释--很出色。
相关文库
计算机行业深度报告:DeepSeek系列报告之AI+医疗
2478
类型:行研
上传时间:2025-02
标签:计算机、DeepSeek、AI+医疗)
语言:中文
金额:5积分
电子书-Linux是如何工作的How Linux Works(英)
1848
类型:电子书
上传时间:2022-04
标签:计算机、操作系统、内部结构)
语言:英文
金额:5积分
《网络是怎样连接的》-75页读书笔记
1638
类型:读书笔记
上传时间:2025-01
标签:网络、计算机、科普)
语言:中文
金额:9.9元
Agent有望定义万亿劳动力市场
1544
类型:行研
上传时间:2025-06
标签:计算机、Agent、劳动力)
语言:中文
金额:5积分
《面向初学者的机器学习》Machine Learning For Absolute Beginners
1476
类型:电子书
上传时间:2021-05
标签:机器学习、计算机、算法)
语言:英文
金额:5积分
电子书-用FastAPI构建数据科学应用:用Python开发、管理和部署高效的机器学习应用程序(英)
1451
类型:电子书
上传时间:2022-03
标签:计算机、数据库、人脸检测系统)
语言:英文
金额:5积分
电子书-软件架构师手册:通过实施有效的架构概念成为成功的软件架构师(英)
1408
类型:电子书
上传时间:2021-11
标签:计算机、软件架构 、软件)
语言:英文
金额:5积分
电子书-DAMA数据管理知识体系指南(DAMA DMBOK)(英)
1378
类型:电子书
上传时间:2022-03
标签:计算机、数据库、数据管理)
语言:英文
金额:5积分
电子书-高维数据统计:方法、理论与应用(英)
1258
类型:电子书
上传时间:2021-10
标签:计算机、统计学、数据统计)
语言:英文
金额:5积分
康波周期复盘:康波周期与中国式现代化-20230726-16页
1127
类型:策略
上传时间:2023-08
标签:汽车、计算机)
语言:中文
金额:5积分
积分充值
30积分
6.00元
90积分
18.00元
150+8积分
30.00元
340+20积分
68.00元
640+50积分
128.00元
990+70积分
198.00元
1640+140积分
328.00元
微信支付
余额支付
积分充值
应付金额:
0 元
请登录,再发表你的看法
登录/注册