Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this.welcomeTag = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 9 "..\..\WelcomeScreen.xaml"
                this.welcomeTag.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden
                return;

            case 3:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\WelcomeScreen.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 2:
                this.TagVisualizer1 = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 34 "..\..\SurfaceWindow1.xaml"
                this.TagVisualizer1.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden
                return;

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

            case 4:
                this.surfaceListBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
                return;

            case 5:
                this.scatterView1 = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
                return;

            case 6:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.InfoLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.clear = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 63 "..\..\SurfaceWindow1.xaml"
                this.clear.Click += new System.Windows.RoutedEventHandler(this.ClearMedia);

            #line default
            #line hidden

            #line 63 "..\..\SurfaceWindow1.xaml"
                this.clear.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ClearMedia);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tagVisualizer1 = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
                return;

            case 2:
                this.surfaceButton1 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 14 "..\..\SurfaceWindow1.xaml"
                this.MyTagVisualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Example #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.img1 = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.img2 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 4:
                this.img4 = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.img5 = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.img6 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.img7 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 9:
                this.img9 = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.img10 = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\SurfaceWindow1.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.bet_button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 51 "..\..\SurfaceWindow1.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.stand_button_click);

            #line default
            #line hidden
                return;

            case 14:
                this.tagger = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 52 "..\..\SurfaceWindow1.xaml"
                this.tagger.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.OnVisualizationAdded);

            #line default
            #line hidden

            #line 52 "..\..\SurfaceWindow1.xaml"
                this.tagger.Loaded += new System.Windows.RoutedEventHandler(this.onVisualizerLoaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.myTag = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.myTag.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden

            #line 18 "..\..\MainWindow.xaml"
                this.myTag.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationRemoved);

            #line default
            #line hidden

            #line 19 "..\..\MainWindow.xaml"
                this.myTag.VisualizationMoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationMoved);

            #line default
            #line hidden
                return;

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

            case 4:
                this.button0 = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\MainWindow.xaml"
                this.button0.Click += new System.Windows.RoutedEventHandler(this.start_button_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.textBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.sPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.lbl1 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lbl2 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lbl3 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lbl4 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lbl5 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lbl6 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lbl7 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.lbl8 = ((System.Windows.Controls.Label)(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:
                this.SearchBarPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.QueryBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

            case 3:
                this.QueryButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));

            #line 49 "..\..\SurfaceWindow1.xaml"
                this.QueryButton.Click += new System.Windows.RoutedEventHandler(this.QueryButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.BottomPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            #line 52 "..\..\SurfaceWindow1.xaml"
                this.ClearImagesButton.Click += new System.Windows.RoutedEventHandler(this.ClearImagesButton_Click);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\SurfaceWindow1.xaml"
                this.ShowSearchButton.Click += new System.Windows.RoutedEventHandler(this.ShowSearchButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Visualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 56 "..\..\SurfaceWindow1.xaml"
                this.Visualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.Visualizer_VisualizationAdded);

            #line default
            #line hidden

            #line 57 "..\..\SurfaceWindow1.xaml"
                this.Visualizer.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.Visualizer_VisualizationRemoved);

            #line default
            #line hidden
                return;

            case 8:
                this.ImgScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));

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

            #line default
            #line hidden

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

            #line default
            #line hidden

            #line 93 "..\..\SurfaceWindow1.xaml"
                this.ImgScatterView.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragSourcePreviewInputDeviceDown);

            #line default
            #line hidden

            #line 94 "..\..\SurfaceWindow1.xaml"
                this.ImgScatterView.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.DragSourcePreviewInputDeviceDown);

            #line default
            #line hidden
                return;

            case 9:
                this.PinnedItems = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));

            #line 106 "..\..\SurfaceWindow1.xaml"
                this.PinnedItems.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragEnterEvent, new System.EventHandler <Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.PinnedItems_DragEnter));

            #line default
            #line hidden

            #line 107 "..\..\SurfaceWindow1.xaml"
                this.PinnedItems.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragLeaveEvent, new System.EventHandler <Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.PinnedItems_DragLeave));

            #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:
                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;
        }
