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._proxyContainer = ((System.Windows.Controls.Canvas)(target));
                return;

            case 2:
                this._scatterView = ((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.scatterView1 = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 14 "..\..\SurfaceWindow1.xaml"
     this.scatterView1.AddHandler(Microsoft.Surface.Presentation.Contacts.ContactDownEvent, new Microsoft.Surface.Presentation.ContactEventHandler(this.checkAndAddModel));
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.scatterView1 = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));

            #line 14 "..\..\SurfaceWindow1.xaml"
                this.scatterView1.AddHandler(Microsoft.Surface.Presentation.Contacts.ContactDownEvent, new Microsoft.Surface.Presentation.ContactEventHandler(this.checkAndAddModel));

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

            case 2:
                this.L0 = ((SurfaceApplication1.Level0)(target));
                return;

            case 3:
                this.L1 = ((SurfaceApplication1.Level1)(target));
                return;

            case 4:
                this.L2 = ((SurfaceApplication1.Level2)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BaseGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.environmentSV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
                return;

            case 3:
                this.critterSVI2 = ((SynFluo1.Critter)(target));
                return;

            case 4:
                this.critterSVI3 = ((SynFluo1.Critter)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\TagVisualization2.xaml"
                ((PolinaSoshninSurfaceSample.TagVisualization2)(target)).Loaded += new System.Windows.RoutedEventHandler(this.TagVisualization2_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.videoScatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
                return;

            case 3:
                this.video = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Momma = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 2:
     this.Daddy = ((System.Windows.Controls.Canvas)(target));
     return;
     case 3:
     this.poly1 = ((System.Windows.Shapes.Polygon)(target));
     return;
     case 4:
     this.scatterViewItem1 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     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;
 }
Exemple #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BottomGrid = ((System.Windows.Controls.Primitives.UniformGrid)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

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

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.SW_SV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 2:
     this.L0 = ((SurfaceApplication1.Level0)(target));
     return;
     case 3:
     this.L1 = ((SurfaceApplication1.Level1)(target));
     return;
     case 4:
     this.L2 = ((SurfaceApplication1.Level2)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #12
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LibraryButton = ((System.Windows.Controls.Button)(target));
     
     #line 20 "..\..\Window1.xaml"
     this.LibraryButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 20 "..\..\Window1.xaml"
     this.LibraryButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.StudentCenterButton = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\Window1.xaml"
     this.StudentCenterButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 22 "..\..\Window1.xaml"
     this.StudentCenterButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 3:
     this.FoyButton = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\Window1.xaml"
     this.FoyButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 24 "..\..\Window1.xaml"
     this.FoyButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 4:
     this.McCannButton = ((System.Windows.Controls.Button)(target));
     
     #line 26 "..\..\Window1.xaml"
     this.McCannButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 26 "..\..\Window1.xaml"
     this.McCannButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 5:
     this.DonnellyButton = ((System.Windows.Controls.Button)(target));
     
     #line 28 "..\..\Window1.xaml"
     this.DonnellyButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 28 "..\..\Window1.xaml"
     this.DonnellyButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 6:
     this.HancockButton = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\Window1.xaml"
     this.HancockButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 30 "..\..\Window1.xaml"
     this.HancockButton.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 7:
     this.MaristInfo = ((System.Windows.Controls.Grid)(target));
     return;
     case 8:
     this.logo = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.twitterBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 10:
     this.twitterBoxHead = ((System.Windows.Controls.ListBox)(target));
     return;
     case 11:
     this.maristBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.myCanvas = ((System.Windows.Controls.Canvas)(target));
     return;
     case 13:
     this.MainScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 14:
     this.StudentCenter = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 15:
     this.StudentCenterButtonX = ((System.Windows.Controls.Button)(target));
     
     #line 142 "..\..\Window1.xaml"
     this.StudentCenterButtonX.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 142 "..\..\Window1.xaml"
     this.StudentCenterButtonX.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 16:
     this.Library = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 17:
     this.LibraryButtonX = ((System.Windows.Controls.Button)(target));
     
     #line 186 "..\..\Window1.xaml"
     this.LibraryButtonX.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 186 "..\..\Window1.xaml"
     this.LibraryButtonX.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 18:
     this.McCann = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 19:
     this.McannButtonX = ((System.Windows.Controls.Button)(target));
     
     #line 231 "..\..\Window1.xaml"
     this.McannButtonX.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 231 "..\..\Window1.xaml"
     this.McannButtonX.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 20:
     this.Donnelly = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 21:
     this.DonnellyButtonX = ((System.Windows.Controls.Button)(target));
     
     #line 285 "..\..\Window1.xaml"
     this.DonnellyButtonX.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     
     #line 285 "..\..\Window1.xaml"
     this.DonnellyButtonX.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.button_TouchDown);
     
     #line default
     #line hidden
     return;
     case 22:
     this.Foy = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 23:
     this.Hancock = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 24:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.HancockDetails = ((System.Windows.Controls.Grid)(target));
     return;
     case 26:
     this.hcDetailTransform = ((System.Windows.Media.TranslateTransform)(target));
     return;
     case 27:
     this.hcBuildingTab = ((System.Windows.Controls.TabItem)(target));
     
     #line 360 "..\..\Window1.xaml"
     this.hcBuildingTab.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabItem_TouchDown);
     
     #line default
     #line hidden
     return;
     case 28:
     this.hcBuildingInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 29:
     this.hcDepTab = ((System.Windows.Controls.TabItem)(target));
     
     #line 367 "..\..\Window1.xaml"
     this.hcDepTab.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabItem_TouchDown);
     
     #line default
     #line hidden
     return;
     case 30:
     this.hcDepInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.hcPhoneTab = ((System.Windows.Controls.TabItem)(target));
     
     #line 374 "..\..\Window1.xaml"
     this.hcPhoneTab.TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.TabItem_TouchDown);
     
     #line default
     #line hidden
     return;
     case 32:
     this.hcPhoneInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 33:
     this.elementMenu = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
     return;
     case 34:
     
     #line 393 "..\..\Window1.xaml"
     ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.addPhotoControlBox);
     
     #line default
     #line hidden
     return;
     case 35:
     this.HancockCloseButton = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 395 "..\..\Window1.xaml"
     this.HancockCloseButton.Click += new System.Windows.RoutedEventHandler(this.button_click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.HancockDetailButton = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     
     #line 396 "..\..\Window1.xaml"
     this.HancockDetailButton.Click += new System.Windows.RoutedEventHandler(this.slideDOut);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._proxyContainer = ((System.Windows.Controls.Canvas)(target));
     return;
     case 2:
     this._scatterView = ((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.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 44 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);
     
     #line default
     #line hidden
     
     #line 45 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCanceledEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.DragCanceled));
     
     #line default
     #line hidden
     
     #line 46 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.DragCompletedEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragCompletedEventArgs>(this.DragCompleted));
     
     #line default
     #line hidden
     return;
     case 2:
     this.scatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 76 "..\..\SurfaceWindow1.xaml"
     this.scatter.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragSourcePreviewInputDeviceDown);
     
     #line default
     #line hidden
     
     #line 77 "..\..\SurfaceWindow1.xaml"
     this.scatter.PreviewTouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.DragSourcePreviewInputDeviceDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.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;
 }
        /**
         * Creates a new tab at a certain page. 0 is the first opening,
         * 2 is the second opening, etc.
         **/
        public TabItem createTab(int page)
        {
            int buffer = scatterBuffer;
            int count = tabArray.Count;
            TabItem tab = new TabItem();
            tab.FontSize = 25;
            tab.Name = string.Format("tabItem_{0}", count);
            DockPanel heda = new DockPanel();
            tab.Header = heda;
            Button delBtn = new Button();
            delBtn.Height = 24;
            delBtn.Width = 24;
            delBtn.Margin = new Thickness(10, 0, 0, 0);
            delBtn.PreviewTouchDown += new EventHandler<TouchEventArgs>(deleteTabButtonPressed);
            delBtn.Click += new RoutedEventHandler(deleteTabButtonPressed);
            TextBlock hedatext = new TextBlock();
            hedatext.Text = "yo";
            Image img = new Image();
            BitmapImage ex = new BitmapImage();
            ex.BeginInit();
            ex.UriSource = new Uri("icons/ex.png", UriKind.Relative);
            ex.EndInit();
            img.Source = ex;
            img.Width = 16;
            img.Height = 16;
            delBtn.Content = img;

            heda.Children.Add(hedatext);
            heda.Children.Add(delBtn);

            Grid vSwipeGrid = new Grid();
            Grid rSwipeGrid = new Grid();
            Grid vSwipeHolderGrid = new Grid();
            Grid rSwipeHolderGrid = new Grid();
            Grid can = new Grid();
            can.ClipToBounds = true;
            Image verso = new Image();
            Image recto = new Image();
            verso.Stretch = Stretch.UniformToFill;
            recto.Stretch = Stretch.UniformToFill;
            SSC.ScatterView ScatterView = new SSC.ScatterView();
            SSC.ScatterViewItem ScatterItem = new SSC.ScatterViewItem();

            ScatterItem.PreviewTouchDown += new EventHandler<TouchEventArgs>(OnPreviewTouchDown);
            ScatterItem.PreviewTouchDown += new EventHandler<TouchEventArgs>(leftSwipeDetectionStart);
            ScatterItem.PreviewTouchMove += new EventHandler<TouchEventArgs>(leftSwipeDetectionMove);
            ScatterItem.PreviewTouchUp += new EventHandler<TouchEventArgs>(leftSwipeDetectionStop);
            ScatterItem.PreviewTouchDown += new EventHandler<TouchEventArgs>(rightSwipeDetectionStart);
            ScatterItem.PreviewTouchMove += new EventHandler<TouchEventArgs>(rightSwipeDetectionMove);
            ScatterItem.PreviewTouchUp += new EventHandler<TouchEventArgs>(rightSwipeDetectionStop);
            ScatterItem.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(wheelIt);
            ScatterItem.SizeChanged += new SizeChangedEventHandler(changeTextBoxSize);

            ScatterView.Width = 2 * minPageWidth + 2 * buffer;
            ScatterView.Height = minPageHeight + 2 * buffer;
            ScatterView.Margin = new Thickness(-buffer, -buffer, 0, 0);
            ScatterItem.IsManipulationEnabled = true;
            ScatterItem.AddHandler(UIElement.ManipulationDeltaEvent, new EventHandler<ManipulationDeltaEventArgs>(scatter_ManipulationDelta), true);
            ScatterItem.AddHandler(UIElement.ManipulationCompletedEvent, new EventHandler<ManipulationCompletedEventArgs>(scatter_ManipulationCompleted), true);

            ScatterItem.Width = minPageWidth * 2;
            ScatterItem.Height = minPageHeight;
            ScatterItem.MaxWidth = maxPageWidth * 2;
            ScatterItem.MaxHeight = maxPageHeight;
            ScatterItem.MinWidth = minPageWidth * 2;
            ScatterItem.MinHeight = minPageHeight;
            ScatterItem.CanMove = true;
            ScatterItem.CanRotate = false;
            ScatterItem.CanScale = true;
            ScatterItem.Center = new Point(buffer + minPageWidth, buffer + minPageHeight / 2);

            Grid ScatterGrid = new Grid();
            Grid vGrid = new Grid();
            Grid rGrid = new Grid();
            Grid vTranslationGrid = new Grid();
            Grid rTranslationGrid = new Grid();
            Grid vBoxesGrid = new Grid();
            Grid rBoxesGrid = new Grid();

            rBoxesGrid.Visibility = Visibility.Hidden;
            vBoxesGrid.Visibility = Visibility.Hidden;

            ScatterItem.Content = ScatterGrid;
            ColumnDefinition col1 = new ColumnDefinition();
            col1.Width = new GridLength(1, GridUnitType.Star);
            ColumnDefinition col2 = new ColumnDefinition();
            col2.Width = new GridLength(1, GridUnitType.Star);
            ScatterGrid.ColumnDefinitions.Add(col1);
            ScatterGrid.ColumnDefinitions.Add(col2);
            Grid.SetRow(vGrid, 0);
            Grid.SetColumn(vGrid, 0);
            Grid.SetRow(rGrid, 1);
            Grid.SetColumn(rGrid, 1);
            ScatterGrid.Children.Add(vGrid);
            ScatterGrid.Children.Add(rGrid);

            vGrid.Children.Add(verso);
            rGrid.Children.Add(recto);
            vGrid.Children.Add(vTranslationGrid);
            rGrid.Children.Add(rTranslationGrid);
            vGrid.Children.Add(vBoxesGrid);
            rGrid.Children.Add(rBoxesGrid);
            vGrid.Children.Add(vSwipeHolderGrid);
            rGrid.Children.Add(rSwipeHolderGrid);

            ColumnDefinition c1 = new ColumnDefinition();
            c1.Width = new GridLength(1, GridUnitType.Star);
            ColumnDefinition c2 = new ColumnDefinition();
            c2.Width = new GridLength(1, GridUnitType.Star);
            RowDefinition r1 = new RowDefinition();
            r1.Height = new GridLength(1, GridUnitType.Star);
            RowDefinition r2 = new RowDefinition();
            r2.Height = new GridLength(1, GridUnitType.Star);
            rSwipeHolderGrid.ColumnDefinitions.Add(c1);
            rSwipeHolderGrid.ColumnDefinitions.Add(c2);
            rSwipeHolderGrid.RowDefinitions.Add(r1);
            rSwipeHolderGrid.RowDefinitions.Add(r2);
            ColumnDefinition cc1 = new ColumnDefinition();
            cc1.Width = new GridLength(1, GridUnitType.Star);
            ColumnDefinition cc2 = new ColumnDefinition();
            cc2.Width = new GridLength(1, GridUnitType.Star);
            RowDefinition rr1 = new RowDefinition();
            rr1.Height = new GridLength(1, GridUnitType.Star);
            RowDefinition rr2 = new RowDefinition();
            rr2.Height = new GridLength(1, GridUnitType.Star);
            vSwipeHolderGrid.ColumnDefinitions.Add(cc1);
            vSwipeHolderGrid.ColumnDefinitions.Add(cc2);
            vSwipeHolderGrid.RowDefinitions.Add(rr1);
            vSwipeHolderGrid.RowDefinitions.Add(rr2);
            Grid.SetRow(rSwipeGrid, 2);
            Grid.SetColumn(rSwipeGrid, 2);
            Grid.SetRow(vSwipeGrid, 2);
            Grid.SetColumn(vSwipeGrid, 2);
            rSwipeHolderGrid.Children.Add(rSwipeGrid);
            vSwipeHolderGrid.Children.Add(vSwipeGrid);
            rSwipeGrid.HorizontalAlignment = HorizontalAlignment.Left;
            rSwipeGrid.VerticalAlignment = VerticalAlignment.Top;
            vSwipeGrid.HorizontalAlignment = HorizontalAlignment.Left;
            vSwipeGrid.VerticalAlignment = VerticalAlignment.Top;

            vSwipeGrid.Width = swipeLength;
            vSwipeGrid.Height = swipeHeight;
            rSwipeGrid.Width = swipeLength;
            rSwipeGrid.Height = swipeHeight;
            vSwipeGrid.Visibility = Visibility.Hidden;
            rSwipeGrid.Visibility = Visibility.Hidden;
            vSwipeGrid.Background = Brushes.WhiteSmoke;
            rSwipeGrid.Background = Brushes.WhiteSmoke;
            vSwipeGrid.Children.Add(new Canvas());
            rSwipeGrid.Children.Add(new Canvas());

            can.Children.Add(ScatterView);
            ScatterView.Items.Add(ScatterItem);

            language lang = language.None;
            if(tabArray.Count > tabNumber && currentTab() != null)
                lang = currentTab()._currentLanguage;

            tabArray.Insert(count, new MainTab(page, tab, verso, recto, can, vGrid, rGrid, delBtn, ScatterView, ScatterItem, vSwipeGrid, rSwipeGrid, vTranslationGrid, rTranslationGrid, vBoxesGrid, rBoxesGrid, hedatext, lang));

            tab.Content = can;
            tabBar.Items.Insert(tabArray.Count - 1, tab);
            tabBar.SelectedIndex = tabArray.Count - 1;

            loadPage();

            return tab;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\SurfaceWindow1.xaml"
     ((ImageExchanger.SurfaceWindow1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.SurfaceWindow_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ImageExchangeGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MyTagVisualizer = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     
     #line 16 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationAdded += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.OnVisualizationAdded);
     
     #line default
     #line hidden
     
     #line 17 "..\..\SurfaceWindow1.xaml"
     this.MyTagVisualizer.VisualizationRemoved += new Microsoft.Surface.Presentation.Controls.TagVisualizerEventHandler(this.VisualizationRemoved);
     
     #line default
     #line hidden
     return;
     case 4:
     this.scatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 44 "..\..\SurfaceWindow1.xaml"
     this.scatterView.PreviewMouseUp += new System.Windows.Input.MouseButtonEventHandler(this.dragDrop);
     
     #line default
     #line hidden
     
     #line 45 "..\..\SurfaceWindow1.xaml"
     this.scatterView.PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.dragDrop);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 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;
 }
Exemple #19
0
        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;
        }
