public Node GetNewNode(Point position) { Node node = new Node("State " + this.nodes.Count.ToString(), this) { Name = "State" + this.nodes.Count.ToString() }; ForPoint.Equality(node.Manager.translate, ForPoint.Division(position, node.Manager.Zoom)); nodes.Add(node); Panel.SetZIndex(node, nodes.Count()); return(node); }
private void ChangePosition1(Point point) { //изменяем текущее место положения ForPoint.Equality(transforms.translate, point); ForPoint.EqualityCenter(transforms.scale, point); }