Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 About colorization

closed
nobody
None
5
2012-10-28
2012-09-03
alex_d
No

Look the changed code of HexBox control and a screenshot in the attachment. Replace files with files from archive and recompile project.
Example:
void AddRegion(long startIndex, long length, Color backGround, Color Foreground) {...}

hexBox.ColorRegions.AddRegion(0,32, Color.LightBlue, Color.Black);
hexBox.ColorRegions.AddRegion(57, 14, Color.LightSalmon, Color.Black);

Replace

Change as want, it was written the fast. The code can contain some bugs. But it work. Sorry, my English is very bad.

Discussion

  • alex_d
    alex_d
    2012-09-03

    modified code

     
    Attachments
  • Bernhard Elbl
    Bernhard Elbl
    2012-10-28

    • status: open --> closed
     
  • Bernhard Elbl
    Bernhard Elbl
    2012-10-28

    Thank you for your constribution..
    I'm sorry but the code works only in 90%. Maybe for your requirements that could be enough, but for some users this can drive into bug reports.
    So at this time. I do not included the code.