public static void AttachTo(this PUltraComponent c1, PNode parent) { c1.WhenReady( delegate { parent.appendChild(c1.Container); } ); }
public static void AttachToDocument(this PUltraComponent c1, PHTMLDocument doc) { c1.WhenReady( delegate { c1.Container.AttachToDocument(doc); } ); }