I am having a problem trying to use two tiny bitmaps that I placed in
a resource file. The bitmaps are a green checkmark and a red X. I have
the following code;
ResourceManager resourceManager = new
ResourceManager("RaptorAccessoryTest.Properties.Resources",
GetType().Assembly);
Bitmap image = (Bitmap)resourceManager.GetObject("GreenCheck");
Now I want to use the bitmap. I get the error when I run;
pictBarcodeTest.Image = image;
so I tried this instead, with no success;
pictBarcodeTest.Image = new Bitmap(image);
What am I doing wrong?
Scott