Vous êtes sur la page 1sur 6

DESAIN USER INTERFACE

Form 1

Listing Programnya :

Public Class Form1

Private Sub DATAMAHASISWAToolStripMenuItem_Click(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
DATAMAHASISWAToolStripMenuItem.Click
form2.show()
End Sub

Private Sub DATAMATAKULIAHToolStripMenuItem_Click(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
DATAMATAKULIAHToolStripMenuItem.Click
form3.show()
End Sub
Private Sub BiodataPembuatToolStripMenuItem_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles BiodataPembuatToolStripMenuItem.Click
form4.show()
End Sub

Private Sub KeluarToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles KeluarToolStripMenuItem.Click

Me.Close()
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button1.Click
Me.Close()
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load

End Sub
End Class
Form 2

Listing Programnya :

Public Class Form2

Dim Indeks As Integer

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load
TextBox1.Text = Indeks
ComboBox1.Items.Add("MIF A3")
ComboBox1.Items.Add("MIF B3")
ComboBox1.Items.Add("MIF C3")
ComboBox1.Items.Add("MIF D3")
ComboBox1.Items.Add("MIF G3")
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button2.Click
Me.Close()
End Sub
End Class

Form 3

Listing Programnya :

Public Class Form3

Dim indeks As Integer

Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load
TextBox1.Text = indeks
ComboBox1.Items.Add("VB.NET")
ComboBox1.Items.Add("INTERAKSI MANUSIA DAN KOMPUTER")
ComboBox1.Items.Add("ARSITEKTUR KOMPUTER")
ComboBox1.Items.Add("KALKULUS")
ComboBox1.Items.Add("BAHASA INGGRIS")
ComboBox1.Items.Add("AUTOMATA")
ComboBox1.Items.Add("ALGORITMA DAN PEMROGRAMAN")
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button1.Click
Me.Close()

End Sub
End Class

Form 4

Listing Programnya :

Public Class Form4


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
Me.Close()
End Sub

Private Sub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles MyBase.Load

End Sub
End Class