Exemplo n.º 1
0
 public BinarySection(int fileSize, int memorySize, BinarySectionFlags binaryFlag, BinarySectionTypes binaryType)
 {
     FileSize   = fileSize;
     MemorySize = memorySize;
     BinaryFlag = binaryFlag;
     BinaryType = binaryType;
 }
Exemplo n.º 2
0
 public static Color GetSectionTypeColor(BinarySectionTypes sectionType)
 {
     if (SectionColors.ContainsKey(sectionType))
     {
         return(SectionColors[sectionType]);
     }
     return(DefaultColor);
 }