Jumat, 07 Desember 2012

MODUL 3 : GAME PUZZLE


A.    Deskripsi Program
Game puzzle ini merupakan game yang dibuat menggunakan software visual basic, cara memainkannya dengan menekan tombol acak dan tekan tombol berhenti ketika angka telah teracak , kemudian urutkan angka agar teratur dan sesuai dengan urutan yang benar, dan untuk keluar dari permainan, silahkan tekan tombol keluar
Tujuan      
-          Memenuhi tugas praktikum informatika
-          Merupakan sarana hiburan bagi user pengguna
User pengguna
Semua orang, semua umur
Rincian program
-          Program ini terdiri dari satu form yang merupakan form induk dari program
-          Permainan dimulai dengan menekan tombol acak maka angka akan berputar
-          Untuk menghentikan angka yang sedang diacak, tekan tombol berhenti
-          Urutkan angka
- Apabila berhasil akan keluar messagebox
- Apabila ingin keluar akan keluar messagebox yang berisi konformasi

B.     Flowchart



C. Tampilan Program
Gambar 1 Puzzle


Tutorial Lengkap dan program dapat di download disini

MODUL 3 : PROGRAM GAME KASINO ANGKA


1.  DESKRIPSI
Aplikasi program Game kasino angka adalah program Game yang digunakan untuk bermain Menemukan angka yang sama dengan kecepatan tertentu, yang berguna untuk melatih mata kita.
TUJUAN
*       Untuk memenuhi tugas praktikum teknologi informatika.
*       Penerapan fungsi konsep dasar pada Visual Basic 2010.
*       Penggunaan Prosedure dan Fungsi  pada visual basic 2010

MANFAAT
·     Belajar menggunakan Prosedure, Function, Operator Perbandingan, Operator Percabangan If dan If bercabang secara bersamaan.
·     Membuat pengguna bermain game kecepatan mata membaca peluang.

USER/PENGGUNA PROGRAM
Semua masyarakat yang suka bermain Game.

RINCIAN PROGRAM
·     Pada form 1 akan di temukan button spin, jika anda ingin bermain games kasino,
·      lalu ada button stop jika anda ingin menyetop putaran, tombol ini bisa di Klik 5 kali sesuai dengan jumlah nyawa
·     lalu selanjutnya ada button restart jika anda ingin mengulang permainan .
·     jika anda menang aka nada message box “ selamat anda menang “ , dan jika anda kalah akan ada message box “ anda kurang beruntung “
·      button End jika anda ingin menyudahi permainan, maka aka nada message box “ sampai jumpa lagi “
SASARAN USER
Semua orang yang suka bermain Game Kasino Angka

2. FLOWCHART




3. TAMPILAN PROGRAM

Gambar 1 : Game


Tutorial Lengkap dan program dapat di download disini

MODUL 3 : PROGRAM GAME ROULETTE GAMBAR


1.      DESKRIPSI
Aplikasi program Game Roulette gambar adalah program Game yang digunakan untuk bermain menemukan gambar yang sama dengan kecepatan tertentu, yang berguna untuk melatih mata kita.

*         TUJUAN
*         Untuk memenuhi tugas praktikum teknologi informatika
*         Untuk membuat game roulette dengan gambar

*         MANFAAT
Program ini dibuat agar bisa menjadi sebuah permainan baru yang menyenangkan

*         USER/PENGGUNA PROGRAM
Semua masyarakat yang membutuhkan refreshing dan ingin bermain roulette

*         RINCIAN PROGRAM
*         Pada  Form2 terdapat pertanyaan “Do you want to play roulette?” jika pengguna ingin memainkan permainan ini maka akan menekan tombol  Yes dan jika tidak ingin bermain maka akan menekan tombol Exit.
*         Jika pengguna menekan tombol Yes maka pengguna akan menuju Form1. Pada Form1 terdapat tombol Split untuk memulai permainan, tombol Stop untuk menghentikan putaran, tombol Play again jika pengguna kalah dalam bermain dan ingin bermain lagi, dan tombol Back yang berguna untuk kembali ke Form2.
*         Pada permainan roulette ini pengguna memiliki 5 buah nyawa. Dan jika terdapat 2 gambar yang sama maka nyawa akan bertambah 2 dan jika kalah akan berkurang 1.
*         Jika Form1 menampilkan 2 gambar yang sama maka Form3 akan muncul secara otomatis dengan sebuah ucapan selamat “Congratulation! You’ve won!! °\(^^)/°”



2.   FLOWCHART



3.     TAMPILAN PROGRAM
Gambar 1 Welcome !


Gambar 2 Roulette

Gambar 3 Congratulation


Tutorial Lengkap dan program dapat di download disini

Kamis, 29 November 2012

PROGRAM BAGAN BANGUN DUA DAN TIGA DIMENSI

Program ini dapat di Download http://www.4shared.com/rar/3TGmzxhj/2_dan_3_dimensi.html

PROGRAM KASIR FURNITURE

Proram dapat di download javascript:openNewWindow('http://www.4shared.com/rar/fgxJTAn-/furniture.html')

PROGRAM KALKULATOR SCIENTIFIC

Program dapat di Download javascript:openNewWindow('http://www.4shared.com/rar/0MIHv9mO/calculator_scientific.html')

Rabu, 28 November 2012

Program Bangun


Konsep Aplikasi Program Bangun 
1.     DESKRIPSI
Aplikasi program bangun datar dan Bangun ruang adalah Aplikasi yang dugunakan untuk membuat bangun datar dan bangun ruang , dimana tinggal memasukan panjang rusuk yang diinginkan, sudah dapat mengetahui Luas ( bangun datar ) , Volume ( bangun ruang ) dan Gambarnya.
2.     TUJUAN
*      Untuk memenuhi tugas praktikum teknologi informatika
*      Penerapan fungsi aritmatika pada Bangunan Dua dimensi dan Tiga dimensi
*      Menghitung hitungan matematis
*      Mendapatkan gambar dari bangunan dua dimensi dan tiga dimensi

3.     MANFAAT
·         Digunakan untuk melakukan perhitungan matematis
·         Membantu pengguna membuat bangunan dua dimensi dan tiga dimensi

4.     USER/PENGGUNA PROGRAM
Semua masyarakat yang akan melakukan perhitungan matematis untuk membuat bangunan dua dan tiga dimensi

5.    RINCIAN PROGRAM
·         Pengguna dapat dengan cepat mengetahui Luas dan gambar dari bangunan dua dimensi dari Persegi
·         Pengguna dapat dengan cepat mengetahui Luas dan gambar dari bangunan dua dimensi dari Persegi Panjang
·         Pengguna dapat dengan cepat mengetahui Luas dan gambar dari bangunan dua dimensi dari lingkaran
·         Pengguna dapat dengan cepat mengetahui Volume dan gambar dari bangunan tiga dimensi dari kubus
·         Pengguna dapat dengan cepat mengetahui Luas dan gambar dari bangunan tiga dimensi dari Balok


6.    SASARAN USER
Semua orang yang ingun belajar membuat Bangun Datar danBangun Ruang.


FLOWCHART

 TUTORIAL

Pertama bukalah program Visual Basic 2010
Kemudian Pilih New Project
Dan membuat Lima Form
Dengan cara memilih Add Windows Form

Form1

Form2

Form3

Form4

Form5

Form6

Form7

Komponen ToolBox yang digunakan :

No
Komponen
Properties
Keterangan

1
Form1
Name
Text
BackColor
ForeColor
Form1
Bangun 2D dan 3D
Ivory
OrangeRed

2
Label1
Name
Text
Label1
Selamat Datang

3
Button1
Name
Text
Button2
Masuk

4
Form2
Name
Text
BackColor
ForeColor
Form2
Pilih Bangun
Khaki
black

5
Label1
Name
Text
Label1
Persegi

6
Label2
Name
Text
Label2
Persegi Panjang

7
Label3
Name
Text
Label3
Lingkaran

8
Label4
Name
Text
Label4
Kubus

9
Label5
Name
Text
Label5
Balok

10
Button1
Name
Text
Button1
Buat

11
Button2
Name
Text
Button2
Buat

12
Button3
Name
Text
Button3
Buat

13
Button4
Name
Text
Button4
Buat

14
Button5
Name
Text
Button5
Buat

15
Button6
Name
Text
Button6
Kembali

