Select e.Sender.Name
Case "管理费控件", "水电费", "其他"
Dim v As Double
If e.Form.Controls("单选框1").checked Then
v = 1
Else If e.Form.Controls("单选框2").checked Then
v = 2
Else If e.Form.Controls("单选框3").checked Then
v = 3
End If
e.Form.Controls("结果1").text = v * e.Form.Controls("管理费控件")
e.Form.Controls("结果2").text = v * e.Form.Controls("水电费")
e.Form.Controls("结果3").text = v * e.Form.Controls("其他")
Next
End Select