public SolutionFileDesigner()
        {
            var ToolbarHeight = "1.3em";
            var Container     = new IHTMLDiv();

            this.Container = Container;

            Container.style.position = IStyle.PositionEnum.absolute;
            Container.style.left     = "0px";
            Container.style.top      = "0px";
            Container.style.right    = "0px";
            Container.style.bottom   = "0px";

            var Content = new IHTMLDiv().AttachTo(Container);

            this.Content = Content;

            Content.style.position = IStyle.PositionEnum.absolute;
            Content.style.left     = "0px";
            Content.style.top      = "0px";
            Content.style.right    = "0px";
            Content.style.bottom   = ToolbarHeight;


            var Toolbar = new IHTMLDiv().AttachTo(Container);

            Toolbar.style.backgroundColor = Color.FromGray(0xef);
            Toolbar.style.position        = IStyle.PositionEnum.absolute;
            Toolbar.style.left            = "0px";
            Toolbar.style.height          = ToolbarHeight;
            Toolbar.style.right           = "0px";
            Toolbar.style.bottom          = "0px";

            this.Tabs = new BindingList <SolutionFileDesignerTab>().WithEvents(
                NewTab =>
            {
                var span = new IHTMLSpan {
                    innerText = NewTab.Text
                };

                span.style.paddingLeft  = "1.5em";
                span.style.paddingRight = "0.3em";

                var a = new IHTMLAnchor
                {
                    NewTab.Image, span
                };
                NewTab.TabElement = a;

                NewTab.Image.style.verticalAlign = "middle";
                NewTab.Image.border         = 0;
                NewTab.Image.style.position = IStyle.PositionEnum.absolute;

                a.style.backgroundColor = Color.FromGray(0xef);
                a.style.color           = Color.Black;
                a.style.textDecoration  = "none";
                a.style.fontFamily      = IStyle.FontFamilyEnum.Tahoma;

                a.href = "javascript: void(0);";

                NewTab.Activated +=
                    delegate
                {
                    (from k in this.Tabs.Source
                     where k != NewTab
                     select(Action) k.RaiseDeactivated).Invoke();
                };

                a.onclick +=
                    delegate
                {
                    NewTab.RaiseActivated();
                };
                a.style.display = IStyle.DisplayEnum.inline_block;
                a.style.height  = "100%";


                a.onmousemove +=
                    delegate
                {
                    a.style.backgroundColor = Color.FromGray(0xff);
                };

                a.onmouseout +=
                    delegate
                {
                    a.style.backgroundColor = Color.FromGray(0xef);
                };

                Toolbar.Add(a);

                return(delegate
                {
                    a.Orphanize();
                });
            }
                );
        }