The funeral of Azeroth

Herose

 

vb.11.9

Private Sub Command1_Click()
Dim a, b, result As Double
a = Text1.Text
b = Text2.Text
result = 0
If b <> 0 Then
result = a / b
Text3 = result
Else
MsgBox "除数不能为0!"
End If

End Sub

posted on 2010-11-09 20:47 Herose 阅读(90) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
 

导航

统计

常用链接

留言簿(3)

随笔档案

文章档案

相册

http://www.enet.com.cn/eschool/video/vb/

搜索

最新评论

阅读排行榜

评论排行榜