[Mono-bugs] [Bug 80537][Nor] Changed - Button retreaves wrong output
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jan 17 11:33:52 EST 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by monkey at jpobst.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80537
--- shadow/80537 2007-01-17 11:22:28.000000000 -0500
+++ shadow/80537.tmp.2017 2007-01-17 11:33:52.000000000 -0500
@@ -80,6 +80,11 @@
1 + 1 = 2.
So you need to change your String to an Int and add 1 to it, and then
change the whole thing to a String for the TextBox:
AnswerTextBox.Text = ((int)AnswerTextBox.Text + 1).ToString();
+
+------- Additional Comments From monkey at jpobst.com 2007-01-17 11:33 -------
+whoops, mispasted that, its:
+
+AnswerTextBox.Text = (int.Parse(AnswerTextBox.Text) + 1).ToString();
More information about the mono-bugs
mailing list