private void OpenFrame(object source, FocusFrameEventArgs args) { Data.Frame frame = args.Frame; if (frame is EventFrame) { EventThreadViewControl.Highlight(frame as EventFrame, null); } if (frame is EventFrame) { EventFrame eventFrame = frame as EventFrame; FrameGroup group = eventFrame.Group; if (eventFrame.RootEntry != null) { EventDescription desc = eventFrame.RootEntry.Description; FunctionSummaryVM.Load(group, desc); FunctionInstanceVM.Load(group, desc); FunctionSamplingVM.Load(group, desc); SysCallsSamplingVM.Load(group, desc); FrameInfoControl.SetFrame(frame, null); } } if (frame != null && frame.Group != null) { if (!ReferenceEquals(SummaryVM.Summary, frame.Group.Summary)) { SummaryVM.Summary = frame.Group.Summary; SummaryVM.CaptureName = _captureName; } } }
private void ThreadView_HighlightEvent(object sender, HighlightFrameEventArgs e) { EventThreadViewControl.Highlight(e.Items); }