Exemple #1
0
 /// <summary>
 /// Default connector
 /// </summary>
 public Connector()
 {
     attachedConnectors = new ConnectorCollection();
 }
Exemple #2
0
 /// <summary>
 /// Constructs a connector, passing its location
 /// </summary>
 /// <param name="p"></param>
 public Connector(Point p)
 {
     attachedConnectors = new ConnectorCollection();
     point = p;
 }
Exemple #3
0
 /// <summary>
 /// Summarizes the initialization used by the constructors
 /// </summary>
 private void Init()
 {
     rectangle  = new Rectangle(0, 0, 100, 70);
     connectors = new ConnectorCollection();
     SetBrush();
 }