28 lines
614 B
C#
28 lines
614 B
C#
namespace Be.Windows.Forms
|
|
{
|
|
/// <summary>
|
|
/// Represents a position in the HexBox control
|
|
/// </summary>
|
|
internal struct BytePositionInfo
|
|
{
|
|
public BytePositionInfo(long index, int characterPosition)
|
|
{
|
|
_index = index;
|
|
_characterPosition = characterPosition;
|
|
}
|
|
|
|
public int CharacterPosition
|
|
{
|
|
get { return _characterPosition; }
|
|
}
|
|
|
|
private readonly int _characterPosition;
|
|
|
|
public long Index
|
|
{
|
|
get { return _index; }
|
|
}
|
|
|
|
private readonly long _index;
|
|
}
|
|
} |