Inheritance: IPolymorphicShape
Exemplo n.º 1
0
 public ArrowCreationSet(NodeControl nodeControl, Point location)
 {
     IsAdded = false;
     NodeControl = nodeControl;
     ArrowControl = new ArrowControl(nodeControl, null);
     From = new ArrowNodeSurrogate {Centre = location};
     To = new ArrowNodeSurrogate {Centre = location};
     Controller = new ArrowController(null, From, To);
     ArrowControl.DataContext = Controller.ViewModel;
 }
Exemplo n.º 2
0
 public ArrowCreationSet(NodeControl nodeControl, Point location)
 {
     IsAdded      = false;
     NodeControl  = nodeControl;
     ArrowControl = new ArrowControl(nodeControl, null);
     From         = new ArrowNodeSurrogate {
         Centre = location
     };
     To = new ArrowNodeSurrogate {
         Centre = location
     };
     Controller = new ArrowController(null, From, To);
     ArrowControl.DataContext = Controller.ViewModel;
 }