Analizer1 said:
[icons and bitmaps in a DLL]
Where can i Find a Example...
Ive not used Assembly before
Well, here is a quick example if you just want to retrieve a bitmap. If
it's not enough, you should check the Visual Studio documentation and also
make sure you know about the Stream class.
using System.Reflection;
. . .
Bitmap b = (Bitmap) Bitmap.FromStream(
Assembly.GetExecutingAssembly().GetManifestResourceStream(
"MyNamespace.MyImageFilename.bmp"
));
This works if your code is in a namespace "MyNamespace" and you've added a
file "MyImageFilename.bmp" with Build Action set to "Embedded Resource".
Eq.