Jumat, 16 November 2012

Belajar VB.Net

Assalamualaikum...
Kali ini IT Sasak akan share tentang VB.Net,,,

Alhamdulillah, belajar oprek VB.Net Otodidak... ^_^
Iseng install Microsoft Visual Studio 2012 trus nyoba otak-atik VB.Net, ternyata gak begitu sulit...hehehe

Memang tidak seringan ketika membuat aplikasi di VB 6.0 tetapi tampilan di VB.Net jauh lebih menarik...
Agak gimana gitu,....!!!

Tampilan Dekstopnya mirip-mirip kayak Java... ^_^

Langsung aja dah,,,
Nech screenshot aplikasi pertamaku... ^_^



Berikut scriptnya:

Public Class Form1
Dim a, b As Integer
a = TextBox1.Text
b = TextBox2.Text

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
hasil.Text = a * b
End Sub

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
hasil.Text = a / b
End Sub

Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
hasil.Text = a + b
End Sub

Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
hasil.Text = a - b
End Sub

End Class



Tidak ada komentar:

Poskan Komentar

 

Design By:
SkinCorner