Esempio n. 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);
     }
 }
Esempio n. 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);
                }
            }
        }