public MultiThreadingBusyAdorner(UIElement adornedElement, Object userContent)
            : base(adornedElement)
        {
            this.userContentPresenter = BusyStatusManager.WrapUserContent(userContent);

            this._busyHost = new BackgroundVisualHost(() =>
            {
                var s = ( ContentPresenter )XamlReader.Load(ms);

                this.ms.Dispose();
                this.ms = null;

                return(s);
            });

            this.AddLogicalChild(this._busyHost);
            this.AddVisualChild(this._busyHost);
        }
 public BusyAdorner(UIElement adornedElement, Object userContent)
     : base(adornedElement)
 {
     this.userContentPresenter = BusyStatusManager.WrapUserContent(userContent);
     this.AddVisualChild(this.userContentPresenter);
 }