
Code program Latihan1 sebagai berikut:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.Text = "TI" Then
TextBox2.Text = "Teknik informatika"
Else
If TextBox1.Text = "SI" Then
TextBox2.Text = "Sistem informasi"
End If
End If
End Sub
End Class
Dan Hasilnya Sebagai Berikut

Tidak ada komentar:
Posting Komentar