帮帮忙!我想把一个textbox1中的内容传到textbox2中 ,但通过按钮重新输入时,textbox2中内容还存在.谢谢1
private void button1_Click(object sender, EventArgs e)
{
string a = textBox1.Text;
textBox2.Text = a;
}
private void button2_Click(object sender, EventArgs e)
{
textBox1.Text = "";
}