相册浏览 :可以这样去实现
public partial class Form5 : Form
{
int b = 1;
public Form5()
{
InitializeComponent();
}
private void timer1_Tick(object sender, EventArgs e)
{
b++;
this.pictureBox2.Image = Image.FromFile("D:\\" + b + ".jpg", false);
if (b == 10)
{
b = 1;
}
}
}
当然 浏览的图片是之前放在D盘的···