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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Halaman

Gunadarma

Dating Malaysia

Dating Indonesia

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

Status

  • 441,217 hits
April 2018
S S M T W T F
« Oct    
 123456
78910111213
14151617181920
21222324252627
282930  

Commentar

Finsa on Kost Kostan
Advertisements
%d bloggers like this: