예제 #1
0
 void FrameInfo_OnSelectedTreeNodeChanged(Data.Frame frame, BaseTreeNode node)
 {
     if (node is EventNode && frame is EventFrame)
     {
         ThreadView.FocusOn(frame as EventFrame, node as EventNode);
     }
 }
예제 #2
0
        void frameTabs_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (frameTabs.SelectedItem is CloseableTabItem)
            {
                var dataContext = (frameTabs.SelectedItem as CloseableTabItem).DataContext;

                if (dataContext is Data.EventFrame)
                {
                    Data.EventFrame frame = dataContext as Data.EventFrame;
                    ThreadView.FocusOn(frame, null);
                }
            }
        }