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

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

上一篇:桥接模式(bridge结构模式)c#


下一篇:C#语法复习2