Example #1
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;
        }
Example #2
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;
        }
        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;
        }
Example #4
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;
        }
Example #5
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;
        }
Example #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMap = ((Esri.ArcGISRuntime.Controls.Map)(target));
                return;

            case 2:
                this.DesignerCanvas = ((System.Windows.Controls.Canvas)(target));
                return;
            }
            this._contentLoaded = true;
        }
        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;
        }
        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;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));
     
     #line 20 "..\..\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.overlayItemsControl = ((Esri.ArcGISRuntime.Controls.OverlayItemsControl)(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;
     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;
 }
 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;
 }
        private void cBoxBaseMaps_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            btnGetParvelAddress.Visibility  = Visibility.Collapsed;
            pnlParcelAddressInfo.Visibility = Visibility.Collapsed;
            btnGetRoute.Visibility          = Visibility.Collapsed;
            txtFrom.Visibility = Visibility.Collapsed;
            txtTo.Visibility   = Visibility.Collapsed;

            Esri.ArcGISRuntime.Controls.Map map = new Esri.ArcGISRuntime.Controls.Map();
            Esri.ArcGISRuntime.Layers.ArcGISTiledMapServiceLayer baseMaplayer = new Esri.ArcGISRuntime.Layers.ArcGISTiledMapServiceLayer();
            baseMaplayer.ServiceUri = "http://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer";
            baseMaplayer.ID         = "BaseMap";

            map.Layers.Add(baseMaplayer);

            if (cBoxBaseMaps.SelectedItem.ToString() == "Projects")
            {
                ArcGISDynamicMapServiceLayer layer2 = new ArcGISDynamicMapServiceLayer();
                layer2.ServiceUri = "http://192.168.1.47:6080/arcgis/rest/services/PROJECTS/MapServer";
                layer2.ID         = "Projects";
                map.Layers.Add(layer2);
            }
            else if (cBoxBaseMaps.SelectedItem.ToString() == "Feature")
            {
                btnGetParvelAddress.Visibility  = Visibility.Visible;
                pnlParcelAddressInfo.Visibility = Visibility.Visible;
                ServiceFeatureTable featureTable = new ServiceFeatureTable();
                featureTable.ServiceUri = "http://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/FeatureServer/0";
                featureTable.Where      = "has_pool = 1 AND pool_permit = 0";
                FeatureLayer   layer    = new FeatureLayer(featureTable);
                SimpleRenderer renderer = new SimpleRenderer();
                renderer.Symbol = new SimpleFillSymbol()
                {
                    Color = Color.FromRgb(66, 134, 244), Style = SimpleFillStyle.DiagonalCross
                };
                layer.Renderer = renderer;

                map.InitialViewpoint = new Viewpoint(new Envelope(-13075816.40, 4014771.46, -13073005.67, 4016869.78));

                layer.ID = "Feature";
                map.Layers.Add(layer);
            }
            else if (cBoxBaseMaps.SelectedItem.ToString() == "Route")
            {
                btnGetRoute.Visibility = Visibility.Visible;
                txtFrom.Visibility     = Visibility.Visible;
                txtTo.Visibility       = Visibility.Visible;

                GraphicsLayer layer2 = new GraphicsLayer();
                layer2.ID = "Graphics";
                map.Layers.Add(layer2);
            }
            else if (cBoxBaseMaps.SelectedItem.ToString() == "Map 1")
            {
                map = new Map();
                ArcGISTiledMapServiceLayer ArcGISTiledMapServiceLayer1 = new ArcGISTiledMapServiceLayer();
                ArcGISTiledMapServiceLayer1.ServiceUri = "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer";
                ArcGISTiledMapServiceLayer1.ID         = "World_Light_Gray_Base";

                Esri.ArcGISRuntime.Layers.ArcGISDynamicMapServiceLayer ArcGISDynamicMapServiceLayer1 = new Esri.ArcGISRuntime.Layers.ArcGISDynamicMapServiceLayer();
                ArcGISDynamicMapServiceLayer1.ServiceUri = "http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_1990-2000_Population_Change/MapServer";
                ArcGISDynamicMapServiceLayer1.ID         = "USA_1990-2000_Population_Change";

                map.Layers.Add(ArcGISTiledMapServiceLayer1);
                map.Layers.Add(ArcGISDynamicMapServiceLayer1);

                mapView.Map = map;
            }
            else if (cBoxBaseMaps.SelectedItem.ToString() == "Map 3")
            {
                map = new Esri.ArcGISRuntime.Controls.Map();
                Esri.ArcGISRuntime.Layers.ArcGISTiledMapServiceLayer ArcGISTiledMapServiceLayer3 = new Esri.ArcGISRuntime.Layers.ArcGISTiledMapServiceLayer();
                ArcGISTiledMapServiceLayer3.ServiceUri = "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer";
                ArcGISTiledMapServiceLayer3.ID         = "World_Light_Gray_Base";

                Esri.ArcGISRuntime.Layers.FeatureLayer      FeatureLayer3        = new Esri.ArcGISRuntime.Layers.FeatureLayer();
                Esri.ArcGISRuntime.Data.ServiceFeatureTable ServiceFeatureTable3 = new Esri.ArcGISRuntime.Data.ServiceFeatureTable();
                ServiceFeatureTable3.ServiceUri = "http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/0";
                ServiceFeatureTable3.OutFields  = Esri.ArcGISRuntime.Tasks.Query.OutFields.All;
                FeatureLayer3.FeatureTable      = ServiceFeatureTable3;

                map.Layers.Add(ArcGISTiledMapServiceLayer3);
                map.Layers.Add(FeatureLayer3);

                mapView.Map = map;
            }

            mapView.Map = map;
        }
Example #13
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;
        }
Example #14
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.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;
 }
        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;
        }
Example #17
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;
        }
Example #18
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.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;
 }
 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;
 }