void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainViewbox = ((System.Windows.Controls.Viewbox)(target));
                return;

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

            case 3:
                this.Roll_Format = ((LifeService.RollNum)(target));
                return;

            case 4:
                this.Roll_Hours = ((LifeService.RollNum)(target));
                return;

            case 5:
                this.Roll_Minutes = ((LifeService.RollNum)(target));
                return;

            case 6:
                this.deleteBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 7:
                this.deleteGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private static void CurrentIndexPropertyChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs arg)
        {
            RollNum ucrollNum = sender as RollNum;

            ucrollNum.UpdateContent();
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainViewbox = ((System.Windows.Controls.Viewbox)(target));
                return;

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

            case 3:
                this.mainGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.label = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.wordImage = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.voiceImage = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.timeBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.timeGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.dateGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.Roll_Years = ((LifeService.RollNum)(target));
                return;

            case 11:
                this.Roll_Months = ((LifeService.RollNum)(target));
                return;

            case 12:
                this.Roll_Days = ((LifeService.RollNum)(target));
                return;

            case 13:
                this.Roll_Format = ((LifeService.RollNum)(target));
                return;

            case 14:
                this.Roll_Hours = ((LifeService.RollNum)(target));
                return;

            case 15:
                this.Roll_Minutes = ((LifeService.RollNum)(target));
                return;

            case 16:
                this.contactGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.contactBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.ringBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.ringGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.deleteBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 21:
                this.deleteGrid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private static void YOffsetPropertyChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs arg)
        {
            RollNum ucrollNum = sender as RollNum;

            ucrollNum.Layout();
        }