16
Form3
Name
Text
BackColor
ForeeColor
Form3
Persegi
Light Golden Yellow
Navy

17
Label1
Name
Text
Label1
Sisi

18
TextBox1
Name
Text
TextBox1

19
TextBox2
Name
Text
TextBox2

20
Button1
Name
Text
Button1
Luas

21
Button2
Name
Text
Button2
Kembali

22
Button3
Name
Text
Button3
Reset

23
RectangleShape1
Name
Text
RectangleShape1

24
Form4
Name
Text
BackColor
ForeColor
Form4
Persegi Panjang
Lavender
Blue

25
Label1
Name
Text
Label1
Panjang

26
Label2
Name
Text
Label2
Lebar

27
TextBox1
Name
Text
TextBox1

28
TextBox2
Name
Text
TextBox2

29
TextBox3
Name
Text
TextBox3

30
Button1
Name
Text
Button1
Luas

31
Button2
Name
Text
Button2
Kembali

32
Button3
Name
Text
Button3
Reset

33
RectangleShape1
Name
Text
RectangleShape1

34
Form5
Name
Text
ForeColor
BackColor
Form5
Lingkaran
Dim Gray
Turquoise

35
Label1
Name
Text
Label1
Jari jari

36
TextBox1
Name
Text
TextBox1

37
TextBox2
Name
Text
TextBox2

38
OvalShape1
Name
Text
OvalShape1

39
Button1
Name
Text
Button1
Luas

40
Button2
Name
Text
Button2
Kembali

41
Button3
Name
Text
Button3
Reset

42
Form6
Name
Text
ForeColor
BackColor
Form6
Kubus
Cadet Blue
Light Green

43
Label1
Name
Text
Label1
Sisi

44
TextBox1
Name
Text
TextBox1

45
TextBox2
Name
Text
TextBox2

46
Panel1
Name
Text
Panel1

47
Button1
Name
Text
Button1
Volume

48
Button2
Name
Text
Button2
Kembali

49
Button3
Name
Text
Button3
Reset

50
Form7
Name
Text
Fore Color
Back Color
Form7
Balok
Brown
Lemon Chiffon

51
Label1
Name
Text
Label1
Panjang

52
Label2
Name
Text
Label2
Lebar
53
Label3
Name
Text
Label3
Tinggi
54
TextBox1
Name
Text
TextBox1
55
TextBox2
Name
Text
TextBox2
56
TextBox3
Name
Text
TextBox3
57
TextBox4
Name
Text
TextBox4
58
Panel1
Name
Text
Panel1
59
Button1
Name
Text
Button1
Volume
60
Button2
Name
Text
Button2
Kembali
61
Button3
Name
Text
Button3
Reset

2.     ANALISIS LISTING

Form1

1.      Jika ingin menampilkan Form 2 maka, klik Button1.
Public Class Form1
    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Form2.Show()
        Me.Hide()
      
    End Sub
    Private Sub Form11_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.ForeColor = Color.OrangeRed
        Me.BackColor = Color.Ivory
    End Sub

    Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click

    End Sub
End Class

Form2
2.       Jika ingin Menampilkan Persegi :
Public Class Form2

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

3.  Jika Ingin menmpilkan Persegi Panjang :

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Form4.Show()
        Me.Hide()
       
    End Sub


4.      Jika ingin Menampilkan Lingkaran :

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        Form7.Show()
        Me.Hide()
       
    End Sub

5.      Jika ingin Menampilkan Kubus :

    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        Form8.Show()
        Me.Hide()
       
    End Sub

6.      Jika ingin menapilkan Balok:

    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        Form9.Show()
        Me.Hide()
       
    End Sub

7.      Jika ingin kembali ke Form 1 :

    Private Sub Button7_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click
        Form1.Show()
        Me.Hide()
       
    End Sub
    Private Sub Form11_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.ForeColor = Color.Black
        Me.BackColor = Color.Khaki
    End Sub

8.      Jika ingin menutup Program :

    Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click
        Me.Close()
    End Sub
End Class


Form3

9.      Jika ingin menulis Sisi Persegi :
Public Class Form3
    Dim LuasPersegi As Single
    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        TextBox1.Text = Val(TextBox1.Text)
       
    End Sub

