Ejemplo n.º 1
0
 public void Clear()
 {
     if (OriginalPic != null)
     {
         OriginalPic.Dispose();
         OriginalPic = null;
     }
 }
Ejemplo n.º 2
0
        }                                                               //车牌颜色

        public void Dispose()
        {
            if (OriginalPic != null)
            {
                OriginalPic.Dispose();
                OriginalPic = null;
            }

            if (ThumbNailPic != null)
            {
                ThumbNailPic.Dispose();
                ThumbNailPic = null;
            }

            if (ObjectPic != null)
            {
                ObjectPic.Dispose();
                ObjectPic = null;
            }
        }
        public void Dispose()
        {
            if (OriginalPic != null)
            {
                OriginalPic.Dispose();
                OriginalPic = null;
            }

            if (ThumbPic != null)
            {
                ThumbPic.Dispose();
                ThumbPic = null;
            }

            if (PlatePic != null)
            {
                PlatePic.Dispose();
                PlatePic = null;
            }
        }