Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.EventsCheckCB = ((Xceed.Wpf.Toolkit.CheckComboBox)(target));
                return;

            case 2:
                this.BingMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

            case 3:
                this.MapItems = ((Microsoft.Maps.MapControl.WPF.MapItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.EventsCheckCB = ((Xceed.Wpf.Toolkit.CheckComboBox)(target));
                return;

            case 2:
                this.BingMap = ((Microsoft.Maps.MapControl.WPF.Map)(target));

            #line 29 "..\..\..\Views\MapView.xaml"
                this.BingMap.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.BingMap_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 3:
                this.MapItems = ((Microsoft.Maps.MapControl.WPF.MapItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }