void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.RootGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 2:
     this.radRibbonBar1 = ((Telerik.Windows.Controls.RadRibbonView)(target));
     return;
     case 3:
     this.tabHome = ((Telerik.Windows.Controls.RadRibbonTab)(target));
     return;
     case 4:
     this.grpGeneral = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 5:
     this.btnHomePage = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 6:
     this.btnDashboard = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 7:
     this.grpBusinessPartner = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 8:
     this.btnCustomer = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 9:
     this.btnVendor = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 10:
     this.tabIMS = ((Telerik.Windows.Controls.RadRibbonTab)(target));
     return;
     case 11:
     this.grpSales = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 12:
     this.btnQuotes = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 13:
     this.btnNewOrder = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 14:
     this.btnSaleOrderList = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 15:
     this.btnRecentOrders = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 16:
     this.btnOpenOrders = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 17:
     this.btnInvoicedOrders = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 18:
     this.btnPaidOrders = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 19:
     this.grpPurchasing = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 20:
     this.btnPO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 21:
     this.btnPOL = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 22:
     this.btnRPO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 23:
     this.btnOPO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 24:
     this.btnRecievePO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 25:
     this.btnPaidPO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 26:
     this.Customergroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 27:
     this.btnProductPricing = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 28:
     this.btnCurrentStock = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 29:
     this.btnAdjustStock = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 30:
     this.TabRecharge = ((Telerik.Windows.Controls.RadRibbonTab)(target));
     return;
     case 31:
     this.rechargeGroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 32:
     this.btnRechrge = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 33:
     this.TabExpenses = ((Telerik.Windows.Controls.RadRibbonTab)(target));
     return;
     case 34:
     this.ExpensesGroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 35:
     this.btnExpenses = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 36:
     this.SetupsTab = ((Telerik.Windows.Controls.RadRibbonTab)(target));
     return;
     case 37:
     this.setupgroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 38:
     this.btnCompany = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     
     #line 488 "..\..\..\..\Views\RibbionControl.xaml"
     this.btnCompany.Click += new System.Windows.RoutedEventHandler(this.btnCompany_Click_1);
     
     #line default
     #line hidden
     return;
     case 39:
     this.btnProduct = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 40:
     this.btnProductCategory = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 41:
     this.reportsTab = ((Telerik.Windows.Controls.RadRibbonTab)(target));
     return;
     case 42:
     this.reportsgroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
     return;
     case 43:
     this.btnReport1 = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 44:
     this.btnReport2 = ((Telerik.Windows.Controls.RadRibbonButton)(target));
     return;
     case 45:
     this.MainMdiContainer = ((WPF.MDI.MdiContainer)(target));
     return;
     }
     this._contentLoaded = true;
 }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RootGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.radRibbonBar1 = ((Telerik.Windows.Controls.RadRibbonView)(target));
                return;

            case 3:
                this.tabHome = ((Telerik.Windows.Controls.RadRibbonTab)(target));
                return;

            case 4:
                this.grpGeneral = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 5:
                this.btnHomePage = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 6:
                this.btnDashboard = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 7:
                this.grpBusinessPartner = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 8:
                this.btnCustomer = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 9:
                this.btnVendor = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 10:
                this.tabIMS = ((Telerik.Windows.Controls.RadRibbonTab)(target));
                return;

            case 11:
                this.grpSales = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 12:
                this.btnQuotes = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 13:
                this.btnNewOrder = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 14:
                this.btnSaleOrderList = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 15:
                this.btnRecentOrders = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 16:
                this.btnOpenOrders = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 17:
                this.btnInvoicedOrders = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 18:
                this.btnPaidOrders = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 19:
                this.grpPurchasing = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 20:
                this.btnPO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 21:
                this.btnPOL = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 22:
                this.btnRPO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 23:
                this.btnOPO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 24:
                this.btnRecievePO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 25:
                this.btnPaidPO = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 26:
                this.Customergroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 27:
                this.btnProductPricing = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 28:
                this.btnCurrentStock = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 29:
                this.btnAdjustStock = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 30:
                this.TabRecharge = ((Telerik.Windows.Controls.RadRibbonTab)(target));
                return;

            case 31:
                this.rechargeGroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 32:
                this.btnRechrge = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 33:
                this.TabExpenses = ((Telerik.Windows.Controls.RadRibbonTab)(target));
                return;

            case 34:
                this.ExpensesGroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 35:
                this.btnExpenses = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 36:
                this.SetupsTab = ((Telerik.Windows.Controls.RadRibbonTab)(target));
                return;

            case 37:
                this.setupgroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 38:
                this.btnCompany = ((Telerik.Windows.Controls.RadRibbonButton)(target));

            #line 488 "..\..\..\..\Views\RibbionControl.xaml"
                this.btnCompany.Click += new System.Windows.RoutedEventHandler(this.btnCompany_Click_1);

            #line default
            #line hidden
                return;

            case 39:
                this.btnProduct = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 40:
                this.btnProductCategory = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 41:
                this.reportsTab = ((Telerik.Windows.Controls.RadRibbonTab)(target));
                return;

            case 42:
                this.reportsgroup = ((Telerik.Windows.Controls.RadRibbonGroup)(target));
                return;

            case 43:
                this.btnReport1 = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 44:
                this.btnReport2 = ((Telerik.Windows.Controls.RadRibbonButton)(target));
                return;

            case 45:
                this.MainMdiContainer = ((WPF.MDI.MdiContainer)(target));
                return;
            }
            this._contentLoaded = true;
        }