1 using System; 2 using System.Drawing; 3 4 namespace Be.Windows.Forms 5 { 6 public interface IByteColorProvider 7 { Prepare(long firstByteIndex, long lastByteIndex)8 void Prepare(long firstByteIndex, long lastByteIndex); GetByteColor(long firstByteIndex, long byteIndex)9 ByteColors GetByteColor(long firstByteIndex, long byteIndex); 10 } 11 12 public class ByteColors 13 { 14 public Color ForeColor { get; set; } 15 public Color BackColor { get; set; } 16 public Color BorderColor { get; set; } 17 } 18 } 19