Example #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\SurfaceWindow1.xaml"
                this.button.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touch);

            #line default
            #line hidden

            #line 67 "..\..\SurfaceWindow1.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.touchez_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.buttonCuisine = ((System.Windows.Controls.Button)(target));

            #line 96 "..\..\SurfaceWindow1.xaml"
                this.buttonCuisine.Click += new System.Windows.RoutedEventHandler(this.salledabain_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.cuisineScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 7:
                this.buttonSalon = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.salonScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 9:
                this.buttonSalledebain = ((System.Windows.Controls.Button)(target));

            #line 116 "..\..\SurfaceWindow1.xaml"
                this.buttonSalledebain.Click += new System.Windows.RoutedEventHandler(this.salledabain_Click);

            #line default
            #line hidden

            #line 116 "..\..\SurfaceWindow1.xaml"
                this.buttonSalledebain.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.salledebain_Touch);

            #line default
            #line hidden
                return;

            case 10:
                this.salledebainScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 11:
                this.atelier = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.brosseadent = ((System.Windows.Controls.Button)(target));

            #line 150 "..\..\SurfaceWindow1.xaml"
                this.brosseadent.Click += new System.Windows.RoutedEventHandler(this.brosseadent_Click);

            #line default
            #line hidden

            #line 150 "..\..\SurfaceWindow1.xaml"
                this.brosseadent.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.brosseadent_Touch);

            #line default
            #line hidden
                return;

            case 13:
                this.brosseadentScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 14:
                this.brosseacheveux = ((System.Windows.Controls.Button)(target));

            #line 161 "..\..\SurfaceWindow1.xaml"
                this.brosseacheveux.Click += new System.Windows.RoutedEventHandler(this.brosseacheveux_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.brosseacheveuxScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 16:
                this.rasoir = ((System.Windows.Controls.Button)(target));

            #line 172 "..\..\SurfaceWindow1.xaml"
                this.rasoir.Click += new System.Windows.RoutedEventHandler(this.rasoir_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.rasoirScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 18:
                this.douche = ((System.Windows.Controls.Button)(target));

            #line 183 "..\..\SurfaceWindow1.xaml"
                this.douche.Click += new System.Windows.RoutedEventHandler(this.douche_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.doucheScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 20:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 21:
                this.objet = ((System.Windows.Controls.Grid)(target));
                return;

            case 22:
                this.aideTop = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 23:
                this.borderVerre = ((System.Windows.Controls.Border)(target));
                return;

            case 24:
                this.verre = ((System.Windows.Controls.Image)(target));
                return;

            case 25:
                this.borderDentifrice = ((System.Windows.Controls.Border)(target));
                return;

            case 26:
                this.dentifrice = ((System.Windows.Controls.Image)(target));
                return;

            case 27:
                this.borderAideBrosseDent = ((System.Windows.Controls.Border)(target));
                return;

            case 28:
                this.brosseDent = ((System.Windows.Controls.Image)(target));
                return;

            case 29:
                this.tagBrosseaDent = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 238 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnvisualEnd);

            #line default
            #line hidden

            #line 238 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationMoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnvisualMoved);

            #line default
            #line hidden

            #line 238 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden
                return;

            case 30:
                this.aideBot = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 31:
                this.borderAideBrosseDent2 = ((System.Windows.Controls.Border)(target));
                return;

            case 32:
                this.brosseDent2 = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.borderDentifrice2 = ((System.Windows.Controls.Border)(target));
                return;

            case 34:
                this.dentifrice2 = ((System.Windows.Controls.Image)(target));
                return;

            case 35:
                this.borderVerre2 = ((System.Windows.Controls.Border)(target));
                return;

            case 36:
                this.verre2 = ((System.Windows.Controls.Image)(target));
                return;

            case 37:
                this.ordonnancement = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.friseHaut = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 39:
                this.fleche = ((System.Windows.Controls.Image)(target));
                return;

            case 40:
                this.borderbloc1 = ((System.Windows.Controls.Border)(target));
                return;

            case 41:
                this.bloc1 = ((System.Windows.Controls.Image)(target));

            #line 286 "..\..\SurfaceWindow1.xaml"
                this.bloc1.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 286 "..\..\SurfaceWindow1.xaml"
                this.bloc1.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 286 "..\..\SurfaceWindow1.xaml"
                this.bloc1.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 42:
                this.bloc2 = ((System.Windows.Controls.Image)(target));

            #line 289 "..\..\SurfaceWindow1.xaml"
                this.bloc2.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 289 "..\..\SurfaceWindow1.xaml"
                this.bloc2.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 289 "..\..\SurfaceWindow1.xaml"
                this.bloc2.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 43:
                this.bloc3 = ((System.Windows.Controls.Image)(target));

            #line 291 "..\..\SurfaceWindow1.xaml"
                this.bloc3.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 291 "..\..\SurfaceWindow1.xaml"
                this.bloc3.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 291 "..\..\SurfaceWindow1.xaml"
                this.bloc3.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 44:
                this.bloc4 = ((System.Windows.Controls.Image)(target));

            #line 292 "..\..\SurfaceWindow1.xaml"
                this.bloc4.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 292 "..\..\SurfaceWindow1.xaml"
                this.bloc4.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 292 "..\..\SurfaceWindow1.xaml"
                this.bloc4.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 45:
                this.bloc5 = ((System.Windows.Controls.Image)(target));

            #line 293 "..\..\SurfaceWindow1.xaml"
                this.bloc5.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 293 "..\..\SurfaceWindow1.xaml"
                this.bloc5.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 293 "..\..\SurfaceWindow1.xaml"
                this.bloc5.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 46:
                this.bloc6 = ((System.Windows.Controls.Image)(target));

            #line 294 "..\..\SurfaceWindow1.xaml"
                this.bloc6.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 294 "..\..\SurfaceWindow1.xaml"
                this.bloc6.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 294 "..\..\SurfaceWindow1.xaml"
                this.bloc6.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 47:
                this.friseBas = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 48:
                this.bloc1B = ((System.Windows.Controls.Image)(target));

            #line 298 "..\..\SurfaceWindow1.xaml"
                this.bloc1B.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 298 "..\..\SurfaceWindow1.xaml"
                this.bloc1B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 298 "..\..\SurfaceWindow1.xaml"
                this.bloc1B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 49:
                this.bloc2B = ((System.Windows.Controls.Image)(target));

            #line 299 "..\..\SurfaceWindow1.xaml"
                this.bloc2B.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 299 "..\..\SurfaceWindow1.xaml"
                this.bloc2B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 299 "..\..\SurfaceWindow1.xaml"
                this.bloc2B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 50:
                this.bloc3B = ((System.Windows.Controls.Image)(target));

            #line 300 "..\..\SurfaceWindow1.xaml"
                this.bloc3B.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 300 "..\..\SurfaceWindow1.xaml"
                this.bloc3B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 300 "..\..\SurfaceWindow1.xaml"
                this.bloc3B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 51:
                this.bloc4B = ((System.Windows.Controls.Image)(target));

            #line 301 "..\..\SurfaceWindow1.xaml"
                this.bloc4B.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 301 "..\..\SurfaceWindow1.xaml"
                this.bloc4B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 301 "..\..\SurfaceWindow1.xaml"
                this.bloc4B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 52:
                this.bloc5B = ((System.Windows.Controls.Image)(target));

            #line 302 "..\..\SurfaceWindow1.xaml"
                this.bloc5B.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 302 "..\..\SurfaceWindow1.xaml"
                this.bloc5B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 302 "..\..\SurfaceWindow1.xaml"
                this.bloc5B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 53:
                this.bloc6B = ((System.Windows.Controls.Image)(target));

            #line 303 "..\..\SurfaceWindow1.xaml"
                this.bloc6B.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden

            #line 303 "..\..\SurfaceWindow1.xaml"
                this.bloc6B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 303 "..\..\SurfaceWindow1.xaml"
                this.bloc6B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 54:
                this.flecheB = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     return;
     case 2:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 44 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);
     
     #line default
     #line hidden
     
     #line 45 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCanceledEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.DragCanceled));
     
     #line default
     #line hidden
     
     #line 46 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCompletedEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragCompletedEventArgs>(this.DragCompleted));
     
     #line default
     #line hidden
     return;
     case 2:
     this.scatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 76 "..\..\SurfaceWindow1.xaml"
     this.scatter.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragSourcePreviewInputDeviceDown);
     
     #line default
     #line hidden
     
     #line 77 "..\..\SurfaceWindow1.xaml"
     this.scatter.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.DragSourcePreviewInputDeviceDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.imageBrush = ((System.Windows.Media.ImageBrush)(target));
     return;
     case 2:
     this.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 27 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);
     
     #line default
     #line hidden
     
     #line 28 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationRemoved);
     
     #line default
     #line hidden
     
     #line 29 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationMoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationMoved);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.SearchBarPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.QueryBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 3:
     this.QueryButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 49 "..\..\SurfaceWindow1.xaml"
     this.QueryButton.Click += new System.Windows.RoutedEventHandler(this.QueryButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.BottomPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.ClearImagesButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 52 "..\..\SurfaceWindow1.xaml"
     this.ClearImagesButton.Click += new System.Windows.RoutedEventHandler(this.ClearImagesButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ShowSearchButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 53 "..\..\SurfaceWindow1.xaml"
     this.ShowSearchButton.Click += new System.Windows.RoutedEventHandler(this.ShowSearchButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Visualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 56 "..\..\SurfaceWindow1.xaml"
     this.Visualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.Visualizer_VisualizationAdded);
     
     #line default
     #line hidden
     
     #line 57 "..\..\SurfaceWindow1.xaml"
     this.Visualizer.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.Visualizer_VisualizationRemoved);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ImgScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 91 "..\..\SurfaceWindow1.xaml"
     this.ImgScatterView.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCanceledEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.ImgScatterView_DragCanceled));
     
     #line default
     #line hidden
     
     #line 92 "..\..\SurfaceWindow1.xaml"
     this.ImgScatterView.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCompletedEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragCompletedEventArgs>(this.ImgScatterView_DragCompleted));
     
     #line default
     #line hidden
     
     #line 93 "..\..\SurfaceWindow1.xaml"
     this.ImgScatterView.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragSourcePreviewInputDeviceDown);
     
     #line default
     #line hidden
     
     #line 94 "..\..\SurfaceWindow1.xaml"
     this.ImgScatterView.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.DragSourcePreviewInputDeviceDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.PinnedItems = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     
     #line 106 "..\..\SurfaceWindow1.xaml"
     this.PinnedItems.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragEnterEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.PinnedItems_DragEnter));
     
     #line default
     #line hidden
     
     #line 107 "..\..\SurfaceWindow1.xaml"
     this.PinnedItems.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragLeaveEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.PinnedItems_DragLeave));
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\SurfaceWindow1.xaml"
                this.button.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touch);

            #line default
            #line hidden
                return;

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

            case 5:
                this.t = ((System.Windows.Controls.Button)(target));

            #line 93 "..\..\SurfaceWindow1.xaml"
                this.t.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateMaisonHaut);

            #line default
            #line hidden
                return;

            case 6:

            #line 104 "..\..\SurfaceWindow1.xaml"
                ((System.Windows.Controls.Button)(target)).TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateMaisonBas);

            #line default
            #line hidden
                return;

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

            case 8:
                this.buttonCuisine = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.cuisineScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

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

            case 11:
                this.salonScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 12:
                this.buttonSalledebain = ((System.Windows.Controls.Button)(target));

            #line 134 "..\..\SurfaceWindow1.xaml"
                this.buttonSalledebain.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.salledebain_Touch);

            #line default
            #line hidden
                return;

            case 13:
                this.salledebainScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 14:
                this.atelier = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:

            #line 149 "..\..\SurfaceWindow1.xaml"
                ((System.Windows.Controls.Button)(target)).TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateAtelierHaut);

            #line default
            #line hidden
                return;

            case 16:

            #line 160 "..\..\SurfaceWindow1.xaml"
                ((System.Windows.Controls.Button)(target)).TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateAtelierBas);

            #line default
            #line hidden
                return;

            case 17:
                this.consigneAtelier = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.brosseadent = ((System.Windows.Controls.Button)(target));

            #line 187 "..\..\SurfaceWindow1.xaml"
                this.brosseadent.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.brosseadent_Touch);

            #line default
            #line hidden
                return;

            case 19:
                this.brosseadentScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 20:
                this.brosseacheveux = ((System.Windows.Controls.Button)(target));
                return;

            case 21:
                this.brosseacheveuxScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 22:
                this.rasoir = ((System.Windows.Controls.Button)(target));
                return;

            case 23:
                this.rasoirScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 24:
                this.douche = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.doucheScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 26:
                this.canvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.objet = ((System.Windows.Controls.Grid)(target));
                return;

            case 28:
                this.aideTop = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 29:
                this.borderVerre = ((System.Windows.Controls.Border)(target));
                return;

            case 30:
                this.verre = ((System.Windows.Controls.Image)(target));
                return;

            case 31:
                this.borderDentifrice = ((System.Windows.Controls.Border)(target));
                return;

            case 32:
                this.dentifrice = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.borderAideBrosseDent = ((System.Windows.Controls.Border)(target));
                return;

            case 34:
                this.brosseDent = ((System.Windows.Controls.Image)(target));
                return;

            case 35:
                this.borderObjet = ((System.Windows.Controls.Border)(target));
                return;

            case 36:
                this.text = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 37:
                this.text2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 38:
                this.tagBrosseaDent = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 283 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationMoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnvisualMoved);

            #line default
            #line hidden

            #line 283 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnvisualEnd);

            #line default
            #line hidden

            #line 283 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden
                return;

            case 39:
                this.aideBot = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 40:
                this.borderAideBrosseDent2 = ((System.Windows.Controls.Border)(target));
                return;

            case 41:
                this.brosseDent2 = ((System.Windows.Controls.Image)(target));
                return;

            case 42:
                this.borderDentifrice2 = ((System.Windows.Controls.Border)(target));
                return;

            case 43:
                this.dentifrice2 = ((System.Windows.Controls.Image)(target));
                return;

            case 44:
                this.borderVerre2 = ((System.Windows.Controls.Border)(target));
                return;

            case 45:
                this.verre2 = ((System.Windows.Controls.Image)(target));
                return;

            case 46:
                this.ordonnancement = ((System.Windows.Controls.Grid)(target));
                return;

            case 47:
                this.videoHaut = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 48:
                this.QrcodeHaut = ((System.Windows.Controls.Image)(target));
                return;

            case 49:
                this.media1 = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 50:
                this.friseHaut = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 51:
                this.rotatefecheHaut = ((System.Windows.Controls.Button)(target));

            #line 346 "..\..\SurfaceWindow1.xaml"
                this.rotatefecheHaut.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateHaut);

            #line default
            #line hidden
                return;

            case 52:
                this.fleche = ((System.Windows.Controls.Image)(target));
                return;

            case 53:
                this.borderbloc1 = ((System.Windows.Controls.Border)(target));
                return;

            case 54:
                this.bloc1 = ((System.Windows.Controls.Image)(target));

            #line 360 "..\..\SurfaceWindow1.xaml"
                this.bloc1.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 360 "..\..\SurfaceWindow1.xaml"
                this.bloc1.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 55:
                this.borderbloc2 = ((System.Windows.Controls.Border)(target));
                return;

            case 56:
                this.bloc2 = ((System.Windows.Controls.Image)(target));

            #line 363 "..\..\SurfaceWindow1.xaml"
                this.bloc2.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 363 "..\..\SurfaceWindow1.xaml"
                this.bloc2.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 57:
                this.borderbloc3 = ((System.Windows.Controls.Border)(target));
                return;

            case 58:
                this.bloc3 = ((System.Windows.Controls.Image)(target));

            #line 366 "..\..\SurfaceWindow1.xaml"
                this.bloc3.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 366 "..\..\SurfaceWindow1.xaml"
                this.bloc3.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 59:
                this.borderbloc4 = ((System.Windows.Controls.Border)(target));
                return;

            case 60:
                this.bloc4 = ((System.Windows.Controls.Image)(target));

            #line 369 "..\..\SurfaceWindow1.xaml"
                this.bloc4.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 369 "..\..\SurfaceWindow1.xaml"
                this.bloc4.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 61:
                this.borderbloc5 = ((System.Windows.Controls.Border)(target));
                return;

            case 62:
                this.bloc5 = ((System.Windows.Controls.Image)(target));

            #line 372 "..\..\SurfaceWindow1.xaml"
                this.bloc5.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 372 "..\..\SurfaceWindow1.xaml"
                this.bloc5.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 63:
                this.borderbloc6 = ((System.Windows.Controls.Border)(target));
                return;

            case 64:
                this.bloc6 = ((System.Windows.Controls.Image)(target));

            #line 375 "..\..\SurfaceWindow1.xaml"
                this.bloc6.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 375 "..\..\SurfaceWindow1.xaml"
                this.bloc6.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 65:
                this.friseBas = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 66:
                this.borderbloc7 = ((System.Windows.Controls.Border)(target));
                return;

            case 67:
                this.bloc1B = ((System.Windows.Controls.Image)(target));

            #line 380 "..\..\SurfaceWindow1.xaml"
                this.bloc1B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 380 "..\..\SurfaceWindow1.xaml"
                this.bloc1B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 68:
                this.borderbloc8 = ((System.Windows.Controls.Border)(target));
                return;

            case 69:
                this.bloc2B = ((System.Windows.Controls.Image)(target));

            #line 383 "..\..\SurfaceWindow1.xaml"
                this.bloc2B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 383 "..\..\SurfaceWindow1.xaml"
                this.bloc2B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 70:
                this.borderbloc9 = ((System.Windows.Controls.Border)(target));
                return;

            case 71:
                this.bloc3B = ((System.Windows.Controls.Image)(target));

            #line 388 "..\..\SurfaceWindow1.xaml"
                this.bloc3B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 388 "..\..\SurfaceWindow1.xaml"
                this.bloc3B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 72:
                this.borderbloc10 = ((System.Windows.Controls.Border)(target));
                return;

            case 73:
                this.bloc4B = ((System.Windows.Controls.Image)(target));

            #line 391 "..\..\SurfaceWindow1.xaml"
                this.bloc4B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 391 "..\..\SurfaceWindow1.xaml"
                this.bloc4B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 74:
                this.borderbloc11 = ((System.Windows.Controls.Border)(target));
                return;

            case 75:
                this.bloc5B = ((System.Windows.Controls.Image)(target));

            #line 394 "..\..\SurfaceWindow1.xaml"
                this.bloc5B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 394 "..\..\SurfaceWindow1.xaml"
                this.bloc5B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 76:
                this.borderbloc12 = ((System.Windows.Controls.Border)(target));
                return;

            case 77:
                this.bloc6B = ((System.Windows.Controls.Image)(target));

            #line 397 "..\..\SurfaceWindow1.xaml"
                this.bloc6B.TouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.touchTEST);

            #line default
            #line hidden

            #line 397 "..\..\SurfaceWindow1.xaml"
                this.bloc6B.TouchMove += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.mouveDelete);

            #line default
            #line hidden
                return;

            case 78:
                this.flecheB = ((System.Windows.Controls.Image)(target));
                return;

            case 79:
                this.rotatefecheBas = ((System.Windows.Controls.Button)(target));

            #line 400 "..\..\SurfaceWindow1.xaml"
                this.rotatefecheBas.TouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.rotateBas);

            #line default
            #line hidden
                return;

            case 80:
                this.videoBas = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 81:
                this.media2 = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 82:
                this.QrcodeBas = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\SurfaceWindow1.xaml"
     ((ImageExchanger.SurfaceWindow1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.SurfaceWindow_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ImageExchangeGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 16 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);
     
     #line default
     #line hidden
     
     #line 17 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.VisualizationRemoved);
     
     #line default
     #line hidden
     return;
     case 4:
     this.scatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 44 "..\..\SurfaceWindow1.xaml"
     this.scatterView.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.dragDrop);
     
     #line default
     #line hidden
     
     #line 45 "..\..\SurfaceWindow1.xaml"
     this.scatterView.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.dragDrop);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Example #17
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Visualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     return;
     case 2:
     this.Layer_1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.Checkerboard = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 4:
     this.Square = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 5:
     this.TagsNotSupportedText = ((System.Windows.Controls.RichTextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Example #18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.main = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 4:
                this.ImageScale = ((System.Windows.Media.ScaleTransform)(target));
                return;

            case 5:
                this.tagItem = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 81 "..\..\SurfaceWindow1.xaml"
                this.tagItem.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.itemPutOnTable);

            #line default
            #line hidden
                return;

            case 6:
                this.objet = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.aideTop = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 8:
                this.borderVerre = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.verre = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.borderDentifrice = ((System.Windows.Controls.Border)(target));
                return;

            case 11:
                this.dentifrice = ((System.Windows.Controls.Image)(target));
                return;

            case 12:
                this.borderAideBrosseDent = ((System.Windows.Controls.Border)(target));
                return;

            case 13:
                this.brosseDent = ((System.Windows.Controls.Image)(target));
                return;

            case 14:
                this.tagBrosseaDent = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 136 "..\..\SurfaceWindow1.xaml"
                this.tagBrosseaDent.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden
                return;

            case 15:
                this.aideBot = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 16:
                this.borderAideBrosseDent2 = ((System.Windows.Controls.Border)(target));
                return;

            case 17:
                this.brosseDent2 = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.borderDentifrice2 = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.dentifrice2 = ((System.Windows.Controls.Image)(target));
                return;

            case 20:
                this.borderVerre2 = ((System.Windows.Controls.Border)(target));
                return;

            case 21:
                this.verre2 = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.ordonnancement = ((System.Windows.Controls.Grid)(target));
                return;

            case 23:
                this.friseHaut = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 24:
                this.fleche = ((System.Windows.Controls.Image)(target));
                return;

            case 25:
                this.bloc1 = ((System.Windows.Controls.Image)(target));

            #line 182 "..\..\SurfaceWindow1.xaml"
                this.bloc1.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden
                return;

            case 26:
                this.bloc2 = ((System.Windows.Controls.Image)(target));

            #line 183 "..\..\SurfaceWindow1.xaml"
                this.bloc2.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden
                return;

            case 27:
                this.bloc3 = ((System.Windows.Controls.Image)(target));

            #line 184 "..\..\SurfaceWindow1.xaml"
                this.bloc3.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden
                return;

            case 28:
                this.bloc4 = ((System.Windows.Controls.Image)(target));

            #line 185 "..\..\SurfaceWindow1.xaml"
                this.bloc4.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden
                return;

            case 29:
                this.bloc5 = ((System.Windows.Controls.Image)(target));

            #line 186 "..\..\SurfaceWindow1.xaml"
                this.bloc5.Drop += new System.Windows.DragEventHandler(this.DropList_Drop);

            #line default
            #line hidden
                return;

            case 30:
                this.ActionPanel = ((System.Windows.Controls.WrapPanel)(target));
                return;

            case 31:
                this.ActionBrosser = ((System.Windows.Controls.Image)(target));

            #line 189 "..\..\SurfaceWindow1.xaml"
                this.ActionBrosser.MouseMove += new System.Windows.Input.MouseEventHandler(this.List_MouseMove);

            #line default
            #line hidden

            #line 189 "..\..\SurfaceWindow1.xaml"
                this.ActionBrosser.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.mouseUp);

            #line default
            #line hidden

            #line 189 "..\..\SurfaceWindow1.xaml"
                this.ActionBrosser.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mouseDown);

            #line default
            #line hidden

            #line 189 "..\..\SurfaceWindow1.xaml"
                this.ActionBrosser.GiveFeedback += new System.Windows.GiveFeedbackEventHandler(this.img_GiveFeedback);

            #line default
            #line hidden
                return;

            case 32:
                this.brosserName = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 33:
                this.ActionCracher = ((System.Windows.Controls.Image)(target));

            #line 194 "..\..\SurfaceWindow1.xaml"
                this.ActionCracher.MouseMove += new System.Windows.Input.MouseEventHandler(this.List_MouseMove);

            #line default
            #line hidden
                return;

            case 34:
                this.ActionPrendreBrosse = ((System.Windows.Controls.Image)(target));

            #line 195 "..\..\SurfaceWindow1.xaml"
                this.ActionPrendreBrosse.MouseMove += new System.Windows.Input.MouseEventHandler(this.List_MouseMove);

            #line default
            #line hidden
                return;

            case 35:
                this.ActionMettreDentifrice = ((System.Windows.Controls.Image)(target));

            #line 196 "..\..\SurfaceWindow1.xaml"
                this.ActionMettreDentifrice.MouseMove += new System.Windows.Input.MouseEventHandler(this.List_MouseMove);

            #line default
            #line hidden
                return;

            case 36:
                this.ActionMouilleBrosse = ((System.Windows.Controls.Image)(target));

            #line 197 "..\..\SurfaceWindow1.xaml"
                this.ActionMouilleBrosse.MouseMove += new System.Windows.Input.MouseEventHandler(this.List_MouseMove);

            #line default
            #line hidden
                return;

            case 37:
                this.ActionRincer = ((System.Windows.Controls.Image)(target));

            #line 198 "..\..\SurfaceWindow1.xaml"
                this.ActionRincer.MouseMove += new System.Windows.Input.MouseEventHandler(this.List_MouseMove);

            #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;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.img1 = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.img2 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 4:
                this.img4 = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.img5 = ((System.Windows.Controls.Image)(target));
                return;

            case 6:
                this.img6 = ((System.Windows.Controls.Image)(target));
                return;

            case 7:
                this.img7 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 9:
                this.img9 = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.img10 = ((System.Windows.Controls.Image)(target));
                return;

            case 11:
                this.myTag = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));

            #line 20 "..\..\SurfaceWindow1.xaml"
                this.myTag.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);

            #line default
            #line hidden
                return;

            case 12:
                this.button0 = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\SurfaceWindow1.xaml"
                this.button0.Click += new System.Windows.RoutedEventHandler(this.start_button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.surf = ((SurfaceApplication3.SurfaceWindow1)(target));
     return;
     case 2:
     this.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 17 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);
     
     #line default
     #line hidden
     
     #line 18 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationRemoved);
     
     #line default
     #line hidden
     
     #line 19 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationMoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationMoved);
     
     #line default
     #line hidden
     return;
     case 3:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.canvasPlateau = ((System.Windows.Controls.Canvas)(target));
     return;
     case 2:
     this.rectangle0_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 3:
     this.rectangle0_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 4:
     this.rectangle0_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 5:
     this.rectangle0_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 6:
     this.rectangle0_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 7:
     this.rectangle0_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 8:
     this.rectangle0_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 9:
     this.rectangle0_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 10:
     this.rectangle0_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 11:
     this.rectangle0_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 12:
     this.rectangle1_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 13:
     this.rectangle1_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 14:
     this.rectangle1_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 15:
     this.rectangle1_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 16:
     this.rectangle1_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 17:
     this.rectangle1_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 18:
     this.rectangle1_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 19:
     this.rectangle1_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 20:
     this.rectangle1_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 21:
     this.rectangle1_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 22:
     this.rectangle2_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 23:
     this.rectangle2_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 24:
     this.rectangle2_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 25:
     this.rectangle2_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 26:
     this.rectangle2_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 27:
     this.rectangle2_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 28:
     this.rectangle2_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 29:
     this.rectangle2_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 30:
     this.rectangle2_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 31:
     this.rectangle2_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 32:
     this.rectangle3_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 33:
     this.rectangle3_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 34:
     this.rectangle3_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 35:
     this.rectangle3_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 36:
     this.rectangle3_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 37:
     this.rectangle3_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 38:
     this.rectangle3_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 39:
     this.rectangle3_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 40:
     this.rectangle3_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 41:
     this.rectangle3_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 42:
     this.rectangle4_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 43:
     this.rectangle4_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 44:
     this.rectangle4_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 45:
     this.rectangle4_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 46:
     this.rectangle4_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 47:
     this.rectangle4_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 48:
     this.rectangle4_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 49:
     this.rectangle4_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 50:
     this.rectangle4_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 51:
     this.rectangle4_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 52:
     this.rectangle5_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 53:
     this.rectangle5_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 54:
     this.rectangle5_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 55:
     this.rectangle5_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 56:
     this.rectangle5_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 57:
     this.rectangle5_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 58:
     this.rectangle5_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 59:
     this.rectangle5_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 60:
     this.rectangle5_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 61:
     this.rectangle5_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 62:
     this.rectangle6_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 63:
     this.rectangle6_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 64:
     this.rectangle6_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 65:
     this.rectangle6_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 66:
     this.rectangle6_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 67:
     this.rectangle6_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 68:
     this.rectangle6_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 69:
     this.rectangle6_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 70:
     this.rectangle6_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 71:
     this.rectangle6_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 72:
     this.rectangle7_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 73:
     this.rectangle7_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 74:
     this.rectangle7_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 75:
     this.rectangle7_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 76:
     this.rectangle7_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 77:
     this.rectangle7_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 78:
     this.rectangle7_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 79:
     this.rectangle7_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 80:
     this.rectangle7_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 81:
     this.rectangle7_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 82:
     this.rectangle8_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 83:
     this.rectangle8_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 84:
     this.rectangle8_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 85:
     this.rectangle8_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 86:
     this.rectangle8_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 87:
     this.rectangle8_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 88:
     this.rectangle8_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 89:
     this.rectangle8_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 90:
     this.rectangle8_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 91:
     this.rectangle8_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 92:
     this.rectangle9_0 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 93:
     this.rectangle9_1 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 94:
     this.rectangle9_2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 95:
     this.rectangle9_3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 96:
     this.rectangle9_4 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 97:
     this.rectangle9_5 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 98:
     this.rectangle9_6 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 99:
     this.rectangle9_7 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 100:
     this.rectangle9_8 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 101:
     this.rectangle9_9 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 102:
     this.rectangleDroite = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 103:
     this.rectangleBas = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 104:
     this.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 135 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);
     
     #line default
     #line hidden
     
     #line 136 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationRemoved);
     
     #line default
     #line hidden
     
     #line 137 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationMoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationMoved);
     
     #line default
     #line hidden
     return;
     case 105:
     this.MyTagVisualizer2 = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 206 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer2.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAddedd);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }