Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MySceneView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.MySceneView.MapViewTapped += new System.EventHandler <Esri.ArcGISRuntime.Controls.MapViewInputEventArgs>(this.MySceneView_SceneViewTapped);

            #line default
            #line hidden
                return;

            case 2:
                this.DrawShapes = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 50 "..\..\MainWindow.xaml"
                this.DrawButton.Click += new System.Windows.RoutedEventHandler(this.DrawButton_Click);

            #line default
            #line hidden
                return;

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

            #line 52 "..\..\MainWindow.xaml"
                this.EditButton.Click += new System.Windows.RoutedEventHandler(this.EditButton_Click);

            #line default
            #line hidden
                return;

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

            #line 54 "..\..\MainWindow.xaml"
                this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\MainWindow.xaml"
                this.ClearButton.Click += new System.Windows.RoutedEventHandler(this.Clear_Click);

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

            case 2:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 3:
                this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 4:
                this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target));
                return;

            case 5:
                this.mapTip = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.Title = ((IS3.Desktop.UserControls.RaisedText)(target));
                return;

            case 7:
                this.ProjectTitle = ((IS3.Desktop.UserControls.RaisedText)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 7 "..\..\MainWindow.xaml"
                this.MyMapView.Loaded += new System.Windows.RoutedEventHandler(this.MyMapView_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.addressTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 10 "..\..\MainWindow.xaml"
                this.geocoording.Click += new System.Windows.RoutedEventHandler(this.geocoording_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 10 "..\..\MainWindow.xaml"
                this.MyMapView.LayerLoaded += new System.EventHandler <Esri.ArcGISRuntime.Controls.LayerLoadedEventArgs>(this.MyMapView_LayerLoaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 16 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Download_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 17 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Sync_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 5
0
        private void OnSetMap(object param)
        {
            var mapView = param as MapView;

            if (mapView == null)
            {
                return;
            }
            _mapView = mapView;
            _map     = mapView.Map;

            mapView.MouseLeftButtonDown += mapView_MouseLeftButtonDown;
            mapView.MouseLeftButtonUp   += mapView_MouseLeftButtonUp;
            mapView.MouseMove           += mapView_MouseMove;

            // setup any controllers that use the map view
            _gotoXYToolController        = new GotoXYToolController(mapView, this);
            _networkingToolController    = new NetworkingToolController(mapView, this);
            _viewShedToolController      = new ViewShedToolController(mapView, this);
            _coordinateReadoutController = new CoordinateReadoutController(mapView, this);
            _basemapGalleryController    = new BasemapGalleryController(mapView);

            // add default message layer
            AddNewMilitaryMessagelayer();

            if (_mission.PhaseList.Count < 1)
            {
                if (_mission.AddPhase("Phase 1"))
                {
                    Mediator.NotifyColleagues(Constants.ACTION_PHASE_ADDED, null);
                    RaisePropertyChanged(() => PhaseDescription);
                }
            }
        }
Esempio n. 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 18 "..\..\MainWindow.xaml"
                this.MyMapView.LayerLoaded += new System.EventHandler <Esri.ArcGISRuntime.Controls.LayerLoadedEventArgs>(this.MyMapView_LayerLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.theMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 3:
                this.Search = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 7
0
        public ViewShedToolController(MapView mapView, MapViewModel mapViewModel)
        {
            _viewShedToolView = new ViewShedToolView {
                PlacementTarget = mapView, ViewModel = { mapView = mapView }
            };

            var owner = Window.GetWindow(mapView);

            if (owner != null)
            {
                owner.LocationChanged += (sender, e) =>
                {
                    _viewShedToolView.HorizontalOffset += 1;
                    _viewShedToolView.HorizontalOffset -= 1;
                };
            }

            mapView.GraphicsOverlays.Add(new GraphicsOverlay()
            {
                ID = "inputOverlay", Renderer = _viewShedToolView.LayoutRoot.Resources["PointRenderer"] as Renderer
            });
            mapView.GraphicsOverlays.Add(new GraphicsOverlay()
            {
                ID = "ViewshedOverlay", Renderer = _viewShedToolView.LayoutRoot.Resources["ViewshedRenderer"] as Renderer
            });
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.header = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 2:
                this.dynamicMapServiceLayerMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.legend = ((System.Windows.Controls.ListView)(target));
                return;

            case 4:
                this.smallMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 5:
                this.mainMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 6:
                this.mainMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainHolder = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 3:
                this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 4:
                this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target));
                return;

            case 5:
                this.ledHolder = ((System.Windows.Controls.StackPanel)(target));
                return;

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

            case 7:
                this.ledTest1 = ((iS3.Client.Controls.LedDigitalControl.LedDigital.DigitalPanelControl)(target));
                return;

            case 8:
                this.UserTB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.RemindBtn = ((iS3.Client.Controls.PromptableButtonControl.PromptableButton)(target));
                return;

            case 10:
                this.MessageBtn = ((iS3.Client.Controls.PromptableButtonControl.PromptableButton)(target));
                return;

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

            case 12:
                this.domainTreeViewHolder = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.DGObjectDG = ((iS3.Client.DGObjectsView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Form = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.TextName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.ComboProvince = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.ComboNation = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.ComboPersonType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.EventForm = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.TextTitle = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.DateBirth = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.EventComboProvince = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 10:
                this.ComboEventType = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 12:
                this.mainMap = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 13:
                this.overviewMap = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 3:
                this.DocMan1 = ((Telerik.Windows.Controls.RadDocking)(target));
                return;

            case 4:
                this.projectBox = ((System.Windows.Controls.ListBox)(target));

            #line 53 "..\..\..\ProjectListPage\ProjectListPageForZHGL.xaml"
                this.projectBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.projectBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 6:
                this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 7:
                this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target));
                return;

            case 8:
                this.holder = ((Esri.ArcGISRuntime.Controls.OverlayItemsControl)(target));
                return;

            case 9:
                this.mapTip = ((iS3.Client.Controls.MapTip)(target));
                return;

            case 10:
                this.ProjectTitle = ((iS3.Client.Controls.RaisedText)(target));
                return;

            case 11:
                this.MapCoordsTB = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
         return;
     }
     this._contentLoaded = true;
 }
Esempio n. 13
0
        public NetworkingToolController(MapView mapView, MapViewModel mapViewModel)
        {
            this._mapView = mapView;

            _networkingToolView = new NetworkingToolView {
                PlacementTarget = mapView, ViewModel = { mapView = mapView }
            };

            var owner = Window.GetWindow(mapView);

            if (owner != null)
            {
                owner.LocationChanged += (sender, e) =>
                {
                    _networkingToolView.HorizontalOffset += 1;
                    _networkingToolView.HorizontalOffset -= 1;
                };
            }

            // hook mapview events
            mapView.MapViewTapped       += mapView_MapViewTapped;
            mapView.MapViewDoubleTapped += mapView_MapViewDoubleTapped;

            // hook listDirections
            _networkingToolView.listDirections.SelectionChanged += listDirections_SelectionChanged;

            // hook view resources
            _directionPointSymbol = _networkingToolView.LayoutRoot.Resources["directionPointSymbol"] as Symbol;

            mapView.GraphicsOverlays.Add(new GraphicsOverlay {
                ID = "RoutesOverlay", Renderer = _networkingToolView.LayoutRoot.Resources["routesRenderer"] as Renderer
            });
            mapView.GraphicsOverlays.Add(new GraphicsOverlay {
                ID = "StopsOverlay"
            });
            mapView.GraphicsOverlays.Add(new GraphicsOverlay {
                ID = "DirectionsOverlay", Renderer = _networkingToolView.LayoutRoot.Resources["directionsRenderer"] as Renderer, SelectionColor = Colors.Red
            });

            _stopsOverlay      = mapView.GraphicsOverlays["StopsOverlay"];
            _routesOverlay     = mapView.GraphicsOverlays["RoutesOverlay"];
            _directionsOverlay = mapView.GraphicsOverlays["DirectionsOverlay"];

            _routeTask = new OnlineRouteTask(new Uri(OnlineRoutingService));

            Mediator.Register(Constants.ACTION_ROUTING_GET_DIRECTIONS, DoGetDirections);

            _locatorTask = new OnlineLocatorTask(new Uri(OnlineLocatorUrl))
            {
                AutoNormalize = true
            };
        }
        public ViewShedToolController(MapView mapView, MapViewModel mapViewModel)
        {
            _viewShedToolView = new ViewShedToolView { ViewModel = { mapView = mapView } };

            var owner = Window.GetWindow(mapView);

            if (owner != null)
            {
                _viewShedToolView.Owner = owner;
            }

            mapView.GraphicsOverlays.Add(new GraphicsOverlay() { ID = "inputOverlay", Renderer = _viewShedToolView.LayoutRoot.Resources["PointRenderer"] as Renderer });
            mapView.GraphicsOverlays.Add(new GraphicsOverlay() { ID = "ViewshedOverlay", Renderer = _viewShedToolView.LayoutRoot.Resources["ViewshedRenderer"] as Renderer });
        }
Esempio n. 15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 10 "..\..\MapWindow1.xaml"
                this.MyMapView.LayerLoaded += new System.EventHandler <Esri.ArcGISRuntime.Controls.LayerLoadedEventArgs>(this.MyMapView_LayerLoaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        public ViewShedToolController(MapView mapView, MapViewModel mapViewModel)
        {
            _viewShedToolView = new ViewShedToolView {PlacementTarget = mapView, ViewModel = {mapView = mapView}};

            var owner = Window.GetWindow(mapView);

            if (owner != null)
            {
                owner.LocationChanged += (sender, e) =>
                {
                    _viewShedToolView.HorizontalOffset += 1;
                    _viewShedToolView.HorizontalOffset -= 1;
                };
            }

            mapView.GraphicsOverlays.Add(new GraphicsOverlay() { ID = "inputOverlay", Renderer = _viewShedToolView.LayoutRoot.Resources["PointRenderer"] as Renderer });
            mapView.GraphicsOverlays.Add(new GraphicsOverlay() { ID = "ViewshedOverlay", Renderer = _viewShedToolView.LayoutRoot.Resources["ViewshedRenderer"] as Renderer });
        }
        public NetworkingToolController(MapView mapView, MapViewModel mapViewModel)
        {
            this._mapView = mapView;

            _networkingToolView = new NetworkingToolView {PlacementTarget = mapView, ViewModel = {mapView = mapView}};

            var owner = Window.GetWindow(mapView);

            if (owner != null)
            {
                owner.LocationChanged += (sender, e) =>
                {
                    _networkingToolView.HorizontalOffset += 1;
                    _networkingToolView.HorizontalOffset -= 1;
                };
            }

            // hook mapview events
            mapView.MapViewTapped += mapView_MapViewTapped;
            mapView.MapViewDoubleTapped += mapView_MapViewDoubleTapped;

            // hook listDirections
            _networkingToolView.listDirections.SelectionChanged += listDirections_SelectionChanged;

            // hook view resources
            _directionPointSymbol = _networkingToolView.LayoutRoot.Resources["directionPointSymbol"] as Symbol;

            mapView.GraphicsOverlays.Add(new GraphicsOverlay { ID="RoutesOverlay", Renderer=_networkingToolView.LayoutRoot.Resources["routesRenderer"] as Renderer});
            mapView.GraphicsOverlays.Add(new GraphicsOverlay { ID="StopsOverlay" });
            mapView.GraphicsOverlays.Add(new GraphicsOverlay { ID = "DirectionsOverlay", Renderer=_networkingToolView.LayoutRoot.Resources["directionsRenderer"] as Renderer, SelectionColor=Colors.Red });

            _stopsOverlay = mapView.GraphicsOverlays["StopsOverlay"];
            _routesOverlay = mapView.GraphicsOverlays["RoutesOverlay"];
            _directionsOverlay = mapView.GraphicsOverlays["DirectionsOverlay"];

            _routeTask = new OnlineRouteTask(new Uri(OnlineRoutingService));

            Mediator.Register(Constants.ACTION_ROUTING_GET_DIRECTIONS, DoGetDirections);

            _locatorTask = new OnlineLocatorTask(new Uri(OnlineLocatorUrl)) {AutoNormalize = true};
        }
Esempio n. 18
0
        public ViewShedToolController(MapView mapView, MapViewModel mapViewModel)
        {
            _viewShedToolView = new ViewShedToolView {
                ViewModel = { mapView = mapView }
            };

            var owner = Window.GetWindow(mapView);

            if (owner != null)
            {
                _viewShedToolView.Owner = owner;
            }

            mapView.GraphicsOverlays.Add(new GraphicsOverlay()
            {
                ID = "inputOverlay", Renderer = _viewShedToolView.LayoutRoot.Resources["PointRenderer"] as Renderer
            });
            mapView.GraphicsOverlays.Add(new GraphicsOverlay()
            {
                ID = "ViewshedOverlay", Renderer = _viewShedToolView.LayoutRoot.Resources["ViewshedRenderer"] as Renderer
            });
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Mapview1 = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 11 "..\..\MapControl.xaml"
                this.Mapview1.ExtentChanged += new System.EventHandler(this.Mapview1_ExtentChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Map1 = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 3:
                this.SceneView1 = ((Esri.ArcGISRuntime.Controls.SceneView)(target));
                return;

            case 4:
                this.Scene1 = ((Esri.ArcGISRuntime.Controls.Scene)(target));
                return;

            case 5:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 20
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     return;
     case 2:
     this.MyMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
     return;
     case 3:
     this.comboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 26 "..\..\MainWindow.xaml"
     this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.ItemTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.SearchButton = ((System.Windows.Controls.Button)(target));
     
     #line 43 "..\..\MainWindow.xaml"
     this.SearchButton.Click += new System.Windows.RoutedEventHandler(this.SearchButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.ResultsLIstBox = ((System.Windows.Controls.ListBox)(target));
     
     #line 44 "..\..\MainWindow.xaml"
     this.ResultsLIstBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ResultList_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.SnippetTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.ThumbnailImage = ((System.Windows.Controls.Image)(target));
     return;
     case 10:
     this.ShowMapButton = ((System.Windows.Controls.Button)(target));
     
     #line 57 "..\..\MainWindow.xaml"
     this.ShowMapButton.Click += new System.Windows.RoutedEventHandler(this.ShowMapButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TxtDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.TxtTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txtSearch = ((Telerik.Windows.Controls.RadWatermarkTextBox)(target));
                return;

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

            case 5:
                this.brdrBackgrond = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.radToggleBtnEsriMap = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 1577 "..\..\TrafficMapUserControl.xaml"
                this.radToggleBtnEsriMap.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnEsriMap_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.radToggleBtnGoogleMap = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 1581 "..\..\TrafficMapUserControl.xaml"
                this.radToggleBtnGoogleMap.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnGoogleMap_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.esriMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 1588 "..\..\TrafficMapUserControl.xaml"
                this.esriMapView.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseDown);

            #line default
            #line hidden

            #line 1588 "..\..\TrafficMapUserControl.xaml"
                this.esriMapView.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 9:
                this.googleMapsBrowser = ((System.Windows.Controls.WebBrowser)(target));

            #line 1610 "..\..\TrafficMapUserControl.xaml"
                this.googleMapsBrowser.Loaded += new System.Windows.RoutedEventHandler(this.googleMapsBrowser_Loaded);

            #line default
            #line hidden

            #line 1611 "..\..\TrafficMapUserControl.xaml"
                this.googleMapsBrowser.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.googleMapsBrowser_MouseDown);

            #line default
            #line hidden

            #line 1612 "..\..\TrafficMapUserControl.xaml"
                this.googleMapsBrowser.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.googleMapsBrowser_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 10:
                this.grdViolationSlider = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            case 13:
                this.ViolationSlider = ((System.Windows.Controls.Slider)(target));

            #line 1644 "..\..\TrafficMapUserControl.xaml"
                this.ViolationSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ViolationSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            #line 1666 "..\..\TrafficMapUserControl.xaml"
                this.btnPlayPause.Click += new System.Windows.RoutedEventHandler(this.btnPlayPause_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.imgPausePlay = ((System.Windows.Controls.Image)(target));
                return;

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

            case 17:
                this.btnToday = ((System.Windows.Controls.Button)(target));
                return;

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

            #line 1835 "..\..\TrafficMapUserControl.xaml"
                this.btnESRITOPO.Click += new System.Windows.RoutedEventHandler(this.btnESRITOPO_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btnESRIStreet = ((System.Windows.Controls.Button)(target));

            #line 1840 "..\..\TrafficMapUserControl.xaml"
                this.btnESRIStreet.Click += new System.Windows.RoutedEventHandler(this.btnESRIStreet_Click);

            #line default
            #line hidden
                return;

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

            #line 1845 "..\..\TrafficMapUserControl.xaml"
                this.btnESRIImagery.Click += new System.Windows.RoutedEventHandler(this.btnESRIImagery_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.btnZoomIn = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 1851 "..\..\TrafficMapUserControl.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btnZoomOut = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 1891 "..\..\TrafficMapUserControl.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btnReturnToDefaultView = ((System.Windows.Controls.Button)(target));

            #line 1931 "..\..\TrafficMapUserControl.xaml"
                this.btnReturnToDefaultView.Click += new System.Windows.RoutedEventHandler(this.btnReturnToDefaultView_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 22
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     return;
     case 2:
     this.MyMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
     return;
     case 3:
     this.FromTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.ToTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.GetDirectionsButton = ((System.Windows.Controls.Button)(target));
     
     #line 30 "..\..\MainWindow.xaml"
     this.GetDirectionsButton.Click += new System.Windows.RoutedEventHandler(this.GetDirectionsButton_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.RouteDistance = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.RouteTime = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.DirectionsTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dtStart = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 2:
                this.dtEnd = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 16 "..\..\MainWindow.xaml"
                this.btnLoad.Click += new System.Windows.RoutedEventHandler(this.btnLoad_Click);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.cboTrucks = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 23 "..\..\MainWindow.xaml"
                this.btnPreload.Click += new System.Windows.RoutedEventHandler(this.btnPreload_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.spStatus = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 10:
                this.MyMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

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

            case 2:
                this.btnClosePopups = ((System.Windows.Controls.Button)(target));

            #line 1651 "..\..\IncidentMapUserControl.xaml"
                this.btnClosePopups.Click += new System.Windows.RoutedEventHandler(this.btnClosePopups_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.mapTipIncidents = ((System.Windows.Controls.Border)(target));
                return;

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

            case 5:
                this.gridViolnCategryCheckBox = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.chboxShowDangOnly = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.chboxShowHeatMap = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.chboxActivatePred = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

            #line 1911 "..\..\IncidentMapUserControl.xaml"
                this.btnPreviousData.Click += new System.Windows.RoutedEventHandler(this.ButtonPreviousClick_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnNextData = ((System.Windows.Controls.Button)(target));

            #line 1942 "..\..\IncidentMapUserControl.xaml"
                this.btnNextData.Click += new System.Windows.RoutedEventHandler(this.ButtonNext_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.chartMonthlyBarChart = ((STC.Projects.WPFControlLibrary.IncidentsMapControl.ChartUserControls.IncidentsCountChartMonthlyUserControl)(target));
                return;

            case 14:
                this.abc = ((System.Windows.Controls.Border)(target));
                return;

            case 15:
                this.chartMonthlyLineChart = ((STC.Projects.WPFControlLibrary.IncidentsMapControl.ChartUserControls.IncidentsCountMonthlyLineChartUserControl)(target));
                return;

            case 16:
                this.TxtDate = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 18:
                this.txtSearch = ((Telerik.Windows.Controls.RadWatermarkTextBox)(target));
                return;

            case 19:
                this.btnSearch = ((System.Windows.Controls.Button)(target));
                return;

            case 20:
                this.grdFilterCateg = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.radToggleFilterTypeBtn = ((System.Windows.Controls.Button)(target));

            #line 2052 "..\..\IncidentMapUserControl.xaml"
                this.radToggleFilterTypeBtn.Click += new System.Windows.RoutedEventHandler(this.ToggleMenu_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.esriMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 2085 "..\..\IncidentMapUserControl.xaml"
                this.esriMapView.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseDown);

            #line default
            #line hidden

            #line 2085 "..\..\IncidentMapUserControl.xaml"
                this.esriMapView.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 23:
                this.btnESRITOPO = ((System.Windows.Controls.Button)(target));

            #line 2126 "..\..\IncidentMapUserControl.xaml"
                this.btnESRITOPO.Click += new System.Windows.RoutedEventHandler(this.btnESRITOPO_Click);

            #line default
            #line hidden
                return;

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

            #line 2131 "..\..\IncidentMapUserControl.xaml"
                this.btnESRIStreet.Click += new System.Windows.RoutedEventHandler(this.btnESRIStreet_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.btnESRIImagery = ((System.Windows.Controls.Button)(target));

            #line 2136 "..\..\IncidentMapUserControl.xaml"
                this.btnESRIImagery.Click += new System.Windows.RoutedEventHandler(this.btnESRIImagery_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.btnZoomIn = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 2142 "..\..\IncidentMapUserControl.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.btnZoomOut = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 2182 "..\..\IncidentMapUserControl.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.btnReturnToDefaultView = ((System.Windows.Controls.Button)(target));

            #line 2222 "..\..\IncidentMapUserControl.xaml"
                this.btnReturnToDefaultView.Click += new System.Windows.RoutedEventHandler(this.btnReturnToDefaultView_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.radToggleFilterType = ((Telerik.Windows.Controls.RadToggleButton)(target));
                return;

            case 30:
                this.MenuPanelFilter = ((System.Windows.Controls.Border)(target));
                return;

            case 31:

            #line 2517 "..\..\IncidentMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnDays_Click);

            #line default
            #line hidden
                return;

            case 32:

            #line 2551 "..\..\IncidentMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnWeekly_Click);

            #line default
            #line hidden
                return;

            case 33:

            #line 2585 "..\..\IncidentMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnMonthly_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.radTglFilBtnCount = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2620 "..\..\IncidentMapUserControl.xaml"
                this.radTglFilBtnCount.Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnCount_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.radTglFilBtnDays = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2628 "..\..\IncidentMapUserControl.xaml"
                this.radTglFilBtnDays.Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnDays_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.radTglFilBtnWeekly = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2636 "..\..\IncidentMapUserControl.xaml"
                this.radTglFilBtnWeekly.Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnWeekly_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.radTglFilBtnMonthly = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2643 "..\..\IncidentMapUserControl.xaml"
                this.radTglFilBtnMonthly.Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnMonthly_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.grdCurrentMonthInfo = ((System.Windows.Controls.Border)(target));
                return;

            case 39:
                this.lblFromMonth = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.lblToMonth = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.grdCurrentWeekInfo = ((System.Windows.Controls.Border)(target));
                return;

            case 42:
                this.lblFromMonthforWeek = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.lblFromWeek = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.lblToWeek = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.grdViolationSlider = ((System.Windows.Controls.Grid)(target));
                return;

            case 46:
                this.lblViewCategSlider = ((System.Windows.Controls.Label)(target));
                return;

            case 47:
                this.lblViewCategSliderValue = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.ViolationSlider = ((System.Windows.Controls.Slider)(target));

            #line 2817 "..\..\IncidentMapUserControl.xaml"
                this.ViolationSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ViolationSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 49:
                this.btnPlayPause = ((System.Windows.Controls.Button)(target));

            #line 2823 "..\..\IncidentMapUserControl.xaml"
                this.btnPlayPause.Click += new System.Windows.RoutedEventHandler(this.btnPlayPause_Click);

            #line default
            #line hidden
                return;

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

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

            #line 2838 "..\..\IncidentMapUserControl.xaml"
                this.btnPlayBack.Click += new System.Windows.RoutedEventHandler(this.btnPlayBack_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.btnToday = ((System.Windows.Controls.Button)(target));

            #line 2870 "..\..\IncidentMapUserControl.xaml"
                this.btnToday.Click += new System.Windows.RoutedEventHandler(this.btnToday_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PatrolsListUC = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.PatrolsListUserControl)(target));
                return;

            case 2:
                this.btnClosePopups = ((System.Windows.Controls.Button)(target));

            #line 330 "..\..\..\UserControls\PatrolsListUserControl.xaml"
                this.btnClosePopups.Click += new System.Windows.RoutedEventHandler(this.btnClosePopups_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.listViewPatrolsList = ((System.Windows.Controls.ListView)(target));

            #line 352 "..\..\..\UserControls\PatrolsListUserControl.xaml"
                this.listViewPatrolsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PatrolsList_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.gridSelectedPatrolInfo = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.txtBlkComments = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.EsriMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 8:
                this.btnZoomIn = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 427 "..\..\..\UserControls\PatrolsListUserControl.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btnZoomOut = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 431 "..\..\..\UserControls\PatrolsListUserControl.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

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

            #line 438 "..\..\..\UserControls\PatrolsListUserControl.xaml"
                this.btnDispatchPatrol.Click += new System.Windows.RoutedEventHandler(this.DispatchButton_OnClick);

            #line default
            #line hidden
                return;

            case 11:
                this.btnDispatchCancel = ((System.Windows.Controls.Button)(target));

            #line 441 "..\..\..\UserControls\PatrolsListUserControl.xaml"
                this.btnDispatchCancel.Click += new System.Windows.RoutedEventHandler(this.CancelButton_OnClick);

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

            case 2:
                this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.ItemTypeComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            #line 35 "..\..\MainWindow.xaml"
                this.SearchButton.Click += new System.Windows.RoutedEventHandler(this.SearchButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.ResultListBox = ((System.Windows.Controls.ListBox)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.ResultListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ResultList_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\MainWindow.xaml"
                this.PrevPageButton.Click += new System.Windows.RoutedEventHandler(this.PrevPageButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line 55 "..\..\MainWindow.xaml"
                this.NextPageButton.Click += new System.Windows.RoutedEventHandler(this.NextPageButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.SnippetTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 11:
                this.ShowMapButton = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.ShowMapButton.Click += new System.Windows.RoutedEventHandler(this.ShowMapButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     return;
     case 2:
     this.MyMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
     return;
     case 3:
     
     #line 13 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayersBtn = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\ProfileView.xaml"
                this.LayersBtn.Click += new System.Windows.RoutedEventHandler(this.LayersButton_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.PinBtn = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\ProfileView.xaml"
                this.PinBtn.Click += new System.Windows.RoutedEventHandler(this.PinButton_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\ProfileView.xaml"
                this.SelectBtn.Click += new System.Windows.RoutedEventHandler(this.SelectButton_Click);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\ProfileView.xaml"
                this.DrawBtn.Click += new System.Windows.RoutedEventHandler(this.DrawButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 6:
                this.MainMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

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

            case 8:
                this.MyProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 9:
                this.DrawStrip = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 10:
                this.MyDrawToolControl = ((IS3.Desktop.UserControls.DrawToolControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 29
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     return;
     case 2:
     this.MyMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
     return;
     case 3:
     this.AddressTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.FindAddressButton = ((System.Windows.Controls.Button)(target));
     
     #line 22 "..\..\MainWindow.xaml"
     this.FindAddressButton.Click += new System.Windows.RoutedEventHandler(this.FindAddressButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ReverseGeocodeButton = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\MainWindow.xaml"
     this.ReverseGeocodeButton.Click += new System.Windows.RoutedEventHandler(this.ReverseGeocdoeButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainGridMapControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.TxtDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.TxtTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.txtSearch = ((Telerik.Windows.Controls.RadWatermarkTextBox)(target));

            #line 2431 "..\..\MapUserControl.xaml"
                this.txtSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtSearch_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 2433 "..\..\MapUserControl.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 2437 "..\..\MapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleMenu_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.radToggleBtnViewSeachBlock = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2491 "..\..\MapUserControl.xaml"
                this.radToggleBtnViewSeachBlock.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnViewSeachBlock_Click);

            #line default
            #line hidden
                return;

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

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

            #line 2559 "..\..\MapUserControl.xaml"
                this.btnCloseIncidentFilterPopUP.Click += new System.Windows.RoutedEventHandler(this.btnCloseIncidentFilterPopUP_Click);

            #line default
            #line hidden
                return;

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

            case 11:
                this.btnSearchAccidents = ((System.Windows.Controls.Button)(target));

            #line 2690 "..\..\MapUserControl.xaml"
                this.btnSearchAccidents.Click += new System.Windows.RoutedEventHandler(this.btnSearchAccidents_Click);

            #line default
            #line hidden
                return;

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

            case 13:
                this.radToggleBtnShowSearchResult = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2715 "..\..\MapUserControl.xaml"
                this.radToggleBtnShowSearchResult.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnShowSearchResult_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.radToggleBtnShowSearchFilter = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2750 "..\..\MapUserControl.xaml"
                this.radToggleBtnShowSearchFilter.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnShowSearchFilter_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.radToggleBtnShowOnMap = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2788 "..\..\MapUserControl.xaml"
                this.radToggleBtnShowOnMap.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnShowOnMap_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.esriMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.ExtentChanged += new System.EventHandler(this.esriMapView_ExtentChanged);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.Loaded += new System.Windows.RoutedEventHandler(this.esriMapView_Loaded);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseDown);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.esriMapView_TouchLeave);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseRightButtonDown);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseRightButtonUp);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseMove += new System.Windows.Input.MouseEventHandler(this.esriMapView_MouseMove);

            #line default
            #line hidden
                return;

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

            case 19:
                this.radBtnCloseOfficers = ((System.Windows.Controls.Button)(target));

            #line 2973 "..\..\MapUserControl.xaml"
                this.radBtnCloseOfficers.Click += new System.Windows.RoutedEventHandler(this.radBtnCloseOfficers_Click);

            #line default
            #line hidden

            #line 2973 "..\..\MapUserControl.xaml"
                this.radBtnCloseOfficers.TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.radBtnCloseOfficers_TouchLeave);

            #line default
            #line hidden
                return;

            case 20:
                this.radTabControlOfficers = ((Telerik.Windows.Controls.RadTabControl)(target));
                return;

            case 21:
                this.OfficersVideoControl = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 22:
                this.mapTipWantedCar = ((System.Windows.Controls.Border)(target));
                return;

            case 23:
                this.radBtnCloseWantedCar = ((System.Windows.Controls.Button)(target));

            #line 3075 "..\..\MapUserControl.xaml"
                this.radBtnCloseWantedCar.Click += new System.Windows.RoutedEventHandler(this.radBtnCloseWantedCar_Click);

            #line default
            #line hidden

            #line 3075 "..\..\MapUserControl.xaml"
                this.radBtnCloseWantedCar.TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.radBtnCloseWantedCar_TouchLeave);

            #line default
            #line hidden
                return;

            case 24:
                this.radTabControlWantedCar = ((Telerik.Windows.Controls.RadTabControl)(target));
                return;

            case 25:
                this.radPanelBar = ((Telerik.Windows.Controls.RadPanelBar)(target));
                return;

            case 26:
                this.radDateTimeViolation = ((Telerik.Windows.Controls.RadDateTimePicker)(target));
                return;

            case 27:
                this.comboViolationType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.radBtn_SearchViolations = ((Telerik.Windows.Controls.RadButton)(target));

            #line 3851 "..\..\MapUserControl.xaml"
                this.radBtn_SearchViolations.Click += new System.Windows.RoutedEventHandler(this.radBtn_SearchViolations_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.comboPatrolStatus = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 30:
                this.radBtn_SearchPatrols = ((Telerik.Windows.Controls.RadButton)(target));

            #line 3873 "..\..\MapUserControl.xaml"
                this.radBtn_SearchPatrols.Click += new System.Windows.RoutedEventHandler(this.radBtn_SearchPatrols_Click);

            #line default
            #line hidden
                return;

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

            case 32:
                this.radToggleBtnAssetsSmartTower = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3892 "..\..\MapUserControl.xaml"
                this.radToggleBtnAssetsSmartTower.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnAssetsSmartTower_Click);

            #line default
            #line hidden
                return;

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

            case 34:
                this.radToggleBtnAssetsRedLight = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3905 "..\..\MapUserControl.xaml"
                this.radToggleBtnAssetsRedLight.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnAssetsRedLight_Click);

            #line default
            #line hidden
                return;

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

            case 36:
                this.radToggleBtnAssetsSpeed = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3917 "..\..\MapUserControl.xaml"
                this.radToggleBtnAssetsSpeed.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnAssetsSpeed_Click);

            #line default
            #line hidden
                return;

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

            case 38:
                this.radToggleBtnViolations = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3929 "..\..\MapUserControl.xaml"
                this.radToggleBtnViolations.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnViolations_Click);

            #line default
            #line hidden
                return;

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

            case 40:
                this.radToggleBtnIncidents = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3941 "..\..\MapUserControl.xaml"
                this.radToggleBtnIncidents.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnIncidents_Click);

            #line default
            #line hidden
                return;

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

            case 42:
                this.tglBtnIncidentFilter = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 3952 "..\..\MapUserControl.xaml"
                this.tglBtnIncidentFilter.Checked += new System.Windows.RoutedEventHandler(this.tglBtnIncidentFilter_Checked);

            #line default
            #line hidden

            #line 3952 "..\..\MapUserControl.xaml"
                this.tglBtnIncidentFilter.Unchecked += new System.Windows.RoutedEventHandler(this.tglBtnIncidentFilter_Unchecked);

            #line default
            #line hidden
                return;

            case 43:
                this.radToggleBtnPatrols = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3990 "..\..\MapUserControl.xaml"
                this.radToggleBtnPatrols.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnPatrols_Click);

            #line default
            #line hidden
                return;

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

            case 45:
                this.radToggleBtnOfficers = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 4002 "..\..\MapUserControl.xaml"
                this.radToggleBtnOfficers.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnOfficers_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.radToggleBtnNotifications = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 4014 "..\..\MapUserControl.xaml"
                this.radToggleBtnNotifications.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnNotifications_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.ImgNotiLayer = ((System.Windows.Controls.Image)(target));
                return;

            case 48:
                this.radToggleBtnTraffic = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 4026 "..\..\MapUserControl.xaml"
                this.radToggleBtnTraffic.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnTraffic_Click);

            #line default
            #line hidden
                return;

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

            case 50:
                this.btnZoomIn = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 4045 "..\..\MapUserControl.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.btnZoomOut = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 4085 "..\..\MapUserControl.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.btnReturnToDefaultView = ((System.Windows.Controls.Button)(target));

            #line 4125 "..\..\MapUserControl.xaml"
                this.btnReturnToDefaultView.Click += new System.Windows.RoutedEventHandler(this.btnReturnToDefaultView_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.btnESRITOPO = ((System.Windows.Controls.Button)(target));

            #line 4168 "..\..\MapUserControl.xaml"
                this.btnESRITOPO.Click += new System.Windows.RoutedEventHandler(this.btnESRITOPO_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.btnESRIStreet = ((System.Windows.Controls.Button)(target));

            #line 4173 "..\..\MapUserControl.xaml"
                this.btnESRIStreet.Click += new System.Windows.RoutedEventHandler(this.btnESRIStreet_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.btnESRIImagery = ((System.Windows.Controls.Button)(target));

            #line 4178 "..\..\MapUserControl.xaml"
                this.btnESRIImagery.Click += new System.Windows.RoutedEventHandler(this.btnESRIImagery_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.txtTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 58:
                this.SearchResultGrid = ((System.Windows.Controls.Border)(target));
                return;

            case 59:
                this.radBtnCloseSearchResultGrid = ((System.Windows.Controls.Button)(target));

            #line 4226 "..\..\MapUserControl.xaml"
                this.radBtnCloseSearchResultGrid.Click += new System.Windows.RoutedEventHandler(this.radBtnCloseSearchResultGrid_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.LstVehicleViolationsDetails = ((System.Windows.Controls.ListView)(target));

            #line 4277 "..\..\MapUserControl.xaml"
                this.LstVehicleViolationsDetails.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            case 62:
                this.txtPlateNo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.txtViolationTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 64:
                this.txtViolationType = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.BorderPatrolsId = ((System.Windows.Controls.Border)(target));
                return;

            case 66:
                this.txtPatrolId = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 67:
                this.txtStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayersBtn = ((System.Windows.Controls.Button)(target));

            #line 49 "..\..\ProfileView.xaml"
                this.LayersBtn.Click += new System.Windows.RoutedEventHandler(this.LayersButton_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.PinBtn = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\ProfileView.xaml"
                this.PinBtn.Click += new System.Windows.RoutedEventHandler(this.PinButton_Click);

            #line default
            #line hidden
                return;

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

            #line 69 "..\..\ProfileView.xaml"
                this.SelectBtn.Click += new System.Windows.RoutedEventHandler(this.SelectButton_Click);

            #line default
            #line hidden
                return;

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

            #line 79 "..\..\ProfileView.xaml"
                this.DrawBtn.Click += new System.Windows.RoutedEventHandler(this.DrawButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 6:
                this.MainMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 7:
                this.Legend = ((System.Windows.Controls.Border)(target));
                return;

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

            case 9:
                this.LegendTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.Container = ((System.Windows.Controls.Canvas)(target));
                return;

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

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

            case 13:
                this.MyProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     return;
     }
     this._contentLoaded = true;
 }
        private void OnSetMap(object param)
        {
            var mapView = param as MapView;

            if (mapView == null)
            {
                return;
            }

            if(_mapView != null)
            {
                return;
            }

            _mapView = mapView;
            _map = mapView.Map;

            mapView.MouseLeftButtonDown += mapView_MouseLeftButtonDown;
            mapView.MouseLeftButtonUp += mapView_MouseLeftButtonUp;
            mapView.MouseMove += mapView_MouseMove;

            // setup any controllers that use the map view
            _gotoXYToolController = new GotoXYToolController(mapView, this);
            _networkingToolController = new NetworkingToolController(mapView, this);
            _viewShedToolController = new ViewShedToolController(mapView, this);
            _coordinateReadoutController = new CoordinateReadoutController(mapView, this);
            _basemapGalleryController = new BasemapGalleryController(mapView);

            // add default message layer
            AddNewMilitaryMessagelayer();

            if (_mission.PhaseList.Count < 1)
            {
                if (_mission.AddPhase("Phase 1"))
                {
                    Mediator.NotifyColleagues(Constants.ACTION_PHASE_ADDED, null);
                    RaisePropertyChanged(() => PhaseDescription);
                }
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PatrolDetailsUIcontrol = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.PatrolDetailsUserControl)(target));
                return;

            case 2:
                this.Btnback = ((System.Windows.Controls.Button)(target));

            #line 131 "..\..\..\UserControls\PatrolDetailsUserControl.xaml"
                this.Btnback.Click += new System.Windows.RoutedEventHandler(this.ClosePopup_OnClick);

            #line default
            #line hidden
                return;

            case 3:
                this.CommentText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.EsriMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 5:
                this.btnZoomIn = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 180 "..\..\..\UserControls\PatrolDetailsUserControl.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnZoomOut = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 184 "..\..\..\UserControls\PatrolDetailsUserControl.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

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

            #line 192 "..\..\..\UserControls\PatrolDetailsUserControl.xaml"
                this.DispatchButton.Click += new System.Windows.RoutedEventHandler(this.DispatchButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 194 "..\..\..\UserControls\PatrolDetailsUserControl.xaml"
                this.CancelButton.Click += new System.Windows.RoutedEventHandler(this.CancelButton_OnClick);

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

            case 2:
                this.btnClosePopups = ((System.Windows.Controls.Button)(target));

            #line 1912 "..\..\ViolationsMapUserControl.xaml"
                this.btnClosePopups.Click += new System.Windows.RoutedEventHandler(this.btnClosePopups_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.mapTipRadarAssetsViolations = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.mapTipSmartTowerAssetsViolations = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.gridChartArea = ((System.Windows.Controls.Grid)(target));
                return;

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

            case 7:
                this.chboxShowDangOnly = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:
                this.chboxShowHeatMap = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.chboxActivatePred = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.gridRegionType = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:

            #line 2078 "..\..\ViolationsMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonIsLand_Click);

            #line default
            #line hidden
                return;

            case 12:

            #line 2115 "..\..\ViolationsMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonAlAin_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 2151 "..\..\ViolationsMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonGharbaya_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.spPeriodsBtn = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 15:
                this.btnPreviousData = ((System.Windows.Controls.Button)(target));

            #line 2201 "..\..\ViolationsMapUserControl.xaml"
                this.btnPreviousData.Click += new System.Windows.RoutedEventHandler(this.ButtonPreviousClick_Click);

            #line default
            #line hidden
                return;

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

            #line 2225 "..\..\ViolationsMapUserControl.xaml"
                this.btnNextData.Click += new System.Windows.RoutedEventHandler(this.ButtonNext_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.chartAreaMonthly = ((System.Windows.Controls.Border)(target));
                return;

            case 18:
                this.chartMonthlyBarChart = ((STC.Projects.WPFControlLibrary.ViolationsMapControl.ChartUserControls.ViolationsCountChartMonthlyUserControl)(target));
                return;

            case 19:
                this.abc = ((System.Windows.Controls.Border)(target));
                return;

            case 20:
                this.chartMonthlyLineChart = ((STC.Projects.WPFControlLibrary.ViolationsMapControl.ChartUserControls.ViolationsCountMonthlyLineChartUserControl)(target));
                return;

            case 21:
                this.TxtDate = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 23:
                this.txtSearch = ((Telerik.Windows.Controls.RadWatermarkTextBox)(target));

            #line 2323 "..\..\ViolationsMapUserControl.xaml"
                this.txtSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtSearch_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 2325 "..\..\ViolationsMapUserControl.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.grdFilterCateg = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.radToggleFilterTypeBtn = ((System.Windows.Controls.Button)(target));

            #line 2392 "..\..\ViolationsMapUserControl.xaml"
                this.radToggleFilterTypeBtn.Click += new System.Windows.RoutedEventHandler(this.ToggleMenu_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.esriMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 2423 "..\..\ViolationsMapUserControl.xaml"
                this.esriMapView.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseDown);

            #line default
            #line hidden

            #line 2423 "..\..\ViolationsMapUserControl.xaml"
                this.esriMapView.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 28:
                this.btnESRITOPO = ((System.Windows.Controls.Button)(target));

            #line 2460 "..\..\ViolationsMapUserControl.xaml"
                this.btnESRITOPO.Click += new System.Windows.RoutedEventHandler(this.btnESRITOPO_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.btnESRIStreet = ((System.Windows.Controls.Button)(target));

            #line 2465 "..\..\ViolationsMapUserControl.xaml"
                this.btnESRIStreet.Click += new System.Windows.RoutedEventHandler(this.btnESRIStreet_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.btnESRIImagery = ((System.Windows.Controls.Button)(target));

            #line 2470 "..\..\ViolationsMapUserControl.xaml"
                this.btnESRIImagery.Click += new System.Windows.RoutedEventHandler(this.btnESRIImagery_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.btnZoomIn = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 2476 "..\..\ViolationsMapUserControl.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.btnZoomOut = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 2480 "..\..\ViolationsMapUserControl.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.btnReturnToDefaultView = ((System.Windows.Controls.Button)(target));

            #line 2484 "..\..\ViolationsMapUserControl.xaml"
                this.btnReturnToDefaultView.Click += new System.Windows.RoutedEventHandler(this.btnReturnToDefaultView_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.btnHistoricalView = ((System.Windows.Controls.Button)(target));

            #line 2501 "..\..\ViolationsMapUserControl.xaml"
                this.btnHistoricalView.Click += new System.Windows.RoutedEventHandler(this.btnHistoricalView_Click);

            #line default
            #line hidden
                return;

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

            case 36:
                this.frmDatePicker = ((System.Windows.Controls.DatePicker)(target));

            #line 2505 "..\..\ViolationsMapUserControl.xaml"
                this.frmDatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.frmDatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.toDatePicker = ((System.Windows.Controls.DatePicker)(target));

            #line 2507 "..\..\ViolationsMapUserControl.xaml"
                this.toDatePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.toDatePicker_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 38:
                this.btnShow = ((System.Windows.Controls.Button)(target));

            #line 2508 "..\..\ViolationsMapUserControl.xaml"
                this.btnShow.Click += new System.Windows.RoutedEventHandler(this.btnShow_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.HistoricalDataPanelMonthly = ((System.Windows.Controls.Border)(target));
                return;

            case 40:
                this.cmbBoxFromYear = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 41:
                this.cmbBoxFromMonth = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 42:
                this.cmbBoxToYear = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 43:
                this.cmbBoxToMonth = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 44:

            #line 2553 "..\..\ViolationsMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnShow_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.HistoricalDataPanelWeekly = ((System.Windows.Controls.Border)(target));
                return;

            case 46:
                this.cmbBoxYearWeek = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 47:
                this.cmbBoxToMonthWeek = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 48:
                this.cmbBoxfromWeek = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 49:
                this.cmbBoxToYearWeek = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 50:
                this.cmbBoxToWeek = ((Telerik.Windows.Controls.RadComboBox)(target));
                return;

            case 51:

            #line 2615 "..\..\ViolationsMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnShow_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.radToggleFilterType = ((Telerik.Windows.Controls.RadToggleButton)(target));
                return;

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

            case 54:

            #line 2742 "..\..\ViolationsMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnDays_Click);

            #line default
            #line hidden
                return;

            case 55:

            #line 2776 "..\..\ViolationsMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnWeekly_Click);

            #line default
            #line hidden
                return;

            case 56:

            #line 2810 "..\..\ViolationsMapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnMonthly_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.radTglFilBtnCount = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2845 "..\..\ViolationsMapUserControl.xaml"
                this.radTglFilBtnCount.Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnCount_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.radTglFilBtnDays = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2853 "..\..\ViolationsMapUserControl.xaml"
                this.radTglFilBtnDays.Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnDays_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.radTglFilBtnWeekly = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2861 "..\..\ViolationsMapUserControl.xaml"
                this.radTglFilBtnWeekly.Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnWeekly_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.radTglFilBtnMonthly = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2868 "..\..\ViolationsMapUserControl.xaml"
                this.radTglFilBtnMonthly.Click += new System.Windows.RoutedEventHandler(this.radTglFilBtnMonthly_Click);

            #line default
            #line hidden
                return;

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

            case 62:
                this.lblDate = ((System.Windows.Controls.Label)(target));
                return;

            case 63:
                this.lblTime = ((System.Windows.Controls.Label)(target));
                return;

            case 64:
                this.grdCurrentMonthInfo = ((System.Windows.Controls.Border)(target));
                return;

            case 65:
                this.lblFromMonth = ((System.Windows.Controls.Label)(target));
                return;

            case 66:
                this.lblToMonth = ((System.Windows.Controls.Label)(target));
                return;

            case 67:
                this.grdCurrentWeekInfo = ((System.Windows.Controls.Border)(target));
                return;

            case 68:
                this.lblFromMonthforWeek = ((System.Windows.Controls.Label)(target));
                return;

            case 69:
                this.lblFromWeek = ((System.Windows.Controls.Label)(target));
                return;

            case 70:
                this.lblToWeek = ((System.Windows.Controls.Label)(target));
                return;

            case 71:
                this.grdViolationSlider = ((System.Windows.Controls.Grid)(target));
                return;

            case 72:
                this.lblViewCategSlider = ((System.Windows.Controls.Label)(target));
                return;

            case 73:
                this.lblViewCategSliderValue = ((System.Windows.Controls.Label)(target));
                return;

            case 74:
                this.ViolationSlider = ((System.Windows.Controls.Slider)(target));

            #line 3041 "..\..\ViolationsMapUserControl.xaml"
                this.ViolationSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ViolationSlider_ValueChanged);

            #line default
            #line hidden
                return;

            case 75:
                this.btnPlayPause = ((System.Windows.Controls.Button)(target));

            #line 3046 "..\..\ViolationsMapUserControl.xaml"
                this.btnPlayPause.Click += new System.Windows.RoutedEventHandler(this.btnPlayPause_Click);

            #line default
            #line hidden
                return;

            case 76:
                this.imgPausePlay = ((System.Windows.Controls.Image)(target));
                return;

            case 77:
                this.btnPlayBack = ((System.Windows.Controls.Button)(target));

            #line 3061 "..\..\ViolationsMapUserControl.xaml"
                this.btnPlayBack.Click += new System.Windows.RoutedEventHandler(this.btnPlayBack_Click);

            #line default
            #line hidden
                return;

            case 78:
                this.btnToday = ((System.Windows.Controls.Button)(target));

            #line 3093 "..\..\ViolationsMapUserControl.xaml"
                this.btnToday.Click += new System.Windows.RoutedEventHandler(this.btnToday_Click);

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

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

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

            case 4:
                this.PlatformTitle = ((iS3.Client.Controls.RaisedText)(target));
                return;

            case 5:
                this.DocMan = ((Xceed.Wpf.AvalonDock.DockingManager)(target));
                return;

            case 6:
                this._layoutRoot = ((Xceed.Wpf.AvalonDock.Layout.LayoutRoot)(target));
                return;

            case 7:
                this.ProjectPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorablePane)(target));
                return;

            case 8:
                this.projectBox = ((System.Windows.Controls.ListBox)(target));

            #line 81 "..\..\..\ProjectListPage\ProjectListNormal.xaml"
                this.projectBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.projectBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.MapPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutDocumentPane)(target));
                return;

            case 10:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 11:
                this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 12:
                this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target));
                return;

            case 13:
                this.mapTip = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.ProjectTitle = ((iS3.Client.Controls.RaisedText)(target));
                return;

            case 15:
                this.MapCoordsTB = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayersBtn = ((System.Windows.Controls.Button)(target));

            #line 54 "..\..\PlanView - 复制.xaml"
                this.LayersBtn.Click += new System.Windows.RoutedEventHandler(this.LayersButton_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.RotateBtn = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\PlanView - 复制.xaml"
                this.RotateBtn.Click += new System.Windows.RoutedEventHandler(this.RotateButton_Click);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\PlanView - 复制.xaml"
                this.PinBtn.Click += new System.Windows.RoutedEventHandler(this.PinButton_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\PlanView - 复制.xaml"
                this.SelectBtn.Click += new System.Windows.RoutedEventHandler(this.SelectButton_Click);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\PlanView - 复制.xaml"
                this.DrawBtn.Click += new System.Windows.RoutedEventHandler(this.DrawButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 7:
                this.MainMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

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

            case 9:
                this.rotationSlider = ((System.Windows.Controls.Slider)(target));

            #line 121 "..\..\PlanView - 复制.xaml"
                this.rotationSlider.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.rotationSlider_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 11:
                this.MyProgressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 38
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     
     #line 18 "..\..\MainWindow.xaml"
     this.MyMapView.LayerLoaded += new System.EventHandler<Esri.ArcGISRuntime.Controls.LayerLoadedEventArgs>(this.MyMapView_LayerLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.theMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
     return;
     case 3:
     this.Search = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.MyDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 39
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     
     #line 14 "..\..\MainWindow.xaml"
     this.MyMapView.LayerLoaded += new System.EventHandler<Esri.ArcGISRuntime.Controls.LayerLoadedEventArgs>(this.MyMapView_LayerLoaded);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
Esempio n. 40
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     return;
     case 2:
     this.ToolsPanel = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.Controls = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.UseOnlineDataOption = ((System.Windows.Controls.RadioButton)(target));
     
     #line 32 "..\..\MainWindow.xaml"
     this.UseOnlineDataOption.Click += new System.Windows.RoutedEventHandler(this.DataOptionChecked);
     
     #line default
     #line hidden
     return;
     case 5:
     this.UseLocalDataOption = ((System.Windows.Controls.RadioButton)(target));
     
     #line 35 "..\..\MainWindow.xaml"
     this.UseLocalDataOption.Click += new System.Windows.RoutedEventHandler(this.DataOptionChecked);
     
     #line default
     #line hidden
     return;
     case 6:
     this.GenerateLocalGeodatabaseButton = ((System.Windows.Controls.Button)(target));
     
     #line 39 "..\..\MainWindow.xaml"
     this.GenerateLocalGeodatabaseButton.Click += new System.Windows.RoutedEventHandler(this.GetFeatures);
     
     #line default
     #line hidden
     return;
     case 7:
     this.LocalDataPathTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.GenerateLocalTilesButton = ((System.Windows.Controls.Button)(target));
     
     #line 52 "..\..\MainWindow.xaml"
     this.GenerateLocalTilesButton.Click += new System.Windows.RoutedEventHandler(this.GetTiles);
     
     #line default
     #line hidden
     return;
     case 9:
     this.LocalTilesPathTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 10:
     this.StatusPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this.StatusMessagesList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 12:
     this.StatusProgressBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     
     #line 7 "..\..\MainWindow.xaml"
     this.MyMapView.Loaded += new System.Windows.RoutedEventHandler(this.MyMapView_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.addressTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.geocoording = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\MainWindow.xaml"
     this.geocoording.Click += new System.Windows.RoutedEventHandler(this.geocoording_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
                return;

            case 3:
                this.Map = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 4:
                this.ProjectGraphicsLayer = ((Esri.ArcGISRuntime.Layers.GraphicsLayer)(target));
                return;

            case 5:
                this.mapTip = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.ledHolder = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.ledTest1 = ((iS3.Client.Controls.LedDigitalControl.LedDigital.DigitalPanelControl)(target));
                return;

            case 8:
                this.UserTB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.RemindBtn = ((iS3.Client.Controls.PromptableButtonControl.PromptableButton)(target));
                return;

            case 10:
                this.MessageBtn = ((iS3.Client.Controls.PromptableButtonControl.PromptableButton)(target));
                return;

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

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

            #line 158 "..\..\..\ProjectListPage\ProjectListPageForMon.xaml"
                this.listBtn.Click += new System.Windows.RoutedEventHandler(this.listBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 168 "..\..\..\ProjectListPage\ProjectListPageForMon.xaml"
                this.addProjectBtn.Click += new System.Windows.RoutedEventHandler(this.addProjectBtn_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.projectListLB = ((System.Windows.Controls.ListBox)(target));

            #line 181 "..\..\..\ProjectListPage\ProjectListPageForMon.xaml"
                this.projectListLB.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.projectListLB_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 17:
                this.ProjectDetailHolder = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 233 "..\..\..\ProjectListPage\ProjectListPageForMon.xaml"
                this.DetailView.Click += new System.Windows.RoutedEventHandler(this.DetailView_Click);

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