Пример #1
0
        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;

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

            case 5:
                this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #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.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;
        }
Пример #3
0
 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;
 }