草莓宝贝
幼苗
共回答了18个问题采纳率:94.4% 举报
定义一个command 四个label 四个text.具体属性为
command.caption=计算 label1.caption=第一条边的长度:label2.caption=第二条边的长度:label3.caption=两边的夹角 label4.caption=三角形面积为:
text1.text="" text2.text="" text3.text="" text4.text=""
代码如下:
private sub command1_click
text4.text=val(text1) * val(text2)*sin(val(text3)*3.1415926/180)
end su
1年前
9