“FAMILY PARK” oilaviy madaniy xordiq chiqarish markazi faoliyatini avtomatlashtiruvchi ilova hosil qilish

      Mavzu: “FAMILY PARK” oilaviy madaniy xordiq chiqarish markazi faoliyatini
avtomatlashtiruvchi ilova hosil qilish.
                                            REJA:
................................................................................................................................... 2
................................................................................................................................... 2
 KIRISH ..................................................................................................................... 3
ASOSIY QISM .......................................................................................................... 4
Micrasoft visual studio .............................................................................................. 4
Ma’lumotlarga ishlov berish komponentasi BUTTON KOMPONENTASI ............ 6
TEXTBOX XOSSALARI ....................................................................................... 11
  FAMILY PARK oilaviy madaniy xordiq chiqarish markazini avtomatlashtiruvchi
ilovaning umumiy ko`rinishi. .......................................................................................... 12
 XULOSA ................................................................................................................ 44
FOYDALANILGAN ADABIYOTLAR ................................................................. 45                                                                           
                                                                        
2      KIRISH
Bugungi kunga kelib butun dunyo miqyosida fan va texnologiyalar sohasida ulkan
o'zgarishlar   sodir   bo’lmoqda.   Bu   o’zgarishlar   bevosita   axborot   texnologiyalarining
taraqqiyoti   bilan   bog’liqdir.   Aynan   axborot   texnologiyalari     sohasidagi   zamonaviy
muhandislar   faoliyati   bilan   bog’liq   o’zgarishlar,   oliy   texnik   ta’lim   tizimida   olib
borilayotgan   islohotlar,   bo’lajak   muhandis   kadrlarga   qo’yiladigan   talablarning   oshishi
mazkur   sohada   tayyorlanayotgan   talabalarning   kasbiy   kompetentligini   shakllantirish
zaruriyatini   keltirib   chiqaradi.   Axborot   texnologiyalari   iqtisodiyotning   barcha
tarmoqlariga   kirib   borgan   va   shu   sohaning   rivojlanishiga   o’z   hissasini   qo’shib
kelayotgan bir vaqtda, aynan mazkur yo’nalishlarga bog’liq axborot texnologiyalarining
tadbiqi   alohida   fan   sifatida   vujudga   kelmoqda.   Bu   esa   axborot   texnologiyalari   fani
sohasi   ko’lamining   kengayishiga   olib   keladi.   Biz   hohlaymizmi   yuqmi   lekin   hayotimiz
mobaynida   tibbiy   xizmatdan   foydalanamiz.   Biz   shifoxonalarga   uzundan-   uzun
navbztlarni   oldini   olish   tez   oson   va   vaqtni   tejash   uchun   ushbu   dasturni   tuzishga   qaror
qildik.   Dasturimiz   “Shifoxona”   sodda   elektron   ilovasini   yarating.   Ilovada   bemorlar
ro’yxati,   kasallik   tarixi,   shifokorlar   haqida   ma’lumotlar   saqlansin.   Ma’lumotni   izlash,
o’chirish, tahrirlash, qo’shish imkoniyatlari mavjud bo’lsin. Shu kabi shartlarni bajarish
ga   muljanlanga   dasturni   obeyektga   yunaltirilgan   dasturlash   Vizula   Studiyo   yordamida
yaratishga   erishdik.   Dasturni   komyuterimizga   o`rnatib   Form   oynasida   kerakli
kompponentalarni   joylab   bir   nechta   oynalarni   yaratmi.   Bu   oynalar.   Ruyxatdan   utish,
tizimga kirish,  bermorlar  ruyxati  ,  kasallik  tarixi,  statistika  ,  shiofokorlar  ruyxati,  kabi
oynalarni   hosil   qilamiz   va   bir   birlari   bilan   bog`lab   navbatlarini   belgilab   bermiz,   Kod
qismida   esa   biz   kerakli   kodlarni   yozish   va   vazifalarini   belgilab   berish   orqali
dasturimizni ishlash faoliyatiga qadar dizayn qismi bilan ham ishlash ranglar ranglashn
va dasturimiz hamma uchun tushunarli bo`lishi uchun soddaroq ko`rinishiga keltiramiz.
Dasturimiz     odamlarga   foyda   keltirdigan   masofadn   turib   tibbiy   xizmatlardan
foydalanishlari.   Kerkli   vaqtda   shifokorlarga   bog`lanib   uzini   qiynab   turgan   kasliklari
haqida gapirib kerakli bulgan maslahatlarni olishlari ham mumkin bo`ladi. Dasturimizni
ushbu qilingan ishlarimiz to`g`risida keying sahifalarda batafsil to`xtalib utamiz.
3 ASOSIY QISM
Micrasoft visual studio
Ushbu   integrallashgan   muhitning   shu   vaqtga   qadar   bir   qancha   versiyalari   taqdim
etilgan. Quyida ular bilan tanishib chiqamiz.  
Microsoft   Visual  Studio   –   Microsoft   mahsuloti  bo’lib,  dasturiy  ta’minot  yaratish
uchun   integrallashgan   muhitni   va   boshqa   instrumentlar   qatorini   taqdim   etadi.   Ushbu
mahsulot konsolli ilovalar, grafik intefeys bilan ishlovchi ilovalar yaratish imkoniyatini
beradi,   Windows Forms   texnologiyasi qo’llagan holda websaytlar, web-ilovalar, web-
xizmatlar,   turli   xil   platformalar   kodlarini   boshqaruvchi   Windows,   Windows   Mobile,
Windows   CE,   .NET   Framework,   Xbox,   Windows   Phone,   .NET   Compact
Framework  va  Silverlight larni qo’llaydi.  
 
 Tipi  – Integrallash ishlab chiqaruvchi muhit 
 Ishlab chiqaruvchi  – Microsoft 
 Dasturlash tillari  – C++ va C# 
 Operatsion tizim  – Windows 
 Interfeys til i – xitoy, ingliz, fransuz, portugal, nemis, italyan, yapon, koreys,
ispan , rus tillari 
 Oxirgi versiya  – Visual Studio 2015 (20-iyul 2015-yil) 
 Litsenziya  – foydalanuvchi bilan kelishuvi asosida 
 Sayt  –     www.visualstudio.com         
 
Komponentlari.   Visual   Studio   quyidagi   bitta   yoki   bir   qancha   komponentlarni
qo’llaydi: 
 
• Visual Basic .NET  – u Visual Basic asosida paydo bo’lgan 
• Visual C++ 
• Visual C# 
• Visual F#  (Bu Visual Studio 2010 dan boshlab ishlatiladi) 
 
Boshqa variantlarni quyidagilarni yoqish orqali yetkazib berish mumkin: Microsoft
SQL   Server   yoki   Microsoft   SQL   Server   Express   Visual   Studioning   oldingi   tarkibiga
ham mahsulotlar kiritilgan: 
 
• Visual InterDev  
• Visual J++ 
• Visual J# 
• Visual FoxPro 
• Visual Source Safe  – fayl-server tizimini boshqarish versiyasi 
 
