how can i use imagelist
i filled an imagelist with pictures,,,,i want the images to show on picturebox when select an item from listbox
simply,i want to use the index of imagelist
how can i use imagelist
i filled an imagelist with pictures,,,,i want the images to show on picturebox when select an item from listbox
simply,i want to use the index of imagelist
السلام عليكم ورحمة الله وبركاته.
نفترض انه لديك PictureBox باسم pictureBox1 و ImageList باسم imageList1 وموجود بها مثلا صور وتود ان تعرض اول صوره بها داخل الـ pictureBox1 , استخدم هذا الكود ::
pictureBox1.Image = imageList1.Images[0];
طبعا قم بتغيير رقم ( 0 ) للرقم الذي تريد.
هذا الموضوع مغلق.