Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.SceneView)(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.Scene)(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;
        }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MyMapView = ((Esri.ArcGISRuntime.Controls.SceneView)(target));
                return;

            case 2:
                this.theMap = ((Esri.ArcGISRuntime.Controls.Scene)(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.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;
        }
Пример #4
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.SceneView)(target));
     return;
     case 2:
     this.theMap = ((Esri.ArcGISRuntime.Controls.Scene)(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;
 }
Пример #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MyMapView = ((Esri.ArcGISRuntime.Controls.SceneView)(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.Scene)(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;
 }