void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.libraryContainer1 = ((Microsoft.Surface.Presentation.Controls.LibraryContainer)(target));
     return;
     case 2:
     this.libraryContainer2 = ((Microsoft.Surface.Presentation.Controls.LibraryContainer)(target));
     return;
     case 3:
     this.libraryContainer3 = ((Microsoft.Surface.Presentation.Controls.LibraryContainer)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BottomGrid = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;

            case 2:
                this.HelloButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 86 "..\..\SurfaceWindow1.xaml"
                this.HelloButton.Click += new System.Windows.RoutedEventHandler(this.HelloButton_click);

            #line default
            #line hidden
                return;

            case 3:
                this.BottomGrid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.BottomGrid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.Germany = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 100 "..\..\SurfaceWindow1.xaml"
                this.Germany.Click += new System.Windows.RoutedEventHandler(this.Germany_click);

            #line default
            #line hidden
                return;

            case 6:
                this.Greece = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 101 "..\..\SurfaceWindow1.xaml"
                this.Greece.Click += new System.Windows.RoutedEventHandler(this.Greece_click);

            #line default
            #line hidden
                return;

            case 7:
                this.Morocco = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 102 "..\..\SurfaceWindow1.xaml"
                this.Morocco.Click += new System.Windows.RoutedEventHandler(this.Morocco_click);

            #line default
            #line hidden
                return;

            case 8:
                this.outergrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.innerGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.LibraryContainer1 = ((Microsoft.Surface.Presentation.Controls.LibraryContainer)(target));
                return;

            case 11:
                this.LibraryContainer = ((Microsoft.Surface.Presentation.Controls.LibraryContainer)(target));
                return;

            case 12:
                this.TagVisualizer1 = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
                return;

            case 13:
                this.GermanyFact = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
                return;

            case 14:
                this.GermanyVideo = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
                return;

            case 15:
                this.GreeceVideo = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
                return;

            case 16:
                this.GreeceFact = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
                return;

            case 17:
                this.MoroccoVideo = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
                return;

            case 18:
                this.MoroccoFact = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
                return;

            case 19:
                this.scatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));

            #line 232 "..\..\SurfaceWindow1.xaml"
                this.scatter.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.Scatter_PreviewTouchDown);

            #line default
            #line hidden

            #line 233 "..\..\SurfaceWindow1.xaml"
                this.scatter.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCanceledEvent, new System.EventHandler <Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.Scatter_DragCanceled));

            #line default
            #line hidden

            #line 234 "..\..\SurfaceWindow1.xaml"
                this.scatter.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCompletedEvent, new System.EventHandler <Microsoft.Surface.Presentation.SurfaceDragCompletedEventArgs>(this.Scatter_DragCompleted));

            #line default
            #line hidden

            #line 236 "..\..\SurfaceWindow1.xaml"
                this.scatter.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DropEvent, new System.EventHandler <Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.Scatter_Drop));

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.BottomGrid = ((System.Windows.Controls.Primitives.UniformGrid)(target));
     return;
     case 2:
     this.HelloButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 86 "..\..\SurfaceWindow1.xaml"
     this.HelloButton.Click += new System.Windows.RoutedEventHandler(this.HelloButton_click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.BottomGrid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.BottomGrid2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.Germany = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 100 "..\..\SurfaceWindow1.xaml"
     this.Germany.Click += new System.Windows.RoutedEventHandler(this.Germany_click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Greece = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 101 "..\..\SurfaceWindow1.xaml"
     this.Greece.Click += new System.Windows.RoutedEventHandler(this.Greece_click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Morocco = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 102 "..\..\SurfaceWindow1.xaml"
     this.Morocco.Click += new System.Windows.RoutedEventHandler(this.Morocco_click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.outergrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 9:
     this.innerGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.LibraryContainer1 = ((Microsoft.Surface.Presentation.Controls.LibraryContainer)(target));
     return;
     case 11:
     this.LibraryContainer = ((Microsoft.Surface.Presentation.Controls.LibraryContainer)(target));
     return;
     case 12:
     this.TagVisualizer1 = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     return;
     case 13:
     this.GermanyFact = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
     return;
     case 14:
     this.GermanyVideo = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
     return;
     case 15:
     this.GreeceVideo = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
     return;
     case 16:
     this.GreeceFact = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
     return;
     case 17:
     this.MoroccoVideo = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
     return;
     case 18:
     this.MoroccoFact = ((Microsoft.Surface.Presentation.Controls.TagVisualizationDefinition)(target));
     return;
     case 19:
     this.scatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 232 "..\..\SurfaceWindow1.xaml"
     this.scatter.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Scatter_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 233 "..\..\SurfaceWindow1.xaml"
     this.scatter.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCanceledEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.Scatter_DragCanceled));
     
     #line default
     #line hidden
     
     #line 234 "..\..\SurfaceWindow1.xaml"
     this.scatter.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCompletedEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragCompletedEventArgs>(this.Scatter_DragCompleted));
     
     #line default
     #line hidden
     
     #line 236 "..\..\SurfaceWindow1.xaml"
     this.scatter.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DropEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.Scatter_Drop));
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }