selectvalue
private void button1_Click(object sender, EventArgs e)
{
if (radioButton1.Checked == true)
{
this.textBox1.Clear();
textBox1.Text = radioButton1.Text;
}
else
{
this.textBox1.Clear();
textBox1.Text = radioButton2.Text;
}
}
方法在Button事件写