码迷,mamicode.com
首页 > Windows程序 > 详细

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

时间:2014-12-09 23:04:46      阅读:402      评论:0      收藏:0      [点我收藏+]

标签:io   sp   for   on   bs   代码   ad   tt   new   

  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;

标签:io   sp   for   on   bs   代码   ad   tt   new   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!