public static void ReplaceWith(this IHTMLElement e, UserControl value) { var c = value.GetHTMLTargetContainer(); // should we do it here? :) c.style.display = IStyle.DisplayEnum.inline_block; e.ReplaceWith(c); }
public static void ReplaceWith(this IHTMLElement e, Applet value) { var c = value.ToHTMLElement(); // should we do it here? :) c.style.display = IStyle.DisplayEnum.inline_block; e.ReplaceWith(c); }