示例#1
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;
        }
示例#2
0
        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;

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

            case 13:
                this.MyDrawToolControl = ((IS3.Desktop.UserControls.DrawToolControl)(target));
                return;
            }
            this._contentLoaded = true;
        }