Witam,
mam kod prosto z tutoriala i mi nie działa. O co może chodzić ?
fileName = openFileDialog1.FileName;
Image obraz = Image.FromFile(fileName);
e.Graphics.DrawImage(obraz, 0, 0);
Błąd:
Error 1 'System.EventArgs' does not contain a definition for 'Graphics' and no extension method 'Graphics' accepting a first argument of type 'System.EventArgs' could be found (are you missing a using directive or an assembly reference?)