Esempio n. 1
0
 public DataView()
 {
     InitializeComponent();
     _hexDump = new HexDump
                    {
                        Font = new Font("Lucida Console", 9),
                        BackColor = SystemColors.Window,
                        Dock = DockStyle.Fill
                    };
     _currentStructureHighlighter = _hexDump.AddHighlighter(null, Color.LightGoldenrodYellow);
     splitContainer2.Panel2.Controls.Add(_hexDump);
 }
Esempio n. 2
0
 public Highlighter(HexDump hexDump, Color? foreground, Color? background)
 {
     _startOffset = -1;
     _endOffset = -1;
     _hexDump = hexDump;
     _textColor = foreground;
     _backgroundColor = background;
 }