Esempio n. 1
0
 private void cboMemoryType_SelectedIndexChanged(object sender, EventArgs e)
 {
     this._memoryType = (DebugMemoryType)this.cboMemoryType.SelectedIndex;
     this.UpdateImportButton();
     this.RefreshData();
     this.ctrlHexViewer.ScrollToTop();
 }
Esempio 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;
        }
Esempio n. 3
0
 public void ShowAddress(int address, DebugMemoryType memoryType)
 {
     tabMain.SelectedTab = tpgMemoryViewer;
     cboMemoryType.SetEnumValue(memoryType);
     ctrlHexViewer.GoToAddress(address);
 }