internal static void RemoveMemory(Image objectValue)
 {
     if (DicImage.ContainsKey(objectValue.Id))
     {
         DicImage.Remove(objectValue.Id);
     }
 }
 public static bool IsExistImage(int id)
 {
     if (DicImage.ContainsKey(id))
     {
         return(true);
     }
     return(false);
 }
 public static Image GetImage(int id)
 {
     if (DicImage.ContainsKey(id))
     {
         return(DicImage[id].Clone() as Image);
     }
     LogTo.Error("Not get Image by id = " + id);
     return(null);
 }