private void cboMemoryType_SelectedIndexChanged(object sender, EventArgs e) { this._memoryType = (DebugMemoryType)this.cboMemoryType.SelectedIndex; this.UpdateImportButton(); this.RefreshData(); this.ctrlHexViewer.ScrollToTop(); }
public ChrByteColorProvider(DebugMemoryType memoryType, bool highlightDrawnBytes, bool highlightReadBytes, bool highlightBreakpoints) { _memoryType = memoryType; _highlightDrawnBytes = highlightDrawnBytes; _highlightReadBytes = highlightReadBytes; _highlightBreakpoints = highlightBreakpoints; _colors.ForeColor = Color.Black; }
public void ShowAddress(int address, DebugMemoryType memoryType) { tabMain.SelectedTab = tpgMemoryViewer; cboMemoryType.SetEnumValue(memoryType); ctrlHexViewer.GoToAddress(address); }