Inheritance: IPolymorphicShape
Beispiel #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;
 }
Beispiel #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;
 }