void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ribbonControl = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
                return;

            case 2:
                this.layoutControl = ((DevExpress.Xpf.LayoutControl.LayoutControl)(target));
                return;

            case 3:
                this.entityGroup = ((DevExpress.Xpf.LayoutControl.LayoutGroup)(target));
                return;

            case 4:
                this.tableViewGridControl = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 5:
                this.SerializeHelper = ((NextBO.Wpf.GridSaveLayoutBehavior)(target));
                return;

            case 6:
                this.CheckListVehicleTableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 7:
                this.ContentImageDelivery = ((DevExpress.Xpf.LayoutControl.LayoutItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ribbonControl = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
                return;

            case 2:
                this.tableViewGridControl = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 3:
                this.SerializeHelper = ((NextBO.Wpf.GridSaveLayoutBehavior)(target));
                return;

            case 4:
                this.ServiceTableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 5:
                this.TotalCost = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DataPaneBarSubItem = ((DevExpress.Xpf.Bars.BarSubItem)(target));
                return;

            case 2:
                this.HorizontalViewBarCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 3:
                this.VerticalViewBarCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 4:
                this.IsDataPaneVisibleBarCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 5:
                this.ReverseSortBarButtonItem = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 6:
                this.AddColumnsBarButtonItem = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 7:
                this.ExpandCollapseBarSubItem = ((DevExpress.Xpf.Bars.BarSubItem)(target));
                return;

            case 8:
                this.tableViewGridControl = ((DevExpress.Xpf.Grid.GridControl)(target));

            #line 314 "..\..\..\Views\DeliveryHistory\DeliveryHistoryCollectionView.xaml"
                this.tableViewGridControl.CustomGroupDisplayText += new DevExpress.Xpf.Grid.CustomGroupDisplayTextEventHandler(this.GridControl_CustomGroupDisplayText);

            #line default
            #line hidden
                return;

            case 9:
                this.SerializeHelper = ((NextBO.Wpf.GridSaveLayoutBehavior)(target));
                return;

            case 10:
                this.DeliveryHistoryTableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DataPaneBarSubItem = ((DevExpress.Xpf.Bars.BarSubItem)(target));
                return;

            case 2:
                this.HorizontalViewBarCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 3:
                this.VerticalViewBarCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 4:
                this.IsDataPaneVisibleBarCheckItem = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 5:
                this.ReverseSortBarButtonItem = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 6:
                this.AddColumnsBarButtonItem = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 7:
                this.ExpandCollapseBarSubItem = ((DevExpress.Xpf.Bars.BarSubItem)(target));
                return;

            case 8:
                this.tableViewGridControl = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 9:
                this.SerializeHelper = ((NextBO.Wpf.GridSaveLayoutBehavior)(target));
                return;

            case 10:
                this.UserTableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 11:
                this.cardViewGridControl = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;
            }
            this._contentLoaded = true;
        }