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

            case 2:
                this.p0 = ((ClientApp.Controls.DigitalClockElement)(target));
                return;

            case 3:
                this.p1 = ((ClientApp.Controls.DigitalClockElement)(target));
                return;

            case 4:
                this.p2 = ((ClientApp.Controls.DigitalClockDots)(target));
                return;

            case 5:
                this.p3 = ((ClientApp.Controls.DigitalClockElement)(target));
                return;

            case 6:
                this.p4 = ((ClientApp.Controls.DigitalClockElement)(target));
                return;

            case 7:
                this.p5 = ((ClientApp.Controls.DigitalClockDots)(target));
                return;

            case 8:
                this.p6 = ((ClientApp.Controls.DigitalClockElement)(target));
                return;

            case 9:
                this.p7 = ((ClientApp.Controls.DigitalClockElement)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.masterBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 2:
     this.p0 = ((ClientApp.Controls.DigitalClockElement)(target));
     return;
     case 3:
     this.p1 = ((ClientApp.Controls.DigitalClockElement)(target));
     return;
     case 4:
     this.p2 = ((ClientApp.Controls.DigitalClockDots)(target));
     return;
     case 5:
     this.p3 = ((ClientApp.Controls.DigitalClockElement)(target));
     return;
     case 6:
     this.p4 = ((ClientApp.Controls.DigitalClockElement)(target));
     return;
     case 7:
     this.p5 = ((ClientApp.Controls.DigitalClockDots)(target));
     return;
     case 8:
     this.p6 = ((ClientApp.Controls.DigitalClockElement)(target));
     return;
     case 9:
     this.p7 = ((ClientApp.Controls.DigitalClockElement)(target));
     return;
     }
     this._contentLoaded = true;
 }