public static T AttachControlTo <T>( //this T that, IHTMLElement parent) where T : Control { // X:\jsc.svn\examples\javascript\forms\PlasmaFormsControl\PlasmaFormsControl\Application.cs parent.Add(that); that.Show(); return(that); }
public static void ReplaceContentWith(this IHTMLElement parent, INode value) { parent.Clear(); parent.Add(value); }