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

            #line 12 "..\..\..\SystemOverviewArea.xaml"
                this.UserControl.Loaded += new System.Windows.RoutedEventHandler(this.AreaLoaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.ShowOrHideText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.BackgroundBorderPath = ((System.Windows.Shapes.Path)(target));
                return;

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

            #line 105 "..\..\..\SystemOverviewArea.xaml"
                this.ShowHideButton.PreviewTouchDown += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ShowHideTouchDown);

            #line default
            #line hidden

            #line 106 "..\..\..\SystemOverviewArea.xaml"
                this.ShowHideButton.PreviewTouchUp += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ShowHideTouchUp);

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

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

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

            case 4:
                this.ExileButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

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

            case 6:
                this.MyBoard = ((MagicTactilForWindows.UCBoard)(target));
                return;

            case 7:
                this.OppBoard = ((MagicTactilForWindows.UCBoard)(target));
                return;

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

            case 9:
                this.GraveyardButton_Copy = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

            case 10:
                this.BackButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DisconectButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

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

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

            case 4:
                this.LogoButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;

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

            #line 73 "..\..\..\View\InnerBoard.xaml"
                this.friendButton.Click += new System.Windows.RoutedEventHandler(this.friendButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.FriendList = ((MagicTactilForWindows.UCFriendList)(target));
                return;

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

            case 8:
                this.DecksButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((SurfacePoker.AddPlayerControl)(target));
                return;

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

            case 3:
                this.spielername = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

            case 4:
                this.tagid1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

            case 5:
                this.tagid2 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
                return;

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

            #line 128 "..\..\AddPlayerControl.xaml"
                this.speichern.TouchEnter += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.savePlayer);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.View.Game)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.DeckButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.ExileButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 5:
     this.GraveyardButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 6:
     this.MyBoard = ((MagicTactilForWindows.UCBoard)(target));
     return;
     case 7:
     this.OppBoard = ((MagicTactilForWindows.UCBoard)(target));
     return;
     case 8:
     this.ExileButton_Copy = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 9:
     this.GraveyardButton_Copy = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 10:
     this.BackButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 15 "..\..\Level1.xaml"
     ((SurfaceApplication1.Level1)(target)).ContainerManipulationDelta += new Microsoft.Surface.Presentation.Controls.ContainerManipulationDeltaEventHandler(this.Level1_ContainerManipulationDelta);
     
     #line default
     #line hidden
     
     #line 16 "..\..\Level1.xaml"
     ((SurfaceApplication1.Level1)(target)).ContainerManipulationCompleted += new Microsoft.Surface.Presentation.Controls.ContainerManipulationCompletedEventHandler(this.Level1_ContainerManipulationCompleted);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Main = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.L1_prom = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 4:
     this.L1_rbs = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 5:
     this.L1_cds = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 6:
     this.L1_term = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 7:
     this.L1_buildTabs = ((System.Windows.Controls.TabControl)(target));
     
     #line 109 "..\..\Level1.xaml"
     this.L1_buildTabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.L1_buildTabs_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 112 "..\..\Level1.xaml"
     ((System.Windows.Controls.TabItem)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabControl_TouchDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.L1_manTab = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 10:
     
     #line 118 "..\..\Level1.xaml"
     ((System.Windows.Controls.TabItem)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabControl_TouchDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.L1_permTab = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 12:
     this.permMaker = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 127 "..\..\Level1.xaml"
     this.permMaker.Click += new System.Windows.RoutedEventHandler(this.permMaker_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.L1_SV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 14:
     this.ProgressIndicator = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.nameTextBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 3:
     this.dateTextBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 4:
     this.locationTextBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 5:
     this.contentTextBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 6:
     this.nameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     this.createButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 8:
     this.cancelButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 9:
     this.dateLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.locatioLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.contentLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.errLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #9
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DrawingPadCanvas = ((Microsoft.Surface.Presentation.Controls.SurfaceInkCanvas)(target));
     
     #line 83 "..\..\Window1.xaml"
     this.DrawingPadCanvas.StrokeCollected += new System.Windows.Controls.InkCanvasStrokeCollectedEventHandler(this.OnStrokeCollected);
     
     #line default
     #line hidden
     return;
     case 2:
     this.EditModeButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 88 "..\..\Window1.xaml"
     this.EditModeButton.Click += new System.Windows.RoutedEventHandler(this.EditModeClicked);
     
     #line default
     #line hidden
     return;
     case 3:
     this.DrawButtonImage = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.Pencil2 = ((System.Windows.Shapes.Path)(target));
     return;
     case 5:
     
     #line 115 "..\..\Window1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.UndoClicked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Undo = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.Undo1 = ((System.Windows.Shapes.Path)(target));
     return;
     case 8:
     this.CurrentColor = ((System.Windows.Shapes.Ellipse)(target));
     
     #line 152 "..\..\Window1.xaml"
     this.CurrentColor.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnCurrentColorMouseDown);
     
     #line default
     #line hidden
     
     #line 153 "..\..\Window1.xaml"
     this.CurrentColor.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseUp);
     
     #line default
     #line hidden
     
     #line 154 "..\..\Window1.xaml"
     this.CurrentColor.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.OnCurrentColorTouchDown);
     
     #line default
     #line hidden
     
     #line 155 "..\..\Window1.xaml"
     this.CurrentColor.LostMouseCapture += new System.Windows.Input.MouseEventHandler(this.OnCurrentColorLostMouseCapture);
     
     #line default
     #line hidden
     
     #line 156 "..\..\Window1.xaml"
     this.CurrentColor.LostTouchCapture += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.OnCurrentColorLostTouchCapture);
     
     #line default
     #line hidden
     
     #line 157 "..\..\Window1.xaml"
     this.CurrentColor.AddHandler(Microsoft.Surface.Presentation.Input.TouchExtensions.TapGestureEvent, new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.OnCurrentColorTap));
     
     #line default
     #line hidden
     return;
     case 9:
     this.ColorWheel = ((System.Windows.Controls.Image)(target));
     
     #line 166 "..\..\Window1.xaml"
     this.ColorWheel.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.OnColorWheelMouseDown);
     
     #line default
     #line hidden
     
     #line 167 "..\..\Window1.xaml"
     this.ColorWheel.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMouseUp);
     
     #line default
     #line hidden
     
     #line 168 "..\..\Window1.xaml"
     this.ColorWheel.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.OnColorWheelTouchDown);
     
     #line default
     #line hidden
     
     #line 169 "..\..\Window1.xaml"
     this.ColorWheel.LostMouseCapture += new System.Windows.Input.MouseEventHandler(this.OnColorWheelLostMouseCapture);
     
     #line default
     #line hidden
     
     #line 170 "..\..\Window1.xaml"
     this.ColorWheel.LostTouchCapture += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.OnColorWheelLostTouchCapture);
     
     #line default
     #line hidden
     return;
     case 10:
     this.PhotoPadSVI = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 11:
     this.Photo = ((System.Windows.Controls.Image)(target));
     return;
     case 12:
     this.PostcardCanvas = ((Microsoft.Surface.Presentation.Controls.SurfaceInkCanvas)(target));
     return;
     case 13:
     
     #line 206 "..\..\Window1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.ClearClicked);
     
     #line default
     #line hidden
     return;
     case 14:
     this.X = ((System.Windows.Controls.Grid)(target));
     return;
     case 15:
     this.X2 = ((System.Windows.Shapes.Path)(target));
     return;
     case 16:
     
     #line 233 "..\..\Window1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.InkCanvasOnOffChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.MoveButtonImage = ((System.Windows.Controls.Grid)(target));
     return;
     case 18:
     this.Resize1 = ((System.Windows.Shapes.Path)(target));
     return;
     case 19:
     this.Movie = ((System.Windows.Controls.MediaElement)(target));
     
     #line 291 "..\..\Window1.xaml"
     this.Movie.MediaEnded += new System.Windows.RoutedEventHandler(this.OnMediaEnded);
     
     #line default
     #line hidden
     return;
     case 20:
     this.MovieCanvas = ((Microsoft.Surface.Presentation.Controls.SurfaceInkCanvas)(target));
     
     #line 300 "..\..\Window1.xaml"
     this.MovieCanvas.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.OnMovieCanvasPreviewLeftMouseDown);
     
     #line default
     #line hidden
     
     #line 301 "..\..\Window1.xaml"
     this.MovieCanvas.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.OnMovieCanvasPreviewMouseMove);
     
     #line default
     #line hidden
     
     #line 302 "..\..\Window1.xaml"
     this.MovieCanvas.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.OnMovieCanvasPreviewLeftMouseUp);
     
     #line default
     #line hidden
     
     #line 303 "..\..\Window1.xaml"
     this.MovieCanvas.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.OnMovieCanvasPreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 304 "..\..\Window1.xaml"
     this.MovieCanvas.PreviewTouchMove += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.OnPreviewTouchMoveOrLostCapture);
     
     #line default
     #line hidden
     
     #line 305 "..\..\Window1.xaml"
     this.MovieCanvas.LostTouchCapture += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.OnPreviewTouchMoveOrLostCapture);
     
     #line default
     #line hidden
     return;
     case 21:
     this.RecordButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 311 "..\..\Window1.xaml"
     this.RecordButton.Click += new System.Windows.RoutedEventHandler(this.OnRecordButtonPressed);
     
     #line default
     #line hidden
     return;
     case 22:
     this.AnotateVideoImage = ((System.Windows.Controls.Grid)(target));
     return;
     case 23:
     this.Pencil = ((System.Windows.Shapes.Path)(target));
     return;
     case 24:
     this.PauseButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 338 "..\..\Window1.xaml"
     this.PauseButton.Click += new System.Windows.RoutedEventHandler(this.OnPauseButtonPressed);
     
     #line default
     #line hidden
     return;
     case 25:
     this.Pause = ((System.Windows.Controls.Grid)(target));
     return;
     case 26:
     this.Rectangle_Copy2 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 27:
     this.Rectangle_Copy3 = ((System.Windows.Shapes.Rectangle)(target));
     return;
     case 28:
     this.PlayButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 373 "..\..\Window1.xaml"
     this.PlayButton.Click += new System.Windows.RoutedEventHandler(this.OnPlayButtonPressed);
     
     #line default
     #line hidden
     return;
     case 29:
     this.Play = ((System.Windows.Controls.Grid)(target));
     return;
     case 30:
     this.Play1 = ((System.Windows.Shapes.Path)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #10
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.btnHauptmenue = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(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.UserControl = ((MagicTactilForWindows.UCConversation)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.mainButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 12 "..\..\..\..\View\Notification\UCConversation.xaml"
     this.mainButton.Click += new System.Windows.RoutedEventHandler(this.SurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.closeButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 13 "..\..\..\..\View\Notification\UCConversation.xaml"
     this.closeButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.UCEventInfo)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.contentBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.nameBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.locationBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.dateBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.creatorNameBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.SISOButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.SurfaceButtonAddImplicit = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 27 "..\..\SurfaceWindow1.xaml"
     this.SurfaceButtonAddImplicit.Click += new System.Windows.RoutedEventHandler(this.SurfaceButtonAddImplicit_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SurfaceButtonAddExplicit = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 34 "..\..\SurfaceWindow1.xaml"
     this.SurfaceButtonAddExplicit.Click += new System.Windows.RoutedEventHandler(this.SurfaceButtonAddExplicit_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SuperButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 41 "..\..\SurfaceWindow1.xaml"
     this.SuperButton.Click += new System.Windows.RoutedEventHandler(this.MagicButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.MyScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(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;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DecksList = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     return;
     case 2:
     this.newButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 3:
     this.Label = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.Front = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.imgFront = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.Back = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.imgBack = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.ImageDescription = ((System.Windows.Controls.Label)(target));
     return;
     case 7:
     
     #line 114 "..\..\..\PhotoCard\PhotoCard.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.CommentButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.negResp = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 119 "..\..\..\PhotoCard\PhotoCard.xaml"
     this.negResp.Click += new System.Windows.RoutedEventHandler(this.TagButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.posResp = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 168 "..\..\..\PhotoCard\PhotoCard.xaml"
     this.posResp.Click += new System.Windows.RoutedEventHandler(this.TagButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 220 "..\..\..\PhotoCard\PhotoCard.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.BackToImageButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.CloseButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 222 "..\..\..\PhotoCard\PhotoCard.xaml"
     this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.CloseButton_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.YesButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 223 "..\..\..\PhotoCard\PhotoCard.xaml"
     this.YesButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.YesButton_TouchDown);
     
     #line default
     #line hidden
     
     #line 223 "..\..\..\PhotoCard\PhotoCard.xaml"
     this.YesButton.Click += new System.Windows.RoutedEventHandler(this.YesButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.NoButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 224 "..\..\..\PhotoCard\PhotoCard.xaml"
     this.NoButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.NoButton_TouchDown);
     
     #line default
     #line hidden
     
     #line 224 "..\..\..\PhotoCard\PhotoCard.xaml"
     this.NoButton.Click += new System.Windows.RoutedEventHandler(this.NoButton_Click);
     
     #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.forwardButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 73 "..\..\PrimerDesigner2.xaml"
     this.forwardButton.Click += new System.Windows.RoutedEventHandler(this.forwardButton_Click);
     
     #line default
     #line hidden
     return;
     case 2:
     this.exitButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 87 "..\..\PrimerDesigner2.xaml"
     this.exitButton.Click += new System.Windows.RoutedEventHandler(this.exitButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.PD2_siteLibrary = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 4:
     this.siteAdder = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 108 "..\..\PrimerDesigner2.xaml"
     this.siteAdder.Click += new System.Windows.RoutedEventHandler(this.siteAdder_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.PD2_buildTabs = ((System.Windows.Controls.TabControl)(target));
     
     #line 122 "..\..\PrimerDesigner2.xaml"
     this.PD2_buildTabs.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PD2_buildTabs_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 123 "..\..\PrimerDesigner2.xaml"
     ((System.Windows.Controls.TabItem)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabControl_TouchDown);
     
     #line default
     #line hidden
     return;
     case 7:
     this.PD2_manual = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     
     #line 128 "..\..\PrimerDesigner2.xaml"
     ((System.Windows.Controls.TabItem)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabControl_TouchDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.PD2_auto = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.permMaker = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 136 "..\..\PrimerDesigner2.xaml"
     this.permMaker.Click += new System.Windows.RoutedEventHandler(this.permMaker_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.PD2_SV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 12:
     this.GeneratePrimers = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 152 "..\..\PrimerDesigner2.xaml"
     this.GeneratePrimers.Click += new System.Windows.RoutedEventHandler(this.GeneratePrimers_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.MainSV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 14:
     this.ProgressIndicator = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.UCReg)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.ConnectButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.EmailBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 5:
     this.NameBox = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 6:
     this.PasswordBox = ((Microsoft.Surface.Presentation.Controls.SurfacePasswordBox)(target));
     
     #line 25 "..\..\..\View\UCReg.xaml"
     this.PasswordBox.PasswordChanged += new System.Windows.RoutedEventHandler(this.PasswordBox_PasswordChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.UsernameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 11:
     this.confirmPassbox = ((Microsoft.Surface.Presentation.Controls.SurfacePasswordBox)(target));
     
     #line 30 "..\..\..\View\UCReg.xaml"
     this.confirmPassbox.PasswordChanged += new System.Windows.RoutedEventHandler(this.confirmPassbox_PasswordChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemple #21
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.surfaceButton1 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 12 "..\..\Hauptmenue.xaml"
     this.surfaceButton1.Click += new System.Windows.RoutedEventHandler(this.BtnErklClick);
     
     #line default
     #line hidden
     return;
     case 3:
     this.surfaceButton2 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.surfaceListBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     return;
     case 2:
     this.surfaceListBoxItem1 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 3:
     this.surfaceListBoxItem2 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 4:
     this.surfaceListBoxItem3 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 5:
     this.surfaceListBoxItem4 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 6:
     this.surfaceListBoxItem5 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 7:
     this.surfaceListBoxItem6 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 8:
     this.surfaceListBoxItem7 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBoxItem)(target));
     return;
     case 9:
     this.surfaceTextBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 10:
     this.surfaceTextBox2 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 11:
     this.surfaceTextBox3 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 12:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.surfaceTextBox4 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 15:
     this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.surfaceButton1 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 22 "..\..\CreateHapticCircleWindow.xaml"
     this.surfaceButton1.Click += new System.Windows.RoutedEventHandler(this.surfaceButton1_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.btnBubble = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 3:
     this.btnInsertion = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.btnSelection = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 5:
     this.btnQuick = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 6:
     this.btnHauptmenue = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 17 "..\..\MenueErklaerung.xaml"
     this.btnHauptmenue.Click += new System.Windows.RoutedEventHandler(this.btnHauptMmenueClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.animationControl = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 2:
     this.btnBackward = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 3:
     this.btnStart = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.btnStop = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 5:
     this.btnForward = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 6:
     this.description = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 7:
     this.btnErklaerungen = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 8:
     this.btnHauptmenue = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 9:
     this.codeControl = ((System.Windows.Controls.ItemsControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main = ((System.Windows.Controls.Grid)(target));
     
     #line 58 "..\..\Level0.xaml"
     this.Main.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Main_TouchDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.tabs = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 3:
     this.navigation = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 4:
     this.prom = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     
     #line 95 "..\..\Level0.xaml"
     this.prom.Checked += new System.Windows.RoutedEventHandler(this.nav_Checked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.rbs = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     
     #line 96 "..\..\Level0.xaml"
     this.rbs.Checked += new System.Windows.RoutedEventHandler(this.nav_Checked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.cds = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     
     #line 97 "..\..\Level0.xaml"
     this.cds.Checked += new System.Windows.RoutedEventHandler(this.nav_Checked);
     
     #line default
     #line hidden
     return;
     case 7:
     this.term = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     
     #line 98 "..\..\Level0.xaml"
     this.term.Checked += new System.Windows.RoutedEventHandler(this.nav_Checked);
     
     #line default
     #line hidden
     return;
     case 8:
     this.all = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     
     #line 99 "..\..\Level0.xaml"
     this.all.Checked += new System.Windows.RoutedEventHandler(this.nav_Checked);
     
     #line default
     #line hidden
     return;
     case 9:
     this.searchBar = ((System.Windows.Controls.TextBox)(target));
     
     #line 111 "..\..\Level0.xaml"
     this.searchBar.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.searchBar_TouchDown);
     
     #line default
     #line hidden
     
     #line 112 "..\..\Level0.xaml"
     this.searchBar.KeyDown += new System.Windows.Input.KeyEventHandler(this.searchByString);
     
     #line default
     #line hidden
     
     #line 113 "..\..\Level0.xaml"
     this.searchBar.GotFocus += new System.Windows.RoutedEventHandler(this.searchBar_GotFocus);
     
     #line default
     #line hidden
     
     #line 114 "..\..\Level0.xaml"
     this.searchBar.LostFocus += new System.Windows.RoutedEventHandler(this.searchBar_LostFocus);
     
     #line default
     #line hidden
     return;
     case 10:
     this.CategoryBrowse = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.filtersPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     this.L0_resultsSV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 13:
     this.L0_SV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 14:
     this.partAdder = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 142 "..\..\Level0.xaml"
     this.partAdder.Click += new System.Windows.RoutedEventHandler(this.partAdder_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.ProgressIndicator = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 13 "..\..\surfacewindow1.xaml"
     this.MyScatterView.LayoutUpdated += new System.EventHandler(this.ScatterView_LayoutUpdated);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Save1 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 3:
     
     #line 17 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.save1_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Load1 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 5:
     
     #line 22 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.load1_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Save2 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 7:
     
     #line 27 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.save2_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Load2 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 9:
     
     #line 32 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.load2_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.PushPinButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 11:
     
     #line 38 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddPushPinButton_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.RulerButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 13:
     
     #line 43 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddRulerButton_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.MagicLensButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 15:
     
     #line 49 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddMagicLensButton_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.MagnifyingGlassButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 17:
     
     #line 54 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddMagnifyingGlass_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.PaperClipButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 19:
     
     #line 59 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddPaperClip_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.NoteButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 21:
     
     #line 64 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNote_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.AutoSaveButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 23:
     
     #line 69 "..\..\surfacewindow1.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AutoSaveButton_Click_1);
     
     #line default
     #line hidden
     return;
     case 24:
     this.ClusterButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 74 "..\..\surfacewindow1.xaml"
     this.ClusterButton.Click += new System.Windows.RoutedEventHandler(this.ClusterButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RoomsListBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     
     #line 16 "..\..\..\..\View\Rooms\Rooms.xaml"
     this.RoomsListBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RoomsListBox1_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.CreateButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 3:
     this.RefreshButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.JoinButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 5:
     this.playerListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.userInfo = ((MagicTactilForWindows.UCUserInfo)(target));
     return;
     case 3:
     this.modifyButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 10 "..\..\..\View\Copy of Profile.xaml"
     this.modifyButton.Click += new System.Windows.RoutedEventHandler(this.modifyButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cancelButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 11 "..\..\..\View\Copy of Profile.xaml"
     this.cancelButton.Click += new System.Windows.RoutedEventHandler(this.cancelButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemple #29
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((SurfacePoker.AddPlayerControl)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.spielername = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 4:
     this.tagid1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 5:
     this.tagid2 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 6:
     this.speichern = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 128 "..\..\AddPlayerControl.xaml"
     this.speichern.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.savePlayer);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 2:
     this.seqCol = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 3:
     this.CopyCompleteSequence = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 83 "..\..\PrimerDesigner1.xaml"
     this.CopyCompleteSequence.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.CopyCompleteSequence_TouchDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.backButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 92 "..\..\PrimerDesigner1.xaml"
     this.backButton.Click += new System.Windows.RoutedEventHandler(this.backButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.exitButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 97 "..\..\PrimerDesigner1.xaml"
     this.exitButton.Click += new System.Windows.RoutedEventHandler(this.exitButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.showScroller = ((Microsoft.Surface.Presentation.Controls.SurfaceScrollViewer)(target));
     return;
     case 7:
     this.showPanel = ((System.Windows.Controls.StackPanel)(target));
     
     #line 105 "..\..\PrimerDesigner1.xaml"
     this.showPanel.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.showPanel_PreviewTouchDown);
     
     #line default
     #line hidden
     return;
     case 8:
     this.showButtonPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.pcr = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     return;
     case 10:
     this.l0DV = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     return;
     case 11:
     this.l1DV = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     return;
     case 12:
     this.l2DV = ((Microsoft.Surface.Presentation.Controls.SurfaceRadioButton)(target));
     return;
     case 13:
     this.seqComplete = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.nameForward = ((System.Windows.Controls.TextBox)(target));
     
     #line 141 "..\..\PrimerDesigner1.xaml"
     this.nameForward.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.sequence_TouchDown);
     
     #line default
     #line hidden
     return;
     case 15:
     this.nameReverse = ((System.Windows.Controls.TextBox)(target));
     
     #line 144 "..\..\PrimerDesigner1.xaml"
     this.nameReverse.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.sequence_TouchDown);
     
     #line default
     #line hidden
     return;
     case 16:
     this.seqForward = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.seqReverse = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.lengthForward = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.lengthReverse = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.gcForward = ((System.Windows.Controls.TextBox)(target));
     return;
     case 21:
     this.gcReverse = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.tempForward = ((System.Windows.Controls.TextBox)(target));
     return;
     case 23:
     this.tempReverse = ((System.Windows.Controls.TextBox)(target));
     return;
     case 24:
     this.PrintPrimers = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 176 "..\..\PrimerDesigner1.xaml"
     this.PrintPrimers.Click += new System.Windows.RoutedEventHandler(this.PrintPrimers_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.MainSV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 26:
     this.testGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 27:
     this.testRunner = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 208 "..\..\PrimerDesigner1.xaml"
     this.testRunner.Click += new System.Windows.RoutedEventHandler(this.testRunner_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.hairpinGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 29:
     this.hCheckF = ((Microsoft.Surface.Presentation.Controls.SurfaceCheckBox)(target));
     return;
     case 30:
     this.hNumF = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.hCheckR = ((Microsoft.Surface.Presentation.Controls.SurfaceCheckBox)(target));
     return;
     case 32:
     this.hNumR = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 33:
     this.sDimerGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 34:
     this.sCheckF = ((Microsoft.Surface.Presentation.Controls.SurfaceCheckBox)(target));
     return;
     case 35:
     this.sNumF = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 36:
     this.sCheckR = ((Microsoft.Surface.Presentation.Controls.SurfaceCheckBox)(target));
     return;
     case 37:
     this.sNumR = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 38:
     this.hDimerGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 39:
     this.tCheckF = ((Microsoft.Surface.Presentation.Controls.SurfaceCheckBox)(target));
     return;
     case 40:
     this.tNumF = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 41:
     this.tCheckR = ((Microsoft.Surface.Presentation.Controls.SurfaceCheckBox)(target));
     return;
     case 42:
     this.tNumR = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 43:
     this.ProgressIndicator = ((System.Windows.Controls.Grid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #31
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.btnBubble = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 3:
     this.btnInsertion = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.btnSelection = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 5:
     this.btnQuick = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 6:
     this.surfaceButton2 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DataSheetTabControl = ((System.Windows.Controls.TabControl)(target));
     return;
     case 2:
     this.DataSheetTab = ((System.Windows.Controls.TabItem)(target));
     
     #line 23 "..\..\MenuDataSheet.xaml"
     this.DataSheetTab.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.DataSheetTab_TouchDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.DataSheet = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     
     #line 77 "..\..\MenuDataSheet.xaml"
     ((System.Windows.Controls.TabItem)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.DataSheetTab_TouchDown);
     
     #line default
     #line hidden
     return;
     case 5:
     this.SeqTab = ((System.Windows.Controls.Grid)(target));
     return;
     case 6:
     this.GeneSequence = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.CopySequence = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 100 "..\..\MenuDataSheet.xaml"
     this.CopySequence.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.CopySequence_TouchDown);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 106 "..\..\MenuDataSheet.xaml"
     ((System.Windows.Controls.TabItem)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.DataSheetTab_TouchDown);
     
     #line default
     #line hidden
     return;
     case 9:
     this.AuthorInfo = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     
     #line 134 "..\..\MenuDataSheet.xaml"
     ((System.Windows.Controls.TabItem)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.DataSheetTab_TouchDown);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Publictions = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.KeyboardGrid = ((System.Windows.Controls.Grid)(target));
     
     #line 43 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.KeyboardGrid.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.KeyboardGrid_PreviewTouchDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Rect16 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 77 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect16.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 77 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect16.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 3:
     this.Key16 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 79 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key16.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 79 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key16.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 79 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key16.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Rect22 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 80 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect22.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 80 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect22.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 5:
     this.Key22 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 82 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key22.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 82 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key22.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 82 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key22.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 6:
     this.Rect4 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 83 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect4.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 83 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect4.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 7:
     this.Key4 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 85 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key4.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 85 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key4.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 85 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key4.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 8:
     this.Rect17 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 86 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect17.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 86 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect17.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 9:
     this.Key17 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 88 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key17.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 88 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key17.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 88 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key17.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 10:
     this.Rect19 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 89 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect19.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 89 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect19.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Key19 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 91 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key19.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 91 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key19.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 91 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key19.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 12:
     this.Rect25 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 92 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect25.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 92 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect25.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 13:
     this.Key25 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 94 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key25.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 94 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key25.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 94 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key25.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Rect20 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 95 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect20.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 95 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect20.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 15:
     this.Key20 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 97 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key20.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 97 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key20.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 97 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key20.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 16:
     this.Rect8 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 98 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect8.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 98 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect8.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 17:
     this.Key8 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 100 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key8.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 100 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key8.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 100 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key8.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 18:
     this.Rect14 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 101 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect14.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 101 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect14.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 19:
     this.Key14 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 103 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key14.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 103 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key14.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 103 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key14.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 20:
     this.Rect15 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 104 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect15.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 104 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect15.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 21:
     this.Key15 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 106 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key15.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 106 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key15.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 106 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key15.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 22:
     this.Rect28 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 107 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect28.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 107 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect28.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 23:
     this.Key28 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 109 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key28.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 109 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key28.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 109 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key28.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 24:
     this.RectBackSpace = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 110 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectBackSpace.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 110 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectBackSpace.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 25:
     this.BackSpace = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 112 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.BackSpace.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 112 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.BackSpace.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 112 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.BackSpace.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 26:
     this.RectEnter = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 115 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectEnter.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 115 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectEnter.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 27:
     this.Enter = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 117 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Enter.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 117 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Enter.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 117 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Enter.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 28:
     this.SecondRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 29:
     this.Rect26 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 134 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect26.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 134 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect26.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 30:
     this.Key26 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 136 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key26.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 136 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key26.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 136 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key26.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 31:
     this.Rect27 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 137 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect27.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 137 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect27.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 32:
     this.Key27 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 139 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key27.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 139 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key27.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 139 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key27.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 33:
     this.Rect11 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 140 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect11.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 140 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect11.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 34:
     this.Key11 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 142 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key11.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 142 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key11.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 142 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key11.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 35:
     this.Rect10 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 143 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect10.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 143 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect10.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 36:
     this.Key10 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 145 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key10.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 145 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key10.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 145 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key10.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 37:
     this.Rect9 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 146 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect9.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 146 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect9.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 38:
     this.Key9 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 148 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key9.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 148 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key9.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 148 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key9.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 39:
     this.Rect7 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 149 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect7.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 149 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect7.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 40:
     this.Key7 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 151 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key7.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 151 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key7.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 151 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key7.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 41:
     this.Rect6 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 152 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect6.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 152 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect6.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 42:
     this.Key6 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 154 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key6.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 154 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key6.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 154 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key6.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 43:
     this.Rect5 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 155 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect5.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 155 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect5.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 44:
     this.Key5 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 157 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key5.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 157 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key5.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 157 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key5.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 45:
     this.Rect3 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 158 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect3.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 158 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect3.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 46:
     this.Key3 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 160 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key3.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 160 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key3.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 160 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key3.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 47:
     this.Rect18 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 161 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect18.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 161 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect18.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 48:
     this.Key18 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 163 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key18.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 163 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key18.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 163 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key18.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 49:
     this.Rect0 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 164 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect0.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 164 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect0.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 50:
     this.Key0 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 166 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key0.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 166 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key0.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 166 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key0.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 51:
     this.Shift1 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 173 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Shift1.Click += new System.Windows.RoutedEventHandler(this.Key_Pressed);
     
     #line default
     #line hidden
     return;
     case 52:
     this.Rect24 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 174 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect24.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 174 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect24.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 53:
     this.Key24 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 176 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key24.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 176 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key24.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 176 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key24.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 54:
     this.Rect23 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 177 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect23.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 177 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect23.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 55:
     this.Key23 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 179 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key23.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 179 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key23.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 179 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key23.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 56:
     this.Rect2 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 180 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect2.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 180 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect2.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 57:
     this.Key2 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 182 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key2.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 182 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key2.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 182 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key2.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 58:
     this.Rect21 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 183 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect21.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 183 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect21.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 59:
     this.Key21 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 185 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key21.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 185 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key21.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 185 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key21.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 60:
     this.Rect1 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 186 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect1.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 186 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect1.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 61:
     this.Key1 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 188 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key1.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 188 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key1.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 188 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key1.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 62:
     this.Rect13 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 189 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect13.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 189 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect13.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 63:
     this.Key13 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 191 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key13.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 191 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key13.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 191 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key13.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 64:
     this.Rect12 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 192 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect12.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 192 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect12.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 65:
     this.Key12 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 194 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key12.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 194 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key12.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 194 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key12.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 66:
     this.Rect30 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 195 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect30.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 195 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect30.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 67:
     this.Key30 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 197 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key30.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 197 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key30.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 197 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key30.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 68:
     this.Rect31 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 198 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect31.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 198 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect31.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 69:
     this.Key31 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 200 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key31.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 200 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key31.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 200 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key31.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 70:
     this.Rect32 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 201 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect32.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 201 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect32.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 71:
     this.Key32 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 203 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key32.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 203 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key32.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 203 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key32.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 72:
     this.Rect29 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 204 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect29.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 204 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect29.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 73:
     this.Key29 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 206 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key29.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 206 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key29.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 206 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key29.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 74:
     this.Shift2 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 209 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Shift2.Click += new System.Windows.RoutedEventHandler(this.Key_Pressed);
     
     #line default
     #line hidden
     return;
     case 75:
     this.Symbols = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 213 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Symbols.Click += new System.Windows.RoutedEventHandler(this.Key_Pressed);
     
     #line default
     #line hidden
     return;
     case 76:
     this.RectSpace = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 214 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectSpace.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 214 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectSpace.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 77:
     this.Space = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 216 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Space.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 216 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Space.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 216 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Space.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 78:
     this.Rect33 = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 217 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect33.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 217 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Rect33.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 79:
     this.Key33 = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 219 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key33.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 219 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key33.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 219 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Key33.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 80:
     this.RectArrowLeft = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 220 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectArrowLeft.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 220 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectArrowLeft.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 81:
     this.ArrowLeft = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 222 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.ArrowLeft.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 222 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.ArrowLeft.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 222 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.ArrowLeft.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 82:
     this.RectArrowRight = ((System.Windows.Shapes.Rectangle)(target));
     
     #line 223 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectArrowRight.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchDown);
     
     #line default
     #line hidden
     
     #line 223 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.RectArrowRight.TouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Rect_TouchUp);
     
     #line default
     #line hidden
     return;
     case 83:
     this.ArrowRight = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 225 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.ArrowRight.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 225 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.ArrowRight.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 225 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.ArrowRight.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     case 84:
     this.Empty = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 228 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Empty.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchDown);
     
     #line default
     #line hidden
     
     #line 228 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Empty.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     
     #line 228 "..\..\..\Keyboard\CustomKeyboard.xaml"
     this.Empty.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Keys_PreviewTouchEnded);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 2:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.surfaceTextBox1 = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 6:
     this.format = ((Microsoft.Surface.Presentation.Controls.SurfaceTextBox)(target));
     return;
     case 7:
     this._ModeSelector = ((MagicTactilForWindows.Utilities.ModeSelector)(target));
     return;
     case 8:
     this.label5 = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.createButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 10:
     this.CancelButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 11:
     this.errLabel = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((MagicTactilForWindows.View.Home)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.createEventButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 4:
     this.eventListBox = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     
     #line 20 "..\..\..\View\Home.xaml"
     this.eventListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.eventListBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.refreshButton = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     return;
     case 6:
     this.eventInfo = ((MagicTactilForWindows.UCEventInfo)(target));
     return;
     }
     this._contentLoaded = true;
 }