Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public void AddNegativeBinding(ArrowsShape o)
 {
     this.negativeC.Add(o);
 }
Esempio n. 3
0
 public void AddPositiveBinding(ArrowsShape o)
 {
     this.positiveC.Add(o);
 }