私はビジュアルC#に非常に慣れていません画像ボックスに画像の配列を表示したい
これが私のコードです:
string[] list = Directory.GetFiles(@"C:\\pictures", "*.jpg");
Image[] images = new Image[5];
for (int index = 0; index < 5; index++)
{
images[index] = Image.FromFile(list[index]);
}
実行すると、ピクチャボックスが空白になります。