Kumpulan Kode Program VB
Kumpulan Kode Program VB
KARYAWAN
NIP :
NAMA:
Jenis Kelamin : L / P
GOLONGAN : III/A, III/B
GaPOK :
Tunjangan Jabatan :
III/A : 125.000
III/B : 300.0000
IIIA : 5.000.000
IIIB : 6.000.000
Pajak : 2.5%
Potongan Askes : 120.000
Gaji Bersih :
End Sub
End Class
Public Class Form1
Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs)
Handles ComboBox1.SelectedIndexChanged
If ComboBox1.Text = "Sistem Informasi" Then
TextBox4.Text = 5000000
TextBox3.Text = 1200000
ElseIf ComboBox1.Text = "Sistem Komputer" Then
TextBox4.Text = 5000000
TextBox3.Text = 1200000
ElseIf ComboBox1.Text = "Manajemen Informatika" Then
TextBox4.Text = 4000000
TextBox4.Text = 750000
End If
End Sub
End Sub
End Class