'將任意兩數相乘計算結果
Public Class Form1
Dim a, b As Long
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
a = Val(TextBox1.Text)
b = Val(TextBox2.Text)
TextBox3.Text = a * b
End Sub
End Class
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言