void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.window = ((CargoManagementSystem.View.WarehouseManagementUserControl)(target));
                return;

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

            case 3:
                this.CargoName = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 4:
                this.Category = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 5:
                this.Material = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 6:
                this.Size = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 7:
                this.WarehouseName = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 8:
                this.PlaneName = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 9:
                this.BlockName = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 10:
                this.UnitPurchasePrize = ((MaterialDesignThemes.Wpf.DataGridComboBoxColumn)(target));
                return;

            case 11:
                this.Amount = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 12:
                this.Operation = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.textSearch = ((System.Windows.Controls.TextBox)(target));

            #line 56 "..\..\..\..\PL\UserControls\Subscriptions.xaml"
                this.textSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.chk_ShowDeleteBtns = ((System.Windows.Controls.ListBoxItem)(target));

            #line 66 "..\..\..\..\PL\UserControls\Subscriptions.xaml"
                this.chk_ShowDeleteBtns.Selected += new System.Windows.RoutedEventHandler(this.chk_ShowDeleteBtns_Selected);

            #line default
            #line hidden

            #line 67 "..\..\..\..\PL\UserControls\Subscriptions.xaml"
                this.chk_ShowDeleteBtns.Unselected += new System.Windows.RoutedEventHandler(this.chk_ShowDeleteBtns_Unselected);

            #line default
            #line hidden
                return;

            case 3:
                this.chk_EnableEditing = ((System.Windows.Controls.ListBoxItem)(target));

            #line 74 "..\..\..\..\PL\UserControls\Subscriptions.xaml"
                this.chk_EnableEditing.Selected += new System.Windows.RoutedEventHandler(this.chk_EnableEditing_Selected);

            #line default
            #line hidden

            #line 75 "..\..\..\..\PL\UserControls\Subscriptions.xaml"
                this.chk_EnableEditing.Unselected += new System.Windows.RoutedEventHandler(this.chk_EnableEditing_Unselected);

            #line default
            #line hidden
                return;

            case 4:
                this.btn_Refresh = ((System.Windows.Controls.Button)(target));

            #line 98 "..\..\..\..\PL\UserControls\Subscriptions.xaml"
                this.btn_Refresh.Click += new System.Windows.RoutedEventHandler(this.btn_Refresh_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.dg_Subscriptions = ((System.Windows.Controls.DataGrid)(target));

            #line 142 "..\..\..\..\PL\UserControls\Subscriptions.xaml"
                this.dg_Subscriptions.BeginningEdit += new System.EventHandler <System.Windows.Controls.DataGridBeginningEditEventArgs>(this.dg_Subscriptions_BeginningEdit);

            #line default
            #line hidden

            #line 143 "..\..\..\..\PL\UserControls\Subscriptions.xaml"
                this.dg_Subscriptions.CellEditEnding += new System.EventHandler <System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.dg_Subscriptions_CellEditEnding);

            #line default
            #line hidden
                return;

            case 6:
                this.cmb_Categories = ((MaterialDesignThemes.Wpf.DataGridComboBoxColumn)(target));
                return;

            case 7:
                this.cmb_Brands = ((MaterialDesignThemes.Wpf.DataGridComboBoxColumn)(target));
                return;

            case 8:
                this.col_btn_Delete = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 9:
                this.SelectRowError = ((MaterialDesignThemes.Wpf.Snackbar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((CargoManagementSystem.View.SellCargoUserControl)(target));
                return;

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

            case 3:
                this.CargoName = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 4:
                this.Category = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 5:
                this.Material = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 6:
                this.Size = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 7:
                this.WarehouseName = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 8:
                this.PlaneName = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 9:
                this.BlockName = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 10:
                this.UnitPurchasePrize = ((MaterialDesignThemes.Wpf.DataGridComboBoxColumn)(target));
                return;

            case 11:
                this.Amount = ((MaterialDesignThemes.Wpf.DataGridTextColumn)(target));
                return;

            case 12:
                this.Operation = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

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

            case 14:
                this.tt = ((System.Windows.Media.TranslateTransform)(target));
                return;

            case 15:
                this.InOrderButton = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.OrderDataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 17:
                this.OrderOperation = ((System.Windows.Controls.DataGridTemplateColumn)(target));
                return;

            case 18:
                this.DeleteOrderCollectionButton = ((System.Windows.Controls.Button)(target));
                return;

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