LISTING PROGRAM
FORM
PENDAFTARAN ADRIAN HARTANTO LOVERS
Pada Form 1
Public Class Form1
Private Sub
Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
Me.BackColor = Color.CornflowerBlue
Me.ForeColor = Color.Honeydew
End Sub
Private Sub
TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
TextBox3.TextChanged
End Sub
Private Sub
Label4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Label4.Click
End Sub
Private Sub
Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
Form2.Show()
Me.Hide()
End Sub
Private Sub
TextBox6_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
pass.TextChanged
End Sub
End Class
Pada Form 2
Public Class Form2
Private Sub
ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
ComboBox1.SelectedIndexChanged
End Sub
Private Sub
Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
If TextBox3.Text = "holistic"
Then
Form3.Show()
Me.Hide()
Else
MsgBox("Periksa kembali kode verifikasi
Anda")
End If
End Sub
Private Sub
Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button2.Click
Form1.Show()
Me.Hide()
End Sub
Private Sub
TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
TextBox3.TextChanged
End Sub
Private Sub
Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
Me.BackColor = Color.ForestGreen
Me.ForeColor = Color.GhostWhite
End Sub
End Class
Pada Form 3
Public Class Form3
Private Sub
Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Label1.Click
End Sub
Private Sub
Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
Form6.Show()
Me.Hide()
End Sub
Private Sub
Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
Me.BackColor = Color.PeachPuff
Me.ForeColor = Color.Coral
End Sub
End Class
Pada Form 4
Public Class Form4
Private Sub
Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
Form6.Show()
Me.Hide()
End Sub
Private Sub
Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
Me.BackColor = Color.Cyan
Me.ForeColor = Color.Crimson
End Sub
End Class
Pada
Form 5
Public Class Form5
Private Sub
EventLog1_EntryWritten(ByVal sender As System.Object, ByVal e As
System.Diagnostics.EntryWrittenEventArgs) Handles EventLog1.EntryWritten
End Sub
Private Sub
Form5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
End Sub
End Class
Pada Form 6
Public Class Form6
Private Sub
Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
Form1.Show()
Me.Hide()
End Sub
Private Sub
Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button2.Click
Me.Close()
End Sub
Private Sub
Form6_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
Me.BackColor = Color.Firebrick
Me.ForeColor = Color.BurlyWood
End Sub
End Class
0 komentar:
Posting Komentar