private int PromptForGotoOffset() { if (!RomDataPresent()) { return(-1); } var go = new GotoDialog(ViewOffset + table.CurrentCell.RowIndex, Project.Data); var result = go.ShowDialog(); if (result != DialogResult.OK) { return(-1); } return(go.GetPcOffset()); }
private int PromptForGotoOffset() { if (!RomDataPresent()) { return(-1); } var go = new GotoDialog(SelectedOffset, Project.Data); var result = go.ShowDialog(); if (result != DialogResult.OK) { return(-1); } return(go.GetPcOffset()); }