Pada tugas pemograman ini, saya membuat program yang berjudul, Jam
Digital. Program ini akan menampilkan waktu hari ini dan terdapat juga
stopwatch.
7 label,
2 groupbox
2 button
2 timer
(Name)
Tugas_Rumah_02
lbJudul
Text
Jam
Properties
Font
Style Font
Bold
Size
l
Microsoft
Fals
27.75p
Sans Serif
BankGothi
e
true
00 / 00/
t
26.25p
c
BankGothi
true
0000
00 : 00 :
t
26.25p
c
BankGothi
true
00
Stopwatc
t
27.75p
c
BankGothi
true
t
26.25p
c
BankGothi
true
t
26.25p
c
BankGothi
true
t
26.25p
c
BankGothi
true
c
Microsoft
false
Sans Serif
Microsoft
false
Digital
Time
8.25pt
Label2
lbDate
Label3
lbTime
Label4
lbStopwatch
Label5
lbSwHour
00
Label6
lbSwMin
00
Label7
lbSwSec
00
Button1
butEx
Exit
9.75pt
Button2
butStart
Start/Stop
9.75pt
Timer1
Timer2
Grupbox1
Grupbox2
TJam
TSw
gbTime
gbStopwatch
Interva
Sans Serif
100
1000
TSw.Enabled = False 'Stopwatch akan tidak
bergerak
End Sub
End Sub
End Sub
TSw.Enabled = True
Else
TSw.Enabled = False
End Sub
lbSwSec.Text = "0"
lbSwMin.Text = "0"
End If
End Sub
End Class
1.4. Hasil