Subscribe to our RSS Feeds
Rasululloh -shallallahu 'alaihi wasallam- bersabda : "Apabila manusia meninggal dunia, maka terputuslah amalnya kecuali 3 perkara; sedekah jariyah atau ilmu yang bermanfaat atau anak yang shalih yang mendo'akannya". Semoga artikel yang kami berikan di sini dapat bermanfaat bagi kita semua dan mohon do'akan agar kami tetap bersemangat dalam memberikan ilmu yang bermanfaat (HR.Muslim 3084)
Assalamu Alaikum,..Salam hangat terDahsyat buat kamu-kamu yang udah rela mampir, silahkan copas dengan menyertakan alamat blog ini, semoga bermanfaat!!

Mencari Luas Bangun Dengan VB.net

0 Comments »
SCRIPT MENCARI LUAS BANGUN

Public Class Luas_bangun

Private Sub kali_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles luassegitiga.Click
TextBox3.Text = 0.5 * Val(TextBox1.Text) * Val(TextBox2.Text)
TextBox4.Text = "ALAS :"
TextBox5.Text = "TINGGI :"
End Sub

Private Sub bagi_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles luaspersegipanjang.Click, luas_persegi_panjang.Click
TextBox3.Text = Val(TextBox1.Text) * Val(TextBox2.Text)
TextBox4.Text = "PANJANG :"
TextBox5.Text = "LEBAR :"
End Sub

Private Sub pangkat_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles luaslingkaran.Click, luaslingkaran.Click
TextBox3.Text = 3.14 * (Val(TextBox1.Text) * Val(TextBox1.Text))
TextBox4.Text = "JARI-JARI :"
TextBox5.Text = " "
TextBox2.Text = " "
End Sub

Private Sub mods_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles kelilinglingkaran.Click, kelilinglingkaran.Click
TextBox3.Text = 2 * 3.14 * Val(TextBox1.Text)
TextBox4.Text = "JARI-JARI :"
TextBox5.Text = " "
TextBox2.Text = " "
End Sub

Private Sub bersih_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bersih.Click
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
End Sub

Private Sub keluar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles keluar.Click
Me.Close()
End Sub
End Class
01.26

Membuat Kalkulator Dengan VB.Net

0 Comments »
 SCRIPT PEMBUATAN CALCULATOR VB.NET


Public Class calculator

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tambah.Click
TextBox3.Text = Val(TextBox1.Text) + Val(TextBox2.Text)
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles kurang.Click
TextBox3.Text = Val(TextBox1.Text) - Val(TextBox2.Text)
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles kali.Click
TextBox3.Text = Val(TextBox1.Text) * Val(TextBox2.Text)
End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bagi.Click
TextBox3.Text = Val(TextBox1.Text) / Val(TextBox2.Text)
End Sub

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pangkat.Click
TextBox3.Text = Val(TextBox1.Text) ^ Val(TextBox2.Text)
End Sub

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mods.Click
TextBox3.Text = Val(TextBox1.Text) Mod Val(TextBox2.Text)
End Sub

Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bersih.Click
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
End Sub

Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles keluar.Click
Me.Close()
End Sub
End Class
01.21