示例#1
0
 public void Clear()
 {
     lock (frames)
     {
         frames.Clear();
     }
 }
示例#2
0
        private void ClearButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            lock (frames)
            {
                frames.Clear();
            }

            OnClearAllFrames();
        }
示例#3
0
        public void Clear()
        {
            lock (frames)
            {
                frames.Clear();
            }

            OnClearAllFrames();
        }
示例#4
0
 public void Clear()
 {
     lock (frames)
     {
         foreach (var frame in frames)
         {
             frame.Clear();
         }
         frames.Clear();
     }
 }