Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.spContr = ((LEDX.Components.UiController)(target));

            #line 7 "..\..\..\Components\UIController.xaml"
                this.spContr.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.spContr_PreviewMouseDown);

            #line default
            #line hidden

            #line 7 "..\..\..\Components\UIController.xaml"
                this.spContr.Loaded += new System.Windows.RoutedEventHandler(this.spContr_Loaded);

            #line default
            #line hidden

            #line 7 "..\..\..\Components\UIController.xaml"
                this.spContr.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.SpContr_IsVisibleChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.rView = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 3:
                this.AnimColorBrush = ((System.Windows.Media.SolidColorBrush)(target));
                return;

            case 4:
                this.sBrd = ((System.Windows.Media.Animation.Storyboard)(target));
                return;

            case 5:
                this.clAni = ((System.Windows.Media.Animation.ColorAnimationUsingKeyFrames)(target));
                return;

            case 6:
                this.btAdd = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.tgbSel = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 8:
                this.imUnch = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.imСh = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.spContr = ((LEDX.Components.UiController)(target));
     
     #line 7 "..\..\..\Components\UIController.xaml"
     this.spContr.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.spContr_PreviewMouseDown);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\Components\UIController.xaml"
     this.spContr.Loaded += new System.Windows.RoutedEventHandler(this.spContr_Loaded);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\Components\UIController.xaml"
     this.spContr.IsVisibleChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.SpContr_IsVisibleChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.rView = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 3:
     this.AnimColorBrush = ((System.Windows.Media.SolidColorBrush)(target));
     return;
     case 4:
     this.sBrd = ((System.Windows.Media.Animation.Storyboard)(target));
     return;
     case 5:
     this.clAni = ((System.Windows.Media.Animation.ColorAnimationUsingKeyFrames)(target));
     return;
     case 6:
     this.btAdd = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.tgbSel = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     return;
     case 8:
     this.imUnch = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.imСh = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }