C#后台代码编写图片地址Properties.Resources._1;

时间:2014-12-09 23:03:40   收藏:0   阅读:454

  if (i == 0)
            {
                pictureBox1.Image = Properties.Resources._1;
                i++;
                radioButton2.Checked = true;
                return;
            }
            if (i == 1)
            {
                pictureBox1.Image = Properties.Resources._2;
                i++;
                radioButton3.Checked = true;
                return;
            }
            if (i == 2)
            {
                pictureBox1.Image = Properties.Resources._3;
                i++;
                radioButton4.Checked = true;
                return;
            }
            if (i == 3)
            {
                pictureBox1.Image = Properties.Resources._4;
                i++;
                radioButton5.Checked = true;
                return;
            }
            if (i == 4)
            {
                pictureBox1.Image = Properties.Resources._5;
                i++;
                radioButton6.Checked = true;
                return;
            }
            if (i == 5)
            {
                Form1 f = new Form1();
                f.Show();
                this.Hide();
            }

原文:http://www.cnblogs.com/codemouserman/p/4154369.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!