예제 #1
0
 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>();
 }
예제 #2
0
 public void AddOnDiagram(DiagramContainer container, Color color)
 {
     this.diagramContainer = container;
     this.color = color;
     container.AddStructure(this, color);
 }