Professional Documents
Culture Documents
Versi 1 Ba
Versi 1 Ba
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.Event
Args) Handles Button1.Click
Dim input(5) As Integer
''''THIS IS MORE LIKE AN ARRAY''''
input(0)
input(1)
input(2)
input(3)
input(4)
input(5)
=
=
=
=
=
=
Val(TextBox7.Text)
Val(TextBox8.Text)
Val(TextBox9.Text)
Val(TextBox10.Text)
Val(TextBox11.Text)
Val(TextBox12.Text)
Array.Sort(input)
TextBox1.Text
TextBox2.Text
TextBox3.Text
TextBox4.Text
TextBox5.Text
TextBox6.Text
=
=
=
=
=
=
input(0)
input(1)
input(2)
input(3)
input(4)
input(5)
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventAr
gs) Handles Timer1.Tick
If ProgressBar1.Value < Val(TextBox1.Text) Then
ProgressBar1.Value = ProgressBar1.Value + 1
If ProgressBar1.Value = Val(TextBox1.Text) Then
Label12.Text = TextBox1.Text
Timer1.Enabled = False
Timer1.Stop()
Timer1.Dispose()
Timer2.Enabled = True
End If
End If
End Sub
Timer2.Stop()
Timer2.Dispose()
Timer3.Enabled = True
End If
End If
End Sub
Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventAr
gs) Handles Timer3.Tick
End If
End If
End Sub
Private Sub Timer6_Tick(ByVal sender As System.Object, ByVal e As System.EventAr
gs) Handles Timer6.Tick
ProgressBar3.Value
ProgressBar4.Value
ProgressBar5.Value
ProgressBar6.Value
=
=
=
=
0
0
0
0
Label12.Text = ""
Label14.Text = ""
Label15.Text = ""
Label16.Text = ""
Label17.Text = ""
Label18.Text = ""
Label25.Text = ""
Label10.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
TextBox9.Text = ""
TextBox10.Text = ""
TextBox11.Text = ""
TextBox12.Text = ""
Else
'Do Nothing
End If
End Sub
End Class
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.Event
Args) Handles Button2.Click
Dim button As DialogResult
button = MessageBox.Show _
("Are you sure you want to exit this application?", _
"Message", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultBu
tton.Button1)
If button = Windows.Forms.DialogResult.Yes Then
Application.Exit()
Else
'Do Nothing
End If
End Sub