VB设计计算程序代码

[复制链接]
查看11 | 回复1 | 2011-11-6 19:14:41 | 显示全部楼层 |阅读模式
添加三个text控件添加四个command控件代码:Private Sub Command1_Click()Text3.Text = Val(Text1.Text) + Val(Text2.Text)End SubPrivate Sub Command2_Click()Text3.Text = Val(Text1.Text) - Val(Text2.Text)End SubPrivate Sub Command3_Click()Text3.Text = Text1.Text * Text2.Te...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行