button_click { for (i = 0; i < 3; i++) { for (j = 0; j < 3; j++) { Color pixelColor = bm.GetPixel(i, j); b = pixelColor.R; ADDINARRAY(b); c = pixelColor.G; ADDINARRAY(c); d = pixelColor.B; ADDINARRAY(d); } } } void ADDINARRAY(int value) { listBox1.Items.Add(value); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)