Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin1967.Skin)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.uxLowFuel = ((System.Windows.Controls.Border)(target));
     return;
     case 4:
     this.uxHazard = ((System.Windows.Controls.Border)(target));
     return;
     case 5:
     this.uxMalfunction = ((System.Windows.Controls.Border)(target));
     return;
     case 6:
     this.uxRPM = ((System.Windows.Controls.Slider)(target));
     return;
     case 7:
     this.uxMPH = ((System.Windows.Controls.Slider)(target));
     return;
     case 8:
     this.uxFuel = ((System.Windows.Controls.Slider)(target));
     return;
     case 9:
     this.uxTemp = ((System.Windows.Controls.Slider)(target));
     return;
     case 10:
     this.uxOil = ((System.Windows.Controls.Slider)(target));
     return;
     case 11:
     this.uxSettings = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.uxLeftTurn = ((Coding4Fun.Obd.InstrumentCluster.Controls.Blinker)(target));
     return;
     case 13:
     this.uxRightTurn = ((Coding4Fun.Obd.InstrumentCluster.Controls.Blinker)(target));
     return;
     case 14:
     this.uxMessageMarquee = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin1967.Marquee)(target));
     return;
     case 15:
     this.uxOdometer = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.uxMPG = ((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 = ((Coding4Fun.Obd.InstrumentCluster.SkinSelector)(target));
     
     #line 12 "..\..\SkinSelector.xaml"
     this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Scroll = ((System.Windows.Controls.ScrollViewer)(target));
     
     #line 26 "..\..\SkinSelector.xaml"
     this.Scroll.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Scroll_TouchDown);
     
     #line default
     #line hidden
     
     #line 26 "..\..\SkinSelector.xaml"
     this.Scroll.TouchMove += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Scroll_TouchMove);
     
     #line default
     #line hidden
     
     #line 26 "..\..\SkinSelector.xaml"
     this.Scroll.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Scroll_TouchUp);
     
     #line default
     #line hidden
     
     #line 27 "..\..\SkinSelector.xaml"
     this.Scroll.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Scroll_PreviewMouseDown);
     
     #line default
     #line hidden
     
     #line 27 "..\..\SkinSelector.xaml"
     this.Scroll.MouseMove += new System.Windows.Input.MouseEventHandler(this.Scroll_MouseMove);
     
     #line default
     #line hidden
     
     #line 27 "..\..\SkinSelector.xaml"
     this.Scroll.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Scroll_MouseUp);
     
     #line default
     #line hidden
     return;
     case 4:
     this.uxSkin2011 = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin2011.Skin)(target));
     return;
     case 5:
     this.uxSkin1967 = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin1967.Skin)(target));
     return;
     case 6:
     this.uxSkinMetro = ((Coding4Fun.Obd.InstrumentCluster.Controls.SkinMetro.Skin)(target));
     return;
     case 7:
     this.uxAccentColorsSelection = ((Coding4Fun.Obd.InstrumentCluster.AccentColorsSelection)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin1967.Skin)(target));
                return;

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

            case 3:
                this.uxLowFuel = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.uxHazard = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.uxMalfunction = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.uxRPM = ((System.Windows.Controls.Slider)(target));
                return;

            case 7:
                this.uxMPH = ((System.Windows.Controls.Slider)(target));
                return;

            case 8:
                this.uxFuel = ((System.Windows.Controls.Slider)(target));
                return;

            case 9:
                this.uxTemp = ((System.Windows.Controls.Slider)(target));
                return;

            case 10:
                this.uxOil = ((System.Windows.Controls.Slider)(target));
                return;

            case 11:
                this.uxSettings = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.uxLeftTurn = ((Coding4Fun.Obd.InstrumentCluster.Controls.Blinker)(target));
                return;

            case 13:
                this.uxRightTurn = ((Coding4Fun.Obd.InstrumentCluster.Controls.Blinker)(target));
                return;

            case 14:
                this.uxMessageMarquee = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin1967.Marquee)(target));
                return;

            case 15:
                this.uxOdometer = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.uxMPG = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Coding4Fun.Obd.InstrumentCluster.SkinSelector)(target));

            #line 12 "..\..\SkinSelector.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.Scroll = ((System.Windows.Controls.ScrollViewer)(target));

            #line 26 "..\..\SkinSelector.xaml"
                this.Scroll.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.Scroll_TouchDown);

            #line default
            #line hidden

            #line 26 "..\..\SkinSelector.xaml"
                this.Scroll.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.Scroll_TouchMove);

            #line default
            #line hidden

            #line 26 "..\..\SkinSelector.xaml"
                this.Scroll.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.Scroll_TouchUp);

            #line default
            #line hidden

            #line 27 "..\..\SkinSelector.xaml"
                this.Scroll.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Scroll_PreviewMouseDown);

            #line default
            #line hidden

            #line 27 "..\..\SkinSelector.xaml"
                this.Scroll.MouseMove += new System.Windows.Input.MouseEventHandler(this.Scroll_MouseMove);

            #line default
            #line hidden

            #line 27 "..\..\SkinSelector.xaml"
                this.Scroll.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Scroll_MouseUp);

            #line default
            #line hidden
                return;

            case 4:
                this.uxSkin2011 = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin2011.Skin)(target));
                return;

            case 5:
                this.uxSkin1967 = ((Coding4Fun.Obd.InstrumentCluster.Controls.Skin1967.Skin)(target));
                return;

            case 6:
                this.uxSkinMetro = ((Coding4Fun.Obd.InstrumentCluster.Controls.SkinMetro.Skin)(target));
                return;

            case 7:
                this.uxAccentColorsSelection = ((Coding4Fun.Obd.InstrumentCluster.AccentColorsSelection)(target));
                return;
            }
            this._contentLoaded = true;
        }