コード例 #1
0
ファイル: Node.cs プロジェクト: ChrisMoreton/Test3
		public Node(FlowChart parent) : base(parent)
		{
			incomingArrows = new ArrowCollection();
			outgoingArrows = new ArrowCollection();
			anchorPattern = null;
			obstacle = true;
			constraints = new NodeConstraints();
			enabledHandles = Handles.All;
			boolValues = 0xFFFF;
		}
コード例 #2
0
ファイル: NodeConstraints.cs プロジェクト: ChrisMoreton/Test3
		public object Clone()
		{
			NodeConstraints clone = new NodeConstraints();
			clone.moveDirection = this.moveDirection;
			clone.minWidth = this.minWidth;
			clone.minHeight = this.minHeight;
			clone.maxWidth = this.maxWidth;
			clone.maxHeight = this.maxHeight;
			clone.boolValues = this.boolValues;
			return clone;
		}