10.  Untuk menghitung Luas Pesegidan mendapatkan gambar:

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        LuasPersegi = TextBox1.Text ^ 2
        TextBox2.Text = LuasPersegi
        RectangleShape1.Visible = True
        RectangleShape1.Width = TextBox1.Text * 2
        RectangleShape1.Height = TextBox1.Text * 2
       
    End Sub

11.  Jika ingin kembali ke Form 2:

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Form2.Show()
        Me.Hide()
       
    End Sub

12. Untuk Me-Reset data dan Gambar:

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        TextBox1.Text = ""
        TextBox2.Text = ""
        RectangleShape1.Refresh()
       
    End Sub

    Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.ForeColor = Color.Navy
        Me.BackColor = Color.LightGoldenrodYellow
    End Sub

13.  Untuk merubah ke Form2 :

    Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Form2.Show()
        Me.Hide()

    End Sub

    Private Sub RectangleShape1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RectangleShape1.Click

    End Sub

    Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged

    End Sub
End Class


Form4
14.  Jika ingin  memasukan Panjang persegi panjang :
Public Class Form4
    Dim LuasPersegiPanjang As Single
    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        TextBox1.Text = Val(TextBox1.Text)
    End Sub

15. Jika ingin memasukan Lebar Persegi panjang :

    Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged
        TextBox2.Text = Val(TextBox2.Text)
            End Sub
16. Jika ingin menghitung Luas Persegi Panjang dan gambar :

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        LuasPersegiPanjang = TextBox1.Text * TextBox2.Text
        TextBox3.Text = LuasPersegiPanjang & "m2"
        RectangleShape1.Visible = True
        RectangleShape1.Width = TextBox1.Text * 2
        RectangleShape1.Height = TextBox1.Text * 4

    End Sub

17.  Jika ingin kembali ke Form2:

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Form2.Show()
        Me.Hide()
       

    End Sub

18.  Jika ingin me-Reset data dan gambar :

    Private Sub Botton3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        TextBox1.Text = ""
        TextBox2.Text = ""
        TextBox3.Text = ""
        RectangleShape1.Refresh()
       
    End Sub

    Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
    End Sub

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

        Me.ForeColor = Color.Blue
        Me.BackColor = Color.Lavender
    End Sub

End Class

Form 5

19.   Jika ingin memasukan jari jari lingkaran :
Public Class Form5

    Dim LuasLingkaran As Single

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        TextBox1.Text = Val(TextBox1.Text)
            End Sub

20.  Jika ingin menghitung luas dan Gambar Lingkaran:

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        LuasLingkaran = 22 / 7 * TextBox1.Text ^ 2
        TextBox2.Text = LuasLingkaran
        OvalShape1.Visible = True
        OvalShape1.Width = TextBox1.Text * 2
        OvalShape1.Height = TextBox1.Text * 2
       

    End Sub

21.    Untuk kembali ke Form2:
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Form2.Show()
        Me.Hide()

    End Sub

22.  Jika ingin me-Reset data dan gambar :

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        TextBox1.Text = ""
        TextBox2.Text = ""
        OvalShape1.Refresh()
       
    End Sub

    Private Sub Form5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.ForeColor = Color.DimGray
        Me.BackColor = Color.Turquoise
    End Sub

    Private Sub OvalShape1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OvalShape1.Click

    End Sub
End Class

Form 6
23.   Jika ingin memasukan Sisi kubus :
Public Class Form6
    Dim VolumeKubus As Single
    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        TextBox1.Text = Val(TextBox1.Text)
       
    End Sub

