Exemple #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.dashboardObjectDataSource2 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "SalesPerson";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Quantity";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension2.DataMember = "SalesPerson";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure2.DataMember = "Quantity";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource2;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // dashboardObjectDataSource2
     //
     this.dashboardObjectDataSource2.ComponentName = "dashboardObjectDataSource2";
     this.dashboardObjectDataSource2.DataSource    = typeof(NewProject.Data);
     this.dashboardObjectDataSource2.Name          = "Object Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 39.098532494758906D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 60.901467505241094D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Exemple #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension           dimension1           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn gridDimensionColumn1 = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure             measure1             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn   gridMeasureColumn1   = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure             measure2             = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Card card1 = new DevExpress.DashboardCommon.Card();
     DevExpress.DashboardCommon.CardStretchedLayoutTemplate cardStretchedLayoutTemplate1 = new DevExpress.DashboardCommon.CardStretchedLayoutTemplate();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1          = new DevExpress.DashboardCommon.GridDashboardItem();
     this.dashboardExtractDataSource1 = new DevExpress.DashboardCommon.DashboardExtractDataSource();
     this.cardDashboardItem1          = new DevExpress.DashboardCommon.CardDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "CategoryName";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "ExtendedPrice";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Multiple;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // dashboardExtractDataSource1
     //
     this.dashboardExtractDataSource1.ComponentName = "dashboardExtractDataSource1";
     this.dashboardExtractDataSource1.FileName      = "C:\\Data\\NWind_SalesPerson.dat";
     this.dashboardExtractDataSource1.Name          = "Extract Data Source 1";
     //
     // cardDashboardItem1
     //
     measure2.DataMember = "ExtendedPrice";
     cardStretchedLayoutTemplate1.BottomValue1.DimensionIndex = 0;
     cardStretchedLayoutTemplate1.BottomValue1.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.PercentVariation;
     cardStretchedLayoutTemplate1.BottomValue1.Visible        = true;
     cardStretchedLayoutTemplate1.BottomValue2.DimensionIndex = 0;
     cardStretchedLayoutTemplate1.BottomValue2.ValueType      = DevExpress.DashboardCommon.CardRowDataElementType.AbsoluteVariation;
     cardStretchedLayoutTemplate1.BottomValue2.Visible        = true;
     cardStretchedLayoutTemplate1.DeltaIndicator.Visible      = true;
     cardStretchedLayoutTemplate1.MainValue.DimensionIndex    = 0;
     cardStretchedLayoutTemplate1.MainValue.ValueType         = DevExpress.DashboardCommon.CardRowDataElementType.Title;
     cardStretchedLayoutTemplate1.MainValue.Visible           = true;
     cardStretchedLayoutTemplate1.Sparkline.Visible           = true;
     cardStretchedLayoutTemplate1.SubValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate1.SubValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.Subtitle;
     cardStretchedLayoutTemplate1.SubValue.Visible            = true;
     cardStretchedLayoutTemplate1.TopValue.DimensionIndex     = 0;
     cardStretchedLayoutTemplate1.TopValue.ValueType          = DevExpress.DashboardCommon.CardRowDataElementType.ActualValue;
     cardStretchedLayoutTemplate1.TopValue.Visible            = true;
     card1.LayoutTemplate = cardStretchedLayoutTemplate1;
     card1.AddDataItem("ActualValue", measure2);
     this.cardDashboardItem1.Cards.AddRange(new DevExpress.DashboardCommon.Card[] {
         card1
     });
     this.cardDashboardItem1.ComponentName = "cardDashboardItem1";
     dimension2.DataMember = "Country";
     this.cardDashboardItem1.DataItemRepository.Clear();
     this.cardDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.cardDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.cardDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.cardDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.cardDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Multiple;
     this.cardDashboardItem1.Name = "Cards 1";
     this.cardDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.cardDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExtractDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.cardDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 50D;
     dashboardLayoutItem2.DashboardItem = this.cardDashboardItem1;
     dashboardLayoutItem2.Weight        = 50D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cardDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardParameter   dashboardParameter1   = new DevExpress.DashboardCommon.DashboardParameter();
     DevExpress.DashboardCommon.DashboardParameter   dashboardParameter2   = new DevExpress.DashboardCommon.DashboardParameter();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.bindingSource1             = new System.Windows.Forms.BindingSource(this.components);
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     measure1.DataMember          = "ID";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     dimension1.DataMember          = "Name";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridMeasureColumn1,
         gridDimensionColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem1");
     this.gridDashboardItem1.DataSource   = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.FilterString = "";
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // bindingSource1
     //
     this.bindingSource1.DataSource = typeof(WinProject.MyClass);
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataSource    = typeof(WinProject.MyClass);
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 44.110275689223059D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot           = dashboardLayoutGroup1;
     dashboardParameter1.Name  = "Parameter1";
     dashboardParameter1.Type  = typeof(int);
     dashboardParameter1.Value = 0;
     dashboardParameter2.Name  = "Parameter2";
     dashboardParameter2.Type  = typeof(string);
     dashboardParameter2.Value = "Name1";
     this.Parameters.AddRange(new DevExpress.DashboardCommon.DashboardParameter[] {
         dashboardParameter1,
         dashboardParameter2
     });
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Exemple #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension                      dimension1             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn            gridDimensionColumn1   = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension                      dimension2             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn            gridDimensionColumn2   = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                        measure1               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn              gridMeasureColumn1     = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure                        measure2               = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn              gridMeasureColumn2     = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo objectConstructorInfo1 = new DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo();
     DevExpress.DashboardCommon.Dimension                      dimension3             = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup           dashboardLayoutGroup1  = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem            dashboardLayoutItem1   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem            dashboardLayoutItem2   = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     this.listBoxDashboardItem1      = new DevExpress.DashboardCommon.ListBoxDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "GlobalTask";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     dimension2.DataMember          = "SubTask";
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension2);
     measure1.DataMember          = "StartDate";
     measure1.SummaryType         = DevExpress.DashboardCommon.SummaryType.Min;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "EndDate";
     measure2.SummaryType         = DevExpress.DashboardCommon.SummaryType.Max;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridMeasureColumn1,
         gridMeasureColumn2
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem3");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.Constructor   = objectConstructorInfo1;
     this.dashboardObjectDataSource1.DataMember    = "Data";
     this.dashboardObjectDataSource1.DataSource    = typeof(DashboardData);
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // listBoxDashboardItem1
     //
     this.listBoxDashboardItem1.ComponentName = "listBoxDashboardItem1";
     dimension3.DataMember = "GlobalTask";
     this.listBoxDashboardItem1.DataItemRepository.Clear();
     this.listBoxDashboardItem1.DataItemRepository.Add(dimension3, "DataItem0");
     this.listBoxDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.listBoxDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.listBoxDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.listBoxDashboardItem1.Name        = "List Box 1";
     this.listBoxDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.listBoxDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 82.793867120954D;
     dashboardLayoutItem2.DashboardItem = this.listBoxDashboardItem1;
     dashboardLayoutItem2.Weight        = 17.206132879045995D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.listBoxDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DataAccess.Sql.CustomSqlQuery        customSqlQuery1       = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(dash_ent_scorecard_change));
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn2  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension7            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn3  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn4  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn5  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn2    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension10           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn6  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.gridDashboardItem1      = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "OhioDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     customSqlQuery1.Name = "Query";
     customSqlQuery1.Sql  = resources.GetString("customSqlQuery1.Sql");
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension1.DataMember = "Project Name";
     dimension2.DataMember = "Business Area";
     dimension3.DataMember = "Business Processes";
     dimension4.DataMember = "card_name";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem2");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension4, "DataItem3");
     this.treeViewDashboardItem1.DataMember = "Query";
     this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2,
         dimension3,
         dimension4
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Select Project";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem1
     //
     dimension5.DataMember          = "BA";
     gridDimensionColumn1.Weight    = 20.638820638820643D;
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension5);
     dimension6.DataMember          = "Business Processes";
     gridDimensionColumn2.Weight    = 115.72481572481574D;
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension6);
     dimension7.DataMember          = "card_name";
     gridDimensionColumn3.Weight    = 109.09090909090911D;
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension7);
     dimension8.DataMember          = "Standards and Conditions";
     gridDimensionColumn4.Weight    = 100.982800982801D;
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension8);
     dimension9.DataMember          = "Type Of Architecture";
     gridDimensionColumn5.Weight    = 129.72972972972974D;
     gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn5.AddDataItem("Dimension", dimension9);
     measure1.DataMember = "As-Is";
     measure1.NumericFormat.FormatType = DevExpress.DashboardCommon.DataItemNumericFormatType.Number;
     measure1.SummaryType         = DevExpress.DashboardCommon.SummaryType.Max;
     gridMeasureColumn1.Weight    = 39.803439803439815D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "To-Be";
     measure2.SummaryType         = DevExpress.DashboardCommon.SummaryType.Max;
     gridMeasureColumn2.Weight    = 41.277641277641287D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     dimension10.DataMember         = "Project Name";
     gridDimensionColumn6.Weight    = 79.606879606879616D;
     gridDimensionColumn6.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn6.AddDataItem("Dimension", dimension10);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridDimensionColumn3,
         gridDimensionColumn4,
         gridDimensionColumn5,
         gridMeasureColumn1,
         gridMeasureColumn2,
         gridDimensionColumn6
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension6, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension7, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension8, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension9, "DataItem4");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem5");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem6");
     this.gridDashboardItem1.DataItemRepository.Add(dimension10, "DataItem7");
     this.gridDashboardItem1.DataMember = "Query";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.gridDashboardItem1.GridOptions.AllowCellMerge               = true;
     this.gridDashboardItem1.GridOptions.EnableBandedRows             = true;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = false;
     //
     // dash_ent_scorecard_change
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.treeViewDashboardItem1,
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 86.6412213740458D;
     dashboardLayoutItem2.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem2.Weight        = 13.358778625954198D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.ShowMasterFilterState = false;
     this.Title.Text = "ScoreCard Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Exemple #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1 = new DevExpress.DashboardCommon.GridDashboardItem();
     this.dataSource1        = new DevExpress.DashboardCommon.DataSource();
     this.bindingSource1     = new System.Windows.Forms.BindingSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     measure1.DataMember = "ID";
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     dimension1.DataMember = "Name";
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridMeasureColumn1,
         gridDimensionColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource          = this.dataSource1;
     this.gridDashboardItem1.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // dataSource1
     //
     this.dataSource1.ComponentName      = "dataSource1";
     this.dataSource1.Data               = this.bindingSource1;
     this.dataSource1.DataProcessingMode = DevExpress.DashboardCommon.DataProcessingMode.Client;
     this.dataSource1.Name               = "Data Source 1";
     //
     // bindingSource1
     //
     this.bindingSource1.DataSource = typeof(NewProject.MyClass);
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.DataSource[] {
         this.dataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 50D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DataAccess.Sql.CustomSqlQuery        customSqlQuery1       = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager  resources             = new System.ComponentModel.ComponentResourceManager(typeof(dash_ent_cross_score));
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn2  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension7            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn3  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn4  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn5  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn2    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension10           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure              measure4              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension            dimension11           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension12           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension13           = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardSqlDataSource1 = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.treeViewDashboardItem1  = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.gridDashboardItem1      = new DevExpress.DashboardCommon.GridDashboardItem();
     this.textBoxDashboardItem1   = new DevExpress.DashboardCommon.TextBoxDashboardItem();
     this.pivotDashboardItem1     = new DevExpress.DashboardCommon.PivotDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName  = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName = "OhioDB";
     this.dashboardSqlDataSource1.Name           = "SQL Data Source 1";
     customSqlQuery1.Name = "Query";
     customSqlQuery1.Sql  = resources.GetString("customSqlQuery1.Sql");
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension1.DataMember = "Project Name";
     dimension2.DataMember = "Card Name";
     dimension3.DataMember = "area name for BA";
     dimension4.DataMember = "Business Process Name";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension2, "DataItem2");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension4, "DataItem3");
     this.treeViewDashboardItem1.DataMember = "Query";
     this.treeViewDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2,
         dimension1,
         dimension3,
         dimension4
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Select 1 Scorecard to Compare across Projects";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem1
     //
     dimension5.DataMember          = "Project Name";
     gridDimensionColumn1.Weight    = 37.499999999999993D;
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension5);
     dimension6.DataMember          = "Card Name";
     gridDimensionColumn2.Weight    = 93.749999999999972D;
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension6);
     dimension7.DataMember          = "area name for BA";
     dimension7.Name                = "BA";
     gridDimensionColumn3.Weight    = 83.653846153846146D;
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension7);
     dimension8.DataMember          = "area name for BP";
     dimension8.Name                = "BA (BCM)";
     gridDimensionColumn4.Weight    = 74.999999999999986D;
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension8);
     dimension9.DataMember          = "Business Process Name";
     gridDimensionColumn5.Weight    = 183.17307692307691D;
     gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn5.AddDataItem("Dimension", dimension9);
     measure1.DataMember          = "Score Column 1";
     measure1.Name                = "As-Is";
     measure1.SummaryType         = DevExpress.DashboardCommon.SummaryType.Min;
     gridMeasureColumn1.Weight    = 25.961538461538456D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "Score Column 2";
     measure2.Name                = "To-Be";
     measure2.SummaryType         = DevExpress.DashboardCommon.SummaryType.Min;
     gridMeasureColumn2.Weight    = 25.961538461538456D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridDimensionColumn3,
         gridDimensionColumn4,
         gridDimensionColumn5,
         gridMeasureColumn1,
         gridMeasureColumn2
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem4");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension7, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension9, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension8, "DataItem5");
     this.gridDashboardItem1.DataItemRepository.Add(dimension6, "DataItem6");
     this.gridDashboardItem1.DataMember = "Query";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Selected Data";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // textBoxDashboardItem1
     //
     this.textBoxDashboardItem1.ComponentName = "textBoxDashboardItem1";
     this.textBoxDashboardItem1.DataItemRepository.Clear();
     this.textBoxDashboardItem1.InnerRtf = resources.GetString("textBoxDashboardItem1.InnerRtf");
     this.textBoxDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.textBoxDashboardItem1.Name        = "Text Box 1";
     this.textBoxDashboardItem1.ShowCaption = false;
     //
     // pivotDashboardItem1
     //
     dimension10.DataMember = "Project Name";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension10
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember    = "Score Column 1";
     measure3.Name          = "As-Is";
     measure3.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     measure4.DataMember    = "Score Column 2";
     measure4.Name          = "To-Be";
     measure4.SummaryType   = DevExpress.DashboardCommon.SummaryType.Min;
     dimension11.DataMember = "area name for BA";
     dimension12.DataMember = "Standard";
     dimension13.DataMember = "Business Process Name";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(measure4, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension11, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension12, "DataItem3");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension10, "DataItem4");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension13, "DataItem5");
     this.pivotDashboardItem1.DataMember = "Query";
     this.pivotDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact;
     this.pivotDashboardItem1.Name       = "Standards Pivot";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension11,
         dimension13,
         dimension12
     });
     this.pivotDashboardItem1.ShowCaption           = true;
     this.pivotDashboardItem1.ShowColumnGrandTotals = false;
     this.pivotDashboardItem1.ShowColumnTotals      = false;
     this.pivotDashboardItem1.ShowRowGrandTotals    = false;
     this.pivotDashboardItem1.ShowRowTotals         = false;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3,
         measure4
     });
     //
     // dash_ent_cross_score
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.treeViewDashboardItem1,
         this.gridDashboardItem1,
         this.textBoxDashboardItem1,
         this.pivotDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem1.Weight        = 72.605192479856754D;
     dashboardLayoutItem2.DashboardItem = this.textBoxDashboardItem1;
     dashboardLayoutItem2.Weight        = 27.394807520143242D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 25D;
     dashboardLayoutItem3.DashboardItem  = this.gridDashboardItem1;
     dashboardLayoutItem3.Weight         = 19.426751592356688D;
     dashboardLayoutItem4.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem4.Weight         = 80.5732484076433D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 75D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot    = dashboardLayoutGroup1;
     this.Title.Text    = "Dashboard";
     this.Title.Visible = false;
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.textBoxDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension11)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension12)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension13)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension               dimension1                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                 measure1                  = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Measure                 measure2                  = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod1           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit1  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit2  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod2           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit3  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit4  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod3           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit5  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit6  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod4           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit7  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit8  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod5           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit9  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit10 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod6           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit11 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit12 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod7           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit13 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit14 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.SimpleSeries            simpleSeries1             = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.SimpleSeries            simpleSeries2             = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.CalculatedField         calculatedField1          = new DevExpress.DashboardCommon.CalculatedField();
     DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters msSqlConnectionParameters1 = new DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters();
     DevExpress.DataAccess.Sql.SelectQuery              selectQuery1             = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                   column1                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression1        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table1                   = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column2                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression2        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table2                   = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column3                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression3        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column4                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression4        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column5                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression5        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column6                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression6        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column7                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression7        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column8                  = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression8        = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.AllColumns               allColumns1              = new DevExpress.DataAccess.Sql.AllColumns();
     DevExpress.DataAccess.Sql.AllColumns               allColumns2              = new DevExpress.DataAccess.Sql.AllColumns();
     DevExpress.DataAccess.Sql.Join                     join1                    = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo       relationColumnInfo1      = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     System.ComponentModel.ComponentResourceManager     resources                = new System.ComponentModel.ComponentResourceManager(typeof(Report_DTBanHang));
     DevExpress.DashboardCommon.Dimension               dimension2               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn1     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal1         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.Dimension               dimension3               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn2     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure3                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn1       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal2         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule1      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet1 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo1               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings1            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo2               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings2            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo3               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings3            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo4               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings4            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.Dimension               dimension4               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn3     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal3         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.Measure                 measure4                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn2       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule2      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet2 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo5               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings5            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo6               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings6            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo7               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings7            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo8               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings8            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.Dimension               dimension5               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn4     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure5                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn3       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule3      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet3 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo9               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings9            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo10              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings10           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo11              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings11           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo12              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings12           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup1    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem1     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup2    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem2     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup3    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem3     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem4     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.rangeFilterDashboardItem1 = new DevExpress.DashboardCommon.RangeFilterDashboardItem();
     this.dashboardSqlDataSource1   = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.gridDashboardItem1        = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gridDashboardItem2        = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gridDashboardItem3        = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // rangeFilterDashboardItem1
     //
     dimension1.DataMember                        = "DoanhThu_ngaytaodt";
     dimension1.DateTimeGroupInterval             = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     this.rangeFilterDashboardItem1.Argument      = dimension1;
     this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1";
     measure1.DataMember  = "tong dt";
     measure2.DataMember  = "DoanhThuTheoCa_tenCa";
     measure2.SummaryType = DevExpress.DashboardCommon.SummaryType.Count;
     this.rangeFilterDashboardItem1.DataItemRepository.Clear();
     this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.rangeFilterDashboardItem1.DataMember = "DoanhThu";
     this.rangeFilterDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     flowDateTimePeriodLimit1.Offset           = 1;
     dateTimePeriod1.End                = flowDateTimePeriodLimit1;
     dateTimePeriod1.Name               = "Năm Hiện Tại";
     dateTimePeriod1.Start              = flowDateTimePeriodLimit2;
     flowDateTimePeriodLimit3.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit3.Offset    = 1;
     dateTimePeriod2.End                = flowDateTimePeriodLimit3;
     dateTimePeriod2.Name               = "Tháng Hiện Tại";
     flowDateTimePeriodLimit4.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod2.Start              = flowDateTimePeriodLimit4;
     dateTimePeriod3.End                = flowDateTimePeriodLimit5;
     dateTimePeriod3.Name               = "Năm Trước";
     flowDateTimePeriodLimit6.Offset    = -1;
     dateTimePeriod3.Start              = flowDateTimePeriodLimit6;
     flowDateTimePeriodLimit7.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod4.End                = flowDateTimePeriodLimit7;
     dateTimePeriod4.Name               = "Tháng trước";
     flowDateTimePeriodLimit8.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit8.Offset    = -1;
     dateTimePeriod4.Start              = flowDateTimePeriodLimit8;
     flowDateTimePeriodLimit9.Interval  = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod5.End                = flowDateTimePeriodLimit9;
     dateTimePeriod5.Name               = "3 tháng trước";
     flowDateTimePeriodLimit10.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit10.Offset   = -3;
     dateTimePeriod5.Start              = flowDateTimePeriodLimit10;
     flowDateTimePeriodLimit11.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod6.End                = flowDateTimePeriodLimit11;
     dateTimePeriod6.Name               = "6 tháng trước";
     flowDateTimePeriodLimit12.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit12.Offset   = -6;
     dateTimePeriod6.Start              = flowDateTimePeriodLimit12;
     flowDateTimePeriodLimit13.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod7.End                = flowDateTimePeriodLimit13;
     dateTimePeriod7.Name               = "12 tháng trước";
     flowDateTimePeriodLimit14.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit14.Offset   = -12;
     dateTimePeriod7.Start              = flowDateTimePeriodLimit14;
     this.rangeFilterDashboardItem1.DateTimePeriods.AddRange(new DevExpress.DashboardCommon.DateTimePeriod[] {
         dateTimePeriod1,
         dateTimePeriod2,
         dateTimePeriod3,
         dateTimePeriod4,
         dateTimePeriod5,
         dateTimePeriod6,
         dateTimePeriod7
     });
     this.rangeFilterDashboardItem1.DefaultDateTimePeriodName = "Năm Hiện Tại";
     this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.rangeFilterDashboardItem1.Name = "Bộ Lọc Doanh Thu theo năm tháng";
     simpleSeries1.SeriesType            = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries1.AddDataItem("Value", measure2);
     simpleSeries2.SeriesType = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries2.AddDataItem("Value", measure1);
     this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] {
         simpleSeries1,
         simpleSeries2
     });
     this.rangeFilterDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource1
     //
     calculatedField1.DataMember = "DoanhThu";
     calculatedField1.Expression = "[DoanhThuTheoCa_tiendelai] + [DoanhThuTheoCa_doanhthutheoca] + [DoanhThuTheoCa_do" +
                                   "anhthukhac]";
     calculatedField1.Name = "tong dt";
     this.dashboardSqlDataSource1.CalculatedFields.AddRange(new DevExpress.DashboardCommon.CalculatedField[] {
         calculatedField1
     });
     this.dashboardSqlDataSource1.ComponentName        = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName       = "localhost_BaoCaoThuChi_Connection";
     msSqlConnectionParameters1.AuthorizationType      = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.Windows;
     msSqlConnectionParameters1.DatabaseName           = "BaoCaoThuChi";
     msSqlConnectionParameters1.ServerName             = "localhost";
     this.dashboardSqlDataSource1.ConnectionParameters = msSqlConnectionParameters1;
     this.dashboardSqlDataSource1.Name = "SQL Data Source 1";
     columnExpression1.ColumnName      = "ngaytaodt";
     table1.MetaSerializable           = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"110\" />";
     table1.Name                  = "DoanhThu";
     columnExpression1.Table      = table1;
     column1.Expression           = columnExpression1;
     columnExpression2.ColumnName = "tenCa";
     table2.MetaSerializable      = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"194\" />";
     table2.Name                  = "DoanhThuTheoCa";
     columnExpression2.Table      = table2;
     column2.Expression           = columnExpression2;
     column3.Alias                = "DoanhThuTheoCa_doanhthuID";
     columnExpression3.ColumnName = "doanhthuID";
     columnExpression3.Table      = table2;
     column3.Expression           = columnExpression3;
     columnExpression4.ColumnName = "tiendelai";
     columnExpression4.Table      = table2;
     column4.Expression           = columnExpression4;
     columnExpression5.ColumnName = "doanhthutheoca";
     columnExpression5.Table      = table2;
     column5.Expression           = columnExpression5;
     columnExpression6.ColumnName = "doanhthukhac";
     columnExpression6.Table      = table2;
     column6.Expression           = columnExpression6;
     columnExpression7.ColumnName = "doanhthuID";
     columnExpression7.Table      = table1;
     column7.Expression           = columnExpression7;
     columnExpression8.ColumnName = "caID";
     columnExpression8.Table      = table2;
     column8.Expression           = columnExpression8;
     allColumns1.Table            = table2;
     allColumns2.Table            = table1;
     selectQuery1.Columns.Add(column1);
     selectQuery1.Columns.Add(column2);
     selectQuery1.Columns.Add(column3);
     selectQuery1.Columns.Add(column4);
     selectQuery1.Columns.Add(column5);
     selectQuery1.Columns.Add(column6);
     selectQuery1.Columns.Add(column7);
     selectQuery1.Columns.Add(column8);
     selectQuery1.Columns.Add(allColumns1);
     selectQuery1.Columns.Add(allColumns2);
     selectQuery1.Name = "DoanhThu";
     relationColumnInfo1.NestedKeyColumn = "doanhthuID";
     relationColumnInfo1.ParentKeyColumn = "doanhthuID";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table2;
     join1.Parent = table1;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Tables.Add(table1);
     selectQuery1.Tables.Add(table2);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // gridDashboardItem1
     //
     dimension2.DataMember            = "DoanhThu_ngaytaodt";
     dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension2.Name                 = "Ngày tạo Doanh Thu";
     dimension2.SortOrder            = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     gridDimensionColumn1.FixedWidth = 57.491674693821388D;
     gridDimensionColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal1
     });
     gridDimensionColumn1.Weight    = 97.358900144717822D;
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension2);
     dimension3.DataMember          = "tenCa";
     dimension3.Name                = "Tên Ca";
     gridDimensionColumn2.Weight    = 26.049204052098414D;
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.FitToContent;
     gridDimensionColumn2.AddDataItem("Dimension", dimension3);
     measure3.DataMember = "tong dt";
     measure3.NumericFormat.CurrencyCultureName = "vi-VN";
     measure3.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn1.Name    = "Tổng";
     gridColumnTotal2.TotalType = DevExpress.DashboardCommon.GridColumnTotalType.Sum;
     gridMeasureColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal2
     });
     gridMeasureColumn1.Weight    = 101.59189580318382D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure3);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure3, "DataItem2");
     this.gridDashboardItem1.DataMember = "DoanhThu";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     iconSettings1.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo1.StyleSettings           = iconSettings1;
     rangeInfo1.Value         = 0D;
     iconSettings2.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo2.StyleSettings = iconSettings2;
     rangeInfo2.Value         = 25D;
     iconSettings3.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo3.StyleSettings = iconSettings3;
     rangeInfo3.Value         = 50D;
     iconSettings4.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo4.StyleSettings = iconSettings4;
     rangeInfo4.Value         = 75D;
     formatConditionRangeSet1.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo1,
         rangeInfo2,
         rangeInfo3,
         rangeInfo4
     });
     formatConditionRangeSet1.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule1.Condition      = formatConditionRangeSet1;
     gridItemFormatRule1.DataItem       = measure3;
     gridItemFormatRule1.Name           = "FormatRule 1";
     this.gridDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule1
     });
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Chi tiết theo ngày";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem2
     //
     dimension4.DataMember            = "DoanhThu_ngaytaodt";
     dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     dimension4.Name           = "Ngày tạo Doanh Thu (Month-Year)";
     dimension4.SortOrder      = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     gridDimensionColumn3.Name = "Tháng Năm";
     gridDimensionColumn3.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal3
     });
     gridDimensionColumn3.Weight    = 78.468208092485554D;
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension4);
     measure4.DataMember = "tong dt";
     measure4.Name       = "Tổng";
     measure4.NumericFormat.CurrencyCultureName = "vi-VN";
     measure4.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn2.Weight    = 71.531791907514446D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure4);
     this.gridDashboardItem2.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn3,
         gridMeasureColumn2
     });
     this.gridDashboardItem2.ComponentName = "gridDashboardItem2";
     this.gridDashboardItem2.DataItemRepository.Clear();
     this.gridDashboardItem2.DataItemRepository.Add(dimension4, "DataItem0");
     this.gridDashboardItem2.DataItemRepository.Add(measure4, "DataItem1");
     this.gridDashboardItem2.DataMember = "DoanhThu";
     this.gridDashboardItem2.DataSource = this.dashboardSqlDataSource1;
     iconSettings5.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo5.StyleSettings           = iconSettings5;
     rangeInfo5.Value         = 0D;
     iconSettings6.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo6.StyleSettings = iconSettings6;
     rangeInfo6.Value         = 25D;
     iconSettings7.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo7.StyleSettings = iconSettings7;
     rangeInfo7.Value         = 50D;
     iconSettings8.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo8.StyleSettings = iconSettings8;
     rangeInfo8.Value         = 75D;
     formatConditionRangeSet2.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo5,
         rangeInfo6,
         rangeInfo7,
         rangeInfo8
     });
     formatConditionRangeSet2.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule2.Condition      = formatConditionRangeSet2;
     gridItemFormatRule2.DataItem       = measure4;
     gridItemFormatRule2.Name           = "FormatRule 1";
     this.gridDashboardItem2.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule2
     });
     this.gridDashboardItem2.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem2.Name        = "Tổng theo Tháng";
     this.gridDashboardItem2.ShowCaption = true;
     //
     // gridDashboardItem3
     //
     dimension5.DataMember          = "DoanhThu_ngaytaodt";
     gridDimensionColumn4.Name      = "Năm";
     gridDimensionColumn4.Weight    = 95.717344753747327D;
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension5);
     measure5.DataMember = "tong dt";
     measure5.NumericFormat.CurrencyCultureName = "vi-VN";
     measure5.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn3.Name      = "Tổng";
     gridMeasureColumn3.Weight    = 54.282655246252673D;
     gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn3.AddDataItem("Measure", measure5);
     this.gridDashboardItem3.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn4,
         gridMeasureColumn3
     });
     this.gridDashboardItem3.ComponentName = "gridDashboardItem3";
     this.gridDashboardItem3.DataItemRepository.Clear();
     this.gridDashboardItem3.DataItemRepository.Add(dimension5, "DataItem0");
     this.gridDashboardItem3.DataItemRepository.Add(measure5, "DataItem1");
     this.gridDashboardItem3.DataMember = "DoanhThu";
     this.gridDashboardItem3.DataSource = this.dashboardSqlDataSource1;
     iconSettings9.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo9.StyleSettings           = iconSettings9;
     rangeInfo9.Value          = 0D;
     iconSettings10.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo10.StyleSettings = iconSettings10;
     rangeInfo10.Value         = 25D;
     iconSettings11.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo11.StyleSettings = iconSettings11;
     rangeInfo11.Value         = 50D;
     iconSettings12.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo12.StyleSettings = iconSettings12;
     rangeInfo12.Value         = 75D;
     formatConditionRangeSet3.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo9,
         rangeInfo10,
         rangeInfo11,
         rangeInfo12
     });
     formatConditionRangeSet3.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule3.Condition      = formatConditionRangeSet3;
     gridItemFormatRule3.DataItem       = measure5;
     gridItemFormatRule3.Name           = "FormatRule 1";
     this.gridDashboardItem3.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule3
     });
     this.gridDashboardItem3.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem3.Name        = "Tổng theo Năm";
     this.gridDashboardItem3.ShowCaption = true;
     //
     // Report_DTBanHang
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.rangeFilterDashboardItem1,
         this.gridDashboardItem2,
         this.gridDashboardItem3
     });
     dashboardLayoutItem1.DashboardItem = this.rangeFilterDashboardItem1;
     dashboardLayoutItem1.Weight        = 40.465116279069768D;
     dashboardLayoutItem2.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem2.Weight        = 65.9963436928702D;
     dashboardLayoutItem3.DashboardItem = this.gridDashboardItem2;
     dashboardLayoutItem3.Weight        = 50.520833333333336D;
     dashboardLayoutItem4.DashboardItem = this.gridDashboardItem3;
     dashboardLayoutItem4.Weight        = 49.479166666666664D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 34.0036563071298D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem2,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 59.534883720930232D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutGroup2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn2    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1 = new DevExpress.DashboardCommon.GridDashboardItem();
     this.bindingSource1     = new System.Windows.Forms.BindingSource(this.components);
     this.dataSource2        = new DevExpress.DashboardCommon.DataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     measure1.DataMember = "OrdDt";
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember = "Qty";
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridMeasureColumn1,
         gridMeasureColumn2
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.gridDashboardItem1.DataSource          = this.dataSource2;
     this.gridDashboardItem1.IgnoreMasterFilters = false;
     this.gridDashboardItem1.InteractivityOptions.IsDrillDownEnabled = true;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // bindingSource1
     //
     this.bindingSource1.DataSource = typeof(ERP.Domain.Order.ViewModel.OrderDashboardModel);
     //
     // dataSource2
     //
     this.dataSource2.ComponentName      = "dataSource2";
     this.dataSource2.Data               = this.bindingSource1;
     this.dataSource2.DataProcessingMode = DevExpress.DashboardCommon.DataProcessingMode.Client;
     this.dataSource2.Name               = "Order";
     //
     // OrderDashboardControl
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.DataSource[] {
         this.dataSource2
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 100D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.Orientation = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataSource2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
Exemple #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries2         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup3 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem4  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1          = new DevExpress.DashboardCommon.GridDashboardItem();
     this.treeViewDashboardItem1      = new DevExpress.DashboardCommon.TreeViewDashboardItem();
     this.chartDashboardItem1         = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.rangeFilterDashboardItem1   = new DevExpress.DashboardCommon.RangeFilterDashboardItem();
     this.dashboardExtractDataSource1 = new DevExpress.DashboardCommon.DashboardExtractDataSource();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "Sales Person";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Extended Price";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataMember = "";
     this.gridDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.gridDashboardItem1.InteractivityOptions.MasterFilterMode    = DevExpress.DashboardCommon.DashboardItemMasterFilterMode.Single;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = false;
     //
     // treeViewDashboardItem1
     //
     this.treeViewDashboardItem1.ComponentName = "treeViewDashboardItem1";
     dimension2.DataMember = "CategoryName";
     dimension2.Name       = "Category";
     dimension3.DataMember = "ProductName";
     dimension3.Name       = "Product";
     this.treeViewDashboardItem1.DataItemRepository.Clear();
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.treeViewDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.treeViewDashboardItem1.DataMember = "";
     this.treeViewDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.treeViewDashboardItem1.FilterDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2,
         dimension3
     });
     this.treeViewDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.treeViewDashboardItem1.Name        = "Category";
     this.treeViewDashboardItem1.ShowCaption = true;
     //
     // chartDashboardItem1
     //
     dimension4.DataMember = "CategoryName";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     dimension5.DataMember = "OrderDate";
     measure2.DataMember   = "Extended Price";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(dimension5, "DataItem3");
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension4, "DataItem1");
     this.chartDashboardItem1.DataMember = "";
     this.chartDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Sales by Catgory";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.SeriesDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension5
     });
     this.chartDashboardItem1.ShowCaption = true;
     //
     // rangeFilterDashboardItem1
     //
     dimension6.DataMember                        = "OrderDate";
     dimension6.DateTimeGroupInterval             = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     this.rangeFilterDashboardItem1.Argument      = dimension6;
     this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1";
     measure3.DataMember = "Extended Price";
     this.rangeFilterDashboardItem1.DataItemRepository.Clear();
     this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension6, "DataItem0");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure3, "DataItem1");
     this.rangeFilterDashboardItem1.DataMember = "";
     this.rangeFilterDashboardItem1.DataSource = this.dashboardExtractDataSource1;
     this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.rangeFilterDashboardItem1.Name = "Range Filter 1";
     simpleSeries2.SeriesType            = DevExpress.DashboardCommon.SimpleSeriesType.Area;
     simpleSeries2.AddDataItem("Value", measure3);
     this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] {
         simpleSeries2
     });
     this.rangeFilterDashboardItem1.ShowCaption = false;
     //
     // dashboardExtractDataSource1
     //
     this.dashboardExtractDataSource1.ComponentName = "dashboardExtractDataSource1";
     this.dashboardExtractDataSource1.FileName      = "C:\\Data\\SalesPerson.dat";
     this.dashboardExtractDataSource1.Name          = "Extract Data Source 1";
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExtractDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.treeViewDashboardItem1,
         this.chartDashboardItem1,
         this.rangeFilterDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 50D;
     dashboardLayoutItem2.DashboardItem = this.treeViewDashboardItem1;
     dashboardLayoutItem2.Weight        = 50D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 28.895184135977338D;
     dashboardLayoutItem3.DashboardItem  = this.chartDashboardItem1;
     dashboardLayoutItem3.Weight         = 71.104815864022669D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup3,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 79.935275080906152D;
     dashboardLayoutItem4.DashboardItem  = this.rangeFilterDashboardItem1;
     dashboardLayoutItem4.Weight         = 20.064724919093852D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     this.ConfigureDataConnection += new DevExpress.DashboardCommon.DashboardConfigureDataConnectionEventHandler(this.Dashboard1_ConfigureDataConnection);
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.treeViewDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExtractDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension               dimension1                = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure                 measure1                  = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod1           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit1  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit2  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod2           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit3  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit4  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod3           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit5  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit6  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod4           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit7  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit8  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod5           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit9  = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit10 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod6           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit11 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit12 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.DateTimePeriod          dateTimePeriod7           = new DevExpress.DashboardCommon.DateTimePeriod();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit13 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.FlowDateTimePeriodLimit flowDateTimePeriodLimit14 = new DevExpress.DashboardCommon.FlowDateTimePeriodLimit();
     DevExpress.DashboardCommon.SimpleSeries            simpleSeries1             = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters msSqlConnectionParameters1 = new DevExpress.DataAccess.ConnectionParameters.MsSqlConnectionParameters();
     DevExpress.DataAccess.Sql.SelectQuery              selectQuery1       = new DevExpress.DataAccess.Sql.SelectQuery();
     DevExpress.DataAccess.Sql.Column                   column1            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression1  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table1             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column2            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression2  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table2             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column3            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression3  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column4            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression4  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column5            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression5  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column6            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression6  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column7            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression7  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column8            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression8  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Table                    table3             = new DevExpress.DataAccess.Sql.Table();
     DevExpress.DataAccess.Sql.Column                   column9            = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression9  = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Column                   column10           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression         columnExpression10 = new DevExpress.DataAccess.Sql.ColumnExpression();
     DevExpress.DataAccess.Sql.Join                     join1 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo       relationColumnInfo1 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.Join                     join2 = new DevExpress.DataAccess.Sql.Join();
     DevExpress.DataAccess.Sql.RelationColumnInfo       relationColumnInfo2      = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     System.ComponentModel.ComponentResourceManager     resources                = new System.ComponentModel.ComponentResourceManager(typeof(Report_TienConLaiCC));
     DevExpress.DashboardCommon.Dimension               dimension2               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn1     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal1         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.Dimension               dimension3               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn2     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure2                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn1       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule1      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet1 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo1               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings1            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo2               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings2            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo3               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings3            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo4               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings4            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.Dimension               dimension4               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn3     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.GridColumnTotal         gridColumnTotal2         = new DevExpress.DashboardCommon.GridColumnTotal();
     DevExpress.DashboardCommon.Dimension               dimension5               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn4     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure3                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn2       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule2      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet2 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo5               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings5            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo6               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings6            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo7               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings7            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.Dimension               dimension6               = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn     gridDimensionColumn5     = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure                 measure4                 = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn       gridMeasureColumn3       = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.GridItemFormatRule      gridItemFormatRule3      = new DevExpress.DashboardCommon.GridItemFormatRule();
     DevExpress.DashboardCommon.FormatConditionRangeSet formatConditionRangeSet3 = new DevExpress.DashboardCommon.FormatConditionRangeSet();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo8               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings8            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo9               = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings9            = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo10              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings10           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.RangeInfo               rangeInfo11              = new DevExpress.DashboardCommon.RangeInfo();
     DevExpress.DashboardCommon.IconSettings            iconSettings11           = new DevExpress.DashboardCommon.IconSettings();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup1    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem1     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup2    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem2     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutGroup    dashboardLayoutGroup3    = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem3     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem     dashboardLayoutItem4     = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.rangeFilterDashboardItem1 = new DevExpress.DashboardCommon.RangeFilterDashboardItem();
     this.dashboardSqlDataSource1   = new DevExpress.DashboardCommon.DashboardSqlDataSource();
     this.gridDashboardItem1        = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gridDashboardItem2        = new DevExpress.DashboardCommon.GridDashboardItem();
     this.gridDashboardItem3        = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // rangeFilterDashboardItem1
     //
     dimension1.DataMember = "ngaytaodt";
     dimension1.DateTimeFormat.ExactDateFormat = DevExpress.DashboardCommon.ExactDateFormat.Month;
     dimension1.DateTimeGroupInterval          = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     measure1.DataMember                          = "tienconlaitheoca";
     dimension1.TopNOptions.Measure               = measure1;
     this.rangeFilterDashboardItem1.Argument      = dimension1;
     this.rangeFilterDashboardItem1.ComponentName = "rangeFilterDashboardItem1";
     this.rangeFilterDashboardItem1.DataItemRepository.Clear();
     this.rangeFilterDashboardItem1.DataItemRepository.Add(dimension1, "DataItem2");
     this.rangeFilterDashboardItem1.DataItemRepository.Add(measure1, "DataItem0");
     this.rangeFilterDashboardItem1.DataMember = "DoanhThu";
     this.rangeFilterDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     flowDateTimePeriodLimit1.Interval         = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit1.Offset           = 1;
     dateTimePeriod1.End  = flowDateTimePeriodLimit1;
     dateTimePeriod1.Name = "This Month";
     flowDateTimePeriodLimit2.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod1.Start             = flowDateTimePeriodLimit2;
     flowDateTimePeriodLimit3.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod2.End  = flowDateTimePeriodLimit3;
     dateTimePeriod2.Name = "Last Month";
     flowDateTimePeriodLimit4.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit4.Offset   = -1;
     dateTimePeriod2.Start             = flowDateTimePeriodLimit4;
     flowDateTimePeriodLimit5.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod3.End  = flowDateTimePeriodLimit5;
     dateTimePeriod3.Name = "Last 3 Months";
     flowDateTimePeriodLimit6.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit6.Offset   = -3;
     dateTimePeriod3.Start             = flowDateTimePeriodLimit6;
     flowDateTimePeriodLimit7.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod4.End  = flowDateTimePeriodLimit7;
     dateTimePeriod4.Name = "Last 6 Months";
     flowDateTimePeriodLimit8.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit8.Offset   = -6;
     dateTimePeriod4.Start             = flowDateTimePeriodLimit8;
     flowDateTimePeriodLimit9.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     dateTimePeriod5.End  = flowDateTimePeriodLimit9;
     dateTimePeriod5.Name = "Last 12 Months";
     flowDateTimePeriodLimit10.Interval = DevExpress.DashboardCommon.DateTimeInterval.Month;
     flowDateTimePeriodLimit10.Offset   = -12;
     dateTimePeriod5.Start            = flowDateTimePeriodLimit10;
     dateTimePeriod6.End              = flowDateTimePeriodLimit11;
     dateTimePeriod6.Name             = "Last Year";
     flowDateTimePeriodLimit12.Offset = -1;
     dateTimePeriod6.Start            = flowDateTimePeriodLimit12;
     dateTimePeriod7.End              = flowDateTimePeriodLimit13;
     dateTimePeriod7.Name             = "Last 2 Years";
     flowDateTimePeriodLimit14.Offset = -2;
     dateTimePeriod7.Start            = flowDateTimePeriodLimit14;
     this.rangeFilterDashboardItem1.DateTimePeriods.AddRange(new DevExpress.DashboardCommon.DateTimePeriod[] {
         dateTimePeriod1,
         dateTimePeriod2,
         dateTimePeriod3,
         dateTimePeriod4,
         dateTimePeriod5,
         dateTimePeriod6,
         dateTimePeriod7
     });
     this.rangeFilterDashboardItem1.DefaultDateTimePeriodName = "This Month";
     this.rangeFilterDashboardItem1.InteractivityOptions.IgnoreMasterFilters = true;
     this.rangeFilterDashboardItem1.Name = "Filter theo tháng năm";
     simpleSeries1.SeriesType            = DevExpress.DashboardCommon.SimpleSeriesType.StackedBar;
     simpleSeries1.AddDataItem("Value", measure1);
     this.rangeFilterDashboardItem1.Series.AddRange(new DevExpress.DashboardCommon.SimpleSeries[] {
         simpleSeries1
     });
     this.rangeFilterDashboardItem1.ShowCaption = true;
     //
     // dashboardSqlDataSource1
     //
     this.dashboardSqlDataSource1.ComponentName        = "dashboardSqlDataSource1";
     this.dashboardSqlDataSource1.ConnectionName       = "localhost_BaoCaoThuChi_Connection";
     msSqlConnectionParameters1.AuthorizationType      = DevExpress.DataAccess.ConnectionParameters.MsSqlAuthorizationType.Windows;
     msSqlConnectionParameters1.DatabaseName           = "BaoCaoThuChi";
     msSqlConnectionParameters1.ServerName             = ".";
     this.dashboardSqlDataSource1.ConnectionParameters = msSqlConnectionParameters1;
     this.dashboardSqlDataSource1.Name = "SQL Data Source 1";
     columnExpression1.ColumnName      = "ngaytaodt";
     table1.MetaSerializable           = "<Meta X=\"30\" Y=\"30\" Width=\"125\" Height=\"110\" />";
     table1.Name                   = "DoanhThu";
     columnExpression1.Table       = table1;
     column1.Expression            = columnExpression1;
     columnExpression2.ColumnName  = "caID";
     table2.MetaSerializable       = "<Meta X=\"185\" Y=\"30\" Width=\"125\" Height=\"194\" />";
     table2.Name                   = "DoanhThuTheoCa";
     columnExpression2.Table       = table2;
     column2.Expression            = columnExpression2;
     columnExpression3.ColumnName  = "tenCa";
     columnExpression3.Table       = table2;
     column3.Expression            = columnExpression3;
     columnExpression4.ColumnName  = "tiendelai";
     columnExpression4.Table       = table2;
     column4.Expression            = columnExpression4;
     columnExpression5.ColumnName  = "doanhthutheoca";
     columnExpression5.Table       = table2;
     column5.Expression            = columnExpression5;
     columnExpression6.ColumnName  = "doanhthukhac";
     columnExpression6.Table       = table2;
     column6.Expression            = columnExpression6;
     columnExpression7.ColumnName  = "doanhthuID";
     columnExpression7.Table       = table1;
     column7.Expression            = columnExpression7;
     columnExpression8.ColumnName  = "tienconlaitheoca";
     table3.MetaSerializable       = "<Meta X=\"340\" Y=\"30\" Width=\"125\" Height=\"131\" />";
     table3.Name                   = "TienConLaiTheoCa";
     columnExpression8.Table       = table3;
     column8.Expression            = columnExpression8;
     column9.Alias                 = "TienConLaiTheoCa_caID";
     columnExpression9.ColumnName  = "caID";
     columnExpression9.Table       = table3;
     column9.Expression            = columnExpression9;
     columnExpression10.ColumnName = "tlID";
     columnExpression10.Table      = table3;
     column10.Expression           = columnExpression10;
     selectQuery1.Columns.Add(column1);
     selectQuery1.Columns.Add(column2);
     selectQuery1.Columns.Add(column3);
     selectQuery1.Columns.Add(column4);
     selectQuery1.Columns.Add(column5);
     selectQuery1.Columns.Add(column6);
     selectQuery1.Columns.Add(column7);
     selectQuery1.Columns.Add(column8);
     selectQuery1.Columns.Add(column9);
     selectQuery1.Columns.Add(column10);
     selectQuery1.Name = "DoanhThu";
     relationColumnInfo1.NestedKeyColumn = "doanhthuID";
     relationColumnInfo1.ParentKeyColumn = "doanhthuID";
     join1.KeyColumns.Add(relationColumnInfo1);
     join1.Nested = table2;
     join1.Parent = table1;
     relationColumnInfo2.NestedKeyColumn = "caID";
     relationColumnInfo2.ParentKeyColumn = "caID";
     join2.KeyColumns.Add(relationColumnInfo2);
     join2.Nested = table3;
     join2.Parent = table2;
     selectQuery1.Relations.Add(join1);
     selectQuery1.Relations.Add(join2);
     selectQuery1.Tables.Add(table1);
     selectQuery1.Tables.Add(table2);
     selectQuery1.Tables.Add(table3);
     this.dashboardSqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.dashboardSqlDataSource1.ResultSchemaSerializable = resources.GetString("dashboardSqlDataSource1.ResultSchemaSerializable");
     //
     // gridDashboardItem1
     //
     dimension2.DataMember            = "ngaytaodt";
     dimension2.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     dimension2.SortOrder             = DevExpress.DashboardCommon.DimensionSortOrder.Descending;
     gridDimensionColumn1.Name        = "Ngày";
     gridDimensionColumn1.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal1
     });
     gridDimensionColumn1.Weight    = 51.772793053545584D;
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension2);
     dimension3.DataMember          = "tenCa";
     gridDimensionColumn2.Name      = "Tên Ca";
     gridDimensionColumn2.Weight    = 59.261939218523878D;
     gridDimensionColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn2.AddDataItem("Dimension", dimension3);
     measure2.DataMember = "tienconlaitheoca";
     measure2.NumericFormat.CurrencyCultureName = "vi-VN";
     measure2.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn1.Name      = "Số Tiền Cuối Ca";
     gridMeasureColumn1.Weight    = 113.96526772793054D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure2);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridDimensionColumn2,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem0");
     this.gridDashboardItem1.DataMember = "DoanhThu";
     this.gridDashboardItem1.DataSource = this.dashboardSqlDataSource1;
     iconSettings1.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo1.StyleSettings           = iconSettings1;
     rangeInfo1.Value         = 0D;
     iconSettings2.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo2.StyleSettings = iconSettings2;
     rangeInfo2.Value         = 25D;
     iconSettings3.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo3.StyleSettings = iconSettings3;
     rangeInfo3.Value         = 50D;
     iconSettings4.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo4.StyleSettings = iconSettings4;
     rangeInfo4.Value         = 75D;
     formatConditionRangeSet1.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo1,
         rangeInfo2,
         rangeInfo3,
         rangeInfo4
     });
     formatConditionRangeSet1.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule1.Condition      = formatConditionRangeSet1;
     gridItemFormatRule1.DataItem       = measure2;
     gridItemFormatRule1.Name           = "FormatRule 1";
     this.gridDashboardItem1.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule1
     });
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Chi tiết theo ngày";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // gridDashboardItem2
     //
     dimension4.DataMember            = "ngaytaodt";
     dimension4.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.MonthYear;
     gridDimensionColumn3.Name        = "Tháng Năm";
     gridDimensionColumn3.Totals.AddRange(new DevExpress.DashboardCommon.GridColumnTotal[] {
         gridColumnTotal2
     });
     gridDimensionColumn3.Weight    = 60.910404624277454D;
     gridDimensionColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn3.AddDataItem("Dimension", dimension4);
     dimension5.DataMember          = "tenCa";
     gridDimensionColumn4.Name      = "Tên Ca";
     gridDimensionColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn4.AddDataItem("Dimension", dimension5);
     measure3.DataMember = "tienconlaitheoca";
     measure3.NumericFormat.CurrencyCultureName = "vi-VN";
     measure3.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn2.Name      = "Tổng";
     gridMeasureColumn2.Weight    = 89.089595375722539D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure3);
     this.gridDashboardItem2.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn3,
         gridDimensionColumn4,
         gridMeasureColumn2
     });
     this.gridDashboardItem2.ComponentName = "gridDashboardItem2";
     this.gridDashboardItem2.DataItemRepository.Clear();
     this.gridDashboardItem2.DataItemRepository.Add(dimension4, "DataItem0");
     this.gridDashboardItem2.DataItemRepository.Add(measure3, "DataItem1");
     this.gridDashboardItem2.DataItemRepository.Add(dimension5, "DataItem2");
     this.gridDashboardItem2.DataMember = "DoanhThu";
     this.gridDashboardItem2.DataSource = this.dashboardSqlDataSource1;
     iconSettings5.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo5.StyleSettings           = iconSettings5;
     rangeInfo5.Value         = 0D;
     iconSettings6.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowSideArrow;
     rangeInfo6.StyleSettings = iconSettings6;
     rangeInfo6.Value         = 33D;
     iconSettings7.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo7.StyleSettings = iconSettings7;
     rangeInfo7.Value         = 67D;
     formatConditionRangeSet2.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo5,
         rangeInfo6,
         rangeInfo7
     });
     formatConditionRangeSet2.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule2.Condition      = formatConditionRangeSet2;
     gridItemFormatRule2.DataItem       = measure3;
     gridItemFormatRule2.Name           = "FormatRule 1";
     this.gridDashboardItem2.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule2
     });
     this.gridDashboardItem2.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem2.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem2.Name        = "Tổng theo tháng";
     this.gridDashboardItem2.ShowCaption = true;
     //
     // gridDashboardItem3
     //
     dimension6.DataMember          = "ngaytaodt";
     gridDimensionColumn5.Name      = "Năm";
     gridDimensionColumn5.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn5.AddDataItem("Dimension", dimension6);
     measure4.DataMember = "tienconlaitheoca";
     measure4.NumericFormat.CurrencyCultureName = "vi-VN";
     measure4.NumericFormat.FormatType          = DevExpress.DashboardCommon.DataItemNumericFormatType.Currency;
     gridMeasureColumn3.Name      = "Tổng";
     gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn3.AddDataItem("Measure", measure4);
     this.gridDashboardItem3.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn5,
         gridMeasureColumn3
     });
     this.gridDashboardItem3.ComponentName = "gridDashboardItem3";
     this.gridDashboardItem3.DataItemRepository.Clear();
     this.gridDashboardItem3.DataItemRepository.Add(dimension6, "DataItem0");
     this.gridDashboardItem3.DataItemRepository.Add(measure4, "DataItem1");
     this.gridDashboardItem3.DataMember = "DoanhThu";
     this.gridDashboardItem3.DataSource = this.dashboardSqlDataSource1;
     iconSettings8.IconType             = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalRedDownArrow;
     rangeInfo8.StyleSettings           = iconSettings8;
     rangeInfo8.Value          = 0D;
     iconSettings9.IconType    = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowDownInclineArrow;
     rangeInfo9.StyleSettings  = iconSettings9;
     rangeInfo9.Value          = 25D;
     iconSettings10.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalYellowUpInclineArrow;
     rangeInfo10.StyleSettings = iconSettings10;
     rangeInfo10.Value         = 50D;
     iconSettings11.IconType   = DevExpress.DashboardCommon.FormatConditionIconType.DirectionalGreenArrowUp;
     rangeInfo11.StyleSettings = iconSettings11;
     rangeInfo11.Value         = 75D;
     formatConditionRangeSet3.RangeSet.AddRange(new DevExpress.DashboardCommon.RangeInfo[] {
         rangeInfo8,
         rangeInfo9,
         rangeInfo10,
         rangeInfo11
     });
     formatConditionRangeSet3.ValueType = DevExpress.DashboardCommon.DashboardFormatConditionValueType.Percent;
     gridItemFormatRule3.Condition      = formatConditionRangeSet3;
     gridItemFormatRule3.DataItem       = measure4;
     gridItemFormatRule3.Name           = "FormatRule 1";
     this.gridDashboardItem3.FormatRules.AddRange(new DevExpress.DashboardCommon.GridItemFormatRule[] {
         gridItemFormatRule3
     });
     this.gridDashboardItem3.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem3.Name        = "Tổng theo Năm";
     this.gridDashboardItem3.ShowCaption = true;
     //
     // Report_TienConLaiCC
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardSqlDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.rangeFilterDashboardItem1,
         this.gridDashboardItem2,
         this.gridDashboardItem3
     });
     dashboardLayoutItem1.DashboardItem = this.rangeFilterDashboardItem1;
     dashboardLayoutItem1.Weight        = 29.154929577464788D;
     dashboardLayoutItem2.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem2.Weight        = 59.3727726300784D;
     dashboardLayoutItem3.DashboardItem = this.gridDashboardItem2;
     dashboardLayoutItem3.Weight        = 50.099403578528829D;
     dashboardLayoutItem4.DashboardItem = this.gridDashboardItem3;
     dashboardLayoutItem4.Weight        = 49.900596421471171D;
     dashboardLayoutGroup3.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem3,
         dashboardLayoutItem4
     });
     dashboardLayoutGroup3.DashboardItem = null;
     dashboardLayoutGroup3.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup3.Weight        = 40.6272273699216D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem2,
         dashboardLayoutGroup3
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Weight        = 70.845070422535215D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutGroup2
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Báo Cáo Tiền Còn Lại Cuối Ca";
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rangeFilterDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardSqlDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.ChartPane            chartPane1            = new DevExpress.DashboardCommon.ChartPane();
     DevExpress.DashboardCommon.SimpleSeries         simpleSeries1         = new DevExpress.DashboardCommon.SimpleSeries();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup2 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem2  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem3  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     this.nwindDataSet1              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.chartDashboardItem1        = new DevExpress.DashboardCommon.ChartDashboardItem();
     this.pivotDashboardItem1        = new DevExpress.DashboardCommon.PivotDashboardItem();
     this.nwindDataSet2              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     this.nwindDataSet3              = new Dashboard_UnderlyingDataWin.nwindDataSet();
     this.salesPersonTableAdapter1   = new Dashboard_UnderlyingDataWin.nwindDataSetTableAdapters.SalesPersonTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "Sales Person";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "Extended Price";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = false;
     //
     // nwindDataSet1
     //
     this.nwindDataSet1.DataSetName             = "nwindDataSet";
     this.nwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // chartDashboardItem1
     //
     dimension2.DataMember = "OrderDate";
     dimension2.Name       = "Order Date";
     this.chartDashboardItem1.Arguments.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension2
     });
     this.chartDashboardItem1.AxisX.TitleVisible = false;
     this.chartDashboardItem1.ComponentName      = "chartDashboardItem1";
     measure2.DataMember = "Extended Price";
     measure2.Name       = "Extended Price";
     this.chartDashboardItem1.DataItemRepository.Clear();
     this.chartDashboardItem1.DataItemRepository.Add(measure2, "DataItem0");
     this.chartDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.chartDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.chartDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.chartDashboardItem1.Name = "Chart 1";
     chartPane1.Name = "Pane 1";
     chartPane1.PrimaryAxisY.AlwaysShowZeroLevel   = true;
     chartPane1.PrimaryAxisY.ShowGridLines         = true;
     chartPane1.PrimaryAxisY.TitleVisible          = true;
     chartPane1.SecondaryAxisY.AlwaysShowZeroLevel = true;
     chartPane1.SecondaryAxisY.ShowGridLines       = false;
     chartPane1.SecondaryAxisY.TitleVisible        = true;
     simpleSeries1.AddDataItem("Value", measure2);
     chartPane1.Series.AddRange(new DevExpress.DashboardCommon.ChartSeries[] {
         simpleSeries1
     });
     this.chartDashboardItem1.Panes.AddRange(new DevExpress.DashboardCommon.ChartPane[] {
         chartPane1
     });
     this.chartDashboardItem1.ShowCaption = false;
     //
     // pivotDashboardItem1
     //
     this.pivotDashboardItem1.AutoExpandRowGroups = true;
     dimension3.DataMember = "OrderDate";
     this.pivotDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension3
     });
     this.pivotDashboardItem1.ComponentName = "pivotDashboardItem1";
     measure3.DataMember   = "Extended Price";
     dimension4.DataMember = "CategoryName";
     dimension5.DataMember = "ProductName";
     this.pivotDashboardItem1.DataItemRepository.Clear();
     this.pivotDashboardItem1.DataItemRepository.Add(measure3, "DataItem0");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension3, "DataItem1");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension4, "DataItem2");
     this.pivotDashboardItem1.DataItemRepository.Add(dimension5, "DataItem3");
     this.pivotDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.pivotDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.pivotDashboardItem1.LayoutType = DevExpress.DashboardCommon.PivotLayoutType.Compact;
     this.pivotDashboardItem1.Name       = "Pivot 1";
     this.pivotDashboardItem1.Rows.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension4,
         dimension5
     });
     this.pivotDashboardItem1.ShowCaption = false;
     this.pivotDashboardItem1.Values.AddRange(new DevExpress.DashboardCommon.Measure[] {
         measure3
     });
     //
     // nwindDataSet2
     //
     this.nwindDataSet2.DataSetName             = "nwindDataSet";
     this.nwindDataSet2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataMember    = "SalesPerson";
     this.dashboardObjectDataSource1.DataSource    = this.nwindDataSet3;
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // nwindDataSet3
     //
     this.nwindDataSet3.DataSetName             = "nwindDataSet";
     this.nwindDataSet3.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // salesPersonTableAdapter1
     //
     this.salesPersonTableAdapter1.ClearBeforeFill = true;
     //
     // SalesDashboard
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1,
         this.pivotDashboardItem1,
         this.chartDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 45.811965811965813D;
     dashboardLayoutItem2.DashboardItem = this.chartDashboardItem1;
     dashboardLayoutItem2.Weight        = 54.188034188034187D;
     dashboardLayoutGroup2.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1,
         dashboardLayoutItem2
     });
     dashboardLayoutGroup2.DashboardItem = null;
     dashboardLayoutGroup2.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup2.Weight        = 31.432973805855163D;
     dashboardLayoutItem3.DashboardItem  = this.pivotDashboardItem1;
     dashboardLayoutItem3.Weight         = 68.567026194144844D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutGroup2,
         dashboardLayoutItem3
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot        = dashboardLayoutGroup1;
     this.Title.Text        = "Dashboard";
     this.Title.Visible     = false;
     this.DashboardLoading += new System.EventHandler(this.SalesDashboard_DashboardLoading);
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.chartDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pivotDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardObjectDataSource1 = new DevExpress.DashboardCommon.DashboardObjectDataSource();
     this.gridDashboardItem1         = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardObjectDataSource1
     //
     this.dashboardObjectDataSource1.ComponentName = "dashboardObjectDataSource1";
     this.dashboardObjectDataSource1.DataSource    = typeof(NewProject.MyClass);
     this.dashboardObjectDataSource1.Name          = "Object Data Source 1";
     //
     // gridDashboardItem1
     //
     measure1.DataMember          = "Sales";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     dimension1.DataMember            = "Date";
     dimension1.DateTimeGroupInterval = DevExpress.DashboardCommon.DateTimeGroupInterval.DayMonthYear;
     gridDimensionColumn1.WidthType   = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridMeasureColumn1,
         gridDimensionColumn1
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataSource = this.dashboardObjectDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardObjectDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardObjectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager     resources  = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard1));
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo1 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo2 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo3 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo4 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo5 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo6 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo7 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo8 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.FieldInfo              fieldInfo9 = new DevExpress.DataAccess.Excel.FieldInfo();
     DevExpress.DataAccess.Excel.ExcelWorksheetSettings excelWorksheetSettings1 = new DevExpress.DataAccess.Excel.ExcelWorksheetSettings();
     DevExpress.DataAccess.Excel.ExcelSourceOptions     excelSourceOptions1     = new DevExpress.DataAccess.Excel.ExcelSourceOptions(excelWorksheetSettings1);
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.GridDimensionColumn  gridDimensionColumn1  = new DevExpress.DashboardCommon.GridDimensionColumn();
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn2    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn3    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure4              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn4    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardExcelDataSource1 = new DevExpress.DashboardCommon.DashboardExcelDataSource();
     this.gridDashboardItem1        = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardExcelDataSource1
     //
     this.dashboardExcelDataSource1.ComponentName            = "dashboardExcelDataSource1";
     this.dashboardExcelDataSource1.FileName                 = "|DataDirectory|\\Data\\Sales.xlsx";
     this.dashboardExcelDataSource1.Name                     = "Excel Data Source 1";
     this.dashboardExcelDataSource1.ResultSchemaSerializable = resources.GetString("dashboardExcelDataSource1.ResultSchemaSerializable");
     fieldInfo1.Name = "Category";
     fieldInfo1.Type = typeof(string);
     fieldInfo2.Name = "Product";
     fieldInfo2.Type = typeof(string);
     fieldInfo3.Name = "State";
     fieldInfo3.Type = typeof(string);
     fieldInfo4.Name = "UnitsSoldYTD (Sum)";
     fieldInfo4.Type = typeof(double);
     fieldInfo5.Name = "UnitsSoldYTDTarget (Sum)";
     fieldInfo5.Type = typeof(double);
     fieldInfo6.Name = "RevenueQTD (Sum)";
     fieldInfo6.Type = typeof(double);
     fieldInfo7.Name = "RevenueQTDTarget (Sum)";
     fieldInfo7.Type = typeof(double);
     fieldInfo8.Name = "RevenueYTD (Sum)";
     fieldInfo8.Type = typeof(double);
     fieldInfo9.Name = "RevenueYTDTarget (Sum)";
     fieldInfo9.Type = typeof(double);
     this.dashboardExcelDataSource1.Schema.AddRange(new DevExpress.DataAccess.Excel.FieldInfo[] {
         fieldInfo1,
         fieldInfo2,
         fieldInfo3,
         fieldInfo4,
         fieldInfo5,
         fieldInfo6,
         fieldInfo7,
         fieldInfo8,
         fieldInfo9
     });
     excelWorksheetSettings1.CellRange            = null;
     excelWorksheetSettings1.WorksheetName        = "Sheet1";
     excelSourceOptions1.ImportSettings           = excelWorksheetSettings1;
     this.dashboardExcelDataSource1.SourceOptions = excelSourceOptions1;
     //
     // gridDashboardItem1
     //
     dimension1.DataMember          = "Product";
     gridDimensionColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridDimensionColumn1.AddDataItem("Dimension", dimension1);
     measure1.DataMember          = "RevenueQTD (Sum)";
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "RevenueQTDTarget (Sum)";
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     measure3.DataMember          = "RevenueYTD (Sum)";
     gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn3.AddDataItem("Measure", measure3);
     measure4.DataMember          = "RevenueYTDTarget (Sum)";
     gridMeasureColumn4.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn4.AddDataItem("Measure", measure4);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridDimensionColumn1,
         gridMeasureColumn1,
         gridMeasureColumn2,
         gridMeasureColumn3,
         gridMeasureColumn4
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(measure3, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(measure4, "DataItem4");
     this.gridDashboardItem1.DataSource = this.dashboardExcelDataSource1;
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardExcelDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 49.94753410283316D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardExcelDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.DashboardCommon.Measure              measure1              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn1    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure2              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn2    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Measure              measure3              = new DevExpress.DashboardCommon.Measure();
     DevExpress.DashboardCommon.GridMeasureColumn    gridMeasureColumn3    = new DevExpress.DashboardCommon.GridMeasureColumn();
     DevExpress.DashboardCommon.Dimension            dimension1            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension2            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension3            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension4            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension5            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension6            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension7            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension8            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.Dimension            dimension9            = new DevExpress.DashboardCommon.Dimension();
     DevExpress.DashboardCommon.DashboardLayoutGroup dashboardLayoutGroup1 = new DevExpress.DashboardCommon.DashboardLayoutGroup();
     DevExpress.DashboardCommon.DashboardLayoutItem  dashboardLayoutItem1  = new DevExpress.DashboardCommon.DashboardLayoutItem();
     this.dashboardOlapDataSource1 = new DevExpress.DashboardCommon.DashboardOlapDataSource();
     this.gridDashboardItem1       = new DevExpress.DashboardCommon.GridDashboardItem();
     ((System.ComponentModel.ISupportInitialize)(this.dashboardOlapDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // dashboardOlapDataSource1
     //
     this.dashboardOlapDataSource1.ComponentName    = "dashboardOlapDataSource1";
     this.dashboardOlapDataSource1.ConnectionName   = "DESKTOP-7U6NLFV_DW_CHOLON1_DW CHOLON1";
     this.dashboardOlapDataSource1.ConnectionString = "Data Source=DESKTOP-7U6NLFV;Initial Catalog=DW_CHOLON1;Timeout=1200;Cube Name=DW " +
                                                      "CHOLON1;User ID=sa;Password=\"sa2012\";";
     this.dashboardOlapDataSource1.Name = "OLAP Data Source 1";
     //
     // gridDashboardItem1
     //
     measure1.DataMember          = "[Measures].[DOANHSO]";
     gridMeasureColumn1.Weight    = 66.970588235294116D;
     gridMeasureColumn1.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn1.AddDataItem("Measure", measure1);
     measure2.DataMember          = "[Measures].[SOLUONG]";
     gridMeasureColumn2.Weight    = 66.970588235294116D;
     gridMeasureColumn2.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn2.AddDataItem("Measure", measure2);
     measure3.DataMember          = "[Measures].[TONGTIEN]";
     gridMeasureColumn3.Weight    = 91.058823529411768D;
     gridMeasureColumn3.WidthType = DevExpress.DashboardCommon.GridColumnFixedWidthType.Weight;
     gridMeasureColumn3.AddDataItem("Measure", measure3);
     this.gridDashboardItem1.Columns.AddRange(new DevExpress.DashboardCommon.GridColumnBase[] {
         gridMeasureColumn1,
         gridMeasureColumn2,
         gridMeasureColumn3
     });
     this.gridDashboardItem1.ComponentName = "gridDashboardItem1";
     dimension1.DataMember = "[D SANPHAM]";
     dimension2.DataMember = "[D NHANVIEN]";
     dimension3.DataMember = "[D NHACUNGCAP]";
     dimension4.DataMember = "[D LOAIHANG]";
     dimension5.DataMember = "[D KHUVUC]";
     dimension6.DataMember = "[D KHACHHANG]";
     dimension7.DataMember = "[D DATETIME]";
     dimension8.DataMember = "[D CUAHANG]";
     dimension9.DataMember = "[D CHUNGLOAI]";
     this.gridDashboardItem1.DataItemRepository.Clear();
     this.gridDashboardItem1.DataItemRepository.Add(dimension1, "DataItem0");
     this.gridDashboardItem1.DataItemRepository.Add(dimension2, "DataItem1");
     this.gridDashboardItem1.DataItemRepository.Add(dimension3, "DataItem2");
     this.gridDashboardItem1.DataItemRepository.Add(dimension4, "DataItem3");
     this.gridDashboardItem1.DataItemRepository.Add(dimension5, "DataItem4");
     this.gridDashboardItem1.DataItemRepository.Add(dimension6, "DataItem5");
     this.gridDashboardItem1.DataItemRepository.Add(dimension7, "DataItem6");
     this.gridDashboardItem1.DataItemRepository.Add(dimension8, "DataItem7");
     this.gridDashboardItem1.DataItemRepository.Add(dimension9, "DataItem8");
     this.gridDashboardItem1.DataItemRepository.Add(measure1, "DataItem9");
     this.gridDashboardItem1.DataItemRepository.Add(measure2, "DataItem10");
     this.gridDashboardItem1.DataItemRepository.Add(measure3, "DataItem11");
     this.gridDashboardItem1.DataSource = this.dashboardOlapDataSource1;
     this.gridDashboardItem1.GridOptions.ColumnWidthMode = DevExpress.DashboardCommon.GridColumnWidthMode.Manual;
     this.gridDashboardItem1.HiddenDimensions.AddRange(new DevExpress.DashboardCommon.Dimension[] {
         dimension1,
         dimension2,
         dimension3,
         dimension4,
         dimension5,
         dimension6,
         dimension7,
         dimension8,
         dimension9
     });
     this.gridDashboardItem1.InteractivityOptions.IgnoreMasterFilters = false;
     this.gridDashboardItem1.Name        = "Grid 1";
     this.gridDashboardItem1.ShowCaption = true;
     //
     // Dashboard1
     //
     this.DataSources.AddRange(new DevExpress.DashboardCommon.IDashboardDataSource[] {
         this.dashboardOlapDataSource1
     });
     this.Items.AddRange(new DevExpress.DashboardCommon.DashboardItem[] {
         this.gridDashboardItem1
     });
     dashboardLayoutItem1.DashboardItem = this.gridDashboardItem1;
     dashboardLayoutItem1.Weight        = 100D;
     dashboardLayoutGroup1.ChildNodes.AddRange(new DevExpress.DashboardCommon.DashboardLayoutNode[] {
         dashboardLayoutItem1
     });
     dashboardLayoutGroup1.DashboardItem = null;
     dashboardLayoutGroup1.Orientation   = DevExpress.DashboardCommon.DashboardLayoutGroupOrientation.Vertical;
     dashboardLayoutGroup1.Weight        = 100D;
     this.LayoutRoot = dashboardLayoutGroup1;
     this.Title.Text = "Dashboard";
     ((System.ComponentModel.ISupportInitialize)(this.dashboardOlapDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(measure3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(dimension9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridDashboardItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }