private void breakpointsGrid_CellDoubleClick(object sender, EventArgs e) { if (breakpointsGrid.CurrentRow != null) { GridEXRow row = breakpointsGrid.CurrentRow; NuGenBreakpointInformation breakpoint = NuGenHelperFunctions.TaggedObjects[(String)row.Cells[1].Value + (String)row.Cells[2].Value] as NuGenBreakpointInformation; breakpoint.NavigateTo(); } }
private void DisplayCodeMenuItem_Click(object sender, EventArgs e) { if (breakpointsGrid.SelectedItems.Count == 1) { GridEXRow row = breakpointsGrid.SelectedItems[0].GetRow(); NuGenBreakpointInformation breakpoint = NuGenHelperFunctions.TaggedObjects[(String)row.Cells[1].Value + (String)row.Cells[2].Value] as NuGenBreakpointInformation; if (breakpoint != null) { breakpoint.NavigateTo(); } } }