Inheritance: System.EventArgs
Example #1
0
 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);
     }
 }
Example #2
0
 void textView_Navigate(object sender, EditorNavigationArgs e)
 {
     var procDst = e.Destination as Procedure;
     if (procDst == null)
         return;
     DisplayProcedure(procDst);
 }
Example #3
0
        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;
            }
        }
Example #4
0
 private void DisassemblyControl_Navigate(object sender, EditorNavigationArgs e)
 {
     var addr = e.Destination as Address;
     if (e == null)
         return;
     UserNavigateToAddress(Control.DisassemblyView.TopAddress, addr);
 }
Example #5
0
 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);
        }
Example #7
0
 void editorView1_Navigate(object sender, EditorNavigationArgs e)
 {
     MessageBox.Show(this, "Hello! " + e.Destination);
 }