void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.L2M = ((SurfaceApplication1.L2Module)(target));

            #line 13 "..\..\L2Module.xaml"
                this.L2M.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.L2M_PreviewTouchDown);

            #line default
            #line hidden

            #line 14 "..\..\L2Module.xaml"
                this.L2M.PreviewTouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.L2M_PreviewTouchUp);

            #line default
            #line hidden
                return;

            case 2:

            #line 32 "..\..\L2Module.xaml"
                ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.select_Sequence);

            #line default
            #line hidden
                return;

            case 3:
                this.PD = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));

            #line 34 "..\..\L2Module.xaml"
                this.PD.Click += new System.Windows.RoutedEventHandler(this.select_PrimerDesigner);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Test = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.MenuButton = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
     return;
     case 3:
     this.close = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 24 "..\..\ImageButton.xaml"
     this.close.Click += new System.Windows.RoutedEventHandler(this.closePhotoWindow);
     
     #line default
     #line hidden
     return;
     case 4:
     this.back = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 25 "..\..\ImageButton.xaml"
     this.back.Click += new System.Windows.RoutedEventHandler(this.backToGallery);
     
     #line default
     #line hidden
     return;
     case 5:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     
     #line 44 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 45 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 46 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 48 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 49 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 50 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 52 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 53 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 54 "..\..\ImageButton.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.Picture = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.Building = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 568 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.RootGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.backgroundImg = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.startAnimation = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.Visualizer1 = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     return;
     case 6:
     this.Player1Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.player1Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 621 "..\..\SurfaceWindow1.xaml"
     this.player1Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 8:
     this.player1Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 631 "..\..\SurfaceWindow1.xaml"
     this.player1Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 9:
     this.player1Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 641 "..\..\SurfaceWindow1.xaml"
     this.player1Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 10:
     this.player1Name = ((System.Windows.Controls.TextBlock)(target));
     
     #line 651 "..\..\SurfaceWindow1.xaml"
     this.player1Name.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 11:
     this.player1Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.Player2Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.player2Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.player2Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 749 "..\..\SurfaceWindow1.xaml"
     this.player2Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 15:
     this.player2Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 759 "..\..\SurfaceWindow1.xaml"
     this.player2Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 16:
     this.player2Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 769 "..\..\SurfaceWindow1.xaml"
     this.player2Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 17:
     this.player2Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.Player3Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.player3Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.player3Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 801 "..\..\SurfaceWindow1.xaml"
     this.player3Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 21:
     this.player3Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 811 "..\..\SurfaceWindow1.xaml"
     this.player3Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 22:
     this.player3Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 821 "..\..\SurfaceWindow1.xaml"
     this.player3Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 23:
     this.player3Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.Player4Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.player4Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 26:
     this.player4Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 913 "..\..\SurfaceWindow1.xaml"
     this.player4Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 27:
     this.player4Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 923 "..\..\SurfaceWindow1.xaml"
     this.player4Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 28:
     this.player4Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 933 "..\..\SurfaceWindow1.xaml"
     this.player4Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 29:
     this.player4Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.Player5Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 31:
     this.player5Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 32:
     this.player5Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1025 "..\..\SurfaceWindow1.xaml"
     this.player5Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 33:
     this.player5Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1035 "..\..\SurfaceWindow1.xaml"
     this.player5Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 34:
     this.player5Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1045 "..\..\SurfaceWindow1.xaml"
     this.player5Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 35:
     this.player5Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 36:
     this.Player6Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 37:
     this.player6Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 38:
     this.player6Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1137 "..\..\SurfaceWindow1.xaml"
     this.player6Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 39:
     this.player6Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1147 "..\..\SurfaceWindow1.xaml"
     this.player6Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 40:
     this.player6Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1157 "..\..\SurfaceWindow1.xaml"
     this.player6Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 41:
     this.player6Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 43:
     this.helpText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 44:
     this.TableCards = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 45:
     this.t1 = ((System.Windows.Controls.Image)(target));
     return;
     case 46:
     this.t2 = ((System.Windows.Controls.Image)(target));
     return;
     case 47:
     this.t3 = ((System.Windows.Controls.Image)(target));
     return;
     case 48:
     this.t4 = ((System.Windows.Controls.Image)(target));
     return;
     case 49:
     this.t5 = ((System.Windows.Controls.Image)(target));
     return;
     case 50:
     this.Scatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 51:
     this.SpielerhinzuScatter = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 52:
     this.AddPlayer = ((SurfacePoker.AddPlayerControl)(target));
     return;
     case 53:
     this.Anleitung = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 54:
     
     #line 1266 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Button)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.closeHelp);
     
     #line default
     #line hidden
     return;
     case 55:
     this.DownloadApp = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 56:
     this.Settings = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 57:
     this.p1c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 58:
     this.p1c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 59:
     this.p1c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 60:
     this.p1c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 61:
     this.p2c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 62:
     this.p2c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 63:
     this.p2c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 64:
     this.p2c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 65:
     this.p3c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 66:
     this.p3c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 67:
     this.p3c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 68:
     this.p3c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 69:
     this.p4c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 70:
     this.p4c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 71:
     this.p4c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 72:
     this.p4c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 73:
     this.p5c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 74:
     this.p5c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 75:
     this.p5c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 76:
     this.p5c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 77:
     this.p6c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 78:
     this.p6c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 79:
     this.p6c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 80:
     this.p6c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 81:
     this.p2c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     
     #line 1414 "..\..\SurfaceWindow1.xaml"
     this.p2c10.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 82:
     
     #line 1423 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 83:
     this.p2c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 84:
     
     #line 1434 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 85:
     this.p2c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 86:
     
     #line 1445 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 87:
     this.p2c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 88:
     
     #line 1457 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 89:
     this.p2c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 90:
     
     #line 1468 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 91:
     this.p2c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 92:
     
     #line 1479 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 93:
     this.p1c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 94:
     
     #line 1490 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 95:
     this.p1c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 96:
     
     #line 1501 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 97:
     this.p1c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 98:
     
     #line 1512 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 99:
     this.p1c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 100:
     
     #line 1523 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 101:
     this.p1c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 102:
     
     #line 1534 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 103:
     this.p1c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 104:
     
     #line 1545 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 105:
     this.p3c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 106:
     
     #line 1556 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 107:
     this.p3c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 108:
     
     #line 1567 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 109:
     this.p3c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 110:
     
     #line 1578 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 111:
     this.p3c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 112:
     
     #line 1589 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 113:
     this.p3c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 114:
     
     #line 1600 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 115:
     this.p3c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 116:
     
     #line 1611 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 117:
     this.p4c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 118:
     
     #line 1622 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 119:
     this.p4c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 120:
     
     #line 1633 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 121:
     this.p4c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 122:
     
     #line 1644 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 123:
     this.p4c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 124:
     
     #line 1655 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 125:
     this.p4c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 126:
     
     #line 1666 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 127:
     this.p4c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 128:
     
     #line 1677 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 129:
     this.p5c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 130:
     
     #line 1688 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 131:
     this.p5c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 132:
     
     #line 1699 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 133:
     this.p5c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 134:
     
     #line 1710 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 135:
     this.p5c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 136:
     
     #line 1721 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 137:
     this.p5c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 138:
     
     #line 1732 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 139:
     this.p5c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 140:
     
     #line 1743 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 141:
     this.p6c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 142:
     
     #line 1754 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 143:
     this.p6c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 144:
     
     #line 1765 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 145:
     this.p6c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 146:
     
     #line 1776 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 147:
     this.p6c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 148:
     
     #line 1787 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 149:
     this.p6c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 150:
     
     #line 1798 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 151:
     this.p6c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 152:
     
     #line 1809 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 153:
     this.potLeft = ((System.Windows.Controls.Label)(target));
     return;
     case 154:
     this.potRight = ((System.Windows.Controls.Label)(target));
     return;
     case 155:
     this.PauseOverlay = ((System.Windows.Controls.Canvas)(target));
     return;
     case 156:
     this.GewinnerOverlay = ((System.Windows.Controls.Canvas)(target));
     return;
     case 157:
     this.gewinnerTxt = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 158:
     this.MainMenu = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
     return;
     case 159:
     this.ElementMenuItemSpielStarten = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     return;
     case 160:
     this.ElementMenuItemFortsetzen = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     return;
     case 161:
     this.ElementMenuItemPause = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 12 "..\..\L1Module.xaml"
     ((SurfaceApplication1.L1Module)(target)).ContainerManipulationStarted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationStartedEventHandler(this.L1Module_ContainerManipulationStarted);
     
     #line default
     #line hidden
     
     #line 13 "..\..\L1Module.xaml"
     ((SurfaceApplication1.L1Module)(target)).ContainerManipulationDelta += new Microsoft.Surface.Presentation.Controls.ContainerManipulationDeltaEventHandler(this.L1Module_ContainerManipulationDelta);
     
     #line default
     #line hidden
     
     #line 14 "..\..\L1Module.xaml"
     ((SurfaceApplication1.L1Module)(target)).ContainerManipulationCompleted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationCompletedEventHandler(this.L1Module_ContainerManipulationCompleted);
     
     #line default
     #line hidden
     return;
     case 2:
     this.L1Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.L1Prom = ((SurfaceApplication1.Part)(target));
     return;
     case 4:
     this.L1RBS = ((SurfaceApplication1.Part)(target));
     return;
     case 5:
     this.L1CDS = ((SurfaceApplication1.Part)(target));
     return;
     case 6:
     this.L1Term = ((SurfaceApplication1.Part)(target));
     return;
     case 7:
     this.Template = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.L1ElementMenu = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
     return;
     case 9:
     
     #line 61 "..\..\L1Module.xaml"
     ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.select_Sequence);
     
     #line default
     #line hidden
     return;
     case 10:
     this.PD = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 64 "..\..\L1Module.xaml"
     this.PD.Click += new System.Windows.RoutedEventHandler(this.select_PrimerDesigner);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\L1Module.xaml"
                ((SurfaceApplication1.L1Module)(target)).ContainerManipulationStarted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationStartedEventHandler(this.L1Module_ContainerManipulationStarted);

            #line default
            #line hidden

            #line 13 "..\..\L1Module.xaml"
                ((SurfaceApplication1.L1Module)(target)).ContainerManipulationDelta += new Microsoft.Surface.Presentation.Controls.ContainerManipulationDeltaEventHandler(this.L1Module_ContainerManipulationDelta);

            #line default
            #line hidden

            #line 14 "..\..\L1Module.xaml"
                ((SurfaceApplication1.L1Module)(target)).ContainerManipulationCompleted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationCompletedEventHandler(this.L1Module_ContainerManipulationCompleted);

            #line default
            #line hidden
                return;

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

            case 3:
                this.L1Prom = ((SurfaceApplication1.Part)(target));
                return;

            case 4:
                this.L1RBS = ((SurfaceApplication1.Part)(target));
                return;

            case 5:
                this.L1CDS = ((SurfaceApplication1.Part)(target));
                return;

            case 6:
                this.L1Term = ((SurfaceApplication1.Part)(target));
                return;

            case 7:
                this.Template = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.L1ElementMenu = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
                return;

            case 9:

            #line 61 "..\..\L1Module.xaml"
                ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.select_Sequence);

            #line default
            #line hidden
                return;

            case 10:
                this.PD = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));

            #line 64 "..\..\L1Module.xaml"
                this.PD.Click += new System.Windows.RoutedEventHandler(this.select_PrimerDesigner);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LibraryButton = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\Window1.xaml"
     this.LibraryButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 20 "..\..\Window1.xaml"
     this.LibraryButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.StudentCenterButton = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\Window1.xaml"
     this.StudentCenterButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 22 "..\..\Window1.xaml"
     this.StudentCenterButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.FoyButton = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\Window1.xaml"
     this.FoyButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 24 "..\..\Window1.xaml"
     this.FoyButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.McCannButton = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\Window1.xaml"
     this.McCannButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 26 "..\..\Window1.xaml"
     this.McCannButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 5:
     this.DonnellyButton = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\Window1.xaml"
     this.DonnellyButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 28 "..\..\Window1.xaml"
     this.DonnellyButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 6:
     this.HancockButton = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\Window1.xaml"
     this.HancockButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 30 "..\..\Window1.xaml"
     this.HancockButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 7:
     this.MaristInfo = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.logo = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.twitterBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 10:
     this.twitterBoxHead = ((System.Windows.Controls.ListBox)(target));
     return;
     case 11:
     this.maristBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.myCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 13:
     this.MainScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 14:
     this.StudentCenter = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 15:
     this.StudentCenterButtonX = ((System.Windows.Controls.Button)(target));
     
     #line 142 "..\..\Window1.xaml"
     this.StudentCenterButtonX.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 142 "..\..\Window1.xaml"
     this.StudentCenterButtonX.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 16:
     this.Library = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 17:
     this.LibraryButtonX = ((System.Windows.Controls.Button)(target));
     
     #line 186 "..\..\Window1.xaml"
     this.LibraryButtonX.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 186 "..\..\Window1.xaml"
     this.LibraryButtonX.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 18:
     this.McCann = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 19:
     this.McannButtonX = ((System.Windows.Controls.Button)(target));
     
     #line 231 "..\..\Window1.xaml"
     this.McannButtonX.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 231 "..\..\Window1.xaml"
     this.McannButtonX.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 20:
     this.Donnelly = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 21:
     this.DonnellyButtonX = ((System.Windows.Controls.Button)(target));
     
     #line 285 "..\..\Window1.xaml"
     this.DonnellyButtonX.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 285 "..\..\Window1.xaml"
     this.DonnellyButtonX.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 22:
     this.Foy = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 23:
     this.Hancock = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 24:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.HancockDetails = ((System.Windows.Controls.Grid)(target));
     return;
     case 26:
     this.hcDetailTransform = ((System.Windows.Media.TranslateTransform)(target));
     return;
     case 27:
     this.hcBuildingTab = ((System.Windows.Controls.TabItem)(target));
     
     #line 360 "..\..\Window1.xaml"
     this.hcBuildingTab.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabItem_TouchDown);
     
     #line default
     #line hidden
     return;
     case 28:
     this.hcBuildingInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 29:
     this.hcDepTab = ((System.Windows.Controls.TabItem)(target));
     
     #line 367 "..\..\Window1.xaml"
     this.hcDepTab.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabItem_TouchDown);
     
     #line default
     #line hidden
     return;
     case 30:
     this.hcDepInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.hcPhoneTab = ((System.Windows.Controls.TabItem)(target));
     
     #line 374 "..\..\Window1.xaml"
     this.hcPhoneTab.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabItem_TouchDown);
     
     #line default
     #line hidden
     return;
     case 32:
     this.hcPhoneInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 33:
     this.elementMenu = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
     return;
     case 34:
     
     #line 393 "..\..\Window1.xaml"
     ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.addPhotoControlBox);
     
     #line default
     #line hidden
     return;
     case 35:
     this.HancockCloseButton = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 395 "..\..\Window1.xaml"
     this.HancockCloseButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.HancockDetailButton = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 396 "..\..\Window1.xaml"
     this.HancockDetailButton.Click += new System.Windows.RoutedEventHandler(this.slideDOut);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 11 "..\..\Part.xaml"
     ((SurfaceApplication1.Part)(target)).ContainerManipulationDelta += new Microsoft.Surface.Presentation.Controls.ContainerManipulationDeltaEventHandler(this.Part_ContainerManipulationDelta);
     
     #line default
     #line hidden
     
     #line 12 "..\..\Part.xaml"
     ((SurfaceApplication1.Part)(target)).ContainerManipulationStarted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationStartedEventHandler(this.Part_ContainerManipulationStarted);
     
     #line default
     #line hidden
     
     #line 13 "..\..\Part.xaml"
     ((SurfaceApplication1.Part)(target)).ContainerManipulationCompleted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationCompletedEventHandler(this.Part_ContainerManipulationCompleted);
     
     #line default
     #line hidden
     return;
     case 2:
     this.partGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.imgType = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.partName = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.partCategory = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.ElementMenu = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
     
     #line 50 "..\..\Part.xaml"
     this.ElementMenu.SubmenuOpened += new System.Windows.RoutedEventHandler(this.ElementMenu_SubmenuOpened);
     
     #line default
     #line hidden
     return;
     case 7:
     this.PD = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 54 "..\..\Part.xaml"
     this.PD.Click += new System.Windows.RoutedEventHandler(this.select_PrimerDesigner);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 56 "..\..\Part.xaml"
     ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.select_DataSheet);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.L2M = ((SurfaceApplication1.L2Module)(target));
     
     #line 13 "..\..\L2Module.xaml"
     this.L2M.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.L2M_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 14 "..\..\L2Module.xaml"
     this.L2M.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.L2M_PreviewTouchUp);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 32 "..\..\L2Module.xaml"
     ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.select_Sequence);
     
     #line default
     #line hidden
     return;
     case 3:
     this.PD = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 34 "..\..\L2Module.xaml"
     this.PD.Click += new System.Windows.RoutedEventHandler(this.select_PrimerDesigner);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\Part.xaml"
                ((SurfaceApplication1.Part)(target)).ContainerManipulationDelta += new Microsoft.Surface.Presentation.Controls.ContainerManipulationDeltaEventHandler(this.Part_ContainerManipulationDelta);

            #line default
            #line hidden

            #line 12 "..\..\Part.xaml"
                ((SurfaceApplication1.Part)(target)).ContainerManipulationStarted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationStartedEventHandler(this.Part_ContainerManipulationStarted);

            #line default
            #line hidden

            #line 13 "..\..\Part.xaml"
                ((SurfaceApplication1.Part)(target)).ContainerManipulationCompleted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationCompletedEventHandler(this.Part_ContainerManipulationCompleted);

            #line default
            #line hidden
                return;

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

            case 3:
                this.imgType = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.partName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.partCategory = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 50 "..\..\Part.xaml"
                this.ElementMenu.SubmenuOpened += new System.Windows.RoutedEventHandler(this.ElementMenu_SubmenuOpened);

            #line default
            #line hidden
                return;

            case 7:
                this.PD = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));

            #line 54 "..\..\Part.xaml"
                this.PD.Click += new System.Windows.RoutedEventHandler(this.select_PrimerDesigner);

            #line default
            #line hidden
                return;

            case 8:

            #line 56 "..\..\Part.xaml"
                ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.select_DataSheet);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }