public Structure(DiagramContainer p, String title) { invalidated = true; this.diagramContainer = p; this.title = title; nodes = new BindingList<Node>(); nodes.ListChanged += new ListChangedEventHandler(OnListChanged); links = new List<ILink>(); }
public void AddOnDiagram(DiagramContainer container, Color color) { this.diagramContainer = container; this.color = color; container.AddStructure(this, color); }