예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\..\Views\Controls\LayerContainer.xaml"
                ((Nine.Views.Controls.LayerContainer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.LayerContainer_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Container = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:
                this.ChartComponents = ((System.Windows.Controls.ItemsControl)(target));

            #line 16 "..\..\..\..\Views\Controls\LayerContainer.xaml"
                this.ChartComponents.Loaded += new System.Windows.RoutedEventHandler(this.ChartComponents_Loaded);

            #line default
            #line hidden
                return;

            case 4:
                this.SaliencyMapComponents = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 5:
                this.InkLayer = ((Nine.Views.Controls.Layer)(target));
                return;

            case 6:
                this.DraggableComponents = ((System.Windows.Controls.ItemsControl)(target));

            #line 92 "..\..\..\..\Views\Controls\LayerContainer.xaml"
                this.DraggableComponents.Loaded += new System.Windows.RoutedEventHandler(this.DraggableComponents_Loaded);

            #line default
            #line hidden
                return;

            case 7:
                this.BulletComponents = ((System.Windows.Controls.ItemsControl)(target));

            #line 133 "..\..\..\..\Views\Controls\LayerContainer.xaml"
                this.BulletComponents.Loaded += new System.Windows.RoutedEventHandler(this.BulletComponents_Loaded);

            #line default
            #line hidden
                return;

            case 10:
                this.DeleteSelectedComponents = ((System.Windows.Controls.Button)(target));

            #line 173 "..\..\..\..\Views\Controls\LayerContainer.xaml"
                this.DeleteSelectedComponents.Click += new System.Windows.RoutedEventHandler(this.DeleteSelectedComponents_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 10 "..\..\..\..\Views\Controls\LayerContainer.xaml"
     ((Nine.Views.Controls.LayerContainer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.LayerContainer_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Container = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.ChartComponents = ((System.Windows.Controls.ItemsControl)(target));
     
     #line 16 "..\..\..\..\Views\Controls\LayerContainer.xaml"
     this.ChartComponents.Loaded += new System.Windows.RoutedEventHandler(this.ChartComponents_Loaded);
     
     #line default
     #line hidden
     return;
     case 4:
     this.SaliencyMapComponents = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 5:
     this.InkLayer = ((Nine.Views.Controls.Layer)(target));
     return;
     case 6:
     this.DraggableComponents = ((System.Windows.Controls.ItemsControl)(target));
     
     #line 92 "..\..\..\..\Views\Controls\LayerContainer.xaml"
     this.DraggableComponents.Loaded += new System.Windows.RoutedEventHandler(this.DraggableComponents_Loaded);
     
     #line default
     #line hidden
     return;
     case 7:
     this.BulletComponents = ((System.Windows.Controls.ItemsControl)(target));
     
     #line 133 "..\..\..\..\Views\Controls\LayerContainer.xaml"
     this.BulletComponents.Loaded += new System.Windows.RoutedEventHandler(this.BulletComponents_Loaded);
     
     #line default
     #line hidden
     return;
     case 10:
     this.DeleteSelectedComponents = ((System.Windows.Controls.Button)(target));
     
     #line 173 "..\..\..\..\Views\Controls\LayerContainer.xaml"
     this.DeleteSelectedComponents.Click += new System.Windows.RoutedEventHandler(this.DeleteSelectedComponents_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }