예제 #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);
 }