ciao a tutti ho questo problema con una pic box e delle immagini in reosurces
il codice è questo:
picbox.source = *namespace*.Proprieties.Resources.*immagine*.toBitmapSource();
il problema è che il metodo toBitmapSource() l'intellisense non lo trova e in complilazione mi da questo errore:
The type or namespace name 'Drawing' does not exist in the namespace 'System' (are you missing an assembly reference?)
ed è realivo al file resources.deigner.cs:
internal static System.Drawing.Bitmap _0 {
get {
object obj = ResourceManager.GetObject("_0", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
che non ho modificato a mano...
come posso fare?