Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnMinimize = ((System.Windows.Controls.Button)(target));

            #line 18 "..\..\CashierDashboard.xaml"
                this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_OnClick);

            #line default
            #line hidden
                return;

            case 2:
                this.btnMaximize = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\CashierDashboard.xaml"
                this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_OnClick);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\CashierDashboard.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_OnClick);

            #line default
            #line hidden
                return;

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

            case 5:
                this.selling = ((StoreManagement.UserControls.sale)(target));
                return;

            case 6:
                this.updatebill = ((StoreManagement.UserControls.updatebill)(target));
                return;

            case 7:
                this.manageShift = ((StoreManagement.UserControls.Manage_Shift)(target));
                return;

            case 8:
                this.TrainsitionigContentSlide = ((MaterialDesignThemes.Wpf.Transitions.TransitioningContent)(target));
                return;

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

            case 10:
                this.ListViewMenu = ((System.Windows.Controls.ListView)(target));

            #line 55 "..\..\CashierDashboard.xaml"
                this.ListViewMenu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListViewMenu_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnMinimize = ((System.Windows.Controls.Button)(target));

            #line 20 "..\..\ManagerDashboard.xaml"
                this.btnMinimize.Click += new System.Windows.RoutedEventHandler(this.BtnMinimize_OnClick);

            #line default
            #line hidden
                return;

            case 2:
                this.btnMaximize = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\ManagerDashboard.xaml"
                this.btnMaximize.Click += new System.Windows.RoutedEventHandler(this.BtnMaximize_OnClick);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\ManagerDashboard.xaml"
                this.btnClose.Click += new System.Windows.RoutedEventHandler(this.BtnClose_OnClick);

            #line default
            #line hidden
                return;

            case 4:
                this.selling = ((StoreManagement.UserControls.sale)(target));
                return;

            case 5:
                this.chart = ((StoreManagement.UserControls.Charts.ChartsLayout)(target));
                return;

            case 6:
                this.editProduct = ((StoreManagement.UserControls.Edit_Product_Page)(target));
                return;

            case 7:
                this.editInformationAdmin = ((StoreManagement.UserControls.Edit_Information_Admin)(target));
                return;

            case 8:
                this.updatebill = ((StoreManagement.UserControls.updatebill)(target));
                return;

            case 9:
                this.manageShift = ((StoreManagement.UserControls.Manage_Shift_Admin)(target));
                return;

            case 10:
                this.lblName = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.TrainsitionigContentSlide = ((MaterialDesignThemes.Wpf.Transitions.TransitioningContent)(target));
                return;

            case 12:
                this.GridCursor = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.ListViewMenu = ((System.Windows.Controls.ListView)(target));

            #line 59 "..\..\ManagerDashboard.xaml"
                this.ListViewMenu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListViewMenu_SelectionChanged);

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