CodePudding user response:
More than one method,You can display the results of control for RichTextbox, write a result in an additional one, for example:
RichTextBox. AppendText="area: 123" + VBLF
CodePudding user response:
Forget to see the is c #, wroteRichTextBox. AppendText="area: 123" + "\ r \ n";
CodePudding user response:
,,,,,,,,,,,,,,,,,,,,,,+=
CodePudding user response:
Your 36 and 38 synthetic line:This. Tex. Text="circumference:" + Cs. Jisuanzc (), ToString () + "\ r \ n" + "area:" + Cs. Jisuans (), ToString ();
Two little suggestion:
1. The name to the specification, don't in the mix build,
2. More than reading books and MSDN.
CodePudding user response:
Pinyin, it is better to use English words
CodePudding user response:
//calculate the perimeter. This text. The text=Cs. Jisuanzc (). The ToString ();
//calculate area
. This text. The text=Cs. Jisuans (). The ToString ();
Cover the area of the circumference
Should be like this:
//calculate the perimeter
. This text. The text=Cs. Jisuanzc (). The ToString ();
//calculate area
This. Text. Text +=", "+ Cs. Jisuans (). The ToString ();
CodePudding user response:
This. Tex. Text="circumference:" + Cs. Jisuanzc (), ToString () + "\ r \ n" + "area:" + Cs. Jisuans (), ToString ();CodePudding user response:
The result into a string is not ok