【发布时间】:2014-05-05 08:36:28
【问题描述】:
我有两个资源:1.jpg、2.jpg。我可以像这样访问它们:
pictureBox1.Image = Properties.Resources.Computer1;
pictureBox1.Image = Properties.Resources.Computer2;
但是如果我想通过索引来访问它呢:
pictureBox1.Image = Properties.Resources.Computer[0];
我该怎么做?
【问题讨论】:
标签: c# visual-studio resources windows-forms-designer