public class Form1 : System.Windows.Forms.Form
{ private int PicNo;//图片编号
private Bitmap []bitmap;
public Form1()
{
InitializeComponent();
//my add
timer1.Interval=600;
bitmap=new Bitmap[5];
for (int i=0;i<5;i++)
{
string file=Application.StartupPath+ "\\DG0" + i.ToString()+ ".bmp";
bitmap[i]=new Bitmap(file);
}
}
bitmap[i]=new Bitmap(file); 改为
bitmap[i]=new Bitmap("aa.bmp"); 也不行?
aa.bmp有啊?
{ private int PicNo;//图片编号
private Bitmap []bitmap;
public Form1()
{
InitializeComponent();
//my add
timer1.Interval=600;
bitmap=new Bitmap[5];
for (int i=0;i<5;i++)
{
string file=Application.StartupPath+ "\\DG0" + i.ToString()+ ".bmp";
bitmap[i]=new Bitmap(file);
}
}
bitmap[i]=new Bitmap(file); 改为
bitmap[i]=new Bitmap("aa.bmp"); 也不行?
aa.bmp有啊?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货