예제 #1
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;
 }
예제 #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;
        }