示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DangerousViolatorDetailsUIcontrol = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.DangerousViolatorDetailsUserControl)(target));
                return;

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

            case 3:
                this.Btnback = ((System.Windows.Controls.Button)(target));

            #line 2675 "..\..\..\UserControls\DangerousViolatorDetailsUserControl.xaml"
                this.Btnback.Click += new System.Windows.RoutedEventHandler(this.ClosePopup_OnClick);

            #line default
            #line hidden
                return;

            case 4:
                this.expanderNotifiedViolatorDetails = ((System.Windows.Controls.Expander)(target));
                return;

            case 5:
                this.txtBoxComment = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.radBusyIndicator = ((Telerik.Windows.Controls.RadBusyIndicator)(target));
                return;

            case 7:
                this.expanderNotifiedViolatorHiostory = ((System.Windows.Controls.Expander)(target));
                return;

            case 8:
                this.imgMediaGalleryUc = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.ImageMediaGalleryUserControl)(target));
                return;

            case 9:
                this.violatorItemImgUc = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.VoilatiorItemDetailsUserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AssignedPatrolsUC = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.AssignedPatrolsUserControl)(target));
                return;

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

            case 3:
                this.Btnback = ((System.Windows.Controls.Button)(target));

            #line 75 "..\..\..\UserControls\AssignedPatrolsUserControl.xaml"
                this.Btnback.Click += new System.Windows.RoutedEventHandler(this.ClosePopup_OnClick);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\..\UserControls\AssignedPatrolsUserControl.xaml"
                this.PatrolsList.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.PatrolsList_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.imgMediaGalleryUc = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.ImageMediaGalleryUserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ImageMediaGalleryUC = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.ImageMediaGalleryUserControl)(target));
                return;

            case 2:
                this.borderMainLayout = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.ImgLayoutBorder = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.gridImageSection = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 83 "..\..\..\UserControls\ImageMediaGalleryUserControl - Copy.xaml"
                this.btnPrevious.Click += new System.Windows.RoutedEventHandler(this.btnPrevious_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnClosePopups = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\..\UserControls\ImageMediaGalleryUserControl - Copy.xaml"
                this.btnClosePopups.Click += new System.Windows.RoutedEventHandler(this.btnClosePopups_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.backgroundGrid = ((System.Windows.Controls.Grid)(target));
                return;

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

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

            #line 141 "..\..\..\UserControls\ImageMediaGalleryUserControl - Copy.xaml"
                this.btnZoomOut.Click += new System.Windows.RoutedEventHandler(this.btnZoomOut_Click);

            #line default
            #line hidden
                return;

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

            #line 165 "..\..\..\UserControls\ImageMediaGalleryUserControl - Copy.xaml"
                this.btnZoomIn.Click += new System.Windows.RoutedEventHandler(this.btnZoomIn_Click);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\..\UserControls\ImageMediaGalleryUserControl - Copy.xaml"
                this.btnDefaultSize.Click += new System.Windows.RoutedEventHandler(this.btnDefaultSize_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.imgMain = ((System.Windows.Controls.Image)(target));
                return;

            case 13:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 227 "..\..\..\UserControls\ImageMediaGalleryUserControl - Copy.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.borderVideoPlayer = ((System.Windows.Controls.Border)(target));
                return;

            case 15:

            #line 258 "..\..\..\UserControls\ImageMediaGalleryUserControl - Copy.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClosePopups_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.bgGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.mediaPlayerUC = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.MediaPlayerUserControl)(target));
                return;

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

            case 19:
                this.listViewImageTray = ((System.Windows.Controls.ListView)(target));

            #line 285 "..\..\..\UserControls\ImageMediaGalleryUserControl - Copy.xaml"
                this.listViewImageTray.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listViewImageTray_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }