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

            case 2:
                this.sliderOne = ((PhotoVis.Controls.RangeSlider)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Overlay = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 80 "..\..\..\Views\MapView.xaml"
                this.Previous.Click += new System.Windows.RoutedEventHandler(this.Previous_Click);

            #line default
            #line hidden
                return;

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

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

            #line 84 "..\..\..\Views\MapView.xaml"
                this.Next.Click += new System.Windows.RoutedEventHandler(this.Next_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.EscapeToMap = ((System.Windows.Controls.Button)(target));

            #line 87 "..\..\..\Views\MapView.xaml"
                this.EscapeToMap.Click += new System.Windows.RoutedEventHandler(this.EscapeToMap_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.InnerMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 8:
                this.MyBrowserControl = ((PhotoVis.Controls.BrowserControl)(target));
                return;

            case 9:

            #line 110 "..\..\..\Views\MapView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenStreetViewNewWindow_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.ImageFileName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.ImageSaveDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.ImageTaken = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.Creator = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:

            #line 135 "..\..\..\Views\MapView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.UnassignedImagesControl = ((System.Windows.Controls.ListBox)(target));

            #line 163 "..\..\..\Views\MapView.xaml"
                this.UnassignedImagesControl.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Images_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 164 "..\..\..\Views\MapView.xaml"
                this.UnassignedImagesControl.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Images_MouseMove);

            #line default
            #line hidden
                return;

            case 17:
                this.MyMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));

            #line 223 "..\..\..\Views\MapView.xaml"
                this.MyMap.Drop += new System.Windows.DragEventHandler(this.MyMap_Drop);

            #line default
            #line hidden

            #line 224 "..\..\..\Views\MapView.xaml"
                this.MyMap.DragEnter += new System.Windows.DragEventHandler(this.MyMap_DragEnter);

            #line default
            #line hidden
                return;

            case 18:
                this.NewPolygonLayer = ((Microsoft.Maps.MapControl.WPF.MapLayer)(target));
                return;

            case 19:
                this.PushpinLayer = ((Microsoft.Maps.MapControl.WPF.MapLayer)(target));
                return;

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

            case 21:
                this.eventsPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 22:
                this.AgeLowerValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 23:
                this.AgeUpperValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.AgeSlider = ((PhotoVis.Controls.RangeSlider)(target));

            #line 246 "..\..\..\Views\MapView.xaml"
                this.AgeSlider.AddHandler(System.Windows.Controls.Primitives.Thumb.DragCompletedEvent, new System.Windows.Controls.Primitives.DragCompletedEventHandler(this.AgeSlider_DragCompleted));

            #line default
            #line hidden
                return;

            case 25:

            #line 257 "..\..\..\Views\MapView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AerialMode_Clicked);

            #line default
            #line hidden
                return;

            case 26:

            #line 258 "..\..\..\Views\MapView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RoadMode_Clicked);

            #line default
            #line hidden
                return;

            case 27:

            #line 259 "..\..\..\Views\MapView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.HybridMode_Clicked);

            #line default
            #line hidden
                return;

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

            #line 261 "..\..\..\Views\MapView.xaml"
                this.GoogleStreetViewMarker.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.GoogleStreetView_PreviewMouseLeftButtonDown);

            #line default
            #line hidden

            #line 262 "..\..\..\Views\MapView.xaml"
                this.GoogleStreetViewMarker.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.GoogleStreetView_MouseMove);

            #line default
            #line hidden

            #line 263 "..\..\..\Views\MapView.xaml"
                this.GoogleStreetViewMarker.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.GoogleStreetView_MouseDown);

            #line default
            #line hidden
                return;

            case 29:
                this.GoogleStreetViewTranslate = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 30:
                this.StatusTbx = ((PhotoVis.Controls.ScrollingTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }