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; }
public Node(string text, NodesCanvas _canvasNode) : this() { Header.Text = text; nodesCanvas = _canvasNode; }