C# 0 The Complete Reference


Two Ways to Write a Form-Based Windows Application



Download 4,07 Mb.
Pdf ko'rish
bet1049/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   1045   1046   1047   1048   1049   1050   1051   1052   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

Two Ways to Write a Form-Based Windows Application

Before we begin, an important point needs to be made. Visual Studio includes a sophisticated 

set of design tools that automate much of the process of creating a Windows application. 

Using these tools, you can visually construct and position the various controls and menus 

used by your application. Visual Studio will also “rough in” the classes and methods that 

are needed for each feature. Frankly, using the Visual Studio design tools are a good choice 

for creating most real-world Windows applications. However, there is no requirement that 

you use those tools. You can also create a Windows program by using a text editor and then 

compiling it, just like you can do for console-based applications.

Because this book is about C#, not Visual Studio, and because the Windows programs 

contained in this chapter are quite short, all programs will be shown in a form in which they 

can be entered using a text editor. However, the general structure, design, and organization 

of the programs is the same as that created by the design tools. Thus, the material in this 

chapter applies to either approach.



How Windows Interacts with the User

The first thing that you must learn about Windows programming is how the user and 

Windows interact because this defines the architecture that all Windows programs share. 

This interaction is fundamentally different from the console-based programs shown in the 

other parts of this book. When you write a console program, it is your program that initiates 

interaction with the operating system. For example, it is the program that requests such 

www.freepdf-books.com



Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   1045   1046   1047   1048   1049   1050   1051   1052   ...   1096




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