Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ControlRoot = ((TraceLab.UI.WPF.Controls.ProgressControl)(target));
                return;

            case 2:
                this.Progress = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 3:
                this.StatusMessage = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ControlRoot = ((TraceLab.UI.WPF.Controls.ProgressControl)(target));
     return;
     case 2:
     this.Progress = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 3:
     this.StatusMessage = ((System.Windows.Controls.Primitives.StatusBarItem)(target));
     return;
     }
     this._contentLoaded = true;
 }