if (k == 0) { textBox1.Text = "c" + Convert.ToString(k) + "; x0, y0, R = " + Convert.ToString(cir[k].x0) + ",\t" + Convert.ToString(cir[k].y0) + ",\t" + Convert.ToString(cir[k].Radius); textBox2.Text = "c" + Convert.ToString(k) + "; a1, a2, f1, f2 = " + Convert.ToString(a1_Round[k]) + ", " + Convert.ToString(a2_Round[k]) + ", " + Convert.ToString(f1_Round[k]) + ", " + Convert.ToString(f2_Round[k]); } else { textBox1.Text += System.Environment.NewLine + "c" + Convert.ToString(k) + "; x0, y0, R = " + Convert.ToString(cir[k].x0) + ",\t" + Convert.ToString(cir[k].y0) + ",\t" + Convert.ToString(cir[k].Radius); textBox2.Text += System.Environment.NewLine + "c" + Convert.ToString(k) + "; a1, a2, f1, f2 = " + Convert.ToString(a1_Round[k]) + ", " + Convert.ToString(a2_Round[k]) + ", " + Convert.ToString(f1_Round[k]) + ", " + Convert.ToString(f2_Round[k]); }
test for (int x = 0; x < 5; x++) { }\t ==> tap 삽입
System.Environment.NewLine ==> 새 줄로 시작
댓글 없음:
댓글 쓰기