[ORD .NET]继承DockableToolbar后,每次软件窗口resize以后,文本框等控件渲染不出来。

如下图所示。

 class LayoutPreviewBarWindow : DockableToolbar, BMG.IGuiDockable
    {
        #region 单例

        static private LayoutPreviewBarWindow _layoutPreBarWindow;

        #endregion

        private LayoutPreviewBar _bar;

        public LayoutPreviewBarWindow()
        {
            _bar = new LayoutPreviewBar();
            _bar.VerticalContentAlignment = VerticalAlignment.Center;
            this.Content = _bar;

            this.Title = "LayoutPreview ToolBar";
            this.AttachingToHost += new BMG.AttachingToHostEventHandler(Window_AttacthToHost);
            this.DetachingFromHost += new EventHandler(Window_DetachingFromHost);

            this.Attach(SubgradeNET.Instance(), "SubgradeNET");

            //Setup AutoOpen after calling Attach()
            this.AutoOpen = true;
            this.AutoOpenKeyin = "mdl silentload subgradeNETUI,,DEFAULTDOMAIN;SubgradeNET CrossAidedDesign LayoutPreviewBETA";
        }