int count = +1; private void BtnNext_Click(object sender, EventArgs e) { if(count<7) { count++; } pictureBox1.Image=imageList1.Images[count]; } //with out using openfiledialog