public ImageForm() { InitializeComponent(); this.images = new ImageLoader(100, 100, this.Width).LoadImages(); this.Paint += new PaintEventHandler(ImageForm_Paint); this.FormClosing += new FormClosingEventHandler(ImageForm_FormClosing); }