24.  Jika ingin memasukan Luas kubus dan Gambar :

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        VolumeKubus = TextBox1.Text ^ 3
        TextBox2.Text = VolumeKubus
        Dim myGraphics As Graphics = Panel1.CreateGraphics

        Dim myPen As Pen
        myPen = New Pen(Drawing.Color.BlueViolet, 3)


        Dim x1 As New Integer
        Dim x2 As New Integer

        Dim y1 As New Integer
        Dim y2 As New Integer

        Dim width As New Integer
        Dim height As New Integer
        Dim myRect As New Rectangle
        width = TextBox1.Text
        height = TextBox1.Text

        myRect.Width = TextBox1.Text
        myRect.Height = TextBox1.Text
        myRect.X = 10
        myRect.Y = (10 + width / 2)
        myGraphics.DrawRectangle(myPen, myRect)
        myRect.X = (10 + width / 2)
        myRect.Y = 10
        myGraphics.DrawRectangle(myPen, myRect)

        x1 = 10
        y1 = (10 + width / 2)
        x2 = (10 + width / 2)
        y2 = 10
        myGraphics.DrawLine(myPen, x1, y1, x2, y2)

        y1 = y1 + width
        y2 = y2 + width
        myGraphics.DrawLine(myPen, x1, y1, x2, y2)

        x1 = x1 + width
        x2 = x2 + width
        myGraphics.DrawLine(myPen, x1, y1, x2, y2)
        y1 = y1 - width
        y2 = y2 - width
        myGraphics.DrawLine(myPen, x1, y1, x2, y2)
        'Volume diketahui'
    End Sub

25.  Jika ingin kembali ke Form :

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Form2.Show()
        Me.Hide()
      
    End Sub

26.  Jika ingin me-Reset data dan Gambar:

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        TextBox1.Text = ""
        TextBox2.Text = ""
        Panel1.Refresh()
    
    End Sub

    Private Sub Form6_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.ForeColor = Color.CadetBlue
        Me.BackColor = Color.LightGreen
    End Sub

    Private Sub Panel1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint

    End Sub
End Class

Form 7
27.  Jika ingin memasukan panjang Balok :
Public Class Form7

    Dim VolumeBalok As Single

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        TextBox1.Text = Val(TextBox1.Text)
      
    End Sub

28.  Jika ingin memasukan Lebar Balok :

    Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        TextBox2.Text = Val(TextBox2.Text)
       
    End Sub

29.  Jika ingin memasukan Tinggi Balok :

    Private Sub TextBox3_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
        TextBox3.Text = Val(TextBox3.Text)
      
    End Sub

30.  Jika ingin kembali ke Form2:

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
        Form2.Show()
        Me.Hide()
       
    End Sub

31.  Jika ingin me-Reset data dan gambar :

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        TextBox1.Text = ""
        TextBox2.Text = ""
        TextBox3.Text = ""
        TextBox4.Text = ""
        Panel1.Refresh()
     
    End Sub

    Private Sub Form7_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.ForeColor = Color.Brown
        Me.BackColor = Color.LemonChiffon
    End Sub


32.    Jika ingin menghitung Volume dan Gambar :

    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        VolumeBalok = TextBox1.Text * TextBox2.Text * TextBox3.Text
        TextBox4.Text = VolumeBalok
        Dim myGraphics As Graphics = Panel1.CreateGraphics

        Dim myPen As Pen
        myPen = New Pen(Drawing.Color.BlueViolet, 3)


        Dim x1 As New Integer
        Dim x2 As New Integer

        Dim y1 As New Integer
        Dim y2 As New Integer

        Dim width As New Integer
        Dim height As New Integer
        Dim lebar As New Integer
        Dim myRect As New Rectangle
        width = TextBox1.Text
        height = TextBox3.Text
        lebar = TextBox2.Text

        myRect.Width = TextBox1.Text
        myRect.Height = TextBox3.Text
        myRect.X = 10
        myRect.Y = (10 + lebar / 2)
        myGraphics.DrawRectangle(myPen, myRect)
        myRect.X = (10 + lebar / 2)
        myRect.Y = 10
        myGraphics.DrawRectangle(myPen, myRect)

        x1 = 10
        y1 = (10 + lebar / 2)
        x2 = (10 + lebar / 2)
        y2 = 10
        myGraphics.DrawLine(myPen, x1, y1, x2, y2)

        y1 = y1 + height
        y2 = y2 + height
        myGraphics.DrawLine(myPen, x1, y1, x2, y2)

        x1 = x1 + width
        x2 = x2 + width
        myGraphics.DrawLine(myPen, x1, y1, x2, y2)
        y1 = y1 - height
        y2 = y2 - height
        myGraphics.DrawLine(myPen, x1, y1, x2, y2)
     
    End Sub

    Private Sub TextBox4_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox4.TextChanged

    End Sub

    Private Sub Panel1_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint

    End Sub

33.  Jika ingin kembali ke Form2:

    Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Form2.Show()
        Me.Hide()
    End Sub
End Class