4 Versiyalari.   Visual Studio 4.0  ning dastlabki versiyasida Visual Basic 3, Visual C+
+, Visual FoxPro va Source Safe ishlab chiqaruvchi muhitlarini mustaqil paket sifatida
yetkazib berilgan. 
Visual  Studio  97.  Visual  Studio  97   –  Visual  Studioning  birinchi  ishlab   chiqilgan
versiyasi hisoblanib, turli muhitlarda dasturiy ta’minot ishlab chiqish uchun ilk bora bir
joyda to’plangan. U ikki xil versiyada chiqarilgan –  Professional  hamda  Enterprise  va
ular   Visual Basic 5.0, Visual C++ 5.0, Visual J++ 1.1, Visual FoxPro 5.0  va ilk bora
ASP ishlab chiqarish muhiti – Visual InterDev ni joylashtirdi. 
Microsoft bu   versiyasida ilk bora ko’plab tillarni: Visual C++, Visual J++, Visual
InterDev va MSDN ni bir muhitda qo’llashga urinib ko’rdi va u Developer Studio deb
nomlandi.   Visual   FoxPro   va   Visual   Basic lar   alohida   ishlab   chiqarish   muhiti   sifatida
ishlatildi. 
Visual   Studio   6.0   (1998).   Visual   Studio   6.0   –   Windows   9x   platformasida
ishlaydigan   Visual   Studioning   eng   oxirgi   versiyasi.   Avvalgidek,   ommaviy   bo’lgan
Visual   Basic   muhitidan   foydalanildi.   Ushbu   versiyadan   Microsoftning   Windows
platformasi ilovalari uchun .NET paydo bo’ldi.  
Visual   Studio   .NET   (2002).   Visual   Studio   .NET   ( Kodli   nomi   Rainier,   ichki
versiyasi 7.0) – 2002-yil fevralda ishlab chiqarilgan (.NET Framework 1.0ni qo’llaydi).
Visual Studio .NET Service Pack 1 uchun 2002-yil martida ishlab chiqildi. 
Visual Studio .NET 2003.   Visual Studio .NET (2003)   (Kodli nomi   Everett , ichki
versiya   7.1)   –   2003   yilda   ishlab   chiqarilgan   ( Framework   1.1   qo’llaydi).   Microsoft
2005-yilning   aprelida   maxsus   muhit   ishlab   chiqarilganini   e’lon   qildi,   uning   nomi
Microsoft   Visual   Studio   .NET   Professional   Special   Edition   deb   ataldi.   Bu   maxsus
ishlab   chiqarilgan   muhit   Microsoft   Visual   Studio   .NET   2003   Professional   Editionga
DTning   serverli   komplektini   va   boshqa   instrumentlarni   qo’shadi   (bu   qismlarga
operatsion   tizimlar:   Windows   Server   2003   Standard   Edition   va   SQL   Server   2000
Developer   Editionlar   kiradi).   Muhitni   bunday   ko’rinishda   rag’batlantirish   ishlab
chiqarishning   yangi   bosqichiga   ko’tarilishiga   olib   keldi   va   Microsoft   boshqalar   bilan
raqobatga kirisha oladigan DT yaratuvchini ishlab chiqdi.  
Visual   Studio   .NET   2003   Service   Pack   1   uchun   2006-yil   13-sentabrda   ishlab
chiqarilgan.  
Visual Studio 2005.   Visual Studio 2005 (kodli nomi Whidbey, ichki versiyasi 8.0)
–  2005-yil  oktabrning  oxirida  ishlab   chiqarilgan   (.NET  Framework  2.0   ni   qo’llaydi).
Windows 2000 da ishlatiladigan eng so’nggi rasmiy versiya. 2005-yil noyabr boshlarida
ham bir qancha seriyadagi  mahsulotlarni  Express  tahririda ishlab chiqildi:  Visual  C++
2005 Express, Visual Studio Basic 2005 Express, Visual C# 2005 Express va boshqalar.
2006-yil   19-aprelda   Express   tahriri   bepul   qilib   belgilandi.   VS2005   Service   Pack   1
uchun va barcha Express tahriri 2006-yilning 14-dekabrida chiqarilgan. Windows Vista
bilan birgalikda muammolarni hal qiladigan, SP1 uchun qo’shimcha patch 2007-yilning
6-martida ishlab chiqarilgan.  
Visual   Studio   2008.   Visual   Studio   2008   (kodli   nomi   Orcas,   ichki   versiyasi   9.0)   –
2007-yil 19-noyabrda, bir vaqtning o’zida .NET Framework 3.5 bilan birgalikda ishlab
chiqarilgan.     Windows   Vista   OSi,   Microsoft   Office   2007   va   web-ilovalarga   yaratish
uchun mo’ljallangan (XP bilan birgalikda). LINQni qo’llagan holda C# va 
5 Visual Basic tillarining yangi versiyalari ishlatilgan. J# Visual Studioga kiritilmadi.
2008-yilning 28-oktabrida birinchi marta versiyaga rus tili kiritildi.  
Visual   Studio   2010.   Visual   Studio   2010   (kodli   nomi   Hawaii ,   Ultimate   uchun   –
Rosario ,   ichki   versiya   10.0)   -     .NET   Framework   4.0   bilan   birgalikda   2010-yil
12aprelda   yaratilgan.   Visual   Studio   C#   4.0   va   Visual   Basic   .NET   10.0   ni,   oldingi
versiyalarida yo’q bo’lgan F# tilini qo’llaydi. 
Visual Studio 2012. Visual Studio 2012   -   bu versiya ham 2010 yildagi tahrirdan
tarqalgan, Visual Studio 2012 Expressga qilingan o’zgarishlar – barcha dasturlash tillari
o’rnatildi,   oldindan   mavjud   bo’lganlariga   (Visual   Basic   2010   Express   va   Visual   C#
2010   Expresslarga)   alohida   paket   sifatida   beshta   muhim   versiya :   Visual   Studio
Express 2012 Web, Visual Studio Express 2012 Windows 8, Visual Studio Express
2012   Windows   Desktop,   Visual   Studio   Express   2012   Windows   Phone     va   Visual
Studio Express Team Foundation Server Express 
2012   lar   qo’shildi.   Bu   versiyalarning   har   biri   alohida   ilova   sifatida   tarqatiladi.
Visual   Studio   Express   2012   Windows   8   Windows   Store   uchun   Modern-interfeysidagi
ilovalarga ishlov berishga imkonbersa,  Visual  Studio Express  2012 Windows Desktop
esa Ishchi Stol uchun ilovalarga “klassik” ishlov berishga imkon beradi. Visual Studio
2012 yordami bilan C++ da faqat Windows 7 SP1 va Windows 8 lar uchun ilovalarga
ishlov berish mumkin. Buni to’g’rilash uchun, ilovani kompilyatsiya qilishda Windows
XP uchun ishga yuritish kerak.       
Visual   Studio   2013.   Visual   Studio   2013   2013-yil   17-oktabrda   .NET   4.5.1   bilan
birgalikda   ishga   tushirilgan.   Biz   ushbu   kitobda   ushbu   versiya   yordamida   kerakli
ilovalarni   yaratishni   ko’rib   chiqamiz   va   uning   imkoniyatlari   haqida   to’liqroq   keyin
to’xtalamiz.  
Visual   Studio   2015.   2014-yilning   12-noyabrida   mahsulotning   qat’iy   varianti
sifatida   “Visual   Studio   2015”   ni   qabul   qildi.   Visual   Studio   2015   uch   tahrirni   taqdim
etdi:   bepul   hisoblangan   Community   Edition   –   barcha   Express   versiyalari,   pullik
hisoblangan kichik loyihalar yaratish uchun  Professional Edition  hamda katta loyihalar
uchun   Enterprise   Edition .   Birinchi   CTP   2014-yilning   2-iyunida   ishlab   chiqilgan,
keyinroq 2015-yilning 29-aprelida  Release Candidate  ishlab chiqildi.  
Yuqorida   biz   Visual   Studioning   bir   qancha   versiyalarini   ko’rib   o’tdik   va   e’tibor
berdikki,   ularning   har   biri   qandaydir   OSning   turlariga   bog’liq   ravishda   ishalaydi.
Shunday   ekan,   eng   avvalo,   siz   ulardan   qay   birini   tanlashingiz,   kompyuteringizning
OSiga,   uning   ichki   qurilmalarining   xotirasiga   bog’liq   bo’ladi.   Siz   bu   versiyalarni
Microsoftning   sayti   bo’lmish   www.microsoft.com         dan   uning   litsenziyalangan
versiyasini   ko’chirib   olishingiz   mumkin.   Shuni   aytib   o’tish   kerakki,   ba’zi   saytlarda
uning   noqonuniy   versiyalari   (“qaroqchi   versiyalar”)   ham   uchrab   turadi.   Bu   paketlar
to’liq   holda   bo’lmaydi,   balki   ishlashida   ham   muammolari   bo’lishi   mumkin.   Shuning
uchun faqatgina rasmiy nusxasidan foydalangan ma’qul.    
                           Dasturimizda fodalanilgan komponentalar .
Ma’lumotlarga ishlov berish komponentasi BUTTON KOMPONENTASI
Ushbu   komponenta   komponentalarning   Стандартные   элементы   управления
bo’limida   joylashgan.   Bu   komponentada   formada   sichqoncha   tugmasi   yordamida
6 bosiladigan   “tugma”   vazifasini   bajaradi.   Button   komponentasi   bir   qancha   xossalarga
ega. Uning ko’rinishi 3.1-rasmda keltirilgan. 
  BUTTON XOSSALARI 
Button ning   barcha   xossalari   Bu   yerdagi   ko’plab   xossalar   bilan   biz   “Formaning
xossalari” mavzusida allaqachon tanishib ulgurdik.  
Bizga tanish bo’lmagan xossalardan ba’zilarini ko’rib chiqamiz: 
Anchor   –   komponentaning   pozitsiyani   mustahkamlashni   aniqlaydi.   Agar   siz
formada   shu   ko’rinishida   shakllantirgan   bo’lsangiz,   ilovadan   foydalanish   rejimida
foydalanuvchi   formaning   o’lchamlarini   o’zgartirganda,   komponenta   ham   sizning
formangizda o’z pozitsiyasini o’zgartirgan holda paydo bo’ladi.  Anchor  xossasi o’zaro
AutoSize  ta’sirida yuzaga keladi.  
AutoEllipsis   –   komponentaning   o’lchami   kichik   bo’lib,   unga   yozilgan   matn   esa
uzun bo’lsa, u oxirida ko’p nuqta shaklida komponenta ustida paydo bo’ladi. Mana shu
holatlarda   (ilovadan   foydalanish   rejimida)   komponenta   nomining   to’liq   ko’rinishi
haqidagi   ma’lumotni   foydalanuvchi   yetkazish   uchun   ushbu   xossa   qo’llaniladi.   Agar
uning   true   va   AutoSize   xossasining   qiymati   false   bo’lsa,   bu   haqida   xabar   yetkazish
mumkin.  Buni quyidagi 3.3-rasmda to’liqroq ko’rish mumkin. 
   
 
 
