All pastes #453356 Raw Edit

Mine

public text v1 · immutable
·published 2007-04-22 23:02 UTC
rendered paste body
namespace TestingStuff
{
    public partial class Form1 : Form
    {
        ArrayList x = new ArrayList();
        public Form1()
        {
			InitializeComponent();

			ImageEdit.ResetImages(new PictureBox[] { pictureBox1, pictureBox1 });
        }
    }
	static class ImageEdit
	{
		static public void ResetImages(PictureBox[] p)
        {
			foreach (PictureBox pic in p)
			{
				pic.ImageLocation = Application.StartupPath + @"\1.gif";
			}
        }
	}
}