Counter-Strike Federation Welcome , Leecher | RSS | Friday, 29 March 24
A Place Where Player Becomes Developer Home | Sign Up | Log In
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum » DevCen » Visual Basic » Code Snippets/Tutorials » [VB.Net] Tutorial Timer Start
[VB.Net] Tutorial Timer Start
Grade: Trainee nouvistiardi_azraDate: Friday, 10 July 15, 5:14 AM | Message # 1
Trainee
Clan: Member
Experience: 8
Status: Offline
1. Buat Richtext, Button, dan Timer


2. Atur interval timernya menjadi 1000 (1 Detik)


3. Letakan script berikut pada launcher agan

Code
Public Class Form1

     Dim DetikStart As Integer
     Private Sub StartButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles StartButton.Click
         DetikStart = 5
         Timer.Start()
     End Sub

     Private Sub Timer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer.Tick
         If DetikStart = 0 Then
             RichTextBox.Text = RichTextBox.Text & "Starting game"
             Shell(System.AppDomain.CurrentDomain.BaseDirectory & "cstrike.exe +map de_dust")
             Me.Close()
         Else
             RichTextBox.Text = RichTextBox.Text & "Game akan dimulai setelah " & DetikStart & vbNewLine
             DetikStart = DetikStart - 1
         End If
     End Sub
End Class


4. Jadi deehh...


Visual Basic Net Tutorial Timer Start
Credit : Script by Nouvistiardi Azra A - CJDW Team


Nama : Nouvistiardi Azra A [Male]
Blog Kami : CJDWTEAM.BLOGSPOT.COM

 
Grade: Commander DavidJrDate: Tuesday, 14 July 15, 6:39 PM | Message # 2
Commander
Clan: Executive
Experience: 2256
Status: Offline
nouvistiardi_azra, cool! biggrin

posted via BlackBerry

Personal Site | CSF Website
 
Grade: Trainee joanvines11Date: Monday, 11 April 16, 4:42 PM | Message # 3
Trainee
Clan: Member
Experience: 1
Status: Offline
Tutorials are improving the readers knowledge and they can make new ideas through this tutorials.All types tutorials are not helpful because sometimes they will not include the correct information and examples.Examples and answers are the main element of the tutorials.Most of the online and offline resources like custom essay writing service are providing the helpful tutorials with examples about different topics.So i am waiting for your new tutorials about another topic.
 
Forum » DevCen » Visual Basic » Code Snippets/Tutorials » [VB.Net] Tutorial Timer Start
  • Page 1 of 1
  • 1
Search:

Mirum
sample map