예제 #1
0
 public IKNode CreateInitializedKNode()
 {
     IKNode layoutNode = new KNode();
     KShapeLayout shapeLayout = new KShapeLayout();
     shapeLayout.Insets = new KInsets();
     layoutNode.KShapeLayout = shapeLayout;
     return layoutNode;
 }
예제 #2
0
 public KPort CreateInitializedPort()
 {
     KPort port = new KPort();
     KShapeLayout shapeLayout = new KShapeLayout();
     shapeLayout.Insets = new KInsets();
     port.KShapeLayout = shapeLayout;
     return port;
 }
예제 #3
0
 public KLabel CreateInitializedKLabel(IKNode parent)
 {
     KLabel label = new KLabel();
     KShapeLayout shapeLayout = new KShapeLayout();
     label.KShapeLayout = shapeLayout;
     label.Text = "";
     label.Parent = parent;
     return label;
 }