private void sortModeList_SelectionChanged(object sender, DevExpress.Xpf.Editors.EditValueChangedEventArgs e)
 {
     grid.GroupSummarySortInfo.Clear();
     for (int i = 0; i < grid.GroupSummary.Count; i++)
     {
         DevExpress.Xpf.Grid.GridSummaryItem item = grid.GroupSummary[i];
         if (i == CurrentSummaryItemIndex)
         {
             SortBySummary.SetIsSelected(item, true);
             grid.GroupSummarySortInfo.Add(new GridGroupSummarySortInfo(item, "OrderDate", CurrentSortOrder));
         }
         else
         {
             SortBySummary.SetIsSelected(item, false);
         }
     }
 }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((BluePrints.Views.PROJECTWORKPACKDetailsMappingView_Unused)(target));
                return;

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

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

            case 4:
                this.barManager1 = ((DevExpress.Xpf.Bars.BarManager)(target));
                return;

            case 5:
                this.barArrangeView = ((DevExpress.Xpf.Bars.Bar)(target));
                return;

            case 6:
                this.barGroupBy = ((DevExpress.Xpf.Bars.Bar)(target));
                return;

            case 7:
                this.biSwitchToDayView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 8:
                this.biSwitchToWorkWeekView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 9:
                this.biSwitchToWeekView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 10:
                this.biSwitchToFullWeekView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 11:
                this.biSwitchToMonthView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 12:
                this.biSwitchToTimelineView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 13:
                this.biSwitchToGroupByNone = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 14:
                this.biSwitchToGroupByDate = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 15:
                this.biSwitchToGroupByResource = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 16:
                this.scheduler = ((DevExpress.Xpf.Scheduler.SchedulerControl)(target));
                return;

            case 17:
                this.LayoutGroupGrid = ((DevExpress.Xpf.LayoutControl.LayoutGroup)(target));
                return;

            case 18:
                this.gridControl = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 19:
                this.colCumulativeBudget = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 20:
                this.colCumulativeBudgetText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 21:
                this.groupSummaryBudgeted = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 22:
                this.groupSummaryCumulativeEarnedPercentage = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 23:
                this.groupSummaryPeriodEarnedPercentage = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 24:
                this.groupSummaryGrossProfit = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 25:
                this.groupSummaryEfficiencyRatio = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 26:
                this.groupSummaryProgressRatio = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 27:
                this.groupSummaryCumulativePlanned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 28:
                this.groupSummaryCumulativeEarned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 29:
                this.groupSummaryCumulativeBurned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 30:
                this.groupSummaryCumulativeActual = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 31:
                this.groupSummaryPeriodPlanned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 32:
                this.groupSummaryPeriodEarned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 33:
                this.groupSummaryPeriodBurned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 34:
                this.groupSummaryPeriodActual = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 35:
                this.totalSummaryBudgeted = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 36:
                this.totalSummaryCumulativeEarnedPercentage = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 37:
                this.totalSummaryPeriodEarnedPercentage = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 38:
                this.totalSummaryGrossProfit = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 39:
                this.totalSummaryEfficiencyRatio = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 40:
                this.totalSummaryProgressRatio = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 41:
                this.totalSummaryCumulativePlanned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 42:
                this.totalSummaryCumulativeEarned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 43:
                this.totalSummaryCumulativeBurned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 44:
                this.totalSummaryCumulativeActual = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 45:
                this.totalSummaryPeriodPlanned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 46:
                this.totalSummaryPeriodEarned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 47:
                this.totalSummaryPeriodBurned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 48:
                this.totalSummaryPeriodActual = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 49:
                this.tableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((BluePrints.Views.PROJECTDashboardCollectionView)(target));
                return;

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

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

            case 4:
                this.LayoutGroupGrid = ((DevExpress.Xpf.LayoutControl.LayoutGroup)(target));
                return;

            case 5:
                this.gridControl = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 6:
                this.bandGeneral = ((DevExpress.Xpf.Grid.GridControlBand)(target));
                return;

            case 7:
                this.colCumulativeBudget = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 8:
                this.colCumulativeBudgetText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 9:
                this.bandCumulative = ((DevExpress.Xpf.Grid.GridControlBand)(target));
                return;

            case 10:
                this.colCumulativeEarnedPercentage = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 11:
                this.colCumulativePlanned = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 12:
                this.colCumulativePlannedText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 13:
                this.colCumulativeEarned = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 14:
                this.colCumulativeEarnedText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 15:
                this.colCumulativeBurned = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 16:
                this.colCumulativeBurnedText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 17:
                this.colCumulativeActual = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 18:
                this.colCumulativeActualText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 19:
                this.bandPeriod = ((DevExpress.Xpf.Grid.GridControlBand)(target));
                return;

            case 20:
                this.colPeriodEarnedPercentage = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 21:
                this.colPeriodPlanned = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 22:
                this.colPeriodPlannedText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 23:
                this.colPeriodEarned = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 24:
                this.colPeriodEarnedText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 25:
                this.colPeriodBurned = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 26:
                this.colPeriodBurnedText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 27:
                this.colPeriodActual = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 28:
                this.colPeriodActualText = ((DevExpress.Xpf.Editors.Settings.TextEditSettings)(target));
                return;

            case 29:
                this.bandPerformance = ((DevExpress.Xpf.Grid.GridControlBand)(target));
                return;

            case 30:
                this.colInvisibleSummary_CumulativePlannedCost = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 31:
                this.colInvisibleSummary_CumulativeEarnedCost = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 32:
                this.colInvisibleSummary_CumulativeBurnedCost = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 33:
                this.colInvisibleSummary_CumulativeActualCost = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 34:
                this.colGrossProfit = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 35:
                this.colEfficiencyRatio = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 36:
                this.colProgressRatio = ((DevExpress.Xpf.Grid.GridColumn)(target));
                return;

            case 37:
                this.groupSummaryBudgeted = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 38:
                this.groupSummaryCumulativeEarnedPercentage = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 39:
                this.groupSummaryPeriodEarnedPercentage = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 40:
                this.groupSummaryGrossProfit = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 41:
                this.groupSummaryEfficiencyRatio = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 42:
                this.groupSummaryProgressRatio = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 43:
                this.groupSummaryCumulativePlanned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 44:
                this.groupSummaryCumulativeEarned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 45:
                this.groupSummaryCumulativeBurned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 46:
                this.groupSummaryCumulativeActual = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 47:
                this.groupSummaryPeriodPlanned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 48:
                this.groupSummaryPeriodEarned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 49:
                this.groupSummaryPeriodBurned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 50:
                this.groupSummaryPeriodActual = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 51:
                this.totalSummaryBudgeted = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 52:
                this.totalSummaryCumulativeEarnedPercentage = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 53:
                this.totalSummaryPeriodEarnedPercentage = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 54:
                this.totalSummaryGrossProfit = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 55:
                this.totalSummaryEfficiencyRatio = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 56:
                this.totalSummaryProgressRatio = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 57:
                this.totalSummaryCumulativePlanned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 58:
                this.totalSummaryCumulativeEarned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 59:
                this.totalSummaryCumulativeBurned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 60:
                this.totalSummaryCumulativeActual = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 61:
                this.totalSummaryPeriodPlanned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 62:
                this.totalSummaryPeriodEarned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 63:
                this.totalSummaryPeriodBurned = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 64:
                this.totalSummaryPeriodActual = ((DevExpress.Xpf.Grid.GridSummaryItem)(target));
                return;

            case 65:
                this.tableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 66:
                this.LayoutGroupChart = ((DevExpress.Xpf.LayoutControl.LayoutGroup)(target));
                return;

            case 67:
                this.chartSCurve = ((DevExpress.Xpf.Charts.ChartControl)(target));
                return;

            case 68:
                this.primaryAxisY = ((DevExpress.Xpf.Charts.AxisY2D)(target));
                return;

            case 69:
                this.secondaryAxisY = ((DevExpress.Xpf.Charts.SecondaryAxisY2D)(target));
                return;

            case 70:
                this.barSeriesOriginal = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
                return;

            case 71:
                this.barSeriesPlanned = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
                return;

            case 72:
                this.barSeriesEarned = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
                return;

            case 73:
                this.barSeriesRemainingPlanned = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
                return;

            case 74:
                this.barSeriesBurned = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
                return;

            case 75:
                this.barSeriesActual = ((DevExpress.Xpf.Charts.BarSideBySideSeries2D)(target));
                return;

            case 76:
                this.lineSeriesOriginal = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
                return;

            case 77:
                this.lineSeriesPlanned = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
                return;

            case 78:
                this.lineSeriesRemainingPlanned = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
                return;

            case 79:
                this.lineSeriesEarned = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
                return;

            case 80:
                this.lineSeriesBurned = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
                return;

            case 81:
                this.lineSeriesActual = ((DevExpress.Xpf.Charts.LineSeries2D)(target));
                return;
            }
            this._contentLoaded = true;
        }