This is a class having enumeration... there is one function with return time enumeration...
I want to access this method on a button's click event... how do I call this function.. and in which type of variable I retrieve the result???
Please guide me...
Thanks in advance!
public class ComparingImages
{
public enum CompareResult
{
ciCompareOk,
ciPixelMismatch,
ciSizeMismatch
};
public static CompareResult Compare(Bitmap bmp1, Bitmap bmp2)
{
...........
return cr;
}
}
}