void TextView_Navigate(object sender, EditorNavigationArgs e) { var addr = e.Destination as Address; if (addr !=null) { var svc = services.RequireService<ILowLevelViewService>(); svc.ShowMemoryAtAddress(program, addr); } }
void textView_Navigate(object sender, EditorNavigationArgs e) { var procDst = e.Destination as Procedure; if (procDst == null) return; DisplayProcedure(procDst); }
void textView_Navigate(object sender, EditorNavigationArgs e) { var procDst = e.Destination as Procedure; if (procDst == null) return; navInteractor.RememberAddress(this.proc); DisplayProcedure(this.program, procDst); // ...and move to the new position. //$REVIEW: should this fire an event on a ISelectionService interface // and let interested parties track that? var pbSvc = services.GetService<IProjectBrowserService>(); if (pbSvc != null) { pbSvc.SelectedObject = procDst; } }
private void DisassemblyControl_Navigate(object sender, EditorNavigationArgs e) { var addr = e.Destination as Address; if (e == null) return; UserNavigateToAddress(Control.DisassemblyView.TopAddress, addr); }
void textView_Navigate(object sender, EditorNavigationArgs e) { var procDst = e.Destination as Procedure; if (procDst == null) return; DisplayProcedure(procDst); var pbSvc = services.GetService<IProjectBrowserService>(); if (pbSvc != null) { pbSvc.SelectedObject = procDst; } }
void TextView_Navigate(object sender, EditorNavigationArgs e) { var addr = e.Destination as Address; var proc = e.Destination as Procedure; if (proc != null) addr = program.GetProcedureAddress(proc); if (addr == null) return; UserNavigateToAddress(combinedCodeView.MixedCodeDataView.TopAddress, addr); }
void editorView1_Navigate(object sender, EditorNavigationArgs e) { MessageBox.Show(this, "Hello! " + e.Destination); }