10menit

Visual Basic 6.0 – laundry

Gunadarma University

Kelompok :

* Sugianto
* Miko Irianto
* Djaka
* Aris
* Achmad Fauzi
* Achmad Fariz

1DC01

CODING

Dim total_harga As Integer

Private Sub ChkBlause_Click()

harga = 10000

If ChkBlause.Value = vbChecked Then

total = total + harga

Else

If ChkBlause.Value = vbUnchecked Then

total = total – harga

End If

End If

Text_laundry = total

End Sub

Private Sub Chkcelanapanjang_Click()

harga = 10000

If Chkcelanapanjang.Value = vbChecked Then

total = total + harga

Else

If Chkcelanapanjang.Value = vbUnchecked Then

total = total – harga

End If

End If

Text_laundry = total

End Sub

Private Sub Chkdasi_Click()

harga = 5000

If Chkdasi.Value = vbChecked Then

total = total + harga

Else

If Chkdasi.Value = vbUnchecked Then

total = total – harga

End If

End If

Text_laundry = total

End Sub

Private Sub Chkjas_Click()

harga = 30000

If Chkjas.Value = vbChecked Then

total = total + harga

Else

If Chkjas.Value = vbUnchecked Then

End If

End If

Text_laundry = total

End Sub

Private Sub Chkkemeja_Click()

harga = 15000

If Chkkemeja.Value = vbChecked Then

total = total + harga

Else

If Chkkemeja.Value = vbUnchecked Then

total = total – harga

End If

End If

Text_laundry = total

End Sub

Private Sub Chkmukena_Click()

harga = 20000

If Chkmukena.Value = vbChecked Then

total = total + harga

Else

If Chkmukena.Value = vbUnchecked Then

total = total – harga

End If

End If

Text_laundry = total

End Sub

Private Sub Cmdok_Click()

biaya_tambahan = Text_tambahan.Text

biaya_laundry = Text_laundry.Text

total = Text_tambahan * Text_laundry

Text_totalharga.Text = total

End Sub

Private Sub Cmdselesai_Click()

End

End Sub

Private Sub Form_Load()

total = 0

End Sub

Private Sub Opt_1hari_Click()

Text_tambahan = 15000

End Sub

Private Sub Opt_2hari_Click()

Text_tambahan = 5000

End Sub

Private Sub Opt_express_Click()

Text_tambahan = 20000

End Sub

Private Sub Opt_regular_Click()

Text_tambahan = 0

End Sub

STEP ONE

STEP TWO

Save/Share/Bookmark

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

Halaman

Masukkan user kamu

Bergabunglah dengan 9 pengikut lainnya

Link Gunadarma

info penginapan wilayah Jakarta

Music R&B

Alexa Certified Traffic Ranking for https://10menit.wordpress.com/

Status

  • 330,812 hits

Tag

April 2017
S M S S R K J
« Okt    
1234567
891011121314
15161718192021
22232425262728
2930  

Commentar

Finsa di Kost Kostan
%d blogger menyukai ini: