创建一个窗口,在上面添加两个文本框Text1和Text2,还有一个命令按钮Command1,然后在command1的click事件中编写如下代码: text1.value = text1.value - 你要减少的数值 text2.value = text2.value + 你要增加的数值