Form1: Public Class Dim As Double Dim As Double Dim As Dim As Dim As Dim As Dim As Dim As Double Dim As Double
Form1: Public Class Dim As Double Dim As Double Dim As Dim As Dim As Dim As Dim As Dim As Double Dim As Double
Form1: Public Class Dim As Double Dim As Double Dim As Dim As Dim As Dim As Dim As Dim As Double Dim As Double
For i = 0 To 4
txtmakan(i).Text = "Rp. " & Format(hargamakan(i), "#,##0")
Next
For i = 0 To 2
txttambah(i).Text = "RP. " & Format(hargatambahan(i), "#,##0")
Next
biayacuci = 0
End Sub
End Sub
End Sub
Private Sub btnReset_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnReset.Click
Dim i As Integer
For i = 0 To 4
makan(i).Checked = False
Next
For i = 0 To 4
txtjumlah(i).Text = 0
Next
For i = 0 To 2
tambah(i).Checked = False
Next
txtTotal.Clear()
txtBayar.Clear()
txtKembali.Clear()
End Sub
End Class