73.2 - rasm .   BUTTON xossalari    
 
DialogResult –  modal rejimida ochilgan formani yopishni ta’minlash uchun xizmat
qiladi. Uning qiymatlari berilgan ro’yxatdan tanlanadi ( q. 1-bo’lim , 
“Formaning metodlari”)    
      Dock   –   komponentani   formaning   turli   tomonlari   bo’yicha,   yoki   butun   sathi
bo’yicha burchak yoki markaz tarafiga joylashtirish. Agar bunda boshqa komponentalar
ham   mavjud   bo’lsa,   u   holda   bu   komponentalar   uning   ustiga   joylashib   qoladi.   Bu
xossaning   qiymatini   tanlash   uchun,   komponenta   belgilanib,   ro’yxatdagi   to’g’ri
to’rtburchaklardan   biri   tanlanadi.   Agar   ( none )   qiymati   tanlansa,   komponenta   qanday
joylashtirilgan   bo’lsa,   shu   holatda   qoladi.   Uning   qiymatlari   natijalarini   ko’rishimiz
mumkin (2.4-rasm).    
FlatAppearance –  bu xossadan foydalanish uchun,  FlatStyle  xossasining qiymatini
Flat   deb   belgilash   kerak.   Bu   xossa   o’zining   bir   qancha   ichki   xossalar   ega   bo’lib,
ularning   barchasini   tugmani   bezash   uchun   ranglar   bilan   ishlashni   anglatadi.     Ular
quyidagilar: 
1) BorderColor  – komponentaning chegara rangini aniqlaydi 
2) BorderSize  – komponentaning chegarasi qalinligini aniqlaydi 
8 2.3 - rasm .   AutoEllipsis xossasi   
2.4 - rasm .   Dock xossasi    3) MouseDownBackColor   -     komponentaning   sichqoncha   kursori   bosilmagan
holati 
4) MouseOverBackColor  – komponentaning sichqoncha kursori bosilgan holati
FlatStyle   –   tugmaning   stilini   tanlaydi.   Stil   keltirilgan   ro’yxatdan   birining   qiymati
orqali ifodalanadi.  
Image   –   tugmachaga   rasm   joylashtirish.   Faqat   bu   holat   FlatStyle   xossasi   qiymati
System   bo’lmasligi kerak.      
ImageAlign –   joylashtirilgan rasmning tugmachaning qaysi tarafida 
joylashishi aniqlash uchun ishlatiladi. Keltirilgan qiymatlar ro’yxatida bir qancha   
to’g’ri to’rtburchak shakllari bo’lib, ular birini tanlash orqali rasmning o’rnini 
aniqlash mumkin. 
ImageIndex   –   ushbu   xossa   bilan   tanishishdan   avval   ImageList   (bu   komponenta
bilan   keyinroq   tanishamiz)   komponentasi   bilan   tanishish   lozim.   Bu   komponentaning
rasmlar ro’yxatida joylashgan bir  qancha ramslardan birini tanlash imkoniyatini  ushbu
xossa   aniqlaydi.   Buning   uchun   BUTTON   komponentasining   ImageList   xossasidan
kerakli komponenta tanlanadi. ImageIndex esa shu komponentaning tasvirlar ro’yxatini
chiqaradi   (3.5-rasm) . Biz esa ushbu ro’yxatdagi elementlardan birini tanlashimiz kerak
bo’ladi.  
TabIndex   –   bu   xossa   dasturlash   muhitiga   har   bir   komponentani   tartib   bilan
konteynerga   joylashtiradi,   masalan,   formaga   (biz   hozircha   formalardan   boshqa
konteynerlar   bilan   tanish   emasmiz).   Bu   nimani   anglatadi?   Ma’lumki,   ko’plab   ilovalar
bilan   ishlaganimizda   tugmadan-tugmaga   o’tishimiz   <Tab>   klavishidan   foydalanamiz.
Har   bir   <Tab>   klavishini   bosganimizda   ular   tugmadan   tugmaga   ketma-ket   ravishda
o’tadi.   Mana   shu   tartibning   indeksini   demak   biz   aynan   shu   xossaning   qiymatiga
joylashtirishimiz mumkin. 
TabStop   –   < Tab >   klavishi   bosilganda   aynan   shu   tugma   tashlab   o’tiladi.   Buning
uchun uning xossasi  false  qiymatini qabul qilgan bo’lishi kerak. 
TextImageRelation   –   rasm   va   matn   o’rtasidagi   o’zaro   munosabatni   ifodalaydi.
(Matnning rasm ustida joylashishi, ostida joylashishi yoki yonida va boshqa holatlar). 
UseMnemonic   –   agar   komponenta   true   qiymatini   qabul   qilsa,   Text   xossasining
qiymatidagi   turli   xil   simvollarni   ishlatish   mumkin   bo’ladi   (bu   simvollar   orqali
dasturning ichki qismiga ta’sir ko’rsatish mumkin, u haqida biroz keyin so’z yuritamiz),
aks holda,  false  qiymatini qabul qilsa, oddiy matn sifatida ishlatiladi. 
Jimlik bo’yicha  true  qiymatini qabul qiladi. 
UseVisualStyleBackColor   –   Komponenta   foni   rangi   uchun   visual   stildan
foydalanish   imkoniyati.   Bunday   stil   tizimda   o’ziga   xos   ahamiyatga   ega.   Masalan,
komponentaning   rangi   va   shriftini   aniqlash   stili.     Bu   xossa   sizning   ilovangiz   intefeysi
bilan paramterlar koordinatsiyasini  ko’rsatish imkonini beradi.  
9 Ma’lumotlarni formada tasvirlash va kiritish komponentalari   LABEL
KOMPONENTASI
 
Label   ( Nishon )   komponentasi   ham   Стандартные   элементы   управления
bo’limida   joylashgan.   Bu   komponenta   o’zining   maydonida   matnlar   va   tasvirlar
joylashtirish   imkoniyatini   beradi,   bu   matnni   ilovadan   foydalanish   rejimida   o’zgartirib
bo’lmaydi.  
 
3.9-rasm .  Kirish kaliti o’rnatilgan holat  
 
Formadagi   boshqa  obyektlarga yoki   bosh  konteynerga (bu yerda  konteyner  nishon
sifatida) identifikatsiyalash uchun komponentadan foydalanamiz, biroq kiritish fokusini
olish mumkin emas, <Alt> klavishi bilan birgalikda kirish kaliti deb ataluvchi klavisha
bosilgandan esa, boshqa komponentaning fokusini o’rnatish mumkin.  
Qanday   qilib   kirish   kalitini   o’rnatish   mumkin?   Komponentalardan   biri   tanlanadi,
TabIndex   xossasining   qiymati  birligi   kamaytiriladi,  uning qiymati   nishonning  xossasi
qiymati bilan bir xil bo’ladi, Undan so’ng, nishonning 
UseMnemonic   xossasiga   true   qiymatini   beramiz.   Kirish   kaliti   o’rnatishda
<Alt>+<belgi> ko’rinishida bo’lishini e’tiborga olishimiz kerak, ya’ni <Alt> klavishasi
bilan   birgalikda   qaysi   tugmani   bossak   bu   nishon   faollashishini   aniqlashimiz   mumkin.
Buning uchun &  (ampersand) belgisidan keyingi  belgi  shu vazifani bajaradi. Masalan,
Text  xosasi qiymati “Nishon &3” bo’lsa, demak foydalanish rejimida “Nishon  3 ” matni
paydo   bo’ladi   (3.9-rasm).   Demak   siz   bu   nishonni   <Alt>+3   tumgasini   bosih   orqali
faollatirishingiz mumkin bo’ladi. Bu kirish kaliti sifatida faqat sonlar emas balki turli hil
harflar ham ximat qilishi mumkin.  
Bu   kirish   kaliti   qachon   kerak?   Bir   misol   keltiramiz.   Agar   kimda   kim   Word   matn
muharri bilan ishlagan bo’lsa, uning menyulariga tezkor murojaat 
                                                    
10                                                   
   TEXTBOX  
KOMPONENTASI  
 
TextBox   –   bir   yoki   ko’p
qatorli   ma’lumotlarni
kiritish/chiqarishni
ta’minlovchi   maydonni
hosil   qilish.   Uning
ko’rinishi   3.12-ramda
keltirilgan. 
 
 
 
TEXTBOX XOSSALARI 
 
Uning xossalari to’liqligicha quyidagichadir (3.13-rasm). 
 
 
3.13-rasm .  TextBox    xossalari  
 
 
 
 
 
 
 
 
 
 
 
  
Ulardan ba’zilarini ko’rib chiqaylik: 
AcceptsReturn   –   <Enter>   tugmasini   bosilishi   natijasida   kopsatrli   rejimda
komponentada   yangi   satrli   qator   hosil   qilish   ( true   qiymatini   qabul   qilgan   holda)   yoki
formada jimlik bo’yicha tugmani aktivlashtirish ( false ) vazifasini bajaradi. 
11   
 
 
 
  1 - satrli maydon  
 
Ko’p satrli maydon . Bu yerda 
MultiLine ga belgicha qo’yilishi kerak.  
3.12 - rasm .   TextBox 
komponentasi             FAMILY PARK oilaviy madaniy xordiq chiqarish markazini
avtomatlashtiruvchi ilovaning  umumiy ko`rinishi.  
 
Dasturning birinchi ishga tushgandagi holati
Dastur qismining kod qismi :
  #pragma   once
namespace  FAMILIYPARKK {
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
using   namespace  System::Data;
using   namespace  System::Drawing;
public   ref   class  Form1 :  public  System::Windows::Forms::Form
{
public :
Form1( void )
{
InitializeComponent();
12 }
protected :
~Form1()
{
if  (components)
{
delete  components;
}
}
private : System::Windows::Forms::Label^  label1;
private : System::Windows::Forms::ListBox^  LOGIN;
private : System::Windows::Forms::ListBox^  EMAIL;
private : System::Windows::Forms::ListBox^  PAROL;
private : System::Windows::Forms::TextBox^  textBox1;
private : System::Windows::Forms::TextBox^  textBox2;
private : System::Windows::Forms::Button^  button1;
private : System::Windows::Forms::Button^  button2;
protected : 
                    private :
System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = 
( gcnew  System::ComponentModel::ComponentResourceManager(Form1:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->LOGIN = ( gcnew  System::Windows::Forms::ListBox());
this ->EMAIL = ( gcnew  System::Windows::Forms::ListBox());
this ->PAROL = ( gcnew  System::Windows::Forms::ListBox());
this ->textBox1 = ( gcnew  System::Windows::Forms::TextBox());
this ->textBox2 = ( gcnew  System::Windows::Forms::TextBox());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->button2 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 14.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(69, 43);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(624, 24);
this ->label1->TabIndex = 0;
this ->label1->Text = L "FAMILY PARK OILAVIY MADANIY XORDIQ CHIQARISH
MARKAZI" ;
// 
// LOGIN
// 
this ->LOGIN->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 11.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->LOGIN->FormattingEnabled =  true ;
this ->LOGIN->ItemHeight = 18;
this ->LOGIN->Location = System::Drawing::Point(248, 116);
13 this ->LOGIN->Name = L "LOGIN" ;
this ->LOGIN->Size = System::Drawing::Size(120, 22);
this ->LOGIN->TabIndex = 1;
// 
// EMAIL
// 
this ->EMAIL->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 11.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->EMAIL->FormattingEnabled =  true ;
this ->EMAIL->ItemHeight = 18;
this ->EMAIL->Location = System::Drawing::Point(149, 183);
this ->EMAIL->Name = L "EMAIL" ;
this ->EMAIL->Size = System::Drawing::Size(73, 22);
this ->EMAIL->TabIndex = 2;
// 
// PAROL
// 
this ->PAROL->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 11.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->PAROL->FormattingEnabled =  true ;
this ->PAROL->ItemHeight = 18;
this ->PAROL->Location = System::Drawing::Point(149, 241);
this ->PAROL->Name = L "PAROL" ;
this ->PAROL->Size = System::Drawing::Size(73, 22);
this ->PAROL->TabIndex = 3;
// 
// textBox1
// 
this ->textBox1->Location = System::Drawing::Point(257, 185);
this ->textBox1->Name = L "textBox1" ;
this ->textBox1->Size = System::Drawing::Size(244, 20);
this ->textBox1->TabIndex = 4;
// 
// textBox2
// 
this ->textBox2->Location = System::Drawing::Point(257, 243);
this ->textBox2->Name = L "textBox2" ;
this ->textBox2->Size = System::Drawing::Size(244, 20);
this ->textBox2->TabIndex = 5;
// 
// button1
// 
this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->Location = System::Drawing::Point(183, 323);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(83, 42);
this ->button1->TabIndex = 6;
this ->button1->Text = L "OK" ;
this ->button1->UseVisualStyleBackColor =  true ;
// 
// button2
// 
this ->button2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button2->Location = System::Drawing::Point(365, 323);
this ->button2->Name = L "button2" ;
this ->button2->Size = System::Drawing::Size(92, 38);
14 this ->button2->TabIndex = 7;
this ->button2->Text = L "CANCEL" ;
this ->button2->UseVisualStyleBackColor =  true ;
// 
// Form1
// 
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(738, 568);
this ->Controls->Add( this ->button2);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->textBox2);
this ->Controls->Add( this ->textBox1);
this ->Controls->Add( this ->PAROL);
this ->Controls->Add( this ->EMAIL);
this ->Controls->Add( this ->LOGIN);
this ->Controls->Add( this ->label1);
this ->Name = L "Form1" ;
this ->Text = L "Form1" ;
this ->Load +=  gcnew  System::EventHandler( this , &Form1::Form1_Load);
this ->ResumeLayout( false );
this ->PerformLayout();
}
#pragma   endregion
private : System::Void Form1_Load(System::Object^  sender, System::EventArgs^  
e) {
  }
};
}
15 Dasturni kod qismi:
#pragma   once
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
using   namespace  System::Data;
using   namespace  System::Drawing;
namespace  FAMILIYPARKK {
public   ref   class  FORM2 :  public  System::Windows::Forms::Form
{
public :
FORM2( void )
{
InitializeComponent();
}
protected :
~FORM2()
{
16 if  (components)
{
delete  components;
}
}
private : System::Windows::Forms::Label^  label1;
private : System::Windows::Forms::Label^  label2;
private : System::Windows::Forms::Button^  button1;
protected : 
private :
System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = 
( gcnew  System::ComponentModel::ComponentResourceManager(FORM2:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->label2 = ( gcnew  System::Windows::Forms::Label());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(69, 89);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(552, 20);
this ->label1->TabIndex = 0;
this ->label1->Text = L "FAMILY PARK ONLAYN BILET OLISH XIZMATIGA 
XUSH KELIBSZ" ;
// 
// label2
// 
this ->label2->AutoSize =  true ;
this ->label2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label2->Location = System::Drawing::Point(52, 230);
this ->label2->Name = L "label2" ;
this ->label2->Size = System::Drawing::Size(356, 20);
this ->label2->TabIndex = 1;
this ->label2->Text = L "BIZNING XIZMATLAR HAQIDA MA\'LUMOT" ;
// 
// button1
// 
this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 11.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->Location = System::Drawing::Point(473, 224);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(75, 33);
this ->button1->TabIndex = 2;
this ->button1->Text = L "KIRISH" ;
this ->button1->UseVisualStyleBackColor =  true ;
// 
17 // FORM2
// 
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(735, 577);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->label2);
this ->Controls->Add( this ->label1);
this ->Name = L "FORM2" ;
this ->Text = L "FORM2" ;
this ->Load +=  gcnew  System::EventHandler( this , &FORM2::FORM2_Load);
this ->ResumeLayout( false );
this ->PerformLayout();
}
#pragma   endregion
private : System::Void FORM2_Load(System::Object^  sender, System::EventArgs^  
e) {
  }
};
}
18 Dasturni kod qismi:
#pragma   once
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
using   namespace  System::Data;
using   namespace  System::Drawing;
namespace  FAMILIYPARKK {
public   ref   class  FAMILY3 :  public  System::Windows::Forms::Form
{
public :
FAMILY3( void )
{
InitializeComponent();
}
protected :
~FAMILY3()
{
if  (components)
{
delete  components;
19 }
}
private : System::Windows::Forms::Label^  label1;
private : System::Windows::Forms::ListBox^  ICEARENA;
private : System::Windows::Forms::ListBox^  KINOTEATR;
private : System::Windows::Forms::ListBox^  BOWLING;
private : System::Windows::Forms::ListBox^  XOKKEY;
private : System::Windows::Forms::Button^  button1;
private : System::Windows::Forms::Button^  button2;
private : System::Windows::Forms::Button^  button3;
private : System::Windows::Forms::Button^  button4;
protected : 
private :
System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = 
( gcnew  System::ComponentModel::ComponentResourceManager(FAMILY3:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->ICEARENA = ( gcnew  System::Windows::Forms::ListBox());
this ->KINOTEATR = ( gcnew  System::Windows::Forms::ListBox());
this ->BOWLING = ( gcnew  System::Windows::Forms::ListBox());
this ->XOKKEY = ( gcnew  System::Windows::Forms::ListBox());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->button2 = ( gcnew  System::Windows::Forms::Button());
this ->button3 = ( gcnew  System::Windows::Forms::Button());
this ->button4 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->BackColor = System::Drawing::Color::Beige;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(164, 53);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(356, 20);
this ->label1->TabIndex = 0;
this ->label1->Text = L "BIZNING XIZMATLAR HAQIDA MA\'LUMOT" ;
// 
// ICEARENA
// 
this ->ICEARENA->BackColor = System::Drawing::Color::Cyan;
this ->ICEARENA->Font = ( gcnew  System::Drawing::Font(L "Microsoft 
Sans Serif" , 12, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->ICEARENA->ForeColor = System::Drawing::Color::Black;
this ->ICEARENA->FormattingEnabled =  true ;
this ->ICEARENA->ItemHeight = 20;
this ->ICEARENA->Location = System::Drawing::Point(41, 122);
this ->ICEARENA->Name = L "ICEARENA" ;
this ->ICEARENA->Size = System::Drawing::Size(138, 44);
this ->ICEARENA->TabIndex = 1;
// 
// KINOTEATR
// 
this ->KINOTEATR->BackColor = System::Drawing::Color::Cyan;
20 this ->KINOTEATR->Font = ( gcnew  System::Drawing::Font(L "Microsoft 
Sans Serif" , 12, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->KINOTEATR->FormattingEnabled =  true ;
this ->KINOTEATR->ItemHeight = 20;
this ->KINOTEATR->Location = System::Drawing::Point(51, 300);
this ->KINOTEATR->Name = L "KINOTEATR" ;
this ->KINOTEATR->Size = System::Drawing::Size(128, 44);
this ->KINOTEATR->TabIndex = 2;
// 
// BOWLING
// 
this ->BOWLING->BackColor = System::Drawing::Color::Cyan;
this ->BOWLING->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->BOWLING->ForeColor = System::Drawing::Color::Black;
this ->BOWLING->FormattingEnabled =  true ;
this ->BOWLING->ItemHeight = 20;
this ->BOWLING->Location = System::Drawing::Point(382, 122);
this ->BOWLING->Name = L "BOWLING" ;
this ->BOWLING->Size = System::Drawing::Size(138, 44);
this ->BOWLING->TabIndex = 3;
// 
// XOKKEY
// 
this ->XOKKEY->BackColor = System::Drawing::Color::Cyan;
this ->XOKKEY->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->XOKKEY->FormattingEnabled =  true ;
this ->XOKKEY->ItemHeight = 20;
this ->XOKKEY->Location = System::Drawing::Point(392, 300);
this ->XOKKEY->Name = L "XOKKEY" ;
this ->XOKKEY->Size = System::Drawing::Size(128, 44);
this ->XOKKEY->TabIndex = 4;
// 
// button1
// 
this ->button1->BackColor = System::Drawing::Color::Lime;
this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->ForeColor = System::Drawing::Color::Black;
this ->button1->Location = System::Drawing::Point(222, 122);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(69, 47);
this ->button1->TabIndex = 5;
this ->button1->Text = L "KIRISH" ;
this ->button1->UseVisualStyleBackColor =  false ;
// 
// button2
// 
this ->button2->BackColor = System::Drawing::Color::Lime;
this ->button2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button2->ForeColor = System::Drawing::Color::Black;
this ->button2->Location = System::Drawing::Point(222, 297);
this ->button2->Name = L "button2" ;
this ->button2->Size = System::Drawing::Size(69, 47);
this ->button2->TabIndex = 6;
this ->button2->Text = L "KIRISH" ;
21 this ->button2->UseVisualStyleBackColor =  false ;
this ->button2->Click +=  gcnew  System::EventHandler( this , 
&FAMILY3::button2_Click);
// 
// button3
// 
this ->button3->BackColor = System::Drawing::Color::Lime;
this ->button3->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button3->ForeColor = System::Drawing::Color::Black;
this ->button3->Location = System::Drawing::Point(582, 119);
this ->button3->Name = L "button3" ;
this ->button3->Size = System::Drawing::Size(69, 47);
this ->button3->TabIndex = 7;
this ->button3->Text = L "KIRISH" ;
this ->button3->UseVisualStyleBackColor =  false ;
this ->button3->Click +=  gcnew  System::EventHandler( this , 
&FAMILY3::button3_Click);
// 
// button4
// 
this ->button4->BackColor = System::Drawing::Color::Lime;
this ->button4->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button4->ForeColor = System::Drawing::Color::Black;
this ->button4->Location = System::Drawing::Point(569, 297);
this ->button4->Name = L "button4" ;
this ->button4->Size = System::Drawing::Size(69, 47);
this ->button4->TabIndex = 8;
this ->button4->Text = L "KIRISH" ;
this ->button4->UseVisualStyleBackColor =  false ;
this ->button4->Click +=  gcnew  System::EventHandler( this , 
&FAMILY3::button4_Click);
// 
// FAMILY3
// 
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackColor = System::Drawing::Color::Yellow;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(901, 552);
this ->Controls->Add( this ->button4);
this ->Controls->Add( this ->button3);
this ->Controls->Add( this ->button2);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->XOKKEY);
this ->Controls->Add( this ->BOWLING);
this ->Controls->Add( this ->KINOTEATR);
this ->Controls->Add( this ->ICEARENA);
this ->Controls->Add( this ->label1);
this ->Name = L "FAMILY3" ;
this ->Text = L "FAMILY3" ;
this ->ResumeLayout( false );
this ->PerformLayout();
}
#pragma   endregion
private : System::Void button2_Click(System::Object^  sender, System::EventArgs^
e) {
22  }
private : System::Void button3_Click(System::Object^  sender, System::EventArgs^  e) {
 }
private : System::Void button4_Click(System::Object^  sender, System::EventArgs^  e) {
  }
}; }
Dasturning kod qismi:
#pragma   once
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
using   namespace  System::Data;
using   namespace  System::Drawing;
namespace  FAMILIYPARKK {
public   ref   class  FAMILY4 :  public  System::Windows::Forms::Form
{
public :
FAMILY4( void )
{
InitializeComponent();
}
23 protected :
~FAMILY4()
{
if  (components)
{
delete  components;
}
}
private : System::Windows::Forms::Label^  label1;
protected : 
private : System::Windows::Forms::Label^  label2;
private : System::Windows::Forms::Label^  label3;
private : System::Windows::Forms::Label^  label4;
private : System::Windows::Forms::TextBox^  textBox1;
private : System::Windows::Forms::Button^  button1;
private : System::Windows::Forms::Button^  button2;
private :
System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = 
( gcnew  System::ComponentModel::ComponentResourceManager(FAMILY4:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->label2 = ( gcnew  System::Windows::Forms::Label());
this ->label3 = ( gcnew  System::Windows::Forms::Label());
this ->label4 = ( gcnew  System::Windows::Forms::Label());
this ->textBox1 = ( gcnew  System::Windows::Forms::TextBox());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->button2 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->BackColor = System::Drawing::Color::Lime;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 20.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(283, 39);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(178, 31);
this ->label1->TabIndex = 0;
this ->label1->Text = L "ICE  ARENA" ;
// 
// label2
// 
this ->label2->AutoSize =  true ;
this ->label2->BackColor = 
System::Drawing::Color::FromArgb( static_cast <System::Int32>( static_cast <System::Byte>
(0)),  static_cast <System::Int32>( static_cast <System::Byte>(192)), 
static_cast <System::Int32>( static_cast <System::Byte>(192)));
this ->label2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label2->Location = System::Drawing::Point(133, 150);
this ->label2->Name = L "label2" ;
this ->label2->Size = System::Drawing::Size(150, 25);
this ->label2->TabIndex = 1;
this ->label2->Text = L "BILET NARXI" ;
// 
24 // label3
// 
this ->label3->AutoSize =  true ;
this ->label3->BackColor = System::Drawing::Color::Lime;
this ->label3->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label3->Location = System::Drawing::Point(455, 150);
this ->label3->Name = L "label3" ;
this ->label3->Size = System::Drawing::Size(77, 25);
this ->label3->TabIndex = 2;
this ->label3->Text = L "20000" ;
// 
// label4
// 
this ->label4->AutoSize =  true ;
this ->label4->BackColor = System::Drawing::Color::Cyan;
this ->label4->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label4->Location = System::Drawing::Point(26, 256);
this ->label4->Name = L "label4" ;
this ->label4->Size = System::Drawing::Size(343, 25);
this ->label4->TabIndex = 3;
this ->label4->Text = L "XARIDORLAR SONINI KIRITING" ;
// 
// textBox1
// 
this ->textBox1->Location = System::Drawing::Point(441, 262);
this ->textBox1->Name = L "textBox1" ;
this ->textBox1->Size = System::Drawing::Size(91, 20);
this ->textBox1->TabIndex = 4;
// 
// button1
// 
this ->button1->BackColor = System::Drawing::Color::Lime;
this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->Location = System::Drawing::Point(219, 350);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(64, 42);
this ->button1->TabIndex = 5;
this ->button1->Text = L "OK" ;
this ->button1->UseVisualStyleBackColor =  false ;
// 
// button2
// 
this ->button2->BackColor = System::Drawing::Color::Lime;
this ->button2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 11.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button2->Location = System::Drawing::Point(364, 352);
this ->button2->Name = L "button2" ;
this ->button2->Size = System::Drawing::Size(177, 42);
this ->button2->TabIndex = 6;
this ->button2->Text = L "ORQAGA QAYTISH" ;
this ->button2->UseVisualStyleBackColor =  false ;
// 
// FAMILY4
25 // 
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackColor = System::Drawing::Color::Lime;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(759, 585);
this ->Controls->Add( this ->button2);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->textBox1);
this ->Controls->Add( this ->label4);
this ->Controls->Add( this ->label3);
this ->Controls->Add( this ->label2);
this ->Controls->Add( this ->label1);
this ->Name = L "FAMILY4" ;
this ->Text = L "FAMILY4" ;
this ->Load +=  gcnew  System::EventHandler( this , 
&FAMILY4::FAMILY4_Load);
this ->ResumeLayout( false );
this ->PerformLayout();}
#pragma   endregion
private : System::Void FAMILY4_Load(System::Object^  sender, System::EventArgs^ 
e) {
  }};}
                               
26 Dasturning kod qismi:
#pragma   once
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
using   namespace  System::Data;
using   namespace  System::Drawing;
namespace  FAMILIYPARKK {
public   ref   class  HOKKEY :  public  System::Windows::Forms::Form
{
public :
HOKKEY( void )
{
InitializeComponent();
}
protected :
~HOKKEY()
{
if  (components)
{
delete  components;
}
}
private : System::Windows::Forms::Label^  label1;
private : System::Windows::Forms::Label^  label2;
27 private : System::Windows::Forms::Label^  label3;
private : System::Windows::Forms::Label^  label4;
private : System::Windows::Forms::TextBox^  textBox1;
private : System::Windows::Forms::Button^  button1;
private : System::Windows::Forms::Button^  button2;
protected : 
private :
System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = ( gcnew  
System::ComponentModel::ComponentResourceManager(HOKKEY:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->label2 = ( gcnew  System::Windows::Forms::Label());
this ->label3 = ( gcnew  System::Windows::Forms::Label());
this ->label4 = ( gcnew  System::Windows::Forms::Label());
this ->textBox1 = ( gcnew  System::Windows::Forms::TextBox());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->button2 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->BackColor = System::Drawing::Color::Lime;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 21.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(159, 30);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(140, 33);
this ->label1->TabIndex = 0;
this ->label1->Text = L "XOKKEY" ;
// 
// label2
// 
this ->label2->AutoSize =  true ;
this ->label2->BackColor = 
System::Drawing::Color::FromArgb( static_cast <System::Int32>( static_cast <System::Byte>
(0)),  static_cast <System::Int32>( static_cast <System::Byte>(192)), 
static_cast <System::Int32>( static_cast <System::Byte>(192)));
this ->label2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label2->Location = System::Drawing::Point(62, 132);
this ->label2->Name = L "label2" ;
this ->label2->Size = System::Drawing::Size(150, 25);
this ->label2->TabIndex = 2;
this ->label2->Text = L "BILET NARXI" ;
// 
// label3
// 
this ->label3->AutoSize =  true ;
this ->label3->BackColor = System::Drawing::Color::Lime;
this ->label3->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label3->Location = System::Drawing::Point(449, 132);
this ->label3->Name = L "label3" ;
this ->label3->Size = System::Drawing::Size(77, 25);
28 this ->label3->TabIndex = 3;
this ->label3->Text = L "40000" ;
// 
// label4
// 
this ->label4->AutoSize =  true ;
this ->label4->BackColor = System::Drawing::Color::Cyan;
this ->label4->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label4->Location = System::Drawing::Point(3, 234);
this ->label4->Name = L "label4" ;
this ->label4->Size = System::Drawing::Size(343, 25);
this ->label4->TabIndex = 4;
this ->label4->Text = L "XARIDORLAR SONINI KIRITING" ;
// 
// textBox1
// 
this ->textBox1->Location = System::Drawing::Point(435, 234);
this ->textBox1->Name = L "textBox1" ;
this ->textBox1->Size = System::Drawing::Size(91, 20);
this ->textBox1->TabIndex = 5;
// 
// button1
// 
this ->button1->BackColor = System::Drawing::Color::Lime;
this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->Location = System::Drawing::Point(203, 335);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(64, 42);
this ->button1->TabIndex = 6;
this ->button1->Text = L "OK" ;
this ->button1->UseVisualStyleBackColor =  false ;
// 
// button2
// 
this ->button2->BackColor = System::Drawing::Color::Lime;
this ->button2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 11.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button2->Location = System::Drawing::Point(349, 337);
this ->button2->Name = L "button2" ;
this ->button2->Size = System::Drawing::Size(177, 42);
this ->button2->TabIndex = 7;
this ->button2->Text = L "ORQAGA QAYTISH" ;
this ->button2->UseVisualStyleBackColor =  false ;
// 
// HOKKEY
// 
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(770, 585);
this ->Controls->Add( this ->button2);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->textBox1);
29 this ->Controls->Add( this ->label4);
this ->Controls->Add( this ->label3);
this ->Controls->Add( this ->label2);
this ->Controls->Add( this ->label1);
this ->Name = L "HOKKEY" ;
this ->Text = L "HOKKEY" ;
this ->Load +=  gcnew  System::EventHandler( this , 
&HOKKEY::HOKKEY_Load);
this ->ResumeLayout( false );
this ->PerformLayout();
}
#pragma   endregion
private : System::Void HOKKEY_Load(System::Object^  sender, System::EventArgs^  
e) {
  }
};
}
30 Dasturning kod qismi:
#pragma   once
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
using   namespace  System::Data;
using   namespace  System::Drawing;
namespace  FAMILIYPARKK {
public   ref   class  KINOTEATR :  public  System::Windows::Forms::Form
{
public :
KINOTEATR( void )
{
InitializeComponent();
}
protected :
~KINOTEATR()
{
if  (components)
{
delete  components;
}
}
private : System::Windows::Forms::Label^  label1;
31 private : System::Windows::Forms::Label^  label2;
private : System::Windows::Forms::Label^  label3;
private : System::Windows::Forms::Label^  label4;
private : System::Windows::Forms::TextBox^  textBox1;
private : System::Windows::Forms::Button^  button1;
private : System::Windows::Forms::Button^  button2;
protected : 
private :
System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = 
( gcnew  System::ComponentModel::ComponentResourceManager(KINOTEATR:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->label2 = ( gcnew  System::Windows::Forms::Label());
this ->label3 = ( gcnew  System::Windows::Forms::Label());
this ->label4 = ( gcnew  System::Windows::Forms::Label());
this ->textBox1 = ( gcnew  System::Windows::Forms::TextBox());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->button2 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->BackColor = System::Drawing::Color::Lime;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 26.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(220, 39);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(223, 39);
this ->label1->TabIndex = 0;
this ->label1->Text = L "KINOTEATR" ;
// 
// label2
// 
this ->label2->AutoSize =  true ;
this ->label2->BackColor = 
System::Drawing::Color::FromArgb( static_cast <System::Int32>( static_cast <System::Byte>
(0)),  static_cast <System::Int32>( static_cast <System::Byte>(192)), 
static_cast <System::Int32>( static_cast <System::Byte>(192)));
this ->label2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label2->Location = System::Drawing::Point(77, 140);
this ->label2->Name = L "label2" ;
this ->label2->Size = System::Drawing::Size(150, 25);
this ->label2->TabIndex = 3;
this ->label2->Text = L "BILET NARXI" ;
// 
// label3
// 
this ->label3->AutoSize =  true ;
this ->label3->BackColor = System::Drawing::Color::Lime;
this ->label3->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label3->Location = System::Drawing::Point(499, 140);
32 this ->label3->Name = L "label3" ;
this ->label3->Size = System::Drawing::Size(77, 25);
this ->label3->TabIndex = 4;
this ->label3->Text = L "50000" ;
// 
// label4
// 
this ->label4->AutoSize =  true ;
this ->label4->BackColor = System::Drawing::Color::Cyan;
this ->label4->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label4->Location = System::Drawing::Point(77, 260);
this ->label4->Name = L "label4" ;
this ->label4->Size = System::Drawing::Size(343, 25);
this ->label4->TabIndex = 5;
this ->label4->Text = L "XARIDORLAR SONINI KIRITING" ;
// 
// textBox1
// 
this ->textBox1->Location = System::Drawing::Point(485, 260);
this ->textBox1->Name = L "textBox1" ;
this ->textBox1->Size = System::Drawing::Size(91, 20);
this ->textBox1->TabIndex = 6;  
this ->button1->BackColor = System::Drawing::Color::Lime;
this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->Location = System::Drawing::Point(243, 350);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(64, 42);
this ->button1->TabIndex = 7;
this ->button1->Text = L "OK" ;
this ->button1->UseVisualStyleBackColor =  false ;  
this ->button2->BackColor = System::Drawing::Color::Lime;
this ->button2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 11.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button2->Location = System::Drawing::Point(399, 350);
this ->button2->Name = L "button2" ;
this ->button2->Size = System::Drawing::Size(177, 42);
this ->button2->TabIndex = 8;
this ->button2->Text = L "ORQAGA QAYTISH" ;
this ->button2->UseVisualStyleBackColor =  false ;
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(806, 568);
this ->Controls->Add( this ->button2);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->textBox1);
this ->Controls->Add( this ->label4);
this ->Controls->Add( this ->label3);
this ->Controls->Add( this ->label2);
this ->Controls->Add( this ->label1);
this ->Name = L "KINOTEATR" ;
this ->Text = L "KINOTEATR" ;
33 this ->Load +=  gcnew  System::EventHandler( this , 
&KINOTEATR::KINOTEATR_Load);
this ->ResumeLayout( false );
this ->PerformLayout();
}
#pragma   endregion
private : System::Void KINOTEATR_Load(System::Object^  sender, 
System::EventArgs^  e) {
  }
};
}
Dasturning kod qismi:
#pragma   once
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
using   namespace  System::Data;
using   namespace  System::Drawing;
namespace  FAMILIYPARKK {
public   ref   class  BOWLING :  public  System::Windows::Forms::Form
{
34 public :
BOWLING( void )
{
InitializeComponent();
}
               protected :
                  ~BOWLING()
{
if  (components)
{
delete  components;
}
}
private : System::Windows::Forms::Label^  label1;
private : System::Windows::Forms::Label^  label2;
private : System::Windows::Forms::Label^  label3;
private : System::Windows::Forms::Label^  label4;
private : System::Windows::Forms::TextBox^  textBox1;
private : System::Windows::Forms::Button^  button1;
private : System::Windows::Forms::Button^  button2;
protected : 
private :
System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = 
( gcnew  System::ComponentModel::ComponentResourceManager(BOWLING:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->label2 = ( gcnew  System::Windows::Forms::Label());
this ->label3 = ( gcnew  System::Windows::Forms::Label());
this ->label4 = ( gcnew  System::Windows::Forms::Label());
this ->textBox1 = ( gcnew  System::Windows::Forms::TextBox());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->button2 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->BackColor = System::Drawing::Color::Lime;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 26.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(254, 48);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(187, 39);
this ->label1->TabIndex = 1;
this ->label1->Text = L "BOWLING" ;
// 
// label2
// 
this ->label2->AutoSize =  true ;
this ->label2->BackColor = 
System::Drawing::Color::FromArgb( static_cast <System::Int32>( static_cast <System::Byte>
(0)),  static_cast <System::Int32>( static_cast <System::Byte>(192)), 
static_cast <System::Int32>( static_cast <System::Byte>(192)));
this ->label2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
35 this ->label2->Location = System::Drawing::Point(81, 148);
this ->label2->Name = L "label2" ;
this ->label2->Size = System::Drawing::Size(150, 25);
this ->label2->TabIndex = 4;
this ->label2->Text = L "BILET NARXI" ;
// 
// label3
// 
this ->label3->AutoSize =  true ;
this ->label3->BackColor = System::Drawing::Color::Lime;
this ->label3->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label3->Location = System::Drawing::Point(519, 148);
this ->label3->Name = L "label3" ;
this ->label3->Size = System::Drawing::Size(77, 25);
this ->label3->TabIndex = 5;
this ->label3->Text = L "50000" ;
// 
// label4
// 
this ->label4->AutoSize =  true ;
this ->label4->BackColor = System::Drawing::Color::Cyan;
this ->label4->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label4->Location = System::Drawing::Point(81, 265);
this ->label4->Name = L "label4" ;
this ->label4->Size = System::Drawing::Size(343, 25);
this ->label4->TabIndex = 6;
this ->label4->Text = L "XARIDORLAR SONINI KIRITING" ;
// 
// textBox1
// 
this ->textBox1->Location = System::Drawing::Point(505, 265);
this ->textBox1->Name = L "textBox1" ;
this ->textBox1->Size = System::Drawing::Size(91, 20);
this ->textBox1->TabIndex = 7;
// 
// button1
// 
this ->button1->BackColor = System::Drawing::Color::Lime;
this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->Location = System::Drawing::Point(274, 371);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(64, 42);
this ->button1->TabIndex = 8;
this ->button1->Text = L "OK" ;
this ->button1->UseVisualStyleBackColor =  false ;
// 
// button2
// 
this ->button2->BackColor = System::Drawing::Color::Lime;
this ->button2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 11.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button2->Location = System::Drawing::Point(419, 371);
this ->button2->Name = L "button2" ;
36 this ->button2->Size = System::Drawing::Size(177, 42);
this ->button2->TabIndex = 9;
this ->button2->Text = L "ORQAGA QAYTISH" ;
this ->button2->UseVisualStyleBackColor =  false ;
// 
// BOWLING
// 
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(825, 593);
this ->Controls->Add( this ->button2);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->textBox1);
this ->Controls->Add( this ->label4);
this ->Controls->Add( this ->label3);
this ->Controls->Add( this ->label2);
this ->Controls->Add( this ->label1);
this ->Name = L "BOWLING" ;
this ->Text = L "BOWLING" ;
this ->Load +=  gcnew  System::EventHandler( this , 
&BOWLING::BOWLING_Load);
this ->ResumeLayout( false );
this ->PerformLayout();
}
#pragma   endregion
private : System::Void BOWLING_Load(System::Object^  sender, System::EventArgs^ 
e) {
  }
};
}
37 #pragma   once
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
using   namespace  System::Data;
using   namespace  System::Drawing;
namespace  FAMILIYPARKK {
public   ref   class  FORM5 :  public  System::Windows::Forms::Form
{
public :
FORM5( void )
{
InitializeComponent();
}
protected :
~FORM5()
{
if  (components)
{
delete  components;
}
}
private : System::Windows::Forms::Label^  label1;
protected : 
38 private : System::Windows::Forms::Label^  label2;
private : System::Windows::Forms::TextBox^  textBox1;
private : System::Windows::Forms::Button^  button1;
private : System::Windows::Forms::Label^  label3;
private : System::Windows::Forms::Button^  button2;
private : System::Windows::Forms::Button^  button3;
private :
                   System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = 
( gcnew  System::ComponentModel::ComponentResourceManager(FORM5:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->label2 = ( gcnew  System::Windows::Forms::Label());
this ->textBox1 = ( gcnew  System::Windows::Forms::TextBox());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->label3 = ( gcnew  System::Windows::Forms::Label());
this ->button2 = ( gcnew  System::Windows::Forms::Button());
this ->button3 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->BackColor = System::Drawing::Color::Lime;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(304, 23);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(245, 25);
this ->label1->TabIndex = 0;
this ->label1->Text = L "BILETNI SOTIB OLISH" ;
// 
// label2
// 
this ->label2->AutoSize =  true ;
this ->label2->BackColor = System::Drawing::Color::Cyan;
this ->label2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label2->Location = System::Drawing::Point(38, 141);
this ->label2->Name = L "label2" ;
this ->label2->Size = System::Drawing::Size(301, 25);
this ->label2->TabIndex = 1;
this ->label2->Text = L "KARTA RAQAMNI KIRITING" ;
// 
// textBox1
// 
this ->textBox1->Font = ( gcnew  System::Drawing::Font(L "Microsoft 
Sans Serif" , 8.25F));
this ->textBox1->Location = System::Drawing::Point(399, 141);
this ->textBox1->Name = L "textBox1" ;
this ->textBox1->Size = System::Drawing::Size(235, 20);
this ->textBox1->TabIndex = 2;
// 
// button1
// 
this ->button1->BackColor = System::Drawing::Color::Lime;
39 this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 14.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->Location = System::Drawing::Point(690, 131);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(84, 46);
this ->button1->TabIndex = 3;
this ->button1->Text = L "OK" ;
this ->button1->UseVisualStyleBackColor =  false ;
this ->button1->Click +=  gcnew  System::EventHandler( this , 
&FORM5::button1_Click);
// 
// label3
// 
this ->label3->AutoSize =  true ;
this ->label3->BackColor = System::Drawing::Color::Cyan;
this ->label3->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label3->Location = System::Drawing::Point(64, 362);
this ->label3->Name = L "label3" ;
this ->label3->Size = System::Drawing::Size(275, 20);
this ->label3->TabIndex = 4;
this ->label3->Text = L "CHEKINI OLISH UCHUN KIRING" ;
// 
// button2
// 
this ->button2->BackColor = System::Drawing::Color::Lime;
this ->button2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 14.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button2->Location = System::Drawing::Point(369, 348);
this ->button2->Name = L "button2" ;
this ->button2->Size = System::Drawing::Size(84, 46);
this ->button2->TabIndex = 5;
this ->button2->Text = L "OK" ;
this ->button2->UseVisualStyleBackColor =  false ;
// 
// button3
// 
this ->button3->BackColor = System::Drawing::Color::Cyan;
this ->button3->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 9.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button3->Location = System::Drawing::Point(576, 356);
this ->button3->Name = L "button3" ;
this ->button3->Size = System::Drawing::Size(180, 35);
this ->button3->TabIndex = 6;
this ->button3->Text = L "<---- ORQAGA" ;
this ->button3->UseVisualStyleBackColor =  false ;
// 
// FORM5
// 
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(841, 577);
this ->Controls->Add( this ->button3);
40 this ->Controls->Add( this ->button2);
this ->Controls->Add( this ->label3);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->textBox1);
this ->Controls->Add( this ->label2);
this ->Controls->Add( this ->label1);
this ->Name = L "FORM5" ;
this ->Text = L "FORM5" ;
this ->Load +=  gcnew  System::EventHandler( this , &FORM5::FORM5_Load);
this ->ResumeLayout( false );
this ->PerformLayout();
}
#pragma   endregion
private : System::Void button1_Click(System::Object^  sender, System::EventArgs^
e) {
 }
private : System::Void FORM5_Load(System::Object^  sender, System::EventArgs^  e) {
  }
};
}
Dasturning kod qismi:
#pragma   once
using   namespace  System;
using   namespace  System::ComponentModel;
using   namespace  System::Collections;
using   namespace  System::Windows::Forms;
41 using   namespace  System::Data;
using   namespace  System::Drawing;
namespace  FAMILIYPARKK {
public   ref   class  ASOSIYQISM :  public  System::Windows::Forms::Form
{
public :
ASOSIYQISM( void )
{
InitializeComponent();
}
protected :
~ASOSIYQISM()
{
if  (components)
{
delete  components;
}
}
private : System::Windows::Forms::Label^  label1;
protected : 
private : System::Windows::Forms::Label^  label2;
private : System::Windows::Forms::Label^  label3;
private : System::Windows::Forms::Label^  label4;
private : System::Windows::Forms::Label^  label5;
private : System::Windows::Forms::Label^  label6;
private : System::Windows::Forms::Button^  button;
                        private :
System::ComponentModel::Container ^components;
#pragma   region  Windows Form Designer generated code
void  InitializeComponent( void )
{
System::ComponentModel::ComponentResourceManager^  resources = 
( gcnew  System::ComponentModel::ComponentResourceManager(ASOSIYQISM:: typeid ));
this ->label1 = ( gcnew  System::Windows::Forms::Label());
this ->label2 = ( gcnew  System::Windows::Forms::Label());
this ->label3 = ( gcnew  System::Windows::Forms::Label());
this ->label4 = ( gcnew  System::Windows::Forms::Label());
this ->label5 = ( gcnew  System::Windows::Forms::Label());
this ->label6 = ( gcnew  System::Windows::Forms::Label());
this ->button1 = ( gcnew  System::Windows::Forms::Button());
this ->SuspendLayout();
// 
// label1
// 
this ->label1->AutoSize =  true ;
this ->label1->BackColor = System::Drawing::Color::Lime;
this ->label1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 21.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label1->Location = System::Drawing::Point(265, 30);
this ->label1->Name = L "label1" ;
this ->label1->Size = System::Drawing::Size(245, 33);
this ->label1->TabIndex = 0;
this ->label1->Text = L "TABRIKLAYMIZ " ;
// 
// label2
// 
this ->label2->AutoSize =  true ;
this ->label2->BackColor = System::Drawing::Color::Cyan;
42 this ->label2->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 21.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label2->Location = System::Drawing::Point(59, 140);
this ->label2->Name = L "label2" ;
this ->label2->Size = System::Drawing::Size(404, 33);
this ->label2->TabIndex = 1;
this ->label2->Text = L "SZ BILET SOTIB OLDINGIZ" ;
// 
// label3
// 
this ->label3->AutoSize =  true ;
this ->label3->BackColor = System::Drawing::Color::Yellow;
this ->label3->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 14.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label3->Location = System::Drawing::Point(25, 224);
this ->label3->Name = L "label3" ;
this ->label3->Size = System::Drawing::Size(642, 24);
this ->label3->TabIndex = 2;
this ->label3->Text = L "BIZNING XIZMATIMIZDAN FOYDALANGANIZDAN 
MINNATDORMIZ" ;
// 
// label4
// 
this ->label4->AutoSize =  true ;
this ->label4->BackColor = System::Drawing::Color::Lime;
this ->label4->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label4->ForeColor = System::Drawing::Color::Black;
this ->label4->Location = System::Drawing::Point(190, 315);
this ->label4->Name = L "label4" ;
this ->label4->Size = System::Drawing::Size(229, 20);
this ->label4->TabIndex = 3;
this ->label4->Text = L "BIZNING MANZILLARIMIZ " ;
// 
// label5
// 
this ->label5->AutoSize =  true ;
this ->label5->BackColor = System::Drawing::Color::Lime;
this ->label5->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label5->ForeColor = 
System::Drawing::SystemColors::ControlText;
this ->label5->Location = System::Drawing::Point(38, 390);
this ->label5->Name = L "label5" ;
this ->label5->Size = System::Drawing::Size(522, 25);
this ->label5->TabIndex = 4;
this ->label5->Text = L "SAMARQAND SHAHAR SAGDIANA AQUA BOG\'I " ;
// 
// label6
// 
this ->label6->AutoSize =  true ;
this ->label6->BackColor = System::Drawing::Color::Lime;
this ->label6->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans 
Serif" , 14.25F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->label6->Location = System::Drawing::Point(190, 444);
43 this ->label6->Name = L "label6" ;
this ->label6->Size = System::Drawing::Size(245, 24);
this ->label6->TabIndex = 5;
this ->label6->Text = L "WWW.FAMILY PARK .UZ" ;
// 
// button1
// 
this ->button1->BackColor = System::Drawing::Color::Lime;
this ->button1->Font = ( gcnew  System::Drawing::Font(L "Microsoft Sans
Serif" , 15.75F, System::Drawing::FontStyle::Bold, 
System::Drawing::GraphicsUnit::Point, 
static_cast <System::Byte>(204)));
this ->button1->Location = System::Drawing::Point(613, 433);
this ->button1->Name = L "button1" ;
this ->button1->Size = System::Drawing::Size(129, 45);
this ->button1->TabIndex = 6;
this ->button1->Text = L "CHIQISH" ;
this ->button1->UseVisualStyleBackColor =  false ;
this ->button1->Click +=  gcnew  System::EventHandler( this , 
&ASOSIYQISM::button1_Click);
// 
// ASOSIYQISM
// 
this ->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this ->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this ->BackgroundImage = (cli:: safe_cast <System::Drawing::Image^  
>(resources->GetObject(L "$this.BackgroundImage" )));
this ->BackgroundImageLayout = 
System::Windows::Forms::ImageLayout::Stretch;
this ->ClientSize = System::Drawing::Size(846, 583);
this ->Controls->Add( this ->button1);
this ->Controls->Add( this ->label6);
this ->Controls->Add( this ->label5);
this ->Controls->Add( this ->label4);
this ->Controls->Add( this ->label3);
this ->Controls->Add( this ->label2);
this ->Controls->Add( this ->label1);
this ->Name = L "ASOSIYQISM" ;
this ->Text = L "ASOSIYQISM" ;
this ->Load +=  gcnew  System::EventHandler( this , 
&ASOSIYQISM::ASOSIYQISM_Load);
this ->ResumeLayout( false );
this ->PerformLayout();
}
#pragma   endregion
private : System::Void button1_Click(System::Object^  sender, System::EventArgs^
e) {
 }
private : System::Void ASOSIYQISM_Load(System::Object^  sender, System::EventArgs^  e)
{
 }
};
}
                                                       XULOSA
           Biz  “FAMILY PARK”   mavzusida onlayn family parkka bilet olish dasturini 
tuzdk.Bu dastur    yordamida biz masofadan ham onlayn buyurma qilishni tashkil 
etdk.Masalan,Biror bir kino premyerasi bo’layotgan bulsa biz unga oldndan bilet xarid 
qilishni, uzoqdagilar uchun ancha yengillik qilish maqsadida bu dasturni ishlab chiqdik.Bu
44 esa bizda aholini ishini yanada osonlashtiradi va elektron xizmatlarga o’tishga sababchi 
bo’ladi.
FOYDALANILGAN ADABIYOTLAR
Elektron darslik
1.Vizual Studiyo 2013.pdf
2.file:///C:/Users/Akbar/Downloads/Telegram%20Desktop/Visual%20Studio%202013.pdf
Foydalanilgan vidyo dasliklar .
1.https://m.youtube.com/playlist?list=PL2i17lRog5pBe7t9zJdFdugQ6bxgjntJD
2.https://learn.microsoft.com/enus/dotnet/api/system.windows.forms?
view=windowsdesktop-6.0  
3.https://www.youtube.com/watch?v=CgwElbZTD2U&ab_channel=ClassicTech
%26Development
4.   https://youtu.be/piFM_0nzJ4I
Foydalanilgan saytlar.
1  https://www.flaticon.com/search?word=exit&order_by=4
2  https://www.iconsdb.com/white-icons/book-stack-icon.html
3. https://learn.microsoft.com/enus/dotnet/api/system.windows.forms?
view=windowsdesktop-6.0  
45