2
Answers

if statement

waffle

waffle

17y
1.9k
1
VS2005 i have this code.. i don't know what's wrong! pls help.. if (checkBoxDiscounted.Enabled == false) { DialogResult ans = MessageBox.Show("Bill: " + totAmt.Text); } else { DialogResult ans = MessageBox.Show("Bill: " + disPrice.Text); } though i have the if statement, the result is still the same. always the discounted price is displayed.

Answers (2)
Next Recommended Forum