示例#1
0
 public static void AttachTo(this PUltraComponent c1, PNode parent)
 {
     c1.WhenReady(
         delegate
     {
         parent.appendChild(c1.Container);
     }
         );
 }
示例#2
0
 public static void AttachToDocument(this PUltraComponent c1, PHTMLDocument doc)
 {
     c1.WhenReady(
         delegate
     {
         c1.Container.AttachToDocument(doc);
     }
         );
 }