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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80537 --- shadow/80537 2007-01-17 04:39:55.000000000 -0500 +++ shadow/80537.tmp.1718 2007-01-17 11:22:28.000000000 -0500 @@ -1,13 +1,13 @@ Bug#: 80537 Product: Mono: Class Libraries Version: unspecified OS: unknown OS Details: -Status: NEW -Resolution: +Status: RESOLVED +Resolution: NOTABUG Severity: Unknown Priority: Normal Component: Windows.Forms AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] @@ -64,6 +64,22 @@ How often does this happen? Allways!! Additional Information: This frustrated me for about 6 hours until I decided to file a bug-report..Sorry I couldnt find a solution..I will keep trying though.. + +------- Additional Comments From [EMAIL PROTECTED] 2007-01-17 11:22 ------- +The problem is that you did the Int to String conversion, so you are +doing string addition instead of number addition. Adding strings +together just concatenates them together: + +"dog" + "house" = "doghouse" + +You want number addition: + +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(); _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
