This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy


■ I N T R O D U C I N G   W I N D O W S   W O R K F L O W   F O U N D AT I O N 952



Download 21,46 Mb.
Pdf ko'rish
bet1802/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   1798   1799   1800   1801   1802   1803   1804   1805   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition

I N T R O D U C I N G   W I N D O W S   W O R K F L O W   F O U N D AT I O N



952

8849CH26.qxd  10/10/07  11:46 AM  Page 952




Desktop User Interfaces

P A R T   6

8849CH27.qxd  10/16/07  11:59 AM  Page 953



8849CH27.qxd  10/16/07  11:59 AM  Page 954


Programming with Windows Forms

S

ince the release of the .NET platform (circa 2001), the base class libraries have included a partic-

ular API named Windows Forms (represented by the System.Windows.Forms.dll assembly). As you

may know, the Windows Forms toolkit provides the types necessary to build desktop graphical user

interfaces (GUIs), create custom controls, manage resources (string tables, icons, etc.), and perform

other GUI-centric programming tasks. In addition, a separate API named GDI+ (bundled within the

System.Drawing.dll assembly) provides additional types that allow programmers to generate 2D

graphics, interact with networked printers, and manipulate image data.

The Windows Forms (and GDI+) APIs are still alive and well with the release of .NET 3.5, and

will exist within the base class library for quite some time (arguably forever, in fact). However, since

the release of .NET 3.0, Microsoft shipped a brand new GUI toolkit called Windows Presentation

Foundation (WPF). As you will see beginning in the next chapter, WPF provides a massive amount

of horsepower that can be used to build bleeding-edge user interfaces.

The point of this chapter, however, is to provide a tour of the traditional Windows Forms API

for one simple reason: many GUI applications simply might not require the horsepower offered by

WPF. In fact, for many UI applications, WPF can be overkill. Furthermore, there are many existing

Windows Forms applications scattered throughout the .NET universe that will need to be main-

tained.


Given these points, in this chapter you will come to understand the Windows Forms program-

ming model, work with the integrated designers of Visual Studio 2008, experiment with numerous

Windows Forms controls, and receive an overview of graphics programming using GDI+. To pull

this information together in a cohesive whole, we wrap things up by creating a (semicapable) paint-

ing application.


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   1798   1799   1800   1801   1802   1803   1804   1805   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish