主要代码:private void radZhfx_CheckedChanged(object sender, EventArgs e) { if (radZhfx.Checked == true) { label2.Visible = true; label3.Visible = label4.Visible=false; textBox1.Visible = true; textBox2.Visible = textBox3.Visible = false; label2.Text = " 长:"; lblResult.Text = "面积:"; } } 长:"; lblResult.Text = "面积:"; } }