void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AlertNotificationUIcontorl = ((STC.Projects.WPFControlLibrary.AlertNotificationMapControl.AlertNotificationMapUserControl)(target));

            #line 15 "..\..\AlertNotificationMapUserControl.xaml"
                this.AlertNotificationUIcontorl.Loaded += new System.Windows.RoutedEventHandler(this.AlertNotificationUIcontorl_Loaded);

            #line default
            #line hidden
                return;

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

            #line 72 "..\..\AlertNotificationMapUserControl.xaml"
                this.RootGrid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.UIElement_OnMouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.ListPopup = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 4:
                this.SupervisorListView = ((System.Windows.Controls.ListView)(target));

            #line 92 "..\..\AlertNotificationMapUserControl.xaml"
                this.SupervisorListView.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Selector_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.SubListPopup = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 7:
                this.PopupCanvas = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 8:
                this.gridNotifiedViolatorDetails = ((System.Windows.Controls.Grid)(target));
                return;

            case 9:
                this.gridViolatorNotificationList = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.expanderNotificationList = ((System.Windows.Controls.Expander)(target));

            #line 186 "..\..\AlertNotificationMapUserControl.xaml"
                this.expanderNotificationList.Collapsed += new System.Windows.RoutedEventHandler(this.expanderNotificationList_Collapsed);

            #line default
            #line hidden
                return;

            case 11:
                this.radPanelBarNotfications = ((Telerik.Windows.Controls.RadPanelBar)(target));

            #line 193 "..\..\AlertNotificationMapUserControl.xaml"
                this.radPanelBarNotfications.ItemClick += new System.EventHandler <Telerik.Windows.RadRoutedEventArgs>(this.radPanelBarNotfications_ItemClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mainGridMapControl = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.TxtDate = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.TxtTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.txtSearch = ((Telerik.Windows.Controls.RadWatermarkTextBox)(target));

            #line 2431 "..\..\MapUserControl.xaml"
                this.txtSearch.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtSearch_KeyDown);

            #line default
            #line hidden
                return;

            case 5:
                this.btnSearch = ((System.Windows.Controls.Button)(target));

            #line 2433 "..\..\MapUserControl.xaml"
                this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 2437 "..\..\MapUserControl.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToggleMenu_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.radToggleBtnViewSeachBlock = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2491 "..\..\MapUserControl.xaml"
                this.radToggleBtnViewSeachBlock.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnViewSeachBlock_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.brdrIncidentFilterPopUP = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.btnCloseIncidentFilterPopUP = ((System.Windows.Controls.Button)(target));

            #line 2559 "..\..\MapUserControl.xaml"
                this.btnCloseIncidentFilterPopUP.Click += new System.Windows.RoutedEventHandler(this.btnCloseIncidentFilterPopUP_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.btnClearAccidents = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.btnSearchAccidents = ((System.Windows.Controls.Button)(target));

            #line 2690 "..\..\MapUserControl.xaml"
                this.btnSearchAccidents.Click += new System.Windows.RoutedEventHandler(this.btnSearchAccidents_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.brdrAccidentsSearchResultGrid = ((System.Windows.Controls.Border)(target));
                return;

            case 13:
                this.radToggleBtnShowSearchResult = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2715 "..\..\MapUserControl.xaml"
                this.radToggleBtnShowSearchResult.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnShowSearchResult_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.radToggleBtnShowSearchFilter = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2750 "..\..\MapUserControl.xaml"
                this.radToggleBtnShowSearchFilter.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnShowSearchFilter_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.radToggleBtnShowOnMap = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 2788 "..\..\MapUserControl.xaml"
                this.radToggleBtnShowOnMap.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnShowOnMap_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.esriMapView = ((Esri.ArcGISRuntime.Controls.MapView)(target));

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.ExtentChanged += new System.EventHandler(this.esriMapView_ExtentChanged);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.Loaded += new System.Windows.RoutedEventHandler(this.esriMapView_Loaded);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseDown);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.esriMapView_TouchLeave);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseRightButtonDown);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.esriMapView_MouseRightButtonUp);

            #line default
            #line hidden

            #line 2958 "..\..\MapUserControl.xaml"
                this.esriMapView.MouseMove += new System.Windows.Input.MouseEventHandler(this.esriMapView_MouseMove);

            #line default
            #line hidden
                return;

            case 18:
                this.mapTipOfficers = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.radBtnCloseOfficers = ((System.Windows.Controls.Button)(target));

            #line 2973 "..\..\MapUserControl.xaml"
                this.radBtnCloseOfficers.Click += new System.Windows.RoutedEventHandler(this.radBtnCloseOfficers_Click);

            #line default
            #line hidden

            #line 2973 "..\..\MapUserControl.xaml"
                this.radBtnCloseOfficers.TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.radBtnCloseOfficers_TouchLeave);

            #line default
            #line hidden
                return;

            case 20:
                this.radTabControlOfficers = ((Telerik.Windows.Controls.RadTabControl)(target));
                return;

            case 21:
                this.OfficersVideoControl = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 22:
                this.mapTipWantedCar = ((System.Windows.Controls.Border)(target));
                return;

            case 23:
                this.radBtnCloseWantedCar = ((System.Windows.Controls.Button)(target));

            #line 3075 "..\..\MapUserControl.xaml"
                this.radBtnCloseWantedCar.Click += new System.Windows.RoutedEventHandler(this.radBtnCloseWantedCar_Click);

            #line default
            #line hidden

            #line 3075 "..\..\MapUserControl.xaml"
                this.radBtnCloseWantedCar.TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.radBtnCloseWantedCar_TouchLeave);

            #line default
            #line hidden
                return;

            case 24:
                this.radTabControlWantedCar = ((Telerik.Windows.Controls.RadTabControl)(target));
                return;

            case 25:
                this.radPanelBar = ((Telerik.Windows.Controls.RadPanelBar)(target));
                return;

            case 26:
                this.radDateTimeViolation = ((Telerik.Windows.Controls.RadDateTimePicker)(target));
                return;

            case 27:
                this.comboViolationType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.radBtn_SearchViolations = ((Telerik.Windows.Controls.RadButton)(target));

            #line 3851 "..\..\MapUserControl.xaml"
                this.radBtn_SearchViolations.Click += new System.Windows.RoutedEventHandler(this.radBtn_SearchViolations_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.comboPatrolStatus = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 30:
                this.radBtn_SearchPatrols = ((Telerik.Windows.Controls.RadButton)(target));

            #line 3873 "..\..\MapUserControl.xaml"
                this.radBtn_SearchPatrols.Click += new System.Windows.RoutedEventHandler(this.radBtn_SearchPatrols_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.MenuPanel = ((System.Windows.Controls.Border)(target));
                return;

            case 32:
                this.radToggleBtnAssetsSmartTower = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3892 "..\..\MapUserControl.xaml"
                this.radToggleBtnAssetsSmartTower.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnAssetsSmartTower_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.ImgAssetsLayerSmartTower = ((System.Windows.Controls.Image)(target));
                return;

            case 34:
                this.radToggleBtnAssetsRedLight = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3905 "..\..\MapUserControl.xaml"
                this.radToggleBtnAssetsRedLight.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnAssetsRedLight_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.ImgAssetsLayerRedLight = ((System.Windows.Controls.Image)(target));
                return;

            case 36:
                this.radToggleBtnAssetsSpeed = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3917 "..\..\MapUserControl.xaml"
                this.radToggleBtnAssetsSpeed.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnAssetsSpeed_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.ImgAssetsSpeedLayer = ((System.Windows.Controls.Image)(target));
                return;

            case 38:
                this.radToggleBtnViolations = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3929 "..\..\MapUserControl.xaml"
                this.radToggleBtnViolations.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnViolations_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.ImgViolationsLayer = ((System.Windows.Controls.Image)(target));
                return;

            case 40:
                this.radToggleBtnIncidents = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3941 "..\..\MapUserControl.xaml"
                this.radToggleBtnIncidents.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnIncidents_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.ImgIncidentsLayer = ((System.Windows.Controls.Image)(target));
                return;

            case 42:
                this.tglBtnIncidentFilter = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 3952 "..\..\MapUserControl.xaml"
                this.tglBtnIncidentFilter.Checked += new System.Windows.RoutedEventHandler(this.tglBtnIncidentFilter_Checked);

            #line default
            #line hidden

            #line 3952 "..\..\MapUserControl.xaml"
                this.tglBtnIncidentFilter.Unchecked += new System.Windows.RoutedEventHandler(this.tglBtnIncidentFilter_Unchecked);

            #line default
            #line hidden
                return;

            case 43:
                this.radToggleBtnPatrols = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 3990 "..\..\MapUserControl.xaml"
                this.radToggleBtnPatrols.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnPatrols_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.ImgPatrolsLayer = ((System.Windows.Controls.Image)(target));
                return;

            case 45:
                this.radToggleBtnOfficers = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 4002 "..\..\MapUserControl.xaml"
                this.radToggleBtnOfficers.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnOfficers_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.radToggleBtnNotifications = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 4014 "..\..\MapUserControl.xaml"
                this.radToggleBtnNotifications.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnNotifications_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.ImgNotiLayer = ((System.Windows.Controls.Image)(target));
                return;

            case 48:
                this.radToggleBtnTraffic = ((Telerik.Windows.Controls.RadToggleButton)(target));

            #line 4026 "..\..\MapUserControl.xaml"
                this.radToggleBtnTraffic.Click += new System.Windows.RoutedEventHandler(this.radToggleBtnTraffic_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.ImgTrafficLayer = ((System.Windows.Controls.Image)(target));
                return;

            case 50:
                this.btnZoomIn = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 4045 "..\..\MapUserControl.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.btnZoomOut = ((System.Windows.Controls.Primitives.RepeatButton)(target));

            #line 4085 "..\..\MapUserControl.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.btnReturnToDefaultView = ((System.Windows.Controls.Button)(target));

            #line 4125 "..\..\MapUserControl.xaml"
                this.btnReturnToDefaultView.Click += new System.Windows.RoutedEventHandler(this.btnReturnToDefaultView_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.btnESRITOPO = ((System.Windows.Controls.Button)(target));

            #line 4168 "..\..\MapUserControl.xaml"
                this.btnESRITOPO.Click += new System.Windows.RoutedEventHandler(this.btnESRITOPO_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.btnESRIStreet = ((System.Windows.Controls.Button)(target));

            #line 4173 "..\..\MapUserControl.xaml"
                this.btnESRIStreet.Click += new System.Windows.RoutedEventHandler(this.btnESRIStreet_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.btnESRIImagery = ((System.Windows.Controls.Button)(target));

            #line 4178 "..\..\MapUserControl.xaml"
                this.btnESRIImagery.Click += new System.Windows.RoutedEventHandler(this.btnESRIImagery_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.txtTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 57:
                this.SearchGrid = ((System.Windows.Controls.Border)(target));
                return;

            case 58:
                this.SearchResultGrid = ((System.Windows.Controls.Border)(target));
                return;

            case 59:
                this.radBtnCloseSearchResultGrid = ((System.Windows.Controls.Button)(target));

            #line 4226 "..\..\MapUserControl.xaml"
                this.radBtnCloseSearchResultGrid.Click += new System.Windows.RoutedEventHandler(this.radBtnCloseSearchResultGrid_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.LstVehicleViolationsDetails = ((System.Windows.Controls.ListView)(target));

            #line 4277 "..\..\MapUserControl.xaml"
                this.LstVehicleViolationsDetails.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListView_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 61:
                this.BorderPlate = ((System.Windows.Controls.Border)(target));
                return;

            case 62:
                this.txtPlateNo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 63:
                this.txtViolationTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 64:
                this.txtViolationType = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 65:
                this.BorderPatrolsId = ((System.Windows.Controls.Border)(target));
                return;

            case 66:
                this.txtPatrolId = ((System.Windows.Controls.TextBlock)(target));
                return;

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