我现在知道资源文件中图片的名称,如何获取其在ResouceManager中的index,给控件赋值呢?比如index = ......
control.ImageIndex = index;
control.SelectedImageIndex = ...