C#中winform中richTextBox.Text改变遇到问题
我想将几个TextBox中的文字综合起来赋值给richTextbox,(分别添加Button控件以及在richTextBox中)使用如下的代码为什么运行时不改变呢?
richTextBox1.Text = "spacegroup:" + comboBox1.Text + "\n" + "Lattice Parameters:\n" + "a=" + textBox1.Text + "; " + "b=" + textBox1.Text + "; " + "c=" + textBox3.Text + "\n" + "Angles:" + "α=" + textBox4.Text + "; " + "β=" + textBox5.Text + "; " + "γ=" + textBox6.Text + "\n";
小白一枚,求通俗易懂的解答啊