Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.AccentColorsSelection)(target));
                return;

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

            case 3:
                this.OpenCloseStates = ((System.Windows.VisualStateGroup)(target));
                return;

            case 4:
                this.Open = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.Closed = ((System.Windows.VisualState)(target));
                return;

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

            case 7:
                this.uxClose = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.uxThemeColor_Green = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.uxThemeColor_Red = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.uxThemeColor_Blue = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 11:
                this.uxThemeColor_Yellow = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 12:
                this.uxThemeColor_Pink = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 13:
                this.uxThemeColor_Brown = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 14:
                this.uxThemeColor_Lime = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.uxThemeColor_Teal = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.uxThemeColor_Purple = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.uxThemeColor_Magenta = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.AccentColorsSelection)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.OpenCloseStates = ((System.Windows.VisualStateGroup)(target));
     return;
     case 4:
     this.Open = ((System.Windows.VisualState)(target));
     return;
     case 5:
     this.Closed = ((System.Windows.VisualState)(target));
     return;
     case 6:
     this.uxInterface = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.uxClose = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.uxThemeColor_Green = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 9:
     this.uxThemeColor_Red = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 10:
     this.uxThemeColor_Blue = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 11:
     this.uxThemeColor_Yellow = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 12:
     this.uxThemeColor_Pink = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 13:
     this.uxThemeColor_Brown = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 14:
     this.uxThemeColor_Lime = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 15:
     this.uxThemeColor_Teal = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 16:
     this.uxThemeColor_Purple = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 17:
     this.uxThemeColor_Magenta = ((System.Windows.Controls.RadioButton)(target));
     return;
     }
     this._contentLoaded = true;
 }