- 分享
- 0
- 人气
- 0
- 主题
- 10
- 帖子
- 1850
- UID
- 148344
- 积分
- 1531
- 阅读权限
- 19
- 注册时间
- 2008-6-14
- 最后登录
- 2017-11-3
- 在线时间
- 902 小时
|
图不能放大啊。。。。。
我只看到你的error 是 input format no correct...其他code太小看不到。。。。。 ...
shippo 发表于 2010-8-19 04:17 PM
oo
try catch
對哦
忘了這個謝謝
我還想問
Private Sub open_bill_tyre_textbox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles open_bill_tyre_textbox1.TextChanged, open_bill_tyre_textbox2.TextChanged, labour_charge_textbox.TextChanged
With Me
Dim quantity1, quantity2, labour, price1, price2, total_payment As Integer
If .open_bill_tyre_textbox1.Text = "" Then
quantity1 = 0
Else
quantity1 = Integer.Parse(open_bill_tyre_textbox1.Text)
End If
If .open_bill_tyre_textbox2.Text = "" Then
quantity2 = 0
Else
quantity2 = Integer.Parse(open_bill_tyre_textbox2.Text)
End If
If .labour_charge_textbox.Text = "" Then
labour = 0
Else
labour = Integer.Parse(labour_charge_textbox.Text)
End If
If price_textbox1.Text = "" Then
price1 = 0
Else
price1 = Integer.Parse(price_textbox1.Text)
End If
If price_textbox2.Text = "" Then
price1 = 0
Else
price2 = Integer.Parse(price_textbox2.Text)
End If
total_payment = (price1 * quantity1) + (price2 * quantity2) + labour
total_payment_textbox.Text = total_payment.ToString("C")
End With
End Sub
如果coding 是這樣是給那個textbox auto display 的
爲什麽我只可以display 到一個radio button 其他不可以的? |
|