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

  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();
            }

posted @ 2014-12-09 22:29  初入程序猿  阅读(1956)  评论(0编辑  收藏  举报