۰۳-اردیبهشت-۱۳۸۶, ۱۸:۴۴:۲۳
سلام بچه ها
خوبين؟ مرسي منم خوبم
بچه ها كي مي تونه برنامه ي رقص نور زيرو با صداي ويندوز هماهنگ كنه؟
ممنون مي شم بنويسيد!
[/align]
Option Explicit
Private Sub Timer1_Timer()
Call Drawing
End Sub
Private Sub Drawing()
Dim e As Variant
Dim strX As Single, strY As Single, strt As Single, strr As Single, strA As Single, strTh As Single
Call Randomize
Scale (3, -3)-(-3, 3)
strt = 8 * Atn(1)
ForeColor = QBColor(Rnd() * 15)
strA = 3 * Rnd()
For strTh = 0 To strt Step 0.01
strr = strA * Sin(10 * strTh)
strX = strr * Cos(strTh)
strY = strr * Sin(strTh)
PSet (strX, strY)
Next strTh
End Sub
خوبين؟ مرسي منم خوبم
بچه ها كي مي تونه برنامه ي رقص نور زيرو با صداي ويندوز هماهنگ كنه؟
ممنون مي شم بنويسيد!
[/align]
Option Explicit
Private Sub Timer1_Timer()
Call Drawing
End Sub
Private Sub Drawing()
Dim e As Variant
Dim strX As Single, strY As Single, strt As Single, strr As Single, strA As Single, strTh As Single
Call Randomize
Scale (3, -3)-(-3, 3)
strt = 8 * Atn(1)
ForeColor = QBColor(Rnd() * 15)
strA = 3 * Rnd()
For strTh = 0 To strt Step 0.01
strr = strA * Sin(10 * strTh)
strX = strr * Cos(strTh)
strY = strr * Sin(strTh)
PSet (strX, strY)
Next strTh
End Sub