Exemple #20
0
        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.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 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;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.RiverScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 3:
     this.PlanScatterViewLeft = ((BeastPhotoRiver.PlanLayer)(target));
     return;
     case 4:
     this.PlanScatterViewMiddle = ((BeastPhotoRiver.PlanLayer)(target));
     return;
     case 5:
     this.PlanScatterViewRight = ((BeastPhotoRiver.PlanLayer)(target));
     return;
     case 6:
     this.DiscussScatterView = ((BeastPhotoRiver.DiscussLayer)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.BaseGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.environmentSV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 3:
     this.critterSVI2 = ((SynFluo1.Critter)(target));
     return;
     case 4:
     this.critterSVI3 = ((SynFluo1.Critter)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.genePolygon = ((System.Windows.Shapes.Polygon)(target));
     return;
     case 2:
     this.geneNameLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.geneBPLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.leftPrimerPolygon = ((System.Windows.Shapes.Polygon)(target));
     return;
     case 5:
     this.rightPrimerPolygon = ((System.Windows.Shapes.Polygon)(target));
     return;
     case 6:
     this.runningLeftBlastLabel = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 7:
     this.runningRightBlastLabel = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 8:
     this.leftPrimer = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 9:
     this.leftSequenceRestrictionLayer = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.leftSequence = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.rightPrimer = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 12:
     this.rightSequenceRestrictionLayer = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.rightSequence = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.leftHighlight = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     
     #line 72 "..\..\PrimerDesignerUserControl.xaml"
     this.leftHighlight.ScatterManipulationDelta += new Microsoft.Surface.Presentation.Controls.ScatterManipulationDeltaEventHandler(this.leftHighlight_ScatterManipulationDelta);
     
     #line default
     #line hidden
     
     #line 73 "..\..\PrimerDesignerUserControl.xaml"
     this.leftHighlight.ScatterManipulationCompleted += new Microsoft.Surface.Presentation.Controls.ScatterManipulationCompletedEventHandler(this.leftHighlight_ScatterManipulationCompleted);
     
     #line default
     #line hidden
     return;
     case 15:
     this.rightHighlight = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     
     #line 78 "..\..\PrimerDesignerUserControl.xaml"
     this.rightHighlight.ScatterManipulationDelta += new Microsoft.Surface.Presentation.Controls.ScatterManipulationDeltaEventHandler(this.rightHighlight_ScatterManipulationDelta);
     
     #line default
     #line hidden
     
     #line 79 "..\..\PrimerDesignerUserControl.xaml"
     this.rightHighlight.ScatterManipulationCompleted += new Microsoft.Surface.Presentation.Controls.ScatterManipulationCompletedEventHandler(this.rightHighlight_ScatterManipulationCompleted);
     
     #line default
     #line hidden
     return;
     case 16:
     this.leftLength = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.leftTemp = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.leftGibbsFree = ((System.Windows.Controls.Label)(target));
     return;
     case 19:
     this.leftBlastResult = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.leftTempResult = ((System.Windows.Controls.Label)(target));
     return;
     case 21:
     this.leftHairpinResult = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.leftSelfDimerResult = ((System.Windows.Controls.Label)(target));
     return;
     case 23:
     this.leftHeteroDimerResult = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     
     #line 117 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.LeftSurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     
     #line 121 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.HairpinLeftButton_Click);
     
     #line default
     #line hidden
     return;
     case 26:
     
     #line 125 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SelfDimerLeftButton_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     
     #line 129 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.HeteroDimerLeftButton_Click);
     
     #line default
     #line hidden
     return;
     case 28:
     this.rightLength = ((System.Windows.Controls.Label)(target));
     return;
     case 29:
     this.temp = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.rightGibbsFree = ((System.Windows.Controls.Label)(target));
     return;
     case 31:
     this.rightBlastResult = ((System.Windows.Controls.Label)(target));
     return;
     case 32:
     this.rightTempResult = ((System.Windows.Controls.Label)(target));
     return;
     case 33:
     this.rightHairpinResult = ((System.Windows.Controls.Label)(target));
     return;
     case 34:
     this.rightSelfDimerResult = ((System.Windows.Controls.Label)(target));
     return;
     case 35:
     this.rightHeteroDimerResult = ((System.Windows.Controls.Label)(target));
     return;
     case 36:
     
     #line 165 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.RightSurfaceButton_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     
     #line 168 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.HairpinRightButton_Click);
     
     #line default
     #line hidden
     return;
     case 38:
     
     #line 171 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SelfDimerRightButton_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     
     #line 174 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.HeteroDimerRightButton_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     
     #line 183 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.saveLabelSVI = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 42:
     this.blastGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 43:
     this.blastScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 44:
     
     #line 199 "..\..\PrimerDesignerUserControl.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.HideSurfaceButton_Click);
     
     #line default
     #line hidden
     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.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;
 }
Exemple #28
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyScatterView = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 2:
     this.PushPinButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 3:
     
     #line 26 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddPushPinButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.RulerButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 5:
     
     #line 31 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddRulerButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.MagicLensButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 7:
     
     #line 36 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddMagicLensButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.MagnifyingGlassButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 9:
     
     #line 41 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddMagnifyingGlass_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.PaperClipButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 11:
     
     #line 46 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddPaperClip_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.NoteButton = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 13:
     
     #line 51 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNote_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.Save1 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 15:
     
     #line 56 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.save1_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.Load1 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 17:
     
     #line 61 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.load1_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.Save2 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 19:
     
     #line 66 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.save2_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.Load2 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 21:
     
     #line 71 "..\..\HabilisX.xaml"
     ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target)).Click += new System.Windows.RoutedEventHandler(this.load2_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 568 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.RootGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.backgroundImg = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.startAnimation = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.Visualizer1 = ((Microsoft.Surface.Presentation.Controls.TagVisualizer)(target));
     return;
     case 6:
     this.Player1Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 7:
     this.player1Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 621 "..\..\SurfaceWindow1.xaml"
     this.player1Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 8:
     this.player1Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 631 "..\..\SurfaceWindow1.xaml"
     this.player1Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 9:
     this.player1Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 641 "..\..\SurfaceWindow1.xaml"
     this.player1Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 10:
     this.player1Name = ((System.Windows.Controls.TextBlock)(target));
     
     #line 651 "..\..\SurfaceWindow1.xaml"
     this.player1Name.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 11:
     this.player1Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.Player2Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.player2Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.player2Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 749 "..\..\SurfaceWindow1.xaml"
     this.player2Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 15:
     this.player2Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 759 "..\..\SurfaceWindow1.xaml"
     this.player2Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 16:
     this.player2Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 769 "..\..\SurfaceWindow1.xaml"
     this.player2Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 17:
     this.player2Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.Player3Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.player3Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.player3Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 801 "..\..\SurfaceWindow1.xaml"
     this.player3Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 21:
     this.player3Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 811 "..\..\SurfaceWindow1.xaml"
     this.player3Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 22:
     this.player3Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 821 "..\..\SurfaceWindow1.xaml"
     this.player3Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 23:
     this.player3Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.Player4Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.player4Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 26:
     this.player4Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 913 "..\..\SurfaceWindow1.xaml"
     this.player4Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 27:
     this.player4Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 923 "..\..\SurfaceWindow1.xaml"
     this.player4Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 28:
     this.player4Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 933 "..\..\SurfaceWindow1.xaml"
     this.player4Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 29:
     this.player4Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 30:
     this.Player5Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 31:
     this.player5Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 32:
     this.player5Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1025 "..\..\SurfaceWindow1.xaml"
     this.player5Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 33:
     this.player5Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1035 "..\..\SurfaceWindow1.xaml"
     this.player5Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 34:
     this.player5Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1045 "..\..\SurfaceWindow1.xaml"
     this.player5Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 35:
     this.player5Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 36:
     this.Player6Grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 37:
     this.player6Name = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 38:
     this.player6Check = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1137 "..\..\SurfaceWindow1.xaml"
     this.player6Check.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Check);
     
     #line default
     #line hidden
     return;
     case 39:
     this.player6Fold = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1147 "..\..\SurfaceWindow1.xaml"
     this.player6Fold.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Fold);
     
     #line default
     #line hidden
     return;
     case 40:
     this.player6Bet = ((Microsoft.Surface.Presentation.Controls.SurfaceButton)(target));
     
     #line 1157 "..\..\SurfaceWindow1.xaml"
     this.player6Bet.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.Bet);
     
     #line default
     #line hidden
     return;
     case 41:
     this.player6Cash = ((System.Windows.Controls.Label)(target));
     return;
     case 42:
     this.grid = ((System.Windows.Controls.Grid)(target));
     return;
     case 43:
     this.helpText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 44:
     this.TableCards = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 45:
     this.t1 = ((System.Windows.Controls.Image)(target));
     return;
     case 46:
     this.t2 = ((System.Windows.Controls.Image)(target));
     return;
     case 47:
     this.t3 = ((System.Windows.Controls.Image)(target));
     return;
     case 48:
     this.t4 = ((System.Windows.Controls.Image)(target));
     return;
     case 49:
     this.t5 = ((System.Windows.Controls.Image)(target));
     return;
     case 50:
     this.Scatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 51:
     this.SpielerhinzuScatter = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 52:
     this.AddPlayer = ((SurfacePoker.AddPlayerControl)(target));
     return;
     case 53:
     this.Anleitung = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 54:
     
     #line 1266 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Button)(target)).TouchDown += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.closeHelp);
     
     #line default
     #line hidden
     return;
     case 55:
     this.DownloadApp = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 56:
     this.Settings = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 57:
     this.p1c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 58:
     this.p1c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 59:
     this.p1c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 60:
     this.p1c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 61:
     this.p2c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 62:
     this.p2c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 63:
     this.p2c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 64:
     this.p2c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 65:
     this.p3c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 66:
     this.p3c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 67:
     this.p3c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 68:
     this.p3c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 69:
     this.p4c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 70:
     this.p4c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 71:
     this.p4c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 72:
     this.p4c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 73:
     this.p5c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 74:
     this.p5c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 75:
     this.p5c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 76:
     this.p5c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 77:
     this.p6c1s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 78:
     this.p6c1 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 79:
     this.p6c2s = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 80:
     this.p6c2 = ((SurfacePoker.PlayerCard)(target));
     return;
     case 81:
     this.p2c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     
     #line 1414 "..\..\SurfaceWindow1.xaml"
     this.p2c10.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 82:
     
     #line 1423 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 83:
     this.p2c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 84:
     
     #line 1434 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 85:
     this.p2c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 86:
     
     #line 1445 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 87:
     this.p2c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 88:
     
     #line 1457 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 89:
     this.p2c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 90:
     
     #line 1468 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 91:
     this.p2c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 92:
     
     #line 1479 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 93:
     this.p1c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 94:
     
     #line 1490 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 95:
     this.p1c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 96:
     
     #line 1501 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 97:
     this.p1c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 98:
     
     #line 1512 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 99:
     this.p1c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 100:
     
     #line 1523 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 101:
     this.p1c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 102:
     
     #line 1534 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 103:
     this.p1c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 104:
     
     #line 1545 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 105:
     this.p3c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 106:
     
     #line 1556 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 107:
     this.p3c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 108:
     
     #line 1567 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 109:
     this.p3c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 110:
     
     #line 1578 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 111:
     this.p3c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 112:
     
     #line 1589 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 113:
     this.p3c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 114:
     
     #line 1600 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 115:
     this.p3c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 116:
     
     #line 1611 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 117:
     this.p4c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 118:
     
     #line 1622 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 119:
     this.p4c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 120:
     
     #line 1633 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 121:
     this.p4c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 122:
     
     #line 1644 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 123:
     this.p4c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 124:
     
     #line 1655 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 125:
     this.p4c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 126:
     
     #line 1666 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 127:
     this.p4c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 128:
     
     #line 1677 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 129:
     this.p5c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 130:
     
     #line 1688 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 131:
     this.p5c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 132:
     
     #line 1699 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 133:
     this.p5c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 134:
     
     #line 1710 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 135:
     this.p5c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 136:
     
     #line 1721 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 137:
     this.p5c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 138:
     
     #line 1732 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 139:
     this.p5c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 140:
     
     #line 1743 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 141:
     this.p6c10 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 142:
     
     #line 1754 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 143:
     this.p6c20 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 144:
     
     #line 1765 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 145:
     this.p6c50 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 146:
     
     #line 1776 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 147:
     this.p6c100 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 148:
     
     #line 1787 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 149:
     this.p6c200 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 150:
     
     #line 1798 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 151:
     this.p6c500 = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 152:
     
     #line 1809 "..\..\SurfaceWindow1.xaml"
     ((System.Windows.Controls.Image)(target)).TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.moveChip);
     
     #line default
     #line hidden
     return;
     case 153:
     this.potLeft = ((System.Windows.Controls.Label)(target));
     return;
     case 154:
     this.potRight = ((System.Windows.Controls.Label)(target));
     return;
     case 155:
     this.PauseOverlay = ((System.Windows.Controls.Canvas)(target));
     return;
     case 156:
     this.GewinnerOverlay = ((System.Windows.Controls.Canvas)(target));
     return;
     case 157:
     this.gewinnerTxt = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 158:
     this.MainMenu = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
     return;
     case 159:
     this.ElementMenuItemSpielStarten = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     return;
     case 160:
     this.ElementMenuItemFortsetzen = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     return;
     case 161:
     this.ElementMenuItemPause = ((Microsoft.Surface.Presentation.Controls.ElementMenuItem)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 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.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 5:
     this.workspaceBarSV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 6:
     this.workspaceBlockerSVI = ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target));
     return;
     case 7:
     this.workspaceActualSV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 117 "..\..\..\Views\ExtendedDesktop.xaml"
     this.workspaceActualSV.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.PreviewDragCanceledEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.PublicationsArticle_DragCanceled));
     
     #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;
        }
