private void AddArrow(object sender, RoutedEventArgs e) { ArrowsShape one = new ArrowsShape(Brushes.Blue, new Point(4, 7), new Point(200, 300)); DrawArea.Children.Add(one.GetPolygonShape()); Canvas.SetLeft(one.GetPolygonShape(), 0); Canvas.SetTop(one.GetPolygonShape(), 0); }
public void AddNegativeBinding(ArrowsShape o) { this.negativeC.Add(o); }
public void AddPositiveBinding(ArrowsShape o) { this.positiveC.Add(o); }