Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((UpBan.UpBanControl)(target));
                return;

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

            case 3:
                this.TBK_Time = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((UpBan.UpBanControl)(target));
                return;

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

            case 3:
                this.TBK_Time = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.GD_USB = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.GD_3G = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.GD_Mute = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.GD_Battery = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.Rec_Battery = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.GD_BlueTooth = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }