示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.page = ((CodeArt.WPF.Controls.Playstation.Page)(target));
                return;

            case 2:
                this.inProgress = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.progress = ((CodeArt.WPF.Controls.Playstation.ProgressBar)(target));
                return;

            case 4:
                this.cancel = ((CodeArt.WPF.Controls.Playstation.Button)(target));
                return;

            case 5:
                this.completed = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.page = ((CodeArt.WPF.Controls.Playstation.Page)(target));
         return;
     }
     this._contentLoaded = true;
 }