Menghitung Nilai Volume Kubus
Microsoft Visual Basic atau VB.Net adalah program untuk pembuatan penghitungan (count) yang di buat untuk mengitung gaji dan pendataan (data base)
Codding cara mencari nilai dari Volume Kubus
Pertama. buka "Microsoft Visual Studio 2008"
pilih "windows Forms Application"
masukkan codding ini ...
public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
End
End Sub
Private Sub btnProcess_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnProcess.Click
TB_Volume.Text = TB_Sisi.Text * TB_Sisi.Text * TB_Sisi.Text
End Sub
Private Sub btnReset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReset.Click
TB_Sisi.Text = ""
TB_Volume.Text = ""
End Sub
Private Sub TB_Sisi_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TB_Sisi.TextChanged
End Sub
Private Sub Label2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label2.Click
End Sub
End Class
Silahkan mencoba!!!
Terima Kasih Telah Mengunjungi Blog saya dan Berkomentar dengan Sopan :)