4-rasm.
Natijada WindowsFormsApplication8 oynasi hosil bo’ladi (5-rasm):
5-rasm.
Button komponentasining xossalari:
Visual Studioning o’ng tomonida joylashgan xususiyatlar (properties) oynasi orqali buttoning xususiyatlarini bilib olishimiz mimkin (6-rasm):
6-rasm.
Name: komponentaning nomi (7-rasm):
7-rasm.
TextAlign: tugmadagi nomining joylashishi. nom tugmaning markazida joylashishi mumkin(MiddleCenter) va chegaraga nisbatan chap tomonda(MiddleLeft),o’ng tomonda(MiddleRight) joylashishi mumkin (8-rasm):
8-rasm.
FlatStyle: tugmaning stili.Tugma (Standard) standart,(Flat) yassi va boshqa shaklda bo’lishi mumkin (9-rasm):
9-rasm.
Ushbu xossadan keraklisi tanlangandan keyin tugmaning shakli o’zgaradi (10-rasm):
Do'stlaringiz bilan baham: |