首页 > 代码库 > P?H?P?制?作?姓?名?、?学?号?。?爱?好?等?窗?口

P?H?P?制?作?姓?名?、?学?号?。?爱?好?等?窗?口

 if (radioButton1.Checked == true)
                textBox2.Text = 姓名: + textBox1.Text +    性别: + radioButton1.Text +     专业 + comboBox1.Text;
            else
                textBox2.Text = 姓名: + textBox1.Text +    性别: + radioButton2.Text +     专业 + comboBox1.Text;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if (checkBox1.Checked == true)
                textBox2.Text = textBox2.Text +    爱好: + checkBox1.Text +   ;
            if (checkBox2.Checked == true)
                textBox2.Text = textBox2.Text + checkBox2.Text +   ;
        }

        private void groupBox2_Enter(object sender, EventArgs e)
        {

        }