Example #1
0
        public void SetStream(Stream stream)
        {
            this.stream = stream;
            int linecount = (int)stream.Length / 0x10;

            ScrollBarVM.Maximum = linecount;

            HexViewVM.SetStream(stream);
        }
Example #2
0
        private void ScrollBarVM_ValueChanged(double value)
        {
            long val = (long)value;

            HexViewVM.SetStartOffset(val * 0x10);
        }