public HtmlPanel()
 {
     this.htmlContainer = new InitialContainer();
     base.SetStyle(ControlStyles.ResizeRedraw, true);
     base.SetStyle(ControlStyles.Opaque, true);
     this.DoubleBuffered = true;
     this.BackColor      = SystemColors.Window;
     this.AutoScroll     = true;
     HtmlRenderer.AddReference(Assembly.GetCallingAssembly());
 }
        /// <summary>
        /// Creates a new HtmlPanel
        /// </summary>
        public HtmlPanel()
        {
            htmlContainer = new InitialContainer();

            SetStyle(ControlStyles.ResizeRedraw, true);
            SetStyle(ControlStyles.Opaque, true);
            //SetStyle(ControlStyles.Selectable, true);

            DoubleBuffered = true;

            BackColor  = SystemColors.Window;
            AutoScroll = true;

            HtmlRenderer.AddReference(Assembly.GetCallingAssembly());
        }