Пример #1
0
 public Selector(NodesCanvas _canvasNode)
 {
     InitializeComponent();
     transforms             = new Transforms(this);
     canvasNode             = _canvasNode;
     this.Visibility        = Visibility.Hidden;
     this.MouseMove        += mouseMove;
     this.MouseUp          += mouseUp;
     this.IsVisibleChanged += VisualChange;
     this.KeyUp            += keyUp;
 }
Пример #2
0
 public Node(string text, NodesCanvas _canvasNode) : this()
 {
     Header.Text = text;
     nodesCanvas = _canvasNode;
 }