APLIKASI PENJUALAN SEDERHANA
Desain program seperti tampilan Berikut
isi coding berikut ini pada Form code
setelah mengisi coding jalankan program dengan cara
Click Tombol Debugging pada Menu
Data
Type
|
Size
in
Bytes
|
Return
Value
|
Type
|
Tipe Data Numeric
|
|||
Byte
|
1
|
8-bit unsigned integer (0 – 255)
|
System.Byte
|
Integer
|
3
|
32-bit
signed integer
(-2.147.483.648 s/d 2.147.483.647)
|
System.Int32
|
Long
|
8
|
64-bit
signed integer
-9.223.372.036.854.775.808
s/d
9.223.372.036.854.775.807
|
System.Int64
|
Double
|
8
|
64-bit
floating point variabel
(5E-324
s/d 1.8E+10308)
|
System.Double
|
Decimal
|
16
|
128-bit
floating point variabel
(Nilai
hingga 28 digit)
|
System.Decimal
|
Tipe Data Karakter
|
|||
Char
|
2
|
16-bit unicode characters
|
System.Char
|
String
|
Varies
|
Non-Numeric Type
|
System.String
|
Tipe Data Tanggal
|
|||
Date
|
8
|
0:00:00
on Januari 1, 0001 through 11:59:59 PM on December 31, 9999
|
System.Date
|
Tipe Data Logika
|
|||
Boolean
|
2
|
True or
False
|
System.Boolean
|
Tipe Data Object
|
|||
Object
|
4
|
Any
type can be stored in variable of type object
|
System.Object
|
Dim
(namavariabel) as (tipedata)
|
(namavariabel) =
NilaiAwal
|
Dim
(namavariabel) as (tipedata) =
NilaiAwal
|
NO.
|
OBJEK
|
PROPERTIES
|
PENGATURAN
|
1
|
Label1
|
Text
|
OPERASI MATEMATIKA
|
Font Size
|
9
|
||
Bold
|
True
|
||
2
|
Label2
|
Text
|
Bilangan 1 :
|
3
|
Label3
|
Text
|
Bilangan 2 :
|
4
|
Label4
|
Text
|
Hasil :
|
5
|
Label5
|
Text
|
OPERATOR
|
Bold
|
True
|
||
6
|
TextBox1
|
Name
|
txtbil1
|
7
|
TextBox2
|
Name
|
txtbil2
|
8
|
TextBox3
|
Name
|
Txthasil
|
9
|
Button1
|
Text
|
^
|
Size
|
10
|
||
Name
|
Btnpangkat
|
||
Backcolor
|
Red
|
||
10
|
Button2
|
Text
|
*
|
Size
|
10
|
||
Name
|
Btnkali
|
||
Backcolor
|
Blue
|
||
11
|
Button3
|
Text
|
/
|
Name
|
Btnbagi
|
||
Size
|
10
|
||
Backcolor
|
Yellow
|
||
12
|
Button4
|
Text
|
+
|
Size
|
9
|
||
Name
|
Btntambah
|
||
Backcolor
|
Lime
|
||
13
|
Button5
|
Text
|
-
|
Size
|
10
|
||
Name
|
Btnkurang
|
||
Backcolor
|
green
|
||
14
|
Button6
|
Text
|
Bersih
|
Name
|
Btnbersih
|
||
15
|
Button7
|
Text
|
Tutup
|
Name
|
Btntutup
|
NO.
|
OBJEK
|
PROPERTIES
|
PENGATURAN
|
1
|
Label1
|
Text
|
Program Persegi Panjang
|
Font Size
|
9
|
||
Bold
|
True
|
||
2
|
Label2
|
Text
|
Panjang :
|
3
|
Label3
|
Text
|
Lebar :
|
4
|
Label4
|
Text
|
Luas :
|
5
|
Label5
|
Text
|
Keliling :
|
6
|
TextBox1
|
Name
|
TxtP
|
7
|
TextBox2
|
Name
|
TxtL
|
8
|
TextBox3
|
Name
|
TxtLuas
|
9
|
TextBox4
|
Name
|
TxtKel
|
10
|
GroupBox1
|
Text
|
INPUT
|
Forecolour
|
Blue
|
||
11
|
GroupBox2
|
Text
|
Hasil
|
Forecolour
|
Red
|
||
Name
|
Btnpangkat
|
||
Backcolor
|
Red
|
||
12
|
Button1
|
Text
|
Proses
|
Name
|
BtnProses
|
||
13
|
Button2
|
Text
|
Bersih
|
Name
|
Btnbersih
|
||
14
|
Button3
|
Text
|
Tutup
|
Name
|
Btntutup
|