Beispiel #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;
        }
Beispiel #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.VoilatiorItemDetailsUC = ((STC.Projects.WPFControlLibrary.SOPBox.UserControls.VoilatiorItemDetailsUserControl)(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 520 "..\..\..\UserControls\VoilatiorItemDetailsUserControl.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 547 "..\..\..\UserControls\VoilatiorItemDetailsUserControl.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 578 "..\..\..\UserControls\VoilatiorItemDetailsUserControl.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 602 "..\..\..\UserControls\VoilatiorItemDetailsUserControl.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 625 "..\..\..\UserControls\VoilatiorItemDetailsUserControl.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 664 "..\..\..\UserControls\VoilatiorItemDetailsUserControl.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

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

            case 15:
                this.txtBoxPlateNum = ((System.Windows.Controls.TextBox)(target));
                return;

            case 16:
                this.cmBoxCode = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 17:
                this.cmBoxColor = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.cmBoxKind = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.cmBoxSource = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }