Exemplo n.º 1
0
 private void cboMemoryType_SelectedIndexChanged(object sender, EventArgs e)
 {
     this._memoryType = (DebugMemoryType)this.cboMemoryType.SelectedIndex;
     this.UpdateImportButton();
     this.RefreshData();
     this.ctrlHexViewer.ScrollToTop();
 }
Exemplo n.º 2
0
        public ChrByteColorProvider(DebugMemoryType memoryType, bool highlightDrawnBytes, bool highlightReadBytes, bool highlightBreakpoints)
        {
            _memoryType           = memoryType;
            _highlightDrawnBytes  = highlightDrawnBytes;
            _highlightReadBytes   = highlightReadBytes;
            _highlightBreakpoints = highlightBreakpoints;

            _colors.ForeColor = Color.Black;
        }
Exemplo n.º 3
0
 public void ShowAddress(int address, DebugMemoryType memoryType)
 {
     tabMain.SelectedTab = tpgMemoryViewer;
     cboMemoryType.SetEnumValue(memoryType);
     ctrlHexViewer.GoToAddress(address);
 }