void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.MySceneView = ((Esri.ArcGISRuntime.UI.Controls.SceneView)(target));
         return;
     }
     this._contentLoaded = true;
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\Trace.xaml"
                ((test.Trace)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.MainWindows_Keydown);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.Basemap1 = ((Esri.ArcGISRuntime.Mapping.ArcGISTiledLayer)(target));
                return;

            case 5:
                this.MySceneView = ((Esri.ArcGISRuntime.UI.Controls.SceneView)(target));
                return;

            case 6:

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

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

            case 14:
                this.LatLabel1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.AreaInfo = ((System.Windows.Controls.ContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\Window1.xaml"
                ((test.Window1)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.MainWindows_Keydown);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.Basemap1 = ((Esri.ArcGISRuntime.Mapping.ArcGISTiledLayer)(target));
                return;

            case 5:
                this.MySceneView = ((Esri.ArcGISRuntime.UI.Controls.SceneView)(target));
                return;

            case 6:
                this.menu = ((System.Windows.Controls.Menu)(target));
                return;

            case 7:

            #line 31 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 33 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1);

            #line default
            #line hidden
                return;

            case 9:

            #line 35 "..\..\Window1.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_2);

            #line default
            #line hidden
                return;

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

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

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

            case 13:
                this.LatLabel = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }