Exemplo n.º 1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.grdUserControl = ((STC.Projects.WPFControlLibrary.AdminPage.AdminPageUserControl)(target));
         return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\AdminGridPanelUserControl.xaml"
                ((STC.Projects.WPFControlLibrary.AdminPage.AdminGridPanelUserControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 6:
                this.gridAdminBusinessRule = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.txtBlkMainHeader = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 9:
                this.brdAdminDGrd = ((System.Windows.Controls.Border)(target));
                return;

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

            case 11:
                this.dgrAdmin = ((System.Windows.Controls.DataGrid)(target));

            #line 955 "..\..\AdminGridPanelUserControl.xaml"
                this.dgrAdmin.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgrAdmin_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.pager = ((STC.Projects.ClassLibrary.Common.PaggingControl.Pager)(target));

            #line 1042 "..\..\AdminGridPanelUserControl.xaml"
                this.pager.PageChanged += new System.Windows.RoutedEventHandler(this.AdMinGridPageChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.brderAdminCtrl = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.adCreateRole = ((STC.Projects.WPFControlLibrary.AdminPage.AdminPageUserControl)(target));
                return;

            case 15:
                this.brderUpdateAdminCtrl = ((System.Windows.Controls.Border)(target));
                return;

            case 16:
                this.ucUpdateRole = ((STC.Projects.WPFControlLibrary.AdminPage.UpdateRulesPageUserControl)(target));
                return;

            case 17:
                this.txtBlkKpiHeader = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.gridUpdateKPIrule = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.txtBlkKPIName = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.txtBoxKPIName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.txtBlkTargestValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.txtBoxTargetPercentage = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 1149 "..\..\AdminGridPanelUserControl.xaml"
                this.btnUpdateKPI.Click += new System.Windows.RoutedEventHandler(this.btnUpdate_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.btnContent = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.dgrdKPItableViolation = ((System.Windows.Controls.DataGrid)(target));

            #line 1184 "..\..\AdminGridPanelUserControl.xaml"
                this.dgrdKPItableViolation.Loaded += new System.Windows.RoutedEventHandler(this.dgrdKPItableViolation_Loaded);

            #line default
            #line hidden
                return;

            case 26:
                this.pagerKpiTargets = ((STC.Projects.ClassLibrary.Common.PaggingControl.Pager)(target));

            #line 1219 "..\..\AdminGridPanelUserControl.xaml"
                this.pagerKpiTargets.PageChanged += new System.Windows.RoutedEventHandler(this.pagerKpiTargets_PageChanged);

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