So that I can bind a picturebox to a datasource in winforms I have created a property that returns a tiny bitmap if the data is null.
I need a function like
private static bool IsBlankImage(Image img)
{
return (img == new Bitmap(1, 1);
}
However this always returns false. What am I doing wrong?
Further explanation of the technique I need the function for is outlined my answer to the question here