• ¡Welcome to Square Theme!
  • This news are in header template.
  • Please ignore this message.
مهمان عزیز خوش‌آمدید. ورود عضــویت


امتیاز موضوع:
  • 6 رای - 2.83 میانگین
  • 1
  • 2
  • 3
  • 4
  • 5
Title: shape and timer
حالت خطی
#2
کد:
Private Sub Form_Load()
Me.Caption = "Change Shape"
Timer1.Enabled = True
Timer1.Interval = 1000
End Sub

Private Sub Timer1_Timer()
ChangeShape (Rnd * 5)
End Sub

Public Function ChangeShape(Vaule As Integer)
Shape1.Shape = (Vaule)
End Function
گروه دور همی پارسی کدرز
https://t.me/joinchat/GxVRww3ykLynHFsdCvb7eg
 
پاسخ
  


پیام‌های این موضوع
shape and timer - توسط mamali - 04-01-2012، 08:14 PM
RE: shape and timer - توسط Amin_Mansouri - 04-01-2012، 08:36 PM

پرش به انجمن:


Browsing: 1 مهمان