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

时间:2014-05-11 16:58:29   收藏:0   阅读:199

 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)
        {

        }

P?H?P?制?作?姓?名?、?学?号?。?爱?好?等?窗?口,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!