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