المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Testing for current PictureBox.Image



C# Programming
07-09-2009, 05:21 PM
I am setting a PictureBox.Image to an ImageList index with

summaryKeyEventsPictureBox.Image = keyEventIconsImageList.Images[2];

If I wanted to test if my current pictureBox image was equal to the ImageList.Images[2] how would I do this please?