コード例 #1
0
 public void SetCurrentChain(IChain chain)
 {
     if (_currentChain != chain)
     {
         listView1.Items.Clear();
         if ((_currentChain = chain) != null)
         {
             foreach (var frame in chain.GetFrames())
                 listView1.Items.Add(new CallStackListViewItem(frame));
         }
     }
     else
     {
         UpdateCurrentFrames();
     }
 }
コード例 #2
0
 public void SetCurrentChain(IChain chain)
 {
     if (_currentChain != chain)
     {
         listView1.Items.Clear();
         if ((_currentChain = chain) != null)
         {
             foreach (var frame in chain.GetFrames())
             {
                 listView1.Items.Add(new CallStackListViewItem(frame));
             }
         }
     }
     else
     {
         UpdateCurrentFrames();
     }
 }