Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将图像从存储在程序资源文件中的 PNG 添加到图像列表中。我该如何在运行时执行此操作?
试试这样:
imageList1.Images.Add(Properties.Resources.myImage);