Example #1
0
 public BinarySection(int fileSize, int memorySize, BinarySectionFlags binaryFlag, BinarySectionTypes binaryType)
 {
     FileSize   = fileSize;
     MemorySize = memorySize;
     BinaryFlag = binaryFlag;
     BinaryType = binaryType;
 }
Example #2
0
 public static Color GetSectionFlagColor(BinarySectionFlags sectionFlags)
 {
     if (SectionFlagColors.ContainsKey(sectionFlags))
     {
         return(SectionFlagColors[sectionFlags]);
     }
     return(DefaultColor);
 }