Esempio n. 1
0
 public static Connection add_Connection(this DesignerCanvas designerCanvas, DesignerItem designerItem1, DesignerItem designerItem2, string position1, string position2)
 {
     return((Connection)designerCanvas.wpfInvoke(
                () => {
         var connector1 = designerItem1.connector(position1);
         var connector2 = designerItem2.connector(position2);
         var connection = new DiagramDesigner.Connection(connector1, connector2);
         designerCanvas.Children.Add(connection);
         return connection;
     }));
 }
Esempio n. 2
0
 public static Connector connector_Bottom(this DesignerItem designerItem)
 {
     return(designerItem.connector("Bottom"));
 }
Esempio n. 3
0
 public static Connector connector_Left(this DesignerItem designerItem)
 {
     return(designerItem.connector("Left"));
 }
Esempio n. 4
0
 public static Connector connector_Top(this DesignerItem designerItem)
 {
     return(designerItem.connector("Top"));
 }
Esempio n. 5
0
 public static Connector connector_Right(this DesignerItem designerItem)
 {
     return(designerItem.connector("Right"));
 }