VB .Net Praktikum 2.2

Tambahkan Form Baru
Table kerja

Object Properties Value
Form2
Text
Program-2
Name
Form2
Size
700;400
StartPosition
CenterScreen
Label1
Text
(Dikosongkan)
Font
FontStyle: Bold
Size: 14
BorderStyle
Fixwd3D
Label2
Text
Nama
Label3
Text
(Dikosongkan)
Font
FontStyle: Bold
Size: 14
BorderStyle
Fixed3D
TextBox1
(Name)
TxtNama
Button1
(Name)
BtnProses
Text
Proses
Font
FontStyle: Bold
Size: 14
Button2
(Name)
BtnTutup
Text
Tutup
Font
FontStyle: Bold
Size: 14
GrupBox1
Text
Warna
GrupBox2
Text
Font Style
RadioButton1
(Name)
RBMerah
Text
Merah
RadioButton2
(Name)
RBHijau
Text
Hijau
RadioButton3
(Name)
RBOrange
Text
Orange
RadioButton4
(Name)
RBBiru
Text
Biru
CheckBox1
Text
Bold
CheckBox2
Text
Italic
CheckBox3
Text
Underline
CheckBox4
Text
Strikeout

Pada kolom Properties ubah :

Text                          : Form1 menjadi Menu Utama

(Name)                    : Form1 menjadi FormMenu

MinimumSize        : 1024;768

StartPosition : CenterScreen

Properties
Gambar 2.2 Mengatur Properties

Pilih Toolbox —> Menus & Toolbars
Kemudian pilih MenuStrip
dengan cara Click & drug (klik & geser)
ke area Form Desain

Gambar 2.3 Menambahkan MenuStrip
Gambar 2.4 Form Desain setelah di atur properties-nya

Buatlah menu seperti gambar berikut:

Gambar 2.5 Membuat Menu dengan MenuStrip

Leave a Reply

Your email address will not be published. Required fields are marked *