Hi,
I have a form with a flow layout panel which I'm loading multiple images into
now when i click an AlbumImage it fires ImageClicked ok but how would I pass an Image ID so i know which image has been clickedCode:... Image = new Bitmap(Picture); AlbumImage = new PictureBox(); AlbumImage.Height = 75; AlbumImage.Width = 100; AlbumImage.SizeMode = PictureBoxSizeMode.StretchImage; AlbumImage.Image = Image; AlbumImage.Click += new EventHandler<string>(ImageClicked); BackPanel.Controls.Add(AlbumImage); ...
Thanks




Reply With Quote