Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Hably Ddp2 VB
Hably Ddp2 VB
7000)
7000)
7000)
End If
If Not String.IsNullOrEmpty(TxtSprite.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtSprite.Text) *
End If
If Not String.IsNullOrEmpty(TxtTehManis.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtTehManis.Text) *
3000)
5000)
End If
If Not String.IsNullOrEmpty(TxtSusu.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtSusu.Text) *
End If
End If
10000)
9000)
End If
8000)
15000)
End If
If Not String.IsNullOrEmpty(TxtBebekBakar.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtBebekBakar.Text)
* 18000)
End If
If Not String.IsNullOrEmpty(TxtJagungBakar.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtJagungBakar.Text)
* 10000)
End If
If Not String.IsNullOrEmpty(TxtAyamGoreng.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtAyamGoreng.Text)
* 14000)
End If
If Not String.IsNullOrEmpty(TxtMieGoreng.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtMieGoreng.Text) *
10000)
* 6000)
End If
If Not String.IsNullOrEmpty(TxtTelorGoreng.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtTelorGoreng.Text)
End If
If Not String.IsNullOrEmpty(TxtMieRebus.Text) Then
TotalBayar = TotalBayar + (Convert.ToInt32(TxtMieRebus.Text) *
10000)
End If
5000)
End If
TxtTotalBayar.Text = TotalBayar.ToString()
End Sub
Private Sub BtnHitung_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BtnHitung.Click
TotalKembali = Convert.ToInt32(TxtBayar.Text) - TotalBayar
TxtKembali.Text = TotalKembali.ToString()
MessageBox.Show("Terima Kasih, " + TxtNama.Text)
End Sub
Private Sub BtnExit_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BtnExit.Click
TxtTotalBayar.Text = ""
TxtBayar.Text = ""
TxtKembali.Text = ""
TxtCola.Text = ""
TxtSprite.Text = ""
TxtFanta.Text = ""
TxtTehManis.Text = ""
TxtSusu.Text = ""
TxtKopi.Text = ""
TxtAlpukat.Text = ""
TxtMangga.Text = ""
TxtJeruk.Text = ""
TxtAyamBakar.Text = ""
TxtBebekBakar.Text = ""
TxtJagungBakar.Text = ""
TxtAyamGoreng.Text = ""
TxtMieGoreng.Text = ""
TxtTelorGoreng.Text = ""
TxtMieRebus.Text = ""
TxtSingkongRebus.Text = ""
TxtUbiRebus.Text = ""
End Sub
Private Sub TxtNama_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles TxtNama.TextChanged
End Sub
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Label1.Click
End Sub
Private Sub TxtAyamBakar_TextChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles TxtAyamBakar.TextChanged
End Sub
End Class