Exemple #34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RootLayout = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.scatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 239 "..\..\Window1.xaml"
     this.scatter.AddHandler(Microsoft.Surface.Presentation.Controls.ScatterContentControlBase.ContainerManipulationCompletedEvent, new Microsoft.Surface.Presentation.Controls.ContainerManipulationCompletedEventHandler(this.OnManipulationCompleted));
     
     #line default
     #line hidden
     return;
     case 3:
     this.puzzles = ((Microsoft.Surface.Presentation.Controls.SurfaceListBox)(target));
     
     #line 247 "..\..\Window1.xaml"
     this.puzzles.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OnPuzzleSelected);
     
     #line default
     #line hidden
     return;
     case 4:
     this.Difficulty = ((Microsoft.Surface.Presentation.Controls.SurfaceSlider)(target));
     
     #line 271 "..\..\Window1.xaml"
     this.Difficulty.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.OnDifficultyChanged);
     
     #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;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\TagVisualization2.xaml"
     ((PolinaSoshninSurfaceSample.TagVisualization2)(target)).Loaded += new System.Windows.RoutedEventHandler(this.TagVisualization2_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.videoScatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 3:
     this.video = ((System.Windows.Controls.MediaElement)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 8:
     this.mainSV = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     
     #line 233 "..\..\..\Views\SurfaceWindow1.xaml"
     this.mainSV.AddHandler(Microsoft.Surface.Presentation.SurfaceDragDrop.PreviewDragCanceledEvent, new System.EventHandler<Microsoft.Surface.Presentation.SurfaceDragDropEventArgs>(this.PublicationsArticle_DragCanceled));
     
     #line default
     #line hidden
     return;
     case 9:
     this._GeneElementMenu = ((Microsoft.Surface.Presentation.Controls.ElementMenu)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._scatter = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
     return;
     case 2:
     
     #line 12 "..\..\MainWindow.xaml"
     ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target)).PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.ScatterViewItem_TouchUp);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 16 "..\..\MainWindow.xaml"
     ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target)).PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.ScatterViewItem_TouchUp);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 20 "..\..\MainWindow.xaml"
     ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target)).PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.ScatterViewItem_TouchUp);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 24 "..\..\MainWindow.xaml"
     ((Microsoft.Surface.Presentation.Controls.ScatterViewItem)(target)).PreviewTouchUp += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.ScatterViewItem_TouchUp);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }