private static int rosu = Color.Red.getRGB;
'System.Drawing.Color' does not contain a definition for 'getRGB' and no extension method 'getRGB' accepting a first argument of type 'System.Drawing.Color' could be found (are you missing a using directive or an assembly reference?)
for (uy=0;uy<h;uy++) for (ux=0;ux<w;ux++) if(curba[uy][ux]==255) curba[uy][ux]=rosu;