Пример #1
0
        public void AddData(oscilloscopeData data)
        {
            Datas.Add(data);
            Path path = data.path;

            canvas.Children.Add(path);
            Canvas.SetLeft(path, ZeroLeft);
            Canvas.SetTop(path, ZeroTop);
        }
Пример #2
0
 public void DeleteData(oscilloscopeData data)
 {
     canvas.Children.Remove(data.path);
     Datas.Remove(data);
 }