试试picturebox1.image.Equals(picturebox2.image)

解决方案 »

  1.   

    the == operator for Image only compares the object handles, i.e., addressto compare two images, you really need to compare RGBA for each pixel of the image yourselfhere is a better solution, compare the hash values of the images:http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=Xns93A9CEE5FCA7Bcrtimmonscrtimmonsin%40207.46.248.16
      

  2.   

    http://www.7880.com/Info/Article-195faaa0.html
    这是一篇关于delphi的图片比较的问题,楼主可以参考一下.