コード例 #1
1
ファイル: VDReportMinor.cs プロジェクト: ufjl0683/Center
        public override XRTable GetXRTable(System.Data.DataSet ds)
        {
            cellWidth = GetCellWidth(perList, ReportColCnt - 1);
            XRTable MyTable = new XRTable();
            MyTable.SuspendLayout();
            MyTable.Width = Width;

            XRTableRow MyTableRow = new XRTableRow();
            MyTableRow.SuspendLayout();
            MyTableRow.Width = Width;

            //������줺�e
            for (int b = 0; b < ReportColCnt; b++)
            {
                if (b != NonShow)
                {
                    int CellWidth = 0;
                    if (b > NonShow)
                        CellWidth = cellWidth[b - 1];
                    else
                        CellWidth = cellWidth[b];

                    XRTableCell MyTableCell = new XRTableCell();
                    MyTableCell.SuspendLayout();
                    MyTableCell.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                      new DevExpress.XtraReports.UI.XRBinding("Text", ds, ds.Relations[0].ParentTable.TableName + "." + ds.Relations[0].RelationName + "." + ds.Relations[0].ChildTable.Columns[b].ColumnName, "")});
                    MyTableCell.Width = CellWidth;
                    MyTableCell.PerformLayout();
                    MyTableRow.Cells.Add(MyTableCell);
                }
            }

            MyTable.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
            MyTable.Dock = DevExpress.XtraReports.UI.XRDockStyle.Fill;
            MyTable.Font = new System.Drawing.Font("���", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
            MyTable.Location = new System.Drawing.Point(0, 0);
            MyTable.ParentStyleUsing.UseBorders = false;
            MyTable.ParentStyleUsing.UseFont = false;
            MyTableRow.PerformLayout();
            MyTable.Rows.AddRange(new XRTableRow[] { MyTableRow });
            MyTable.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //MyTableRow.EvenStyleName = "EvenStyle";
            //MyTableRow.OddStyleName = "OddStyle";
            MyTableRow.StyleName = "OddStyle";
            MyTable.PerformLayout();

            return MyTable;
        }
コード例 #2
1
ファイル: VDReportMaim.cs プロジェクト: ufjl0683/Center
        public override XRTable GetXRTable(System.Data.DataSet ds)
        {
            int CellWidth = Width / (TitleCnt - 1);

            XRTable MyTable = new XRTable();
            MyTable.SuspendLayout();
            MyTable.Width = Width;

            XRTableRow MyTableRow = new XRTableRow();
            MyTableRow.SuspendLayout();
            MyTableRow.Width = Width;

            // ���J�ƭ�
            XRTableCell MyTableCell = new XRTableCell();
            MyTableCell.SuspendLayout();

            MyTableCell.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", ds, ds.Tables[myTable.tblDevice.ToString()].Columns[myColumn.Devicename.ToString()].ColumnName, "")});

            MyTableCell.Width = CellWidth;
            MyTableCell.PerformLayout();
            MyTableRow.Cells.Add(MyTableCell);

            MyTable.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
            MyTable.Dock = DevExpress.XtraReports.UI.XRDockStyle.Fill;
            MyTable.Font = new System.Drawing.Font("���", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
            MyTable.Location = new System.Drawing.Point(0, 0);
            MyTable.ParentStyleUsing.UseBorders = false;
            MyTable.ParentStyleUsing.UseFont = false;
            MyTableRow.PerformLayout();
            MyTable.Rows.AddRange(new XRTableRow[] { MyTableRow });
            MyTable.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            //MyTableRow.EvenStyleName = "EvenStyle";
            //MyTableRow.OddStyleName = "OddStyle";
            MyTableRow.StyleName = "MasterStyle";

            MyTable.PerformLayout();

            return MyTable;
        }
コード例 #3
1
ファイル: AssaysReport.cs プロジェクト: NickAndersonX/xodb
 public void Fill(ReportHelper.TableReport report)
 {
     var o = (AssayReportViewModel)_r;
     var cacheKey = string.Format("{0}-{1}", o.ProjectID, o.ReportName);
     var ds = CacheHelper.AddToCache<DataSet>(() => { return AssayService.ReportAssaysResult(o); }, cacheKey, CacheHelper.DefaultTimeout);
     report.DataSource = ds;
     report.Parameters["ParameterProjectID"].Value = o.ProjectID;
     report.Parameters["ParameterUserName"].Value = o.ReportExecutedByUserName;
   
     var tr1 = new XRTableRow { Name = "tr1" };
     tr1.Cells.AddRange((from k in ds.Tables[0].Columns.Cast<DataColumn>() select new XRTableCell { Name = k.ColumnName, Text = k.ColumnName }).ToArray());
     var h = new XRTable { Name = "h", LocationF = new DevExpress.Utils.PointFloat(0F, 0F), SizeF = new System.Drawing.SizeF(600.0000F, 25F), KeepTogether = true };
     h.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { tr1 });
     report.Bands["Detail"].Controls.Add(h);
   
     var tr2 = new XRTableRow { Name = "tr2" };
     tr2.Cells.AddRange((from k in ds.Tables[0].Columns.Cast<DataColumn>() select new XRTableCell { Name = string.Format("{0}_data", k.ColumnName), Text = string.Format("[{0}]",k.ColumnName) }).ToArray());
     var t = new XRTable { Name = "t", LocationF = new DevExpress.Utils.PointFloat(0F, 0F), SizeF = new System.Drawing.SizeF(600.0000F, 25F), KeepTogether= true };
     t.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { tr2 });                
     ((DetailReportBand)report.Bands["DetailReport"]).Bands["DetailBand"].Controls.Add(t);
   
 }
コード例 #4
1
        void InitDetailsAndPageHeader(ASPxGridView aspxGridView1)
        {
            ReadOnlyCollection<GridViewDataColumn> groupedColumns = aspxGridView1.GetGroupedColumns();

            int pagewidth = (report.PageWidth - (report.Margins.Left + report.Margins.Right)) - groupedColumns.Count * subGroupOffset;
            List<ColumnInfo> columns = GetColumnsInfo(aspxGridView1, pagewidth);
            CustomizeColumnsCollection(report, new ColumnsCreationEventArgs(pagewidth) { ColumnsInfo = columns });

            report.Bands.Add(new DetailBand() { HeightF = bandHeight });
            report.Bands.Add(new PageHeaderBand() { HeightF = bandHeight });

            XRTable headerTable = new XRTable();
            XRTableRow row = new XRTableRow();
            XRTable detailTable = new XRTable();
            XRTableRow row2 = new XRTableRow();

            for (int i = 0; i < columns.Count; i++)
            {
                if (columns[i].IsVisible)
                {
                    XRTableCell cell = new XRTableCell();
                    cell.Width = columns[i].ColumnWidth;
                    cell.Text = columns[i].FieldName;
                    row.Cells.Add(cell);

                    XRTableCell cell2 = new XRTableCell();
                    cell2.Width = columns[i].ColumnWidth;
                    ControlCustomizationEventArgs cc = new ControlCustomizationEventArgs() { FieldName = columns[i].FieldName, IsModified = false, Owner = cell2 };
                    CustomizeColumn(report, cc);
                    if (cc.IsModified == false)
                        cell2.DataBindings.Add("Text", null, columns[i].FieldName);
                    detailsInfo.Add(columns[i].GridViewColumn, cell2);
                    row2.Cells.Add(cell2);
                }
            }
            headerTable.Rows.Add(row);
            headerTable.Width = pagewidth;
            headerTable.LocationF = new PointF(groupedColumns.Count * subGroupOffset, 0);
            headerTable.Borders = BorderSide.Bottom;

            detailTable.Rows.Add(row2);
            detailTable.LocationF = new PointF(groupedColumns.Count * subGroupOffset, 0);
            detailTable.Width = pagewidth;

            report.Bands[BandKind.PageHeader].Controls.Add(headerTable);
            report.Bands[BandKind.Detail].Controls.Add(detailTable);
        }
コード例 #5
0
        public void Should_fire_actions_on_table_members()
        {
            var transformColor = Color.Blue;
            var action = new ReportControlAction<XRControl>(c => true, c => c.BackColor = transformColor);

            var table = new XRTable();
            var row = new XRTableRow();
            var cell = new XRTableCell();
            row.Cells.Add(cell);
            table.Rows.Add(row);

            var report = new XtraReport();
            report.Bands.Add(new DetailBand());
            report.Bands[0].Controls.Add(table);

            //var subscriber = XRRuntimeSubscriber.SubscribeWithActions(action);
            var reportb = new ReportController(new EventAggregator(), report, new ReportControlActionFacade(action)).Print(r => r.ExportToMemory());

            var tableB = (XRTable)reportb.Bands[0].Controls[0];
            var rowB = tableB.Rows[0];
            var cellb = rowB.Cells[0];




            Assert.AreEqual(transformColor, cellb.BackColor);
        }
コード例 #6
0
        public XRTable CreateXRTable()
        {
            int cellsInRow = 3;
            int rowsCount = 31;
            float rowHeight = 100f;

            XRTable table = new XRTable();
            table.Borders = DevExpress.XtraPrinting.BorderSide.All;
            table.BeginInit();

            for (int i = 0; i < rowsCount; i++)
            {
                XRTableRow row = new XRTableRow();
                row.HeightF = rowHeight;
                for (int j = 0; j < cellsInRow; j++)
                {
                    XRTableCell cell = new XRTableCell();
                    row.Cells.Add(cell);
                }
                table.Rows.Add(row);
            }

            table.BeforePrint += new PrintEventHandler(table_BeforePrint);
            table.EndInit();
            return table;
        }
コード例 #7
0
        public XRBaoCaoNhapHang(BaoCaoNhapHang bc)
        {
            InitializeComponent();
            xlNgayLap.Text = bc.ThoiGian;
            xlNhanVien.Text = StaticVariables.nhanVien.TenNhanVien;
            if (bc.ChiTietBaoCao != null)
            {
                int cellsInRow = 7;
                int rowsCount = bc.ChiTietBaoCao.Rows.Count;
                //do cao cua mot o trong table
                float rowHeight = 20f;
                for (int i = 0; i < rowsCount; i++)
                {
                    XRTableRow row = new XRTableRow();
                    row.HeightF = rowHeight;
                    for (int j = 0; j < cellsInRow; j++)
                    {
                        XRTableCell cell = new XRTableCell();
                        if (j == 0)
                        {
                            //them so thu tu
                            cell.Text = i.ToString();
                        }
                        else
                            cell.Text = bc.ChiTietBaoCao.Rows[i].ItemArray[j - 1].ToString();

                        //chinh lai kich thuoc cua moi o
                        switch (j)
                        {
                            case 0:
                                cell.WidthF = 30;
                                break;
                            case 1:
                                cell.WidthF = 110;
                                break;
                            case 2:
                                cell.WidthF = 115;
                                break;
                            case 3:
                                cell.WidthF = 200;
                                break;
                            case 4:
                                cell.WidthF = 190;
                                break;
                            case 5:
                                cell.WidthF = 60;
                                break;
                            case 6:
                                cell.WidthF = 90;
                                cell.Text = ((DateTime)bc.ChiTietBaoCao.Rows[i].ItemArray[j - 1]).ToString("MM/dd/yyyy");
                                break;
                        }
                        row.Cells.Add(cell);
                    }
                    xtDanhSachMatHang.Rows.Add(row);

                }
            }
        }
コード例 #8
0
ファイル: BaseReport.cs プロジェクト: trantrung2608/ilinkbay
    public void buildDynamicReport(DataSet ds, PageHeaderBand PageHeader, DetailBand Detail)
    {
        // create a table to display header
        XRTable tableHeader = new XRTable();
        tableHeader.BeginInit();

        tableHeader.Width = (this.PageWidth - (this.Margins.Left + this.Margins.Right));
        XRTableRow headerRow = new XRTableRow();
        tableHeader.Rows.Add(headerRow);
        XRTable tableDetail = new XRTable();
        tableDetail.BeginInit();

        tableDetail.Width = (this.PageWidth - (this.Margins.Left + this.Margins.Right));

        XRTable tableDetail2 = new XRTable();
        tableDetail2.BeginInit();
        tableDetail.Height = 20;
        tableDetail.Width = (this.PageWidth - (this.Margins.Left + this.Margins.Right));

        XRTableRow detailRow = new XRTableRow();

        // add detailRow into tableDetails
        tableDetail.Rows.Add(detailRow);

        // loop table headercell and table detailCell
        int i = 0;
        for (i = 0; i < ds.Tables[1].Rows.Count; i++)
        {
            XRTableCell headerCell = new XRTableCell();
            headerCell.Width = Int32.Parse(ds.Tables[1].Rows[i][5].ToString());
            headerCell.Text = ds.Tables[1].Rows[i][3].ToString();
            headerCell.StyleName = ds.Tables[1].Rows[i]["style"].ToString();
            XRTableCell detailCell = new XRTableCell();
            detailCell.StyleName = ds.Tables[1].Rows[i]["style"].ToString();
            detailCell.DataBindings.Add("Text", null, ds.Tables[1].Rows[i]["fieldname"].ToString());

            if (i == 0)
            {
                headerCell.Borders = BorderSide.Left | BorderSide.Top | BorderSide.Bottom;
                detailCell.Borders = BorderSide.Left | BorderSide.Top | BorderSide.Bottom;
            }
            else
            {
                headerCell.Borders = BorderSide.All;
                detailCell.Borders = BorderSide.All;
            }
            headerRow.Cells.Add(headerCell);
            detailRow.Cells.Add(detailCell);
        }

        tableDetail.EndInit();
        tableHeader.EndInit();

        PageHeader.Controls.Add(tableHeader);
        Detail.Controls.Add(tableDetail);

        //this.DataSource = ds;
    }
コード例 #9
0
ファイル: NonKindHandler.cs プロジェクト: ufjl0683/Center
        public override XRTable GetHandler(ArrayList arrList)
        {
            XRTable MyTable = new XRTable();
            XRTableRow MyTableRow = new XRTableRow();
            MyTable.SuspendLayout();
            MyTable.Width = Width;
            cellWidth = GetCellWidth(perList, ReportColCnt);

            for (int a = 0; a < TitleCnt; a++)
            {
                MyTableRow = new XRTableRow();
                string[] ReportTitle;

                MyTableRow.SuspendLayout();
                MyTableRow.Width = Width;

                for (int i = 0; i < ReportColCnt; i++)
                {
                    int CellWidth = cellWidth[i];

                    // �ŧi�Ωw�q MyTableCell ���榡
                    XRTableCell MyTableCell = new XRTableCell();
                    MyTableCell.SuspendLayout();

                    string text = arrList[i].ToString();
                    ReportTitle = text.ToString().Split(',');

                    //MyTableCell.Name = arrList[i].ToString().Substring(0, arrList[i].ToString().IndexOf(","));
                    //MyTableCell.Text = arrList[i].ToString().Substring(arrList[i].ToString().IndexOf(",") + 1);
                    MyTableCell.Text = ReportTitle[a].ToString();

                    MyTableCell.Width = CellWidth;
                    MyTableCell.PerformLayout();
                    MyTableRow.Cells.Add(MyTableCell);
                }

                MyTableRow.PerformLayout();
                MyTable.Rows.AddRange(new XRTableRow[] { MyTableRow });
            }

            MyTable.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(201)), ((System.Byte)(214)), ((System.Byte)(237)));
            //MyTable.BorderColor = System.Drawing.Color.FromArgb(((System.Byte)(175)), ((System.Byte)(190)), ((System.Byte)(216)));
            //MyTable.Borders = DevExpress.XtraPrinting.BorderSide.All;
            MyTable.Dock = DevExpress.XtraReports.UI.XRDockStyle.Fill;
            MyTable.Font = new System.Drawing.Font("���", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
            MyTable.Location = new System.Drawing.Point(0, 0);
            MyTable.ParentStyleUsing.UseBorders = false;
            MyTable.ParentStyleUsing.UseFont = false;
            MyTable.Rows.AddRange(new XRTableRow[] { MyTableRow });
            //MyTable.Size = new System.Drawing.Size(this.PageWidth - 40, this.ph.Height);
            MyTable.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            MyTableRow.EvenStyleName = "EvenStyle";
            MyTableRow.OddStyleName = "OddStyle";

            MyTable.PerformLayout();

            return MyTable;
        }
        public XRLapHoaDonThanhToanNhapHang(HoaDonNhapHang hd)
        {
            InitializeComponent();
            xlNgayGiaoHang.Text = hd.NgayGiaoHang;
            xlNhaCungCap.Text = hd.NhaCungCap;
            xlHoTenNhanVien.Text = hd.TenNhanVien;
            xlNguoiLap.Text = hd.TenNhanVien;
            DateTime ngaylap = Convert.ToDateTime(hd.NgayGiaoHang);
            xlNgayLap.Text = "Ngày " + ngaylap.Day + " Tháng " + ngaylap.Month + " Năm " + ngaylap.Year;
            xlTongTien.Text = "Tổng Tiền:  " + hd.TongTien + "  VND";
            if (hd.DanhSachSanPham != null)
            {
                int cellsInRow = 4;
                int rowsCount = hd.DanhSachSanPham.Rows.Count;
                //do cao cua mot o trong table
                float rowHeight = 20f;
                for (int i = 0; i < rowsCount; i++)
                {
                    XRTableRow row = new XRTableRow();
                    row.HeightF = rowHeight;
                    for (int j = 0; j < cellsInRow; j++)
                    {
                        XRTableCell cell = new XRTableCell();
                        if (j == 0)
                        {
                            //them so thu tu
                            cell.Text = "  " + i.ToString();
                        }
                        else
                            cell.Text = "  " + hd.DanhSachSanPham.Rows[i].ItemArray[j - 1].ToString();

                        //chinh lai kich thuoc cua moi o
                        switch (j)
                        {
                            case 0:
                                cell.WidthF = 65;
                                break;
                            case 1:
                                cell.WidthF = 270;
                                break;
                            case 2:
                                cell.WidthF = 60;
                                break;
                            case 3:
                                cell.WidthF = 155;
                                cell.Text += "  VND";
                                break;
                        }
                        row.Cells.Add(cell);
                    }
                    xtDanhSachMatHang.Rows.Add(row);

                }
            }
        }
コード例 #11
0
        public XRBaoCaoTonKho(BaoCaoTonKho bc)
        {
            InitializeComponent();
            xlNgayLap.Text = bc.ThoiGian;
            xlNhanVien.Text = StaticVariables.nhanVien.TenNhanVien;
            if (bc.DanhSachSanPham != null)
            {
                int cellsInRow = 5;
                int rowsCount = bc.DanhSachSanPham.Rows.Count;
                //do cao cua mot o trong table
                float rowHeight = 20f;
                for (int i = 0; i < rowsCount; i++)
                {
                    XRTableRow row = new XRTableRow();
                    row.HeightF = rowHeight;
                    for (int j = 0; j < cellsInRow; j++)
                    {
                        XRTableCell cell = new XRTableCell();
                        if (j == 0)
                        {
                            //them so thu tu
                            cell.Text = "  " + i.ToString();
                        }
                        else
                            cell.Text = "  " + bc.DanhSachSanPham.Rows[i].ItemArray[j - 1].ToString();

                        //chinh lai kich thuoc cua moi o
                        switch (j)
                        {
                            case 0:
                                cell.WidthF = 35;
                                break;
                            case 1:
                                cell.WidthF = 120;
                                break;
                            case 2:
                                cell.WidthF = 250;
                                break;
                            case 3:
                                cell.WidthF = 240;
                                break;
                            case 4:
                                cell.WidthF = 85;
                                break;
                        }
                        row.Cells.Add(cell);

                    }
                    xtDanhSachMatHang.Rows.Add(row);

                }
            }
        }
コード例 #12
0
        public void InitTables(GridView ip_grv)
        {
            ArrayList columnALCaption = new ArrayList();
            ArrayList columnAL = new ArrayList();
            for (int i = 0; i < ip_grv.Columns.Count; i++)
                if (ip_grv.Columns[i].Visible && ip_grv.Columns[i].GroupIndex < 0)
                {
                    columnAL.Add(ip_grv.Columns[i].FieldName);
                    columnALCaption.Add(ip_grv.Columns[i].Caption);
                }
            int colCount = columnAL.Count;
            int pagewidth = (PageWidth - (Margins.Left + Margins.Right) - (m_count_group_col + 1) * 20);
            int colWidth = pagewidth / colCount;

            XRTable table = new XRTable();
            XRTableRow row = new XRTableRow();
            XRTable table2 = new XRTable();
            XRTableRow row2 = new XRTableRow();

            for (int i = 0; i < colCount; i++)
            {
                XRTableCell cell = new XRTableCell();
                cell.Width = (int)colWidth;
                cell.Text = columnALCaption[i].ToString();
                row.Cells.Add(cell);

                XRTableCell cell2 = new XRTableCell();
                cell2.Width = (int)colWidth;
                cell2.DataBindings.Add("Text", null, columnAL[i].ToString());
                row2.Cells.Add(cell2);
            }
            table.Rows.Add(row);
            table.Width = pagewidth - (m_count_group_col + 1) * 20;
            table.Borders = BorderSide.Bottom;
            table.BackColor = Color.Maroon;
            table.ForeColor = Color.White;
            table.StylePriority.UseFont = true;
            table.Font = new Font(table.Font.FontFamily, 12, FontStyle.Bold);
            table.Location = new Point(0 + (m_count_group_col + 1) * 20, 0);

            row2.CanShrink = true;
            table2.Rows.Add(row2);
            table2.Width = pagewidth - (m_count_group_col + 1) * 20;
            table2.Location = new Point(0 + (m_count_group_col + 1) * 20, 0);

            Bands["PageHeader"].Controls.Add(table);
            Bands["Detail"].Controls.Add(table2);
        }
コード例 #13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     string resourceFileName = "XRPrintInvoice.resx";
     DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
     this.Detail = new DevExpress.XtraReports.UI.DetailBand();
     this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
     this.GrandTotal = new DevExpress.XtraReports.Parameters.Parameter();
     this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
     this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
     this.lblDuplicate = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
     this.SPName = new DevExpress.XtraReports.Parameters.Parameter();
     this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
     this.CustomerName = new DevExpress.XtraReports.Parameters.Parameter();
     this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
     this.CustomerCode = new DevExpress.XtraReports.Parameters.Parameter();
     this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
     this.PaymentType = new DevExpress.XtraReports.Parameters.Parameter();
     this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
     this.InvDate = new DevExpress.XtraReports.Parameters.Parameter();
     this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
     this.InvoiceNumber = new DevExpress.XtraReports.Parameters.Parameter();
     this.InvoiceId = new DevExpress.XtraReports.Parameters.Parameter();
     this.AmmountDue = new DevExpress.XtraReports.Parameters.Parameter();
     this.DueAmmount = new DevExpress.XtraReports.Parameters.Parameter();
     this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
     this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
     this.TotalPaid = new DevExpress.XtraReports.Parameters.Parameter();
     this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrControlStyle1 = new DevExpress.XtraReports.UI.XRControlStyle();
     this.dsPrintInvoice1 = new DsPrintInvoice();
     this.SPCode = new DevExpress.XtraReports.Parameters.Parameter();
     this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand();
     this.lblNote = new DevExpress.XtraReports.UI.XRLabel();
     this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
     this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
     this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsPrintInvoice1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2});
     this.Detail.Dpi = 254F;
     this.Detail.HeightF = 61F;
     this.Detail.Name = "Detail";
     this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 254F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrTable2
     //
     this.xrTable2.BorderColor = System.Drawing.Color.Transparent;
     this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable2.Dpi = 254F;
     this.xrTable2.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(5F, 0F);
     this.xrTable2.Name = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2});
     this.xrTable2.SizeF = new System.Drawing.SizeF(2238F, 61F);
     this.xrTable2.StylePriority.UseBorderColor = false;
     this.xrTable2.StylePriority.UseBorders = false;
     this.xrTable2.StylePriority.UseFont = false;
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6,
         this.xrTableCell10,
         this.xrTableCell12});
     this.xrTableRow2.Dpi = 254F;
     this.xrTableRow2.Name = "xrTableRow2";
     this.xrTableRow2.Weight = 1;
     //
     // xrTableCell4
     //
     this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "vw_Invoice_Detail_Sel_Report.ItemCode")});
     this.xrTableCell4.Dpi = 254F;
     this.xrTableCell4.Font = new System.Drawing.Font("Times New Roman", 11.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell4.Name = "xrTableCell4";
     this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrTableCell4.StylePriority.UseFont = false;
     this.xrTableCell4.StylePriority.UseTextAlignment = false;
     this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
     this.xrTableCell4.Weight = 0.083109919571045576;
     //
     // xrTableCell5
     //
     this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "vw_Invoice_Detail_Sel_Report.ItemDescription")});
     this.xrTableCell5.Dpi = 254F;
     this.xrTableCell5.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell5.Name = "xrTableCell5";
     this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrTableCell5.StylePriority.UseFont = false;
     this.xrTableCell5.StylePriority.UseTextAlignment = false;
     this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
     this.xrTableCell5.Weight = 0.57327971403038425;
     //
     // xrTableCell6
     //
     this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "vw_Invoice_Detail_Sel_Report.Quantity")});
     this.xrTableCell6.Dpi = 254F;
     this.xrTableCell6.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell6.Name = "xrTableCell6";
     this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrTableCell6.StylePriority.UseFont = false;
     this.xrTableCell6.StylePriority.UseTextAlignment = false;
     this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
     this.xrTableCell6.Weight = 0.055406613047363718;
     //
     // xrTableCell10
     //
     this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "vw_Invoice_Detail_Sel_Report.Price", "{0:0.00}")});
     this.xrTableCell10.Dpi = 254F;
     this.xrTableCell10.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell10.Name = "xrTableCell10";
     this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrTableCell10.StylePriority.UseFont = false;
     this.xrTableCell10.StylePriority.UseTextAlignment = false;
     this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomRight;
     this.xrTableCell10.Weight = 0.13717605004468275;
     //
     // xrTableCell12
     //
     this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell12.CanShrink = true;
     this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "vw_Invoice_Detail_Sel_Report.TotalPrice", "{0:0.00}")});
     this.xrTableCell12.Dpi = 254F;
     this.xrTableCell12.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell12.Name = "xrTableCell12";
     this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrTableCell12.StylePriority.UseBorders = false;
     this.xrTableCell12.StylePriority.UseFont = false;
     this.xrTableCell12.StylePriority.UseTextAlignment = false;
     this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomRight;
     this.xrTableCell12.Weight = 0.15102770330652368;
     //
     // GrandTotal
     //
     this.GrandTotal.Name = "GrandTotal";
     this.GrandTotal.Type = typeof(decimal);
     this.GrandTotal.Value = 0;
     //
     // PageHeader
     //
     this.PageHeader.Dpi = 254F;
     this.PageHeader.HeightF = 0F;
     this.PageHeader.Name = "PageHeader";
     this.PageHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 254F);
     this.PageHeader.StylePriority.UseTextAlignment = false;
     this.PageHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
     //
     // xrTableCell9
     //
     this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "vw_Invoice_Sel_Report.Has Line Item.Quantity")});
     this.xrTableCell9.Name = "xrTableCell9";
     this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
     this.xrTableCell9.Weight = 0;
     //
     // xrTableCell8
     //
     this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "vw_Invoice_Sel_Report.Has Line Item.Price")});
     this.xrTableCell8.Name = "xrTableCell8";
     this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
     this.xrTableCell8.Weight = 0;
     //
     // ReportHeader
     //
     this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.lblDuplicate,
         this.xrLabel8,
         this.xrLabel11,
         this.xrLabel7,
         this.xrLabel6,
         this.xrLabel5,
         this.xrLabel4});
     this.ReportHeader.Dpi = 254F;
     this.ReportHeader.HeightF = 638F;
     this.ReportHeader.Name = "ReportHeader";
     //
     // lblDuplicate
     //
     this.lblDuplicate.BackColor = System.Drawing.Color.Transparent;
     this.lblDuplicate.Dpi = 254F;
     this.lblDuplicate.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.lblDuplicate.LocationFloat = new DevExpress.Utils.PointFloat(1270F, 445F);
     this.lblDuplicate.Name = "lblDuplicate";
     this.lblDuplicate.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.lblDuplicate.SizeF = new System.Drawing.SizeF(297.9999F, 58.41995F);
     this.lblDuplicate.StylePriority.UseBackColor = false;
     this.lblDuplicate.StylePriority.UseFont = false;
     this.lblDuplicate.Text = "DUPLICATE";
     this.lblDuplicate.Visible = false;
     //
     // xrLabel8
     //
     this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.SPName, "Text", "")});
     this.xrLabel8.Dpi = 254F;
     this.xrLabel8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(1270F, 339F);
     this.xrLabel8.Name = "xrLabel8";
     this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel8.SizeF = new System.Drawing.SizeF(254F, 64F);
     this.xrLabel8.StylePriority.UseFont = false;
     this.xrLabel8.Text = "xrLabel8";
     //
     // SPName
     //
     this.SPName.Name = "SPName";
     this.SPName.Value = "";
     //
     // xrLabel11
     //
     this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.CustomerName, "Text", "")});
     this.xrLabel11.Dpi = 254F;
     this.xrLabel11.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(100F, 234F);
     this.xrLabel11.Multiline = true;
     this.xrLabel11.Name = "xrLabel11";
     this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel11.SizeF = new System.Drawing.SizeF(339F, 64F);
     this.xrLabel11.StylePriority.UseFont = false;
     this.xrLabel11.Text = "xrLabel11";
     //
     // CustomerName
     //
     this.CustomerName.Name = "CustomerName";
     this.CustomerName.Value = "";
     //
     // xrLabel7
     //
     this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.CustomerCode, "Text", "")});
     this.xrLabel7.Dpi = 254F;
     this.xrLabel7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(100F, 444F);
     this.xrLabel7.Name = "xrLabel7";
     this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel7.SizeF = new System.Drawing.SizeF(254F, 64F);
     this.xrLabel7.StylePriority.UseFont = false;
     this.xrLabel7.Text = "xrLabel7";
     //
     // CustomerCode
     //
     this.CustomerCode.Name = "CustomerCode";
     this.CustomerCode.Value = "";
     //
     // xrLabel6
     //
     this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.PaymentType, "Text", "")});
     this.xrLabel6.Dpi = 254F;
     this.xrLabel6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(1935F, 445F);
     this.xrLabel6.Name = "xrLabel6";
     this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel6.SizeF = new System.Drawing.SizeF(254F, 64F);
     this.xrLabel6.StylePriority.UseFont = false;
     this.xrLabel6.Text = "xrLabel6";
     //
     // PaymentType
     //
     this.PaymentType.Name = "PaymentType";
     this.PaymentType.Value = "";
     //
     // xrLabel5
     //
     this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.InvDate, "Text", "{0:dd-MMM-yyyy}")});
     this.xrLabel5.Dpi = 254F;
     this.xrLabel5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(1935F, 234F);
     this.xrLabel5.Name = "xrLabel5";
     this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel5.SizeF = new System.Drawing.SizeF(347F, 64F);
     this.xrLabel5.StylePriority.UseFont = false;
     xrSummary1.FormatString = "dd/MMM/yyyy{0}";
     this.xrLabel5.Summary = xrSummary1;
     this.xrLabel5.Text = "xrLabel5";
     //
     // InvDate
     //
     this.InvDate.Name = "InvDate";
     this.InvDate.Type = typeof(System.DateTime);
     this.InvDate.Value = new System.DateTime(((long)(0)));
     //
     // xrLabel4
     //
     this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.InvoiceNumber, "Text", "")});
     this.xrLabel4.Dpi = 254F;
     this.xrLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(1935F, 339F);
     this.xrLabel4.Name = "xrLabel4";
     this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel4.SizeF = new System.Drawing.SizeF(361F, 64F);
     this.xrLabel4.StylePriority.UseFont = false;
     this.xrLabel4.Text = "xrLabel4";
     //
     // InvoiceNumber
     //
     this.InvoiceNumber.Name = "InvoiceNumber";
     this.InvoiceNumber.Value = "";
     //
     // InvoiceId
     //
     this.InvoiceId.Name = "InvoiceId";
     this.InvoiceId.Type = typeof(int);
     this.InvoiceId.Value = 0;
     //
     // AmmountDue
     //
     this.AmmountDue.Name = "AmmountDue";
     this.AmmountDue.Type = typeof(decimal);
     this.AmmountDue.Value = 0;
     //
     // DueAmmount
     //
     this.DueAmmount.Name = "DueAmmount";
     this.DueAmmount.Type = typeof(decimal);
     this.DueAmmount.Value = 0;
     //
     // ReportFooter
     //
     this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel1,
         this.xrLabel3,
         this.xrLabel14,
         this.xrLabel17,
         this.xrLabel12,
         this.xrLabel2});
     this.ReportFooter.Dpi = 254F;
     this.ReportFooter.HeightF = 274F;
     this.ReportFooter.Name = "ReportFooter";
     this.ReportFooter.PrintAtBottom = true;
     //
     // xrLabel1
     //
     this.xrLabel1.Dpi = 254F;
     this.xrLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(1569F, 130F);
     this.xrLabel1.Name = "xrLabel1";
     this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel1.SizeF = new System.Drawing.SizeF(294F, 63F);
     this.xrLabel1.StylePriority.UseFont = false;
     this.xrLabel1.Text = "Amount";
     //
     // xrLabel3
     //
     this.xrLabel3.Dpi = 254F;
     this.xrLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(1469F, 66F);
     this.xrLabel3.Name = "xrLabel3";
     this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel3.SizeF = new System.Drawing.SizeF(397F, 58F);
     this.xrLabel3.StylePriority.UseFont = false;
     this.xrLabel3.Text = "Recieved Amount";
     //
     // xrLabel14
     //
     this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.DueAmmount, "Text", "")});
     this.xrLabel14.Dpi = 254F;
     this.xrLabel14.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel14.ForeColor = System.Drawing.Color.Maroon;
     this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(1900F, 133F);
     this.xrLabel14.Name = "xrLabel14";
     this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel14.SizeF = new System.Drawing.SizeF(346F, 64F);
     this.xrLabel14.StylePriority.UseFont = false;
     this.xrLabel14.StylePriority.UseForeColor = false;
     this.xrLabel14.StylePriority.UseTextAlignment = false;
     this.xrLabel14.Text = "xrLabel14";
     this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // xrLabel17
     //
     this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.TotalPaid, "Text", "")});
     this.xrLabel17.Dpi = 254F;
     this.xrLabel17.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(1900F, 67F);
     this.xrLabel17.Name = "xrLabel17";
     this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel17.SizeF = new System.Drawing.SizeF(346F, 64F);
     this.xrLabel17.StylePriority.UseFont = false;
     this.xrLabel17.StylePriority.UseTextAlignment = false;
     this.xrLabel17.Text = "xrLabel17";
     this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
     //
     // TotalPaid
     //
     this.TotalPaid.Name = "TotalPaid";
     this.TotalPaid.Type = typeof(decimal);
     this.TotalPaid.Value = 0;
     //
     // xrLabel12
     //
     this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.GrandTotal, "Text", "")});
     this.xrLabel12.Dpi = 254F;
     this.xrLabel12.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(1900F, 210F);
     this.xrLabel12.Name = "xrLabel12";
     this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel12.SizeF = new System.Drawing.SizeF(346F, 64F);
     this.xrLabel12.StylePriority.UseFont = false;
     this.xrLabel12.StylePriority.UseTextAlignment = false;
     this.xrLabel12.Text = "xrLabel12";
     this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // xrLabel2
     //
     this.xrLabel2.Dpi = 254F;
     this.xrLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(1468F, 130F);
     this.xrLabel2.Name = "xrLabel2";
     this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrLabel2.SizeF = new System.Drawing.SizeF(100F, 63F);
     this.xrLabel2.StylePriority.UseFont = false;
     this.xrLabel2.Text = "Due";
     //
     // xrControlStyle1
     //
     this.xrControlStyle1.BorderColor = System.Drawing.SystemColors.Desktop;
     this.xrControlStyle1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrControlStyle1.Name = "xrControlStyle1";
     //
     // dsPrintInvoice1
     //
     this.dsPrintInvoice1.DataSetName = "DsPrintInvoice";
     this.dsPrintInvoice1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // SPCode
     //
     this.SPCode.Name = "SPCode";
     this.SPCode.Value = "";
     //
     // PageFooter
     //
     this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.lblNote,
         this.xrPageInfo1});
     this.PageFooter.Dpi = 254F;
     this.PageFooter.HeightF = 65.00002F;
     this.PageFooter.Name = "PageFooter";
     this.PageFooter.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 254F);
     this.PageFooter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // lblNote
     //
     this.lblNote.Dpi = 254F;
     this.lblNote.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.lblNote.LocationFloat = new DevExpress.Utils.PointFloat(0F, 5.579924F);
     this.lblNote.Name = "lblNote";
     this.lblNote.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.lblNote.SizeF = new System.Drawing.SizeF(1246.188F, 58.42F);
     this.lblNote.StylePriority.UseFont = false;
     this.lblNote.Text = "Cash returns are not accepted. This invoice should be submitted for any returns.";
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.Dpi = 254F;
     this.xrPageInfo1.Font = new System.Drawing.Font("Times New Roman", 11F);
     this.xrPageInfo1.Format = "Page {0} of {1}";
     this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(1989F, 0F);
     this.xrPageInfo1.Name = "xrPageInfo1";
     this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F);
     this.xrPageInfo1.SizeF = new System.Drawing.SizeF(254F, 64F);
     this.xrPageInfo1.StylePriority.UseFont = false;
     //
     // topMarginBand1
     //
     this.topMarginBand1.Dpi = 254F;
     this.topMarginBand1.HeightF = 5F;
     this.topMarginBand1.Name = "topMarginBand1";
     //
     // bottomMarginBand1
     //
     this.bottomMarginBand1.Dpi = 254F;
     this.bottomMarginBand1.HeightF = 5F;
     this.bottomMarginBand1.Name = "bottomMarginBand1";
     //
     // XRPrintInvoice
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.PageHeader,
         this.ReportHeader,
         this.ReportFooter,
         this.PageFooter,
         this.topMarginBand1,
         this.bottomMarginBand1});
     this.DataMember = "vw_Invoice_Detail_Sel_Report";
     this.DataSource = this.dsPrintInvoice1;
     this.Dpi = 254F;
     this.Margins = new System.Drawing.Printing.Margins(5, 5, 5, 5);
     this.PageHeight = 2000;
     this.PageWidth = 2317;
     this.PaperKind = System.Drawing.Printing.PaperKind.Custom;
     this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
         this.InvoiceId,
         this.InvoiceNumber,
         this.InvDate,
         this.CustomerCode,
         this.CustomerName,
         this.GrandTotal,
         this.AmmountDue,
         this.PaymentType,
         this.DueAmmount,
         this.TotalPaid,
         this.SPCode,
         this.SPName});
     this.ReportUnit = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter;
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.xrControlStyle1});
     this.Version = "11.1";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsPrintInvoice1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #14
0
ファイル: ProceRpt.cs プロジェクト: ZixiangBoy/FAS
        public void BindData()
        {
            DataSource = new List<PrtOrder>{ Prt.PrtOrder};
            this.xrRecvOprUser.DataBindings.Add("Text", Prt.PrtOrder, "RecvOprUser");
            this.xrPrdNo.DataBindings.Add("Text", Prt.PrtOrder, "PrdNo");
            this.xrReceiverName.DataBindings.Add("Text", Prt.PrtOrder, "ReceiverName");
            this.xrCreateDate.DataBindings.Add("Text", Prt.PrtOrder, "Created");
            this.xrProDelDate.DataBindings.Add("Text", Prt.PrtOrder, "ProDelDate");
            this.xrOuterIid.DataBindings.Add("Text", Prt.PrtOrder, "OuterIid");
            this.xrOuterSkuId.DataBindings.Add("Text", Prt.PrtOrder, "OuterSkuId");
            this.xrSurface.DataBindings.Add("Text", Prt.PrtOrder, "Surface");
            this.xrDirection.DataBindings.Add("Text", Prt.PrtOrder, "Direction");
            this.xrColor.DataBindings.Add("Text", Prt.PrtOrder, "Color");
            this.xrNum.DataBindings.Add("Text", Prt.PrtOrder, "Num");
            this.xrRemark.DataBindings.Add("Text", Prt.PrtOrder, "Remark");

            var totalrows=xrTable.Rows.Count;
            if (totalrows > 5) {
                for (int i = 0; i < totalrows - 5; i++) {
                    xrTable.Rows.RemoveAt(5);
                }
            }

            if (Prt.Detail.Count > 0) {
                int rows = Prt.Detail.Count % 2 > 0 ? Prt.Detail.Count / 2 + 1 : Prt.Detail.Count / 2;
                var rs = new List<XRTableRow>();
                for (int i = 0; i < rows; i++) {
                    XRTableRow row = new XRTableRow();
                    row.HeightF = 40;
                    rs.Add(row);
                }
                for (int i = 0; i < Prt.Detail.Count; i++) {
                    int rowidx = i / 2;
                    var cellidx = i % 2;
                    float cellwidth = 0f;
                    switch (cellidx) {
                        case 0:
                            XRTableCell cell = new XRTableCell();
                            cellwidth = 94.99f;
                            cell.WidthF = cellwidth;
                            cell.Text = Prt.Detail[i].ProceName;
                            rs[rowidx].Cells.Add(cell);
                            cell.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                            cell.Borders = DevExpress.XtraPrinting.BorderSide.Left
                            | DevExpress.XtraPrinting.BorderSide.Top;

                            cell = new XRTableCell();
                            cell.Text = Prt.Detail[i].ProceUser;
                            if (Prt.Detail.Count % 2 == 1 && rowidx == rs.Count - 1) {
                                cell.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                                cell.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top
                                | DevExpress.XtraPrinting.BorderSide.Right;
                                cellwidth = 705.01f;
                            } else {
                                cellwidth = 305.01f;
                                cell.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                                cell.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top;
                            }

                            cell.WidthF = cellwidth;
                            //cell.Text = Prt.Detail[i].ProceName;
                            rs[rowidx].Cells.Add(cell);
                            break;
                        case 1:
                            XRTableCell cell1 = new XRTableCell();
                            cellwidth = 138.07f;
                            cell1.WidthF = cellwidth;
                            cell1.Text = Prt.Detail[i].ProceName;
                            rs[rowidx].Cells.Add(cell1);
                            cell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                            cell1.Borders = DevExpress.XtraPrinting.BorderSide.Left
                            | DevExpress.XtraPrinting.BorderSide.Top;

                            cell1 = new XRTableCell();
                            cellwidth = 261.93f;
                            cell1.WidthF = cellwidth;
                            cell1.Text = Prt.Detail[i].ProceUser;
                            rs[rowidx].Cells.Add(cell1);
                            cell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                            cell1.Borders = DevExpress.XtraPrinting.BorderSide.Left
                            | DevExpress.XtraPrinting.BorderSide.Top
                            | DevExpress.XtraPrinting.BorderSide.Right;
                            break;
                    }
                }
                xrTable.Rows.AddRange(rs.ToArray());

                rs = new List<XRTableRow>();
                for (int i = 0; i < rows; i++) {
                    XRTableRow row = new XRTableRow();
                    row.HeightF = 40;
                    rs.Add(row);
                }
                for (int i = 0; i < Prt.Detail.Count; i++) {
                    int rowidx = i / 2;
                    var cellidx = i % 2;
                    float cellwidth = 0f;
                    switch (cellidx) {
                        case 0:
                            XRTableCell cell = new XRTableCell();
                            cellwidth = 94.99f;
                            cell.WidthF = cellwidth;
                            cell.Text = Prt.Detail[i].ProceName;
                            rs[rowidx].Cells.Add(cell);
                            cell.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                            if (rowidx == rs.Count - 1) {
                                cell.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom;
                            } else {
                                cell.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top;
                            }
                            cell.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Dash;
                            cell = new XRTableCell();
                                cell.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                            if (Prt.Detail.Count % 2 == 1 && rowidx == rs.Count - 1) {
                                cell.Borders = DevExpress.XtraPrinting.BorderSide.All;
                                cellwidth = 705.01f;
                            } else {
                                cellwidth = 305.01f;
                                cell.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top;
                            }
                            if (rowidx == rs.Count - 1) {
                                cell.Borders = cell.Borders | DevExpress.XtraPrinting.BorderSide.Bottom;
                            } else {
                                cell.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top;
                            }
                            cell.WidthF = cellwidth;
                            cell.Text = Prt.PrtOrder.PrdNo;
                            rs[rowidx].Cells.Add(cell);
                            cell.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;

                            cell.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Dash;
                            break;
                        case 1:
                            XRTableCell cell1 = new XRTableCell();
                            cellwidth = 138.07f;
                            cell1.WidthF = cellwidth;
                            cell1.Text = Prt.Detail[i].ProceName;
                            rs[rowidx].Cells.Add(cell1);
                            cell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                            if (rowidx == rs.Count - 1) {
                                cell1.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom;
                            } else {
                                cell1.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top;
                            }
                            cell1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Dash;
                            cell1 = new XRTableCell();
                            cellwidth = 261.93f;
                            cell1.WidthF = cellwidth;
                            cell1.Text = Prt.PrtOrder.PrdNo;
                            rs[rowidx].Cells.Add(cell1);
                            cell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                            if (rowidx == rs.Count - 1) {
                                cell1.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom
                                | DevExpress.XtraPrinting.BorderSide.Right;
                            } else {
                                cell1.Borders = DevExpress.XtraPrinting.BorderSide.Left
                                | DevExpress.XtraPrinting.BorderSide.Top
                                | DevExpress.XtraPrinting.BorderSide.Right;
                            }
                            cell1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Dash;
                            break;
                    }
                }
                xrTable.Rows.AddRange(rs.ToArray());
            }
        }
コード例 #15
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        string resourceFileName = "rp_austfeed_BCNhanVienTuyenDungNam.resx";

        System.Resources.ResourceManager resources = global::Resources.rp_austfeed_BCNhanVienTuyenDungNam.ResourceManager;
        this.Detail            = new DevExpress.XtraReports.UI.DetailBand();
        this.xrTable2          = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2       = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell9      = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell10     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell11     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell12     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell13     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell14     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell15     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell16     = new DevExpress.XtraReports.UI.XRTableCell();
        this.TopMargin         = new DevExpress.XtraReports.UI.TopMarginBand();
        this.BottomMargin      = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.ReportHeader      = new DevExpress.XtraReports.UI.ReportHeaderBand();
        this.xrLabel3          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel2          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel1          = new DevExpress.XtraReports.UI.XRLabel();
        this.PageHeader        = new DevExpress.XtraReports.UI.PageHeaderBand();
        this.xrTable1          = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1       = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell1      = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell5      = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell4      = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell6      = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell2      = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell8      = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell7      = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell3      = new DevExpress.XtraReports.UI.XRTableCell();
        this.ReportFooter      = new DevExpress.XtraReports.UI.ReportFooterBand();
        this.xrLabel6          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel7          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel10         = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel9          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel8          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel4          = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel5          = new DevExpress.XtraReports.UI.XRLabel();
        this.GroupHeader1      = new DevExpress.XtraReports.UI.GroupHeaderBand();
        this.xrTable3          = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow3       = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrl_groupphongban = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrPictureBox1     = new DevExpress.XtraReports.UI.XRPictureBox();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // Detail
        //
        this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2
        });
        this.Detail.HeightF       = 51F;
        this.Detail.Name          = "Detail";
        this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrTable2
        //
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 0F);
        this.xrTable2.Name          = "xrTable2";
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2
        });
        this.xrTable2.SizeF = new System.Drawing.SizeF(900F, 51F);
        this.xrTable2.StylePriority.UseBorders = false;
        //
        // xrTableRow2
        //
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell9,
            this.xrTableCell10,
            this.xrTableCell11,
            this.xrTableCell12,
            this.xrTableCell13,
            this.xrTableCell14,
            this.xrTableCell15,
            this.xrTableCell16
        });
        this.xrTableRow2.Name   = "xrTableRow2";
        this.xrTableRow2.Weight = 1D;
        //
        // xrTableCell9
        //
        this.xrTableCell9.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell9.Name = "xrTableCell9";
        this.xrTableCell9.StylePriority.UseFont          = false;
        this.xrTableCell9.StylePriority.UseTextAlignment = false;
        this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell9.Weight        = 0.22569442749023444D;
        this.xrTableCell9.BeforePrint  += new System.Drawing.Printing.PrintEventHandler(this.xrTableCell9_BeforePrint);
        //
        // xrTableCell10
        //
        this.xrTableCell10.Font    = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell10.Name    = "xrTableCell10";
        this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 6, 6, 100F);
        this.xrTableCell10.StylePriority.UseFont          = false;
        this.xrTableCell10.StylePriority.UsePadding       = false;
        this.xrTableCell10.StylePriority.UseTextAlignment = false;
        this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell10.Weight        = 0.48784721374511714D;
        //
        // xrTableCell11
        //
        this.xrTableCell11.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell11.Multiline                      = true;
        this.xrTableCell11.Name                           = "xrTableCell11";
        this.xrTableCell11.StylePriority.UseFont          = false;
        this.xrTableCell11.StylePriority.UseTextAlignment = false;
        this.xrTableCell11.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell11.Weight                         = 0.28993049621582023D;
        //
        // xrTableCell12
        //
        this.xrTableCell12.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell12.Multiline                      = true;
        this.xrTableCell12.Name                           = "xrTableCell12";
        this.xrTableCell12.StylePriority.UseFont          = false;
        this.xrTableCell12.StylePriority.UseTextAlignment = false;
        this.xrTableCell12.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableCell12.Weight                         = 0.27951403299967448D;
        //
        // xrTableCell13
        //
        this.xrTableCell13.Font    = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell13.Name    = "xrTableCell13";
        this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 6, 6, 100F);
        this.xrTableCell13.StylePriority.UseFont          = false;
        this.xrTableCell13.StylePriority.UsePadding       = false;
        this.xrTableCell13.StylePriority.UseTextAlignment = false;
        this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell13.Weight        = 0.30034716288248703D;
        //
        // xrTableCell14
        //
        this.xrTableCell14.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell14.Name = "xrTableCell14";
        this.xrTableCell14.StylePriority.UseFont          = false;
        this.xrTableCell14.StylePriority.UseTextAlignment = false;
        this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableCell14.Weight        = 0.36458333333333326D;
        //
        // xrTableCell15
        //
        this.xrTableCell15.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell15.Multiline                      = true;
        this.xrTableCell15.Name                           = "xrTableCell15";
        this.xrTableCell15.StylePriority.UseFont          = false;
        this.xrTableCell15.StylePriority.UseTextAlignment = false;
        this.xrTableCell15.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableCell15.Weight                         = 0.36111104329427079D;
        //
        // xrTableCell16
        //
        this.xrTableCell16.Font    = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell16.Name    = "xrTableCell16";
        this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 6, 6, 100F);
        this.xrTableCell16.StylePriority.UseFont          = false;
        this.xrTableCell16.StylePriority.UsePadding       = false;
        this.xrTableCell16.StylePriority.UseTextAlignment = false;
        this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell16.Weight        = 0.69097229003906246D;
        //
        // TopMargin
        //
        this.TopMargin.HeightF       = 38F;
        this.TopMargin.Name          = "TopMargin";
        this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // BottomMargin
        //
        this.BottomMargin.Name          = "BottomMargin";
        this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // ReportHeader
        //
        this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrPictureBox1,
            this.xrLabel3,
            this.xrLabel2,
            this.xrLabel1
        });
        this.ReportHeader.HeightF = 195.4167F;
        this.ReportHeader.Name    = "ReportHeader";
        //
        // xrLabel3
        //
        this.xrLabel3.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrLabel3.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 42.79167F);
        this.xrLabel3.Name                           = "xrLabel3";
        this.xrLabel3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel3.SizeF                          = new System.Drawing.SizeF(286.4583F, 23F);
        this.xrLabel3.StylePriority.UseFont          = false;
        this.xrLabel3.StylePriority.UseTextAlignment = false;
        this.xrLabel3.Text                           = "CÔNG TY CP AUSTFEED VIỆT NAM";
        this.xrLabel3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel2
        //
        this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 11F);
        this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(0.0001271566F, 129.7083F);
        this.xrLabel2.Name                           = "xrLabel2";
        this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel2.SizeF                          = new System.Drawing.SizeF(899.9999F, 23.00001F);
        this.xrLabel2.StylePriority.UseFont          = false;
        this.xrLabel2.StylePriority.UseTextAlignment = false;
        this.xrLabel2.Text                           = "Ngày báo cáo.......................";
        this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel1
        //
        this.xrLabel1.Font                           = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
        this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(0.0001271566F, 88.70834F);
        this.xrLabel1.Name                           = "xrLabel1";
        this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel1.SizeF                          = new System.Drawing.SizeF(899.9999F, 27.58333F);
        this.xrLabel1.StylePriority.UseFont          = false;
        this.xrLabel1.StylePriority.UseTextAlignment = false;
        this.xrLabel1.Text                           = "BÁO CÁO NHÂN VIÊN TUYỂN DỤNG NĂM ";
        this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // PageHeader
        //
        this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1
        });
        this.PageHeader.HeightF = 75.41666F;
        this.PageHeader.Name    = "PageHeader";
        //
        // xrTable1
        //
        this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
        this.xrTable1.Name          = "xrTable1";
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1
        });
        this.xrTable1.SizeF = new System.Drawing.SizeF(900F, 50.41666F);
        this.xrTable1.StylePriority.UseBorders = false;
        //
        // xrTableRow1
        //
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell5,
            this.xrTableCell4,
            this.xrTableCell6,
            this.xrTableCell2,
            this.xrTableCell8,
            this.xrTableCell7,
            this.xrTableCell3
        });
        this.xrTableRow1.Name   = "xrTableRow1";
        this.xrTableRow1.Weight = 1D;
        //
        // xrTableCell1
        //
        this.xrTableCell1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell1.Name = "xrTableCell1";
        this.xrTableCell1.StylePriority.UseFont          = false;
        this.xrTableCell1.StylePriority.UseTextAlignment = false;
        this.xrTableCell1.Text          = "STT";
        this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell1.Weight        = 0.22569442749023444D;
        //
        // xrTableCell5
        //
        this.xrTableCell5.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell5.Name = "xrTableCell5";
        this.xrTableCell5.StylePriority.UseFont          = false;
        this.xrTableCell5.StylePriority.UseTextAlignment = false;
        this.xrTableCell5.Text          = "Họ và tên";
        this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell5.Weight        = 0.48784721374511714D;
        //
        // xrTableCell4
        //
        this.xrTableCell4.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell4.Multiline                      = true;
        this.xrTableCell4.Name                           = "xrTableCell4";
        this.xrTableCell4.StylePriority.UseFont          = false;
        this.xrTableCell4.StylePriority.UseTextAlignment = false;
        this.xrTableCell4.Text                           = "Giới\r\n tính";
        this.xrTableCell4.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell4.Weight                         = 0.28993049621582023D;
        //
        // xrTableCell6
        //
        this.xrTableCell6.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell6.Multiline                      = true;
        this.xrTableCell6.Name                           = "xrTableCell6";
        this.xrTableCell6.StylePriority.UseFont          = false;
        this.xrTableCell6.StylePriority.UseTextAlignment = false;
        this.xrTableCell6.Text                           = "Năm \r\nsinh";
        this.xrTableCell6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell6.Weight                         = 0.27951403299967448D;
        //
        // xrTableCell2
        //
        this.xrTableCell2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell2.Name = "xrTableCell2";
        this.xrTableCell2.StylePriority.UseFont          = false;
        this.xrTableCell2.StylePriority.UseTextAlignment = false;
        this.xrTableCell2.Text          = "Chuyên ngành";
        this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell2.Weight        = 0.30034716288248703D;
        //
        // xrTableCell8
        //
        this.xrTableCell8.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell8.Name = "xrTableCell8";
        this.xrTableCell8.StylePriority.UseFont          = false;
        this.xrTableCell8.StylePriority.UseTextAlignment = false;
        this.xrTableCell8.Text          = "Số năm kinh nghiệm";
        this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell8.Weight        = 0.36458333333333326D;
        //
        // xrTableCell7
        //
        this.xrTableCell7.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell7.Multiline                      = true;
        this.xrTableCell7.Name                           = "xrTableCell7";
        this.xrTableCell7.StylePriority.UseFont          = false;
        this.xrTableCell7.StylePriority.UseTextAlignment = false;
        this.xrTableCell7.Text                           = "Số năm \r\ncông tác";
        this.xrTableCell7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell7.Weight                         = 0.36111104329427079D;
        //
        // xrTableCell3
        //
        this.xrTableCell3.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell3.Name = "xrTableCell3";
        this.xrTableCell3.StylePriority.UseFont          = false;
        this.xrTableCell3.StylePriority.UseTextAlignment = false;
        this.xrTableCell3.Text          = "Ví trí ứng tuyển";
        this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell3.Weight        = 0.69097229003906246D;
        //
        // ReportFooter
        //
        this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel6,
            this.xrLabel7,
            this.xrLabel10,
            this.xrLabel9,
            this.xrLabel8,
            this.xrLabel4,
            this.xrLabel5
        });
        this.ReportFooter.HeightF = 167F;
        this.ReportFooter.Name    = "ReportFooter";
        //
        // xrLabel6
        //
        this.xrLabel6.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(163)));
        this.xrLabel6.LocationFloat                  = new DevExpress.Utils.PointFloat(550.5735F, 3F);
        this.xrLabel6.Name                           = "xrLabel6";
        this.xrLabel6.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel6.SizeF                          = new System.Drawing.SizeF(349.4265F, 23F);
        this.xrLabel6.StylePriority.UseFont          = false;
        this.xrLabel6.StylePriority.UseTextAlignment = false;
        this.xrLabel6.Text                           = "Hưng Yên, ngày...........tháng............năm.............";
        this.xrLabel6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel7
        //
        this.xrLabel7.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrLabel7.LocationFloat                  = new DevExpress.Utils.PointFloat(626.0417F, 36.54165F);
        this.xrLabel7.Name                           = "xrLabel7";
        this.xrLabel7.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel7.SizeF                          = new System.Drawing.SizeF(182.6573F, 28.20829F);
        this.xrLabel7.StylePriority.UseFont          = false;
        this.xrLabel7.StylePriority.UseTextAlignment = false;
        this.xrLabel7.Text                           = "Trưởng phòng HCNS";
        this.xrLabel7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel10
        //
        this.xrLabel10.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel10.LocationFloat                  = new DevExpress.Utils.PointFloat(626.0417F, 134F);
        this.xrLabel10.Name                           = "xrLabel10";
        this.xrLabel10.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel10.SizeF                          = new System.Drawing.SizeF(177.0833F, 23F);
        this.xrLabel10.StylePriority.UseFont          = false;
        this.xrLabel10.StylePriority.UseTextAlignment = false;
        this.xrLabel10.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel9
        //
        this.xrLabel9.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel9.LocationFloat                  = new DevExpress.Utils.PointFloat(330.2083F, 134F);
        this.xrLabel9.Name                           = "xrLabel9";
        this.xrLabel9.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel9.SizeF                          = new System.Drawing.SizeF(144.7917F, 23F);
        this.xrLabel9.StylePriority.UseFont          = false;
        this.xrLabel9.StylePriority.UseTextAlignment = false;
        this.xrLabel9.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel8
        //
        this.xrLabel8.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel8.LocationFloat                  = new DevExpress.Utils.PointFloat(38.54168F, 134F);
        this.xrLabel8.Name                           = "xrLabel8";
        this.xrLabel8.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel8.SizeF                          = new System.Drawing.SizeF(153.1367F, 23F);
        this.xrLabel8.StylePriority.UseFont          = false;
        this.xrLabel8.StylePriority.UseTextAlignment = false;
        this.xrLabel8.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel4
        //
        this.xrLabel4.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrLabel4.LocationFloat                  = new DevExpress.Utils.PointFloat(38.54167F, 36.54165F);
        this.xrLabel4.Name                           = "xrLabel4";
        this.xrLabel4.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel4.SizeF                          = new System.Drawing.SizeF(153.1366F, 23F);
        this.xrLabel4.StylePriority.UseFont          = false;
        this.xrLabel4.StylePriority.UseTextAlignment = false;
        this.xrLabel4.Text                           = "Người lập";
        this.xrLabel4.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel5
        //
        this.xrLabel5.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrLabel5.LocationFloat                  = new DevExpress.Utils.PointFloat(326.027F, 36.54165F);
        this.xrLabel5.Name                           = "xrLabel5";
        this.xrLabel5.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel5.SizeF                          = new System.Drawing.SizeF(148.973F, 23F);
        this.xrLabel5.StylePriority.UseFont          = false;
        this.xrLabel5.StylePriority.UseTextAlignment = false;
        this.xrLabel5.Text                           = "Kế toán trưởng";
        this.xrLabel5.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // GroupHeader1
        //
        this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable3
        });
        this.GroupHeader1.HeightF = 25F;
        this.GroupHeader1.Name    = "GroupHeader1";
        //
        // xrTable3
        //
        this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable3.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable3.Name          = "xrTable3";
        this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow3
        });
        this.xrTable3.SizeF = new System.Drawing.SizeF(900F, 25F);
        this.xrTable3.StylePriority.UseBorders       = false;
        this.xrTable3.StylePriority.UseFont          = false;
        this.xrTable3.StylePriority.UseTextAlignment = false;
        this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrTableRow3
        //
        this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrl_groupphongban
        });
        this.xrTableRow3.Name   = "xrTableRow3";
        this.xrTableRow3.Weight = 1D;
        //
        // xrl_groupphongban
        //
        this.xrl_groupphongban.Font    = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_groupphongban.Name    = "xrl_groupphongban";
        this.xrl_groupphongban.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 5, 5, 100F);
        this.xrl_groupphongban.StylePriority.UseFont          = false;
        this.xrl_groupphongban.StylePriority.UsePadding       = false;
        this.xrl_groupphongban.StylePriority.UseTextAlignment = false;
        this.xrl_groupphongban.Text          = "Phòng ban";
        this.xrl_groupphongban.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrl_groupphongban.Weight        = 3D;
        //
        // xrPictureBox1
        //
        this.xrPictureBox1.Image         = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
        this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrPictureBox1.Name          = "xrPictureBox1";
        this.xrPictureBox1.SizeF         = new System.Drawing.SizeF(129.1667F, 42.79167F);
        //
        // rp_austfeed_BCNhanVienTuyenDungNam
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.ReportHeader,
            this.PageHeader,
            this.ReportFooter,
            this.GroupHeader1
        });
        this.Landscape  = true;
        this.Margins    = new System.Drawing.Printing.Margins(100, 100, 38, 100);
        this.PageHeight = 850;
        this.PageWidth  = 1100;
        this.Version    = "10.1";
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }
コード例 #16
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        string resourceFileName = "rp_austfeed_BCNhanVienHuongCheDoThaiSanTrongNam.resx";

        System.Resources.ResourceManager resources = global::Resources.rp_austfeed_BCNhanVienHuongCheDoThaiSanTrongNam.ResourceManager;
        this.Detail        = new DevExpress.XtraReports.UI.DetailBand();
        this.xrTable2      = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2   = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell7  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell8  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell9  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
        this.TopMargin     = new DevExpress.XtraReports.UI.TopMarginBand();
        this.BottomMargin  = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.ReportHeader  = new DevExpress.XtraReports.UI.ReportHeaderBand();
        this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
        this.xrLabel3      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel2      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel1      = new DevExpress.XtraReports.UI.XRLabel();
        this.PageHeader    = new DevExpress.XtraReports.UI.PageHeaderBand();
        this.xrTable1      = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1   = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell4  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell1  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell5  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell2  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell6  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell3  = new DevExpress.XtraReports.UI.XRTableCell();
        this.ReportFooter  = new DevExpress.XtraReports.UI.ReportFooterBand();
        this.xrLabel7      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel5      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel4      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel9      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel8      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel6      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel10     = new DevExpress.XtraReports.UI.XRLabel();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // Detail
        //
        this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2
        });
        this.Detail.HeightF       = 30F;
        this.Detail.Name          = "Detail";
        this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrTable2
        //
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable2.Name          = "xrTable2";
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2
        });
        this.xrTable2.SizeF = new System.Drawing.SizeF(969F, 30F);
        this.xrTable2.StylePriority.UseBorders = false;
        //
        // xrTableRow2
        //
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell7,
            this.xrTableCell8,
            this.xrTableCell9,
            this.xrTableCell10,
            this.xrTableCell11,
            this.xrTableCell12
        });
        this.xrTableRow2.Name   = "xrTableRow2";
        this.xrTableRow2.Weight = 1D;
        //
        // xrTableCell7
        //
        this.xrTableCell7.Font    = new System.Drawing.Font("Times New Roman", 12F);
        this.xrTableCell7.Name    = "xrTableCell7";
        this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrTableCell7.StylePriority.UseFont          = false;
        this.xrTableCell7.StylePriority.UsePadding       = false;
        this.xrTableCell7.StylePriority.UseTextAlignment = false;
        this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell7.Weight        = 0.21527770289666809D;
        this.xrTableCell7.BeforePrint  += new System.Drawing.Printing.PrintEventHandler(this.xrTableCell7_BeforePrint);
        //
        // xrTableCell8
        //
        this.xrTableCell8.Font    = new System.Drawing.Font("Times New Roman", 12F);
        this.xrTableCell8.Name    = "xrTableCell8";
        this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrTableCell8.StylePriority.UseFont          = false;
        this.xrTableCell8.StylePriority.UsePadding       = false;
        this.xrTableCell8.StylePriority.UseTextAlignment = false;
        this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell8.Weight        = 0.35069439711393163D;
        //
        // xrTableCell9
        //
        this.xrTableCell9.Font    = new System.Drawing.Font("Times New Roman", 12F);
        this.xrTableCell9.Name    = "xrTableCell9";
        this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrTableCell9.StylePriority.UseFont          = false;
        this.xrTableCell9.StylePriority.UsePadding       = false;
        this.xrTableCell9.StylePriority.UseTextAlignment = false;
        this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell9.Weight        = 0.624430329528753D;
        //
        // xrTableCell10
        //
        this.xrTableCell10.Font    = new System.Drawing.Font("Times New Roman", 12F);
        this.xrTableCell10.Name    = "xrTableCell10";
        this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrTableCell10.StylePriority.UseFont          = false;
        this.xrTableCell10.StylePriority.UsePadding       = false;
        this.xrTableCell10.StylePriority.UseTextAlignment = false;
        this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell10.Weight        = 0.80959757046064729D;
        //
        // xrTableCell11
        //
        this.xrTableCell11.Font                           = new System.Drawing.Font("Times New Roman", 12F);
        this.xrTableCell11.Multiline                      = true;
        this.xrTableCell11.Name                           = "xrTableCell11";
        this.xrTableCell11.StylePriority.UseFont          = false;
        this.xrTableCell11.StylePriority.UseTextAlignment = false;
        this.xrTableCell11.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell11.Weight                         = 0.5D;
        //
        // xrTableCell12
        //
        this.xrTableCell12.Font                           = new System.Drawing.Font("Times New Roman", 12F);
        this.xrTableCell12.Multiline                      = true;
        this.xrTableCell12.Name                           = "xrTableCell12";
        this.xrTableCell12.StylePriority.UseFont          = false;
        this.xrTableCell12.StylePriority.UseTextAlignment = false;
        this.xrTableCell12.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell12.Weight                         = 0.5D;
        //
        // TopMargin
        //
        this.TopMargin.Name          = "TopMargin";
        this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // BottomMargin
        //
        this.BottomMargin.Name          = "BottomMargin";
        this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // ReportHeader
        //
        this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrPictureBox1,
            this.xrLabel3,
            this.xrLabel2,
            this.xrLabel1
        });
        this.ReportHeader.HeightF = 149F;
        this.ReportHeader.Name    = "ReportHeader";
        //
        // xrPictureBox1
        //
        this.xrPictureBox1.Image         = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
        this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrPictureBox1.Name          = "xrPictureBox1";
        this.xrPictureBox1.SizeF         = new System.Drawing.SizeF(137.5F, 48.33333F);
        //
        // xrLabel3
        //
        this.xrLabel3.Font                           = new System.Drawing.Font("Times New Roman", 12F);
        this.xrLabel3.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 116.4583F);
        this.xrLabel3.Name                           = "xrLabel3";
        this.xrLabel3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel3.SizeF                          = new System.Drawing.SizeF(969F, 22.99999F);
        this.xrLabel3.StylePriority.UseFont          = false;
        this.xrLabel3.StylePriority.UseTextAlignment = false;
        this.xrLabel3.Text                           = "Ngày báo cáo.........................................";
        this.xrLabel3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel2
        //
        this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
        this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 93.45831F);
        this.xrLabel2.Name                           = "xrLabel2";
        this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel2.SizeF                          = new System.Drawing.SizeF(969F, 23F);
        this.xrLabel2.StylePriority.UseFont          = false;
        this.xrLabel2.StylePriority.UseTextAlignment = false;
        this.xrLabel2.Text                           = "BÁO CÁO NHÂN VIÊN HƯỞNG CHẾ ĐỘ THAI SẢN TRONG NĂM ";
        this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel1
        //
        this.xrLabel1.Font                  = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrLabel1.LocationFloat         = new DevExpress.Utils.PointFloat(0F, 48.95833F);
        this.xrLabel1.Name                  = "xrLabel1";
        this.xrLabel1.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel1.SizeF                 = new System.Drawing.SizeF(489.5833F, 23F);
        this.xrLabel1.StylePriority.UseFont = false;
        this.xrLabel1.Text                  = "CÔNG TY AUSTFEED VIỆT NAM";
        //
        // PageHeader
        //
        this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1
        });
        this.PageHeader.HeightF = 30F;
        this.PageHeader.Name    = "PageHeader";
        //
        // xrTable1
        //
        this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable1.Name          = "xrTable1";
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1
        });
        this.xrTable1.SizeF = new System.Drawing.SizeF(969F, 30F);
        this.xrTable1.StylePriority.UseBorders = false;
        //
        // xrTableRow1
        //
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell4,
            this.xrTableCell1,
            this.xrTableCell5,
            this.xrTableCell2,
            this.xrTableCell6,
            this.xrTableCell3
        });
        this.xrTableRow1.Name   = "xrTableRow1";
        this.xrTableRow1.Weight = 1D;
        //
        // xrTableCell4
        //
        this.xrTableCell4.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell4.Name = "xrTableCell4";
        this.xrTableCell4.StylePriority.UseFont          = false;
        this.xrTableCell4.StylePriority.UseTextAlignment = false;
        this.xrTableCell4.Text          = "STT";
        this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell4.Weight        = 0.21527770289666809D;
        //
        // xrTableCell1
        //
        this.xrTableCell1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell1.Name = "xrTableCell1";
        this.xrTableCell1.StylePriority.UseFont          = false;
        this.xrTableCell1.StylePriority.UseTextAlignment = false;
        this.xrTableCell1.Text          = "Mã nhân viên";
        this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell1.Weight        = 0.35069439711393163D;
        //
        // xrTableCell5
        //
        this.xrTableCell5.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell5.Name = "xrTableCell5";
        this.xrTableCell5.StylePriority.UseFont          = false;
        this.xrTableCell5.StylePriority.UseTextAlignment = false;
        this.xrTableCell5.Text          = "Họ và tên";
        this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell5.Weight        = 0.624430329528753D;
        //
        // xrTableCell2
        //
        this.xrTableCell2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell2.Name = "xrTableCell2";
        this.xrTableCell2.StylePriority.UseFont          = false;
        this.xrTableCell2.StylePriority.UseTextAlignment = false;
        this.xrTableCell2.Text          = "Chức vụ";
        this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell2.Weight        = 0.80959757046064729D;
        //
        // xrTableCell6
        //
        this.xrTableCell6.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell6.Multiline                      = true;
        this.xrTableCell6.Name                           = "xrTableCell6";
        this.xrTableCell6.StylePriority.UseFont          = false;
        this.xrTableCell6.StylePriority.UseTextAlignment = false;
        this.xrTableCell6.Text                           = "Thời gian bắt \r\nđầu hưởng";
        this.xrTableCell6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell6.Weight                         = 0.5D;
        //
        // xrTableCell3
        //
        this.xrTableCell3.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrTableCell3.Multiline                      = true;
        this.xrTableCell3.Name                           = "xrTableCell3";
        this.xrTableCell3.StylePriority.UseFont          = false;
        this.xrTableCell3.StylePriority.UseTextAlignment = false;
        this.xrTableCell3.Text                           = "Thời gian kết \r\nthúc";
        this.xrTableCell3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell3.Weight                         = 0.5D;
        //
        // ReportFooter
        //
        this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel7,
            this.xrLabel5,
            this.xrLabel4,
            this.xrLabel9,
            this.xrLabel8,
            this.xrLabel6,
            this.xrLabel10
        });
        this.ReportFooter.HeightF = 165F;
        this.ReportFooter.Name    = "ReportFooter";
        //
        // xrLabel7
        //
        this.xrLabel7.Font                           = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrLabel7.LocationFloat                  = new DevExpress.Utils.PointFloat(355.2083F, 126.0417F);
        this.xrLabel7.Name                           = "xrLabel7";
        this.xrLabel7.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel7.SizeF                          = new System.Drawing.SizeF(201.0417F, 23F);
        this.xrLabel7.StylePriority.UseFont          = false;
        this.xrLabel7.StylePriority.UseTextAlignment = false;
        this.xrLabel7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel5
        //
        this.xrLabel5.Font                           = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrLabel5.LocationFloat                  = new DevExpress.Utils.PointFloat(55.20833F, 126.0417F);
        this.xrLabel5.Name                           = "xrLabel5";
        this.xrLabel5.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel5.SizeF                          = new System.Drawing.SizeF(201.0417F, 23F);
        this.xrLabel5.StylePriority.UseFont          = false;
        this.xrLabel5.StylePriority.UseTextAlignment = false;
        this.xrLabel5.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel4
        //
        this.xrLabel4.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel4.LocationFloat                  = new DevExpress.Utils.PointFloat(55.20833F, 38.54167F);
        this.xrLabel4.Name                           = "xrLabel4";
        this.xrLabel4.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel4.SizeF                          = new System.Drawing.SizeF(201.0417F, 31.33334F);
        this.xrLabel4.StylePriority.UseFont          = false;
        this.xrLabel4.StylePriority.UseTextAlignment = false;
        this.xrLabel4.Text                           = "Người lập";
        this.xrLabel4.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel9
        //
        this.xrLabel9.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel9.LocationFloat                  = new DevExpress.Utils.PointFloat(717.7083F, 38.54167F);
        this.xrLabel9.Name                           = "xrLabel9";
        this.xrLabel9.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel9.SizeF                          = new System.Drawing.SizeF(201.0417F, 31.33334F);
        this.xrLabel9.StylePriority.UseFont          = false;
        this.xrLabel9.StylePriority.UseTextAlignment = false;
        this.xrLabel9.Text                           = "Trưởng phòng HCNS";
        this.xrLabel9.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel8
        //
        this.xrLabel8.Font                           = new System.Drawing.Font("Times New Roman", 12F);
        this.xrLabel8.LocationFloat                  = new DevExpress.Utils.PointFloat(642.9583F, 10.00001F);
        this.xrLabel8.Name                           = "xrLabel8";
        this.xrLabel8.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel8.SizeF                          = new System.Drawing.SizeF(326.0417F, 23F);
        this.xrLabel8.StylePriority.UseFont          = false;
        this.xrLabel8.StylePriority.UseTextAlignment = false;
        this.xrLabel8.Text                           = "Hưng Yên,ngày 30 tháng 12 năm 2014";
        this.xrLabel8.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel6
        //
        this.xrLabel6.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel6.LocationFloat                  = new DevExpress.Utils.PointFloat(355.2083F, 38.54167F);
        this.xrLabel6.Name                           = "xrLabel6";
        this.xrLabel6.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel6.SizeF                          = new System.Drawing.SizeF(201.0417F, 31.33334F);
        this.xrLabel6.StylePriority.UseFont          = false;
        this.xrLabel6.StylePriority.UseTextAlignment = false;
        this.xrLabel6.Text                           = "Kế toán trưởng";
        this.xrLabel6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel10
        //
        this.xrLabel10.Font                           = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrLabel10.LocationFloat                  = new DevExpress.Utils.PointFloat(717.7083F, 126.0417F);
        this.xrLabel10.Name                           = "xrLabel10";
        this.xrLabel10.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel10.SizeF                          = new System.Drawing.SizeF(201.0417F, 23F);
        this.xrLabel10.StylePriority.UseFont          = false;
        this.xrLabel10.StylePriority.UseTextAlignment = false;
        this.xrLabel10.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // rp_austfeed_BCNhanVienHuongCheDoThaiSanTrongNam
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.ReportHeader,
            this.PageHeader,
            this.ReportFooter
        });
        this.Landscape  = true;
        this.PageHeight = 827;
        this.PageWidth  = 1169;
        this.PaperKind  = System.Drawing.Printing.PaperKind.A4;
        this.Version    = "10.1";
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }
コード例 #17
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.XtraReports.UI.XRSummary            xrSummary1       = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.DataAccess.Sql.StoredProcQuery      storedProcQuery1 = new DevExpress.DataAccess.Sql.StoredProcQuery();
     DevExpress.DataAccess.Sql.StoredProcQuery      storedProcQuery2 = new DevExpress.DataAccess.Sql.StoredProcQuery();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(BCHieuSuatSuDung));
     this.GroupHeader1     = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrTable2         = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2      = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3     = new DevExpress.XtraReports.UI.XRTableCell();
     this.formattingRule1  = new DevExpress.XtraReports.UI.FormattingRule();
     this.TopMargin        = new DevExpress.XtraReports.UI.TopMarginBand();
     this.PageHeader       = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel2         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1         = new DevExpress.XtraReports.UI.XRLabel();
     this.LightBlue        = new DevExpress.XtraReports.UI.XRControlStyle();
     this.Detail           = new DevExpress.XtraReports.UI.DetailBand();
     this.xrTable1         = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1      = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell2     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell9     = new DevExpress.XtraReports.UI.XRTableCell();
     this.TableStyle       = new DevExpress.XtraReports.UI.XRControlStyle();
     this.White            = new DevExpress.XtraReports.UI.XRControlStyle();
     this.PageFooter       = new DevExpress.XtraReports.UI.PageFooterBand();
     this.TableHeaderStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.LavenderStyle    = new DevExpress.XtraReports.UI.XRControlStyle();
     this.BottomMargin     = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.sqlDataSource1   = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // GroupHeader1
     //
     this.GroupHeader1.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.GroupHeader1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2
     });
     this.GroupHeader1.Dpi = 100F;
     this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("ProductName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader1.HeightF         = 46.875F;
     this.GroupHeader1.Name            = "GroupHeader1";
     this.GroupHeader1.RepeatEveryPage = true;
     //
     // xrTable2
     //
     this.xrTable2.BackColor     = System.Drawing.Color.White;
     this.xrTable2.Dpi           = 100F;
     this.xrTable2.Font          = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold);
     this.xrTable2.ForeColor     = System.Drawing.Color.Black;
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(1.525879E-05F, 0F);
     this.xrTable2.Name          = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.SizeF                          = new System.Drawing.SizeF(822.9999F, 46.875F);
     this.xrTable2.StyleName                      = "TableHeaderStyle";
     this.xrTable2.StylePriority.UseFont          = false;
     this.xrTable2.StylePriority.UseTextAlignment = false;
     this.xrTable2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell4,
         this.xrTableCell3
     });
     this.xrTableRow2.Dpi    = 100F;
     this.xrTableRow2.Name   = "xrTableRow2";
     this.xrTableRow2.Weight = 1D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.Dpi    = 100F;
     this.xrTableCell1.Name   = "xrTableCell1";
     this.xrTableCell1.Text   = "STT";
     this.xrTableCell1.Weight = 0.7459928681595458D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Dpi  = 100F;
     this.xrTableCell4.Name = "xrTableCell4";
     this.xrTableCell4.StylePriority.UseTextAlignment = false;
     this.xrTableCell4.Text          = "Tên mặt hàng ";
     this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrTableCell4.Weight        = 2.4890569209196167D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.Dpi    = 100F;
     this.xrTableCell3.Name   = "xrTableCell3";
     this.xrTableCell3.Text   = "Số đơn vị sử dụng";
     this.xrTableCell3.Weight = 2.1230782979990934D;
     //
     // formattingRule1
     //
     this.formattingRule1.Name = "formattingRule1";
     //
     // TopMargin
     //
     this.TopMargin.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.TopMargin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.TopMargin.Dpi         = 100F;
     this.TopMargin.HeightF     = 23F;
     this.TopMargin.Name        = "TopMargin";
     this.TopMargin.Padding     = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.StylePriority.UseBackColor   = false;
     this.TopMargin.StylePriority.UseBorderColor = false;
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // PageHeader
     //
     this.PageHeader.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.PageHeader.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2,
         this.xrLabel1
     });
     this.PageHeader.Dpi     = 100F;
     this.PageHeader.HeightF = 113.5417F;
     this.PageHeader.Name    = "PageHeader";
     this.PageHeader.StylePriority.UseBackColor   = false;
     this.PageHeader.StylePriority.UseBorderColor = false;
     //
     // xrLabel2
     //
     this.xrLabel2.Dpi                            = 100F;
     this.xrLabel2.Font                           = new System.Drawing.Font("Sitka Text", 16F);
     this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(6.357829E-05F, 70.20836F);
     this.xrLabel2.Name                           = "xrLabel2";
     this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF                          = new System.Drawing.SizeF(822.9998F, 31.24997F);
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text                           = "(Tính đến ngày [GetSystemdate().Column1])";
     this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel1
     //
     this.xrLabel1.BorderWidth                    = 0F;
     this.xrLabel1.Dpi                            = 100F;
     this.xrLabel1.Font                           = new System.Drawing.Font("Sitka Text", 36F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.ForeColor                      = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160)))));
     this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 10.00001F);
     this.xrLabel1.Name                           = "xrLabel1";
     this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.xrLabel1.SizeF                          = new System.Drawing.SizeF(823F, 60.20834F);
     this.xrLabel1.StyleName                      = "TableStyle";
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UseForeColor     = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text                           = "Báo Cáo Hiệu Suất Sử Dụng ";
     this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // LightBlue
     //
     this.LightBlue.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(136)))), ((int)(((byte)(153)))));
     this.LightBlue.Name      = "LightBlue";
     //
     // Detail
     //
     this.Detail.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.Detail.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.Detail.Dpi           = 100F;
     this.Detail.HeightF       = 48.95833F;
     this.Detail.Name          = "Detail";
     this.Detail.OddStyleName  = "LightBlue";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrTable1
     //
     this.xrTable1.Dpi           = 100F;
     this.xrTable1.EvenStyleName = "LavenderStyle";
     this.xrTable1.Font          = new System.Drawing.Font("Times New Roman", 18F);
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(6.103516E-05F, 0F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.OddStyleName  = "White";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(822.9998F, 47.29166F);
     this.xrTable1.StylePriority.UseFont          = false;
     this.xrTable1.StylePriority.UseTextAlignment = false;
     this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell2,
         this.xrTableCell6,
         this.xrTableCell9
     });
     this.xrTableRow1.Dpi    = 100F;
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.Dpi  = 100F;
     this.xrTableCell2.Name = "xrTableCell2";
     this.xrTableCell2.StylePriority.UseTextAlignment = false;
     xrSummary1.FormatString         = "{0:#,#}";
     xrSummary1.Func                 = DevExpress.XtraReports.UI.SummaryFunc.RecordNumber;
     xrSummary1.Running              = DevExpress.XtraReports.UI.SummaryRunning.Group;
     this.xrTableCell2.Summary       = xrSummary1;
     this.xrTableCell2.Text          = "xrTableCell2";
     this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell2.Weight        = 0.59648159136151668D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetHieuSuatSuDung().TenMatHang")
     });
     this.xrTableCell6.Dpi    = 100F;
     this.xrTableCell6.Name   = "xrTableCell6";
     this.xrTableCell6.Text   = "xrTableCell6";
     this.xrTableCell6.Weight = 1.9902028058924659D;
     //
     // xrTableCell9
     //
     this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetHieuSuatSuDung().SLDVTheoMH")
     });
     this.xrTableCell9.Dpi  = 100F;
     this.xrTableCell9.Name = "xrTableCell9";
     this.xrTableCell9.StylePriority.UseTextAlignment = false;
     this.xrTableCell9.Text          = "xrTableCell9";
     this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell9.Weight        = 1.6975732827658032D;
     //
     // TableStyle
     //
     this.TableStyle.BackColor       = System.Drawing.Color.White;
     this.TableStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(250)))));
     this.TableStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.TableStyle.Borders         = DevExpress.XtraPrinting.BorderSide.None;
     this.TableStyle.Font            = new System.Drawing.Font("Calibri", 36F);
     this.TableStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(136)))), ((int)(((byte)(153)))));
     this.TableStyle.Name            = "TableStyle";
     this.TableStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
     //
     // White
     //
     this.White.BackColor   = System.Drawing.Color.White;
     this.White.BorderWidth = 0F;
     this.White.Font        = new System.Drawing.Font("Segoe UI", 9.75F);
     this.White.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
     this.White.Name        = "White";
     this.White.Padding     = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
     //
     // PageFooter
     //
     this.PageFooter.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.PageFooter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.PageFooter.Borders     = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.PageFooter.Dpi         = 100F;
     this.PageFooter.HeightF     = 31.25F;
     this.PageFooter.Name        = "PageFooter";
     //
     // TableHeaderStyle
     //
     this.TableHeaderStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(136)))), ((int)(((byte)(153)))));
     this.TableHeaderStyle.Font      = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold);
     this.TableHeaderStyle.ForeColor = System.Drawing.Color.White;
     this.TableHeaderStyle.Name      = "TableHeaderStyle";
     this.TableHeaderStyle.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
     //
     // LavenderStyle
     //
     this.LavenderStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(250)))));
     this.LavenderStyle.Font      = new System.Drawing.Font("Segoe UI", 9.75F);
     this.LavenderStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
     this.LavenderStyle.Name      = "LavenderStyle";
     this.LavenderStyle.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
     //
     // BottomMargin
     //
     this.BottomMargin.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.BottomMargin.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.BottomMargin.Dpi           = 100F;
     this.BottomMargin.HeightF       = 39.66665F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionName = "WebQLKhoDuoc";
     this.sqlDataSource1.Name           = "sqlDataSource1";
     storedProcQuery1.Name           = "GetHieuSuatSuDung()";
     storedProcQuery1.StoredProcName = "GetHieuSuatSuDung";
     storedProcQuery2.Name           = "GetSystemdate()";
     storedProcQuery2.StoredProcName = "GetSystemdate";
     this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         storedProcQuery1,
         storedProcQuery2
     });
     this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
     //
     // BCHieuSuatSuDung
     //
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.GroupHeader1,
         this.PageHeader,
         this.PageFooter
     });
     this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.sqlDataSource1
     });
     this.DataMember = "GetHieuSuatSuDung()";
     this.DataSource = this.sqlDataSource1;
     this.Font       = new System.Drawing.Font("Arial Narrow", 9.75F);
     this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
         this.formattingRule1
     });
     this.Margins = new System.Drawing.Printing.Margins(11, 16, 23, 40);
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.LightBlue,
         this.TableHeaderStyle,
         this.TableStyle,
         this.White,
         this.LavenderStyle
     });
     this.Version = "16.2";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #18
0
	/// <summary>
	/// Required method for Designer support - do not modify
	/// the contents of this method with the code editor.
	/// </summary>
	public void InitializeComponent() {
            string resourceFileName = "OgrenciSinifListesi.resx";
            System.Resources.ResourceManager resources = global::Resources.OgrenciSinifListesi.ResourceManager;
            this.components = new System.ComponentModel.Container();
            DevExpress.DataAccess.Sql.TableQuery tableQuery1 = new DevExpress.DataAccess.Sql.TableQuery();
            DevExpress.DataAccess.Sql.RelationInfo relationInfo1 = new DevExpress.DataAccess.Sql.RelationInfo();
            DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo1 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
            DevExpress.DataAccess.Sql.RelationInfo relationInfo2 = new DevExpress.DataAccess.Sql.RelationInfo();
            DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo2 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
            DevExpress.DataAccess.Sql.RelationInfo relationInfo3 = new DevExpress.DataAccess.Sql.RelationInfo();
            DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo3 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
            DevExpress.DataAccess.Sql.RelationInfo relationInfo4 = new DevExpress.DataAccess.Sql.RelationInfo();
            DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo4 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
            DevExpress.DataAccess.Sql.TableInfo tableInfo1 = new DevExpress.DataAccess.Sql.TableInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo1 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo2 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo3 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.TableInfo tableInfo2 = new DevExpress.DataAccess.Sql.TableInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo4 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo5 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.TableInfo tableInfo3 = new DevExpress.DataAccess.Sql.TableInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo6 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo7 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.TableInfo tableInfo4 = new DevExpress.DataAccess.Sql.TableInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo8 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo9 = new DevExpress.DataAccess.Sql.ColumnInfo();
            DevExpress.DataAccess.Sql.TableInfo tableInfo5 = new DevExpress.DataAccess.Sql.TableInfo();
            DevExpress.DataAccess.Sql.ColumnInfo columnInfo10 = new DevExpress.DataAccess.Sql.ColumnInfo();
            this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource();
            this.Detail = new DevExpress.XtraReports.UI.DetailBand();
            this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
            this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
            this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
            this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
            this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
            this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
            this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
            this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
            this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
            this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
            this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
            this.sharedImageCollection1 = new DevExpress.Utils.SharedImageCollection(this.components);
            this.cat_id = new DevExpress.XtraReports.Parameters.Parameter();
            this.dersid = new DevExpress.XtraReports.Parameters.Parameter();
            this.formattingRule1 = new DevExpress.XtraReports.UI.FormattingRule();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sharedImageCollection1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.sharedImageCollection1.ImageSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // sqlDataSource1
            // 
            this.sqlDataSource1.ConnectionName = "Tu_SinavConnectionString";
            this.sqlDataSource1.Name = "sqlDataSource1";
            tableQuery1.Name = "CustomSqlQuery";
            relationColumnInfo1.NestedKeyColumn = "ogr_no";
            relationColumnInfo1.ParentKeyColumn = "ogr_no";
            relationInfo1.KeyColumns.AddRange(new DevExpress.DataAccess.Sql.RelationColumnInfo[] {
            relationColumnInfo1});
            relationInfo1.NestedTable = "Ogrenci";
            relationInfo1.ParentTable = "ogr_sinav_derslik";
            relationColumnInfo2.NestedKeyColumn = "Sinav_id";
            relationColumnInfo2.ParentKeyColumn = "Sinav_id";
            relationInfo2.KeyColumns.AddRange(new DevExpress.DataAccess.Sql.RelationColumnInfo[] {
            relationColumnInfo2});
            relationInfo2.NestedTable = "Sinavlar";
            relationInfo2.ParentTable = "ogr_sinav_derslik";
            relationColumnInfo3.NestedKeyColumn = "ders_id";
            relationColumnInfo3.ParentKeyColumn = "ders_id";
            relationInfo3.KeyColumns.AddRange(new DevExpress.DataAccess.Sql.RelationColumnInfo[] {
            relationColumnInfo3});
            relationInfo3.NestedTable = "Dersler";
            relationInfo3.ParentTable = "Sinavlar";
            relationColumnInfo4.NestedKeyColumn = "derslik_id";
            relationColumnInfo4.ParentKeyColumn = "derslik_id";
            relationInfo4.KeyColumns.AddRange(new DevExpress.DataAccess.Sql.RelationColumnInfo[] {
            relationColumnInfo4});
            relationInfo4.NestedTable = "Derslik";
            relationInfo4.ParentTable = "ogr_sinav_derslik";
            tableQuery1.Relations.AddRange(new DevExpress.DataAccess.Sql.RelationInfo[] {
            relationInfo1,
            relationInfo2,
            relationInfo3,
            relationInfo4});
            tableInfo1.Name = "ogr_sinav_derslik";
            columnInfo1.Name = "ogr_no";
            columnInfo2.Name = "Sinav_id";
            columnInfo3.Name = "derslik_id";
            tableInfo1.SelectedColumns.AddRange(new DevExpress.DataAccess.Sql.ColumnInfo[] {
            columnInfo1,
            columnInfo2,
            columnInfo3});
            tableInfo2.Name = "Ogrenci";
            columnInfo4.Name = "ogr_adi";
            columnInfo5.Name = "ogr_soyadi";
            tableInfo2.SelectedColumns.AddRange(new DevExpress.DataAccess.Sql.ColumnInfo[] {
            columnInfo4,
            columnInfo5});
            tableInfo3.Name = "Sinavlar";
            columnInfo6.Name = "ders_id";
            columnInfo7.Name = "tarih";
            tableInfo3.SelectedColumns.AddRange(new DevExpress.DataAccess.Sql.ColumnInfo[] {
            columnInfo6,
            columnInfo7});
            tableInfo4.Name = "Dersler";
            columnInfo8.Alias = "Dersler_ders_id";
            columnInfo8.Name = "ders_id";
            columnInfo9.Name = "ders_adi";
            tableInfo4.SelectedColumns.AddRange(new DevExpress.DataAccess.Sql.ColumnInfo[] {
            columnInfo8,
            columnInfo9});
            tableInfo5.Name = "Derslik";
            columnInfo10.Name = "derslik_adi";
            tableInfo5.SelectedColumns.AddRange(new DevExpress.DataAccess.Sql.ColumnInfo[] {
            columnInfo10});
            tableQuery1.Tables.AddRange(new DevExpress.DataAccess.Sql.TableInfo[] {
            tableInfo1,
            tableInfo2,
            tableInfo3,
            tableInfo4,
            tableInfo5});
            this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
            tableQuery1});
            this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
            // 
            // Detail
            // 
            this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2});
            this.Detail.HeightF = 24.93844F;
            this.Detail.MultiColumn.ColumnSpacing = 10F;
            this.Detail.MultiColumn.ColumnWidth = 355F;
            this.Detail.MultiColumn.Layout = DevExpress.XtraPrinting.ColumnLayout.AcrossThenDown;
            this.Detail.MultiColumn.Mode = DevExpress.XtraReports.UI.MultiColumnMode.UseColumnCount;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.Detail.StyleName = "DataField";
            this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            // 
            // xrTable2
            // 
            this.xrTable2.BackColor = System.Drawing.Color.Transparent;
            this.xrTable2.BorderColor = System.Drawing.Color.Gainsboro;
            this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable2.Font = new System.Drawing.Font("Times New Roman", 12F);
            this.xrTable2.ForeColor = System.Drawing.Color.Black;
            this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrTable2.Name = "xrTable2";
            this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F);
            this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2});
            this.xrTable2.SizeF = new System.Drawing.SizeF(737.5F, 24.39223F);
            this.xrTable2.StylePriority.UseBackColor = false;
            this.xrTable2.StylePriority.UseBorderColor = false;
            this.xrTable2.StylePriority.UseBorders = false;
            this.xrTable2.StylePriority.UseFont = false;
            this.xrTable2.StylePriority.UseForeColor = false;
            this.xrTable2.StylePriority.UsePadding = false;
            // 
            // xrTableRow2
            // 
            this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell5,
            this.xrTableCell6,
            this.xrTableCell7,
            this.xrTableCell8});
            this.xrTableRow2.Name = "xrTableRow2";
            this.xrTableRow2.Weight = 1D;
            // 
            // xrTableCell5
            // 
            this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomSqlQuery.ogr_no")});
            this.xrTableCell5.Name = "xrTableCell5";
            this.xrTableCell5.Weight = 1D;
            // 
            // xrTableCell6
            // 
            this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomSqlQuery.ogr_adi")});
            this.xrTableCell6.Name = "xrTableCell6";
            this.xrTableCell6.Text = "xrTableCell6";
            this.xrTableCell6.Weight = 1D;
            // 
            // xrTableCell7
            // 
            this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomSqlQuery.ogr_soyadi")});
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.Text = "xrTableCell7";
            this.xrTableCell7.Weight = 1D;
            // 
            // xrTableCell8
            // 
            this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomSqlQuery.derslik_adi")});
            this.xrTableCell8.Name = "xrTableCell8";
            this.xrTableCell8.Weight = 1D;
            // 
            // Title
            // 
            this.Title.BackColor = System.Drawing.Color.Transparent;
            this.Title.BorderColor = System.Drawing.Color.Black;
            this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.Title.BorderWidth = 1F;
            this.Title.Font = new System.Drawing.Font("Times New Roman", 20F, System.Drawing.FontStyle.Bold);
            this.Title.ForeColor = System.Drawing.Color.Maroon;
            this.Title.Name = "Title";
            // 
            // FieldCaption
            // 
            this.FieldCaption.BackColor = System.Drawing.Color.Transparent;
            this.FieldCaption.BorderColor = System.Drawing.Color.Black;
            this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.FieldCaption.BorderWidth = 1F;
            this.FieldCaption.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
            this.FieldCaption.ForeColor = System.Drawing.Color.Maroon;
            this.FieldCaption.Name = "FieldCaption";
            // 
            // PageInfo
            // 
            this.PageInfo.BackColor = System.Drawing.Color.Transparent;
            this.PageInfo.BorderColor = System.Drawing.Color.Black;
            this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.PageInfo.BorderWidth = 1F;
            this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.PageInfo.ForeColor = System.Drawing.Color.Black;
            this.PageInfo.Name = "PageInfo";
            // 
            // DataField
            // 
            this.DataField.BackColor = System.Drawing.Color.Transparent;
            this.DataField.BorderColor = System.Drawing.Color.Black;
            this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.DataField.BorderWidth = 1F;
            this.DataField.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.DataField.ForeColor = System.Drawing.Color.Black;
            this.DataField.Name = "DataField";
            this.DataField.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            // 
            // topMarginBand1
            // 
            this.topMarginBand1.HeightF = 0F;
            this.topMarginBand1.Name = "topMarginBand1";
            // 
            // bottomMarginBand1
            // 
            this.bottomMarginBand1.HeightF = 0F;
            this.bottomMarginBand1.Name = "bottomMarginBand1";
            // 
            // ReportHeader
            // 
            this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel1});
            this.ReportHeader.HeightF = 27.41666F;
            this.ReportHeader.Name = "ReportHeader";
            // 
            // xrLabel1
            // 
            this.xrLabel1.BorderColor = System.Drawing.Color.DarkGray;
            this.xrLabel1.BorderWidth = 14F;
            this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
            this.xrLabel1.ForeColor = System.Drawing.Color.Black;
            this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel1.SizeF = new System.Drawing.SizeF(253.125F, 26.41666F);
            this.xrLabel1.StylePriority.UseBorderColor = false;
            this.xrLabel1.StylePriority.UseBorderWidth = false;
            this.xrLabel1.StylePriority.UseFont = false;
            this.xrLabel1.StylePriority.UseForeColor = false;
            this.xrLabel1.Text = "Öğrenci Sınıf Listesi";
            // 
            // PageHeader
            // 
            this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1});
            this.PageHeader.HeightF = 33.37498F;
            this.PageHeader.Name = "PageHeader";
            // 
            // xrTable1
            // 
            this.xrTable1.BackColor = System.Drawing.Color.SlateGray;
            this.xrTable1.BorderColor = System.Drawing.Color.Gainsboro;
            this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable1.Font = new System.Drawing.Font("Times New Roman", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
            this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 5, 5, 100F);
            this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1});
            this.xrTable1.SizeF = new System.Drawing.SizeF(737.5F, 32.29167F);
            this.xrTable1.StylePriority.UseBackColor = false;
            this.xrTable1.StylePriority.UseBorderColor = false;
            this.xrTable1.StylePriority.UseBorders = false;
            this.xrTable1.StylePriority.UseFont = false;
            this.xrTable1.StylePriority.UsePadding = false;
            // 
            // xrTableRow1
            // 
            this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell2,
            this.xrTableCell3,
            this.xrTableCell4});
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.Weight = 1D;
            // 
            // xrTableCell1
            // 
            this.xrTableCell1.Name = "xrTableCell1";
            this.xrTableCell1.Text = "Öğrenci Numarası";
            this.xrTableCell1.Weight = 1D;
            // 
            // xrTableCell2
            // 
            this.xrTableCell2.Name = "xrTableCell2";
            this.xrTableCell2.Text = "Öğrenci Adi";
            this.xrTableCell2.Weight = 1D;
            // 
            // xrTableCell3
            // 
            this.xrTableCell3.Name = "xrTableCell3";
            this.xrTableCell3.Text = "Öğrenci Soyadı";
            this.xrTableCell3.Weight = 1D;
            // 
            // xrTableCell4
            // 
            this.xrTableCell4.Name = "xrTableCell4";
            this.xrTableCell4.Text = "Derslik";
            this.xrTableCell4.Weight = 1D;
            // 
            // sharedImageCollection1
            // 
            // 
            // 
            // 
            this.sharedImageCollection1.ImageSource.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("sharedImageCollection1.ImageSource.ImageStream")));
            this.sharedImageCollection1.ParentControl = null;
            // 
            // cat_id
            // 
            this.cat_id.Description = "categoryid";
            this.cat_id.Name = "cat_id";
            this.cat_id.Type = typeof(int);
            this.cat_id.ValueInfo = "1";
            this.cat_id.Visible = false;
            // 
            // dersid
            // 
            this.dersid.Description = "dersid";
            this.dersid.Name = "dersid";
            this.dersid.Type = typeof(int);
            this.dersid.ValueInfo = "0";
            this.dersid.Visible = false;
            // 
            // formattingRule1
            // 
            this.formattingRule1.Name = "formattingRule1";
            // 
            // XtraReport1
            // 
            this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.topMarginBand1,
            this.bottomMarginBand1,
            this.ReportHeader,
            this.PageHeader});
            this.ComponentStorage.Add(this.sqlDataSource1);
            this.DataMember = "CustomSqlQuery";
            this.DataSource = this.sqlDataSource1;
            this.FilterString = "[Sinav_id] = ?dersid";
            this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
            this.formattingRule1});
            this.Margins = new System.Drawing.Printing.Margins(65, 0, 0, 0);
            this.PageHeight = 1169;
            this.PageWidth = 827;
            this.PaperKind = System.Drawing.Printing.PaperKind.A4;
            this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
            this.cat_id,
            this.dersid});
            this.ReportPrintOptions.DetailCountOnEmptyDataSource = 12;
            this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
            this.Title,
            this.FieldCaption,
            this.PageInfo,
            this.DataField});
            this.Version = "14.2";
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sharedImageCollection1.ImageSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.sharedImageCollection1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

	}
コード例 #19
0
ファイル: EmployeeReport.cs プロジェクト: xbadcode/Rubezh
		private void AddRowToLeftTable(string text1, string text2)
		{
			var row = new XRTableRow();
			if (!GetFilter<EmployeeReportFilter>().IsEmployee)
				row.BackColor = System.Drawing.Color.LightGray;
			if (xrLeftTable.Rows.Count % 2 == 0)
				row.StyleName = "OddRowStyle";
			xrLeftTable.Rows.Add(row);
			row.Cells.Add(new XRTableCell() { Text = text1 });
			row.Cells.Add(new XRTableCell() { Text = text2 });
			row.Cells[0].WidthF = WidthF = xrLeftTable.Rows[0].Cells[0].WidthF;
			row.Cells[1].WidthF = WidthF = xrLeftTable.Rows[0].Cells[1].WidthF;

		}
コード例 #20
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(r_productivity));
     DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series    series1    = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel();
     DevExpress.XtraCharts.SideBySideBarSeriesView  sideBySideBarSeriesView1  = new DevExpress.XtraCharts.SideBySideBarSeriesView();
     DevExpress.XtraCharts.Series                  series2                  = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.PointSeriesLabel        pointSeriesLabel1        = new DevExpress.XtraCharts.PointSeriesLabel();
     DevExpress.XtraCharts.SplineSeriesView        splineSeriesView1        = new DevExpress.XtraCharts.SplineSeriesView();
     DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView2 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
     DevExpress.DataAccess.Sql.CustomSqlQuery      customSqlQuery1          = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DataAccess.Sql.CustomSqlQuery      customSqlQuery2          = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DataAccess.Sql.CustomSqlQuery      customSqlQuery3          = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DataAccess.Sql.CustomSqlQuery      customSqlQuery4          = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.XtraCharts.XYDiagram               xyDiagram2               = new DevExpress.XtraCharts.XYDiagram();
     DevExpress.XtraCharts.Series                  series3                  = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.SideBySideBarSeriesView sideBySideBarSeriesView3 = new DevExpress.XtraCharts.SideBySideBarSeriesView();
     DevExpress.XtraCharts.Series                  series4                  = new DevExpress.XtraCharts.Series();
     DevExpress.XtraCharts.PointSeriesLabel        pointSeriesLabel2        = new DevExpress.XtraCharts.PointSeriesLabel();
     DevExpress.XtraCharts.LineSeriesView          lineSeriesView1          = new DevExpress.XtraCharts.LineSeriesView();
     this.TopMargin      = new DevExpress.XtraReports.UI.TopMarginBand();
     this.xrLabel4       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLine1        = new DevExpress.XtraReports.UI.XRLine();
     this.xrPictureBox1  = new DevExpress.XtraReports.UI.XRPictureBox();
     this.BottomMargin   = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.xrLabel1       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLine2        = new DevExpress.XtraReports.UI.XRLine();
     this.Detail         = new DevExpress.XtraReports.UI.DetailBand();
     this.xrLabel6       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrChart3       = new DevExpress.XtraReports.UI.XRChart();
     this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
     this.xrLabel3       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTable2       = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2    = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrColumn1      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrColumn2      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrColumn3      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrColumn4      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrColumn5      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrColumn6      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrChart1       = new DevExpress.XtraReports.UI.XRChart();
     this.xrTable1       = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1    = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6   = new DevExpress.XtraReports.UI.XRTableCell();
     this.DetailReport   = new DevExpress.XtraReports.UI.DetailReportBand();
     this.Detail1        = new DevExpress.XtraReports.UI.DetailBand();
     this.ReportFooter   = new DevExpress.XtraReports.UI.ReportFooterBand();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(splineSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(series4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // TopMargin
     //
     this.TopMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel4,
         this.xrLine1,
         this.xrPictureBox1
     });
     this.TopMargin.HeightF = 65F;
     this.TopMargin.Name    = "TopMargin";
     //
     // xrLabel4
     //
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(598.9583F, 25.33332F);
     this.xrLabel4.Multiline     = true;
     this.xrLabel4.Name          = "xrLabel4";
     this.xrLabel4.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF         = new System.Drawing.SizeF(391.0416F, 23F);
     this.xrLabel4.StylePriority.UseTextAlignment = false;
     this.xrLabel4.Text          = "Utilization";
     this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // xrLine1
     //
     this.xrLine1.BorderColor   = System.Drawing.Color.Empty;
     this.xrLine1.ForeColor     = System.Drawing.Color.Gray;
     this.xrLine1.LineWidth     = 5F;
     this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 48.33333F);
     this.xrLine1.Name          = "xrLine1";
     this.xrLine1.SizeF         = new System.Drawing.SizeF(996.875F, 16.66667F);
     this.xrLine1.StylePriority.UseBorderColor = false;
     this.xrLine1.StylePriority.UseForeColor   = false;
     //
     // xrPictureBox1
     //
     this.xrPictureBox1.ImageSource   = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
     this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 8.75F);
     this.xrPictureBox1.Name          = "xrPictureBox1";
     this.xrPictureBox1.SizeF         = new System.Drawing.SizeF(153.125F, 39.58333F);
     this.xrPictureBox1.Sizing        = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
     //
     // BottomMargin
     //
     this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel1,
         this.xrLine2
     });
     this.BottomMargin.HeightF = 54F;
     this.BottomMargin.Name    = "BottomMargin";
     //
     // xrLabel1
     //
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(598.9583F, 16.66667F);
     this.xrLabel1.Multiline     = true;
     this.xrLabel1.Name          = "xrLabel1";
     this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF         = new System.Drawing.SizeF(401.0417F, 23F);
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text          = "xrLabel1";
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // xrLine2
     //
     this.xrLine2.BorderColor   = System.Drawing.Color.Empty;
     this.xrLine2.ForeColor     = System.Drawing.Color.Gray;
     this.xrLine2.LineWidth     = 5F;
     this.xrLine2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLine2.Name          = "xrLine2";
     this.xrLine2.SizeF         = new System.Drawing.SizeF(996.875F, 16.66667F);
     this.xrLine2.StylePriority.UseBorderColor = false;
     this.xrLine2.StylePriority.UseForeColor   = false;
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel6,
         this.xrChart3,
         this.xrLabel3,
         this.xrLabel5,
         this.xrTable2,
         this.xrChart1
     });
     this.Detail.HeightF = 582.7084F;
     this.Detail.Name    = "Detail";
     //
     // xrLabel6
     //
     this.xrLabel6.Font                           = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel6.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 524.2917F);
     this.xrLabel6.Multiline                      = true;
     this.xrLabel6.Name                           = "xrLabel6";
     this.xrLabel6.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF                          = new System.Drawing.SizeF(153.125F, 23F);
     this.xrLabel6.StylePriority.UseFont          = false;
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     this.xrLabel6.Text                           = "ACTIONS RAIL";
     this.xrLabel6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrChart3
     //
     this.xrChart3.AutoLayout     = true;
     this.xrChart3.BackColor      = System.Drawing.Color.White;
     this.xrChart3.BorderColor    = System.Drawing.Color.Black;
     this.xrChart3.Borders        = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart3.DataSource     = this.sqlDataSource1;
     xyDiagram1.AxisX.Label.Angle = 270;
     xyDiagram1.AxisX.Label.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram1.AxisX.Label.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     xyDiagram1.AxisX.Label.ResolveOverlappingOptions.MinIndent = 1;
     xyDiagram1.AxisX.MinorCount = 1;
     xyDiagram1.AxisX.Visibility = DevExpress.Utils.DefaultBoolean.True;
     xyDiagram1.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram1.AxisY.VisibleInPanesSerializable = "-1";
     xyDiagram1.DefaultPane.EnableAxisXScrolling = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram1.DefaultPane.EnableAxisXZooming   = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram1.DefaultPane.EnableAxisYScrolling = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram1.DefaultPane.EnableAxisYZooming   = DevExpress.Utils.DefaultBoolean.False;
     this.xrChart3.Diagram = xyDiagram1;
     this.xrChart3.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
     this.xrChart3.Legend.BackColor           = System.Drawing.Color.Transparent;
     this.xrChart3.Legend.Border.Color        = System.Drawing.SystemColors.ActiveBorder;
     this.xrChart3.Legend.Border.Visibility   = DevExpress.Utils.DefaultBoolean.True;
     this.xrChart3.Legend.Direction           = DevExpress.XtraCharts.LegendDirection.LeftToRight;
     this.xrChart3.Legend.MarkerSize          = new System.Drawing.Size(20, 10);
     this.xrChart3.Legend.Name       = "Default Legend";
     this.xrChart3.Legend.Title.Text = "Actual";
     this.xrChart3.Legend.Visibility = DevExpress.Utils.DefaultBoolean.False;
     this.xrChart3.LocationFloat     = new DevExpress.Utils.PointFloat(605.1041F, 23.00002F);
     this.xrChart3.Name = "xrChart3";
     this.xrChart3.PaletteBaseColorNumber         = 2;
     this.xrChart3.PaletteName                    = "Grayscale";
     series1.ArgumentDataMember                   = "Query_4.scause";
     sideBySideBarSeriesLabel1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.True;
     sideBySideBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
     sideBySideBarSeriesLabel1.LineVisibility     = DevExpress.Utils.DefaultBoolean.False;
     sideBySideBarSeriesLabel1.TextColor          = System.Drawing.Color.Black;
     sideBySideBarSeriesLabel1.TextOrientation    = DevExpress.XtraCharts.TextOrientation.BottomToTop;
     series1.Label      = sideBySideBarSeriesLabel1;
     series1.LegendName = "Default Legend";
     series1.Name       = "Actual";
     series1.ValueDataMembersSerializable  = "Query_4.factual";
     sideBySideBarSeriesView1.Color        = System.Drawing.Color.SteelBlue;
     sideBySideBarSeriesView1.Transparency = ((byte)(135));
     series1.View = sideBySideBarSeriesView1;
     series2.ArgumentDataMember           = "Query_4.scause";
     pointSeriesLabel1.Border.Visibility  = DevExpress.Utils.DefaultBoolean.False;
     pointSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
     pointSeriesLabel1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Empty;
     pointSeriesLabel1.LineVisibility     = DevExpress.Utils.DefaultBoolean.False;
     pointSeriesLabel1.TextColor          = System.Drawing.Color.Black;
     series2.Label        = pointSeriesLabel1;
     series2.Name         = "Goal";
     series2.ShowInLegend = false;
     series2.ValueDataMembersSerializable = "Query_4.fsum";
     splineSeriesView1.Color          = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(89)))), ((int)(((byte)(89)))));
     series2.View                     = splineSeriesView1;
     this.xrChart3.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
         series1,
         series2
     };
     sideBySideBarSeriesView2.Transparency = ((byte)(135));
     this.xrChart3.SeriesTemplate.View     = sideBySideBarSeriesView2;
     this.xrChart3.SizeF = new System.Drawing.SizeF(384.8958F, 476.5417F);
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionName = "DB_1033_DashboardConnectionString";
     this.sqlDataSource1.Name           = "sqlDataSource1";
     customSqlQuery1.Name = "Query_1";
     customSqlQuery1.Sql  = resources.GetString("customSqlQuery1.Sql");
     customSqlQuery2.Name = "Query_2";
     customSqlQuery2.Sql  = "SELECT top 5 [factual],[fsum],[scause] \r\n FROM [DB_1033_Dashboard].[dbo].[sta_niv" +
                            "el2p]\r\n where smetric = \'labor productivity\'\r\n";
     customSqlQuery3.Name = "Query_3";
     customSqlQuery3.Sql  = "select top 5 * from [tbl_actions]\r\nwhere report = \'labor productivity\'";
     customSqlQuery4.Name = "Query_4";
     customSqlQuery4.Sql  = resources.GetString("customSqlQuery4.Sql");
     this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1,
         customSqlQuery2,
         customSqlQuery3,
         customSqlQuery4
     });
     this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
     //
     // xrLabel3
     //
     this.xrLabel3.Font                           = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel3.LocationFloat                  = new DevExpress.Utils.PointFloat(748.9583F, 0F);
     this.xrLabel3.Multiline                      = true;
     this.xrLabel3.Name                           = "xrLabel3";
     this.xrLabel3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.SizeF                          = new System.Drawing.SizeF(100F, 23F);
     this.xrLabel3.StylePriority.UseFont          = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text                           = "FORECAST";
     this.xrLabel3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel5
     //
     this.xrLabel5.Font                           = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel5.LocationFloat                  = new DevExpress.Utils.PointFloat(259.9998F, 0F);
     this.xrLabel5.Multiline                      = true;
     this.xrLabel5.Name                           = "xrLabel5";
     this.xrLabel5.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel5.SizeF                          = new System.Drawing.SizeF(100F, 23F);
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text                           = "TREND";
     this.xrLabel5.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTable2
     //
     this.xrTable2.BackColor = System.Drawing.Color.IndianRed;
     this.xrTable2.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                       | DevExpress.XtraPrinting.BorderSide.Right)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable2.BorderWidth   = 1F;
     this.xrTable2.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTable2.ForeColor     = System.Drawing.Color.White;
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 557.7084F);
     this.xrTable2.Name          = "xrTable2";
     this.xrTable2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.SizeF = new System.Drawing.SizeF(996.875F, 25F);
     this.xrTable2.StylePriority.UseBackColor     = false;
     this.xrTable2.StylePriority.UseBorders       = false;
     this.xrTable2.StylePriority.UseBorderWidth   = false;
     this.xrTable2.StylePriority.UseFont          = false;
     this.xrTable2.StylePriority.UseForeColor     = false;
     this.xrTable2.StylePriority.UseTextAlignment = false;
     this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrColumn1,
         this.xrColumn2,
         this.xrColumn3,
         this.xrColumn4,
         this.xrColumn5,
         this.xrColumn6
     });
     this.xrTableRow2.Name   = "xrTableRow2";
     this.xrTableRow2.Weight = 1D;
     //
     // xrColumn1
     //
     this.xrColumn1.Multiline = true;
     this.xrColumn1.Name      = "xrColumn1";
     this.xrColumn1.Text      = "RESPONSIBLE";
     this.xrColumn1.Weight    = 0.92163030833659876D;
     //
     // xrColumn2
     //
     this.xrColumn2.Multiline = true;
     this.xrColumn2.Name      = "xrColumn2";
     this.xrColumn2.Text      = "ISSUE";
     this.xrColumn2.Weight    = 1.4858934475411441D;
     //
     // xrColumn3
     //
     this.xrColumn3.Multiline = true;
     this.xrColumn3.Name      = "xrColumn3";
     this.xrColumn3.Text      = "ACTION";
     this.xrColumn3.Weight    = 1.8025078982170846D;
     //
     // xrColumn4
     //
     this.xrColumn4.Multiline = true;
     this.xrColumn4.Name      = "xrColumn4";
     this.xrColumn4.Text      = "STATUS";
     this.xrColumn4.Weight    = 0.60501558214145756D;
     //
     // xrColumn5
     //
     this.xrColumn5.Multiline = true;
     this.xrColumn5.Name      = "xrColumn5";
     this.xrColumn5.Text      = "START_DATE";
     this.xrColumn5.Weight    = 0.5987462345709248D;
     //
     // xrColumn6
     //
     this.xrColumn6.Multiline = true;
     this.xrColumn6.Name      = "xrColumn6";
     this.xrColumn6.Text      = "DUE_DATE";
     this.xrColumn6.Weight    = 0.58620652919279D;
     //
     // xrChart1
     //
     this.xrChart1.BorderColor = System.Drawing.Color.Black;
     this.xrChart1.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.xrChart1.DataSource  = this.sqlDataSource1;
     xyDiagram2.AxisX.AutoScaleBreaks.MaxCount = 1;
     xyDiagram2.AxisX.InterlacedColor          = System.Drawing.Color.DimGray;
     xyDiagram2.AxisX.MinorCount                 = 1;
     xyDiagram2.AxisX.Tickmarks.MinorVisible     = false;
     xyDiagram2.AxisX.Title.Visibility           = DevExpress.Utils.DefaultBoolean.Default;
     xyDiagram2.AxisX.Visibility                 = DevExpress.Utils.DefaultBoolean.True;
     xyDiagram2.AxisX.VisibleInPanesSerializable = "-1";
     xyDiagram2.AxisY.VisibleInPanesSerializable = "-1";
     xyDiagram2.DefaultPane.EnableAxisXScrolling = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram2.DefaultPane.EnableAxisXZooming   = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram2.DefaultPane.EnableAxisYScrolling = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram2.DefaultPane.EnableAxisYZooming   = DevExpress.Utils.DefaultBoolean.False;
     xyDiagram2.RuntimePaneCollapse              = false;
     this.xrChart1.Diagram = xyDiagram2;
     this.xrChart1.Legend.AlignmentHorizontal = DevExpress.XtraCharts.LegendAlignmentHorizontal.Center;
     this.xrChart1.Legend.AlignmentVertical   = DevExpress.XtraCharts.LegendAlignmentVertical.BottomOutside;
     this.xrChart1.Legend.Direction           = DevExpress.XtraCharts.LegendDirection.LeftToRight;
     this.xrChart1.Legend.MarkerSize          = new System.Drawing.Size(10, 10);
     this.xrChart1.Legend.Name       = "Default Legend";
     this.xrChart1.Legend.Title.Text = "ESCAPES";
     this.xrChart1.LocationFloat     = new DevExpress.Utils.PointFloat(0F, 23.00002F);
     this.xrChart1.Name         = "xrChart1";
     this.xrChart1.PaletteName  = "Grayscale";
     series3.ArgumentDataMember = "Query_1.sdesc";
     series3.Name = "Actual";
     series3.ValueDataMembersSerializable = "Query_1.factual";
     sideBySideBarSeriesView3.Color       = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
     series3.View = sideBySideBarSeriesView3;
     series4.ArgumentDataMember           = "Query_1.sdesc";
     pointSeriesLabel2.Border.Visibility  = DevExpress.Utils.DefaultBoolean.False;
     pointSeriesLabel2.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.False;
     pointSeriesLabel2.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Empty;
     pointSeriesLabel2.LineVisibility     = DevExpress.Utils.DefaultBoolean.False;
     pointSeriesLabel2.TextColor          = System.Drawing.Color.Black;
     series4.Label = pointSeriesLabel2;
     series4.Name  = "Goal";
     series4.ValueDataMembersSerializable = "Query_1.fgoal";
     lineSeriesView1.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     series4.View                     = lineSeriesView1;
     this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
         series3,
         series4
     };
     this.xrChart1.SizeF = new System.Drawing.SizeF(601.0417F, 476.5417F);
     //
     // xrTable1
     //
     this.xrTable1.BackColor     = System.Drawing.Color.WhiteSmoke;
     this.xrTable1.Borders       = DevExpress.XtraPrinting.BorderSide.None;
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(996.875F, 25F);
     this.xrTable1.StylePriority.UseBackColor     = false;
     this.xrTable1.StylePriority.UseBorders       = false;
     this.xrTable1.StylePriority.UseTextAlignment = false;
     this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell3,
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6
     });
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[responsible]")
     });
     this.xrTableCell1.Multiline = true;
     this.xrTableCell1.Name      = "xrTableCell1";
     this.xrTableCell1.Text      = "xrTableCell1";
     this.xrTableCell1.Weight    = 0.92163007873726477D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[issue]")
     });
     this.xrTableCell2.Multiline = true;
     this.xrTableCell2.Name      = "xrTableCell2";
     this.xrTableCell2.Text      = "xrTableCell2";
     this.xrTableCell2.Weight    = 1.4858935393808777D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[action]")
     });
     this.xrTableCell3.Multiline = true;
     this.xrTableCell3.Name      = "xrTableCell3";
     this.xrTableCell3.Text      = "xrTableCell3";
     this.xrTableCell3.Weight    = 1.8025080359766852D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[open_close]")
     });
     this.xrTableCell4.Multiline = true;
     this.xrTableCell4.Name      = "xrTableCell4";
     this.xrTableCell4.Text      = "xrTableCell4";
     this.xrTableCell4.Weight    = 0.60501558214145756D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[creation_date]")
     });
     this.xrTableCell5.Multiline        = true;
     this.xrTableCell5.Name             = "xrTableCell5";
     this.xrTableCell5.Text             = "xrTableCell5";
     this.xrTableCell5.TextFormatString = "{0:MM/dd/yyyy}";
     this.xrTableCell5.Weight           = 0.5987462345709248D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Query_3].[due_date]")
     });
     this.xrTableCell6.Multiline        = true;
     this.xrTableCell6.Name             = "xrTableCell6";
     this.xrTableCell6.Text             = "xrTableCell6";
     this.xrTableCell6.TextFormatString = "{0:MM/dd/yyyy}";
     this.xrTableCell6.Weight           = 0.58620652919279D;
     //
     // DetailReport
     //
     this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail1,
         this.ReportFooter
     });
     this.DetailReport.DataMember = "Query_3";
     this.DetailReport.DataSource = this.sqlDataSource1;
     this.DetailReport.Level      = 0;
     this.DetailReport.Name       = "DetailReport";
     //
     // Detail1
     //
     this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.Detail1.HeightF = 29.37495F;
     this.Detail1.Name    = "Detail1";
     //
     // ReportFooter
     //
     this.ReportFooter.HeightF = 2.708689F;
     this.ReportFooter.Name    = "ReportFooter";
     //
     // r_productivity
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.TopMargin,
         this.BottomMargin,
         this.Detail,
         this.DetailReport
     });
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.sqlDataSource1
     });
     this.DataSource        = this.sqlDataSource1;
     this.Font              = new System.Drawing.Font("Arial", 9.75F);
     this.Landscape         = true;
     this.Margins           = new System.Drawing.Printing.Margins(48, 50, 65, 54);
     this.PageColor         = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.PageHeight        = 850;
     this.PageWidth         = 1100;
     this.RequestParameters = false;
     this.Version           = "20.1";
     ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(splineSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(pointSeriesLabel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(lineSeriesView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(series4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #21
0
ファイル: AbsenceQartly.cs プロジェクト: 5509850/baumax
 protected void RecalculateBlock(XRTableRow row, int[] sizes)
 {
     for (int i = 0; i < sizes.Length; i++)
         row.Cells[i].Size = new Size(sizes[i], 29);
 }
コード例 #22
0
        private XRTableRow GetHeaderRow(PatientsWithSpecificResponseData source)
        {
            var headerFont   = new Font("Times New Roman", 13F);
            var trHeader     = new XRTableRow();
            var tdNameHeader = new XRTableCell
            {
                Text          = source.HeaderName,
                CanGrow       = true,
                Borders       = BorderSide.Bottom,
                BorderWidth   = 3,
                BorderColor   = Color.DarkGray,
                TextAlignment = TextAlignment.BottomLeft,
                Font          = headerFont,
                SizeF         = new Size(NameHeaderWidth, Height),
            };

            trHeader.Cells.Add(tdNameHeader);
            var tdAgeHeader = new XRTableCell
            {
                Text          = source.HeaderAge,
                CanGrow       = true,
                Borders       = BorderSide.Bottom,
                BorderWidth   = 3,
                BorderColor   = Color.DarkGray,
                TextAlignment = TextAlignment.BottomCenter,
                Font          = headerFont,
                SizeF         = new Size(AgeHeaderWidth, Height),
            };

            trHeader.Cells.Add(tdAgeHeader);
            var tdGenderHeader = new XRTableCell
            {
                Text          = source.HeaderGender,
                CanGrow       = true,
                Borders       = BorderSide.Bottom,
                BorderWidth   = 3,
                BorderColor   = Color.DarkGray,
                TextAlignment = TextAlignment.BottomCenter,
                Font          = headerFont
            };

            trHeader.Cells.Add(tdGenderHeader);
            var tdAssessmentDateHeader = new XRTableCell
            {
                Text          = source.HeaderAssessmentDate,
                CanGrow       = true,
                Borders       = BorderSide.Bottom,
                BorderWidth   = 3,
                BorderColor   = Color.DarkGray,
                TextAlignment = TextAlignment.BottomCenter,
                Font          = headerFont
            };

            trHeader.Cells.Add(tdAssessmentDateHeader);
            var tdGivenResponseHeader = new XRTableCell
            {
                Text          = source.HeaderGivenResponse,
                CanGrow       = true,
                Borders       = BorderSide.Bottom,
                BorderWidth   = 3,
                BorderColor   = Color.DarkGray,
                TextAlignment = TextAlignment.BottomCenter,
                Font          = headerFont
            };

            trHeader.Cells.Add(tdGivenResponseHeader);

            var tdViewHeader = new XRTableCell
            {
                Text          = source.HeaderViewAssessment,
                CanGrow       = true,
                Borders       = BorderSide.Bottom,
                BorderWidth   = 3,
                BorderColor   = Color.DarkGray,
                TextAlignment = TextAlignment.BottomCenter,
                Font          = headerFont
            };

            trHeader.Cells.Add(tdViewHeader);
            return(trHeader);
        }
コード例 #23
0
        private void BindData()
        {
            var source = (DataSource as PatientsWithSpecificResponseDataCollection)[0] as PatientsWithSpecificResponseData;

            if (source == null)
            {
                return;
            }
            var questionCount      = 1;
            var t                  = xrReportDataTable;
            var itemDefinitionCode = string.Empty;
            var cellFont           = new Font("Times New Roman", 12F);
            var rowCount           = 0;

            foreach (var row in source.Data)
            {
                if (itemDefinitionCode != row.ItemDefinitionCode)
                {
                    var tdBlank = new XRTableCell {
                        Text = " ", Multiline = true, CanGrow = true, SizeF = new Size(500, 60), Font = cellFont
                    };
                    var trBlankBottom = new XRTableRow {
                        HeightF = 60, CanGrow = true
                    };
                    trBlankBottom.Cells.Add(tdBlank);
                    trBlankBottom.Cells.Add(tdBlank);
                    trBlankBottom.Cells.Add(tdBlank);
                    t.Rows.Add(trBlankBottom);

                    //// break here on question
                    var trHeaderRowTable = AddQuestionResponse(row, questionCount, source);
                    var parentCell       = new XRTableCell {
                        Tag = "TableParentCell", SizeF = new Size(880, trHeaderRowTable.Height), CanGrow = true
                    };
                    var trHeaderRow = new XRTableRow {
                        CanGrow = true
                    };
                    trHeaderRow.Cells.Add(parentCell);
                    parentCell.Controls.Add(trHeaderRowTable);
                    t.Rows.Add(trHeaderRow);
                    questionCount += 1;
                    t.Rows.Add(GetHeaderRow(source));
                    rowCount = 0;
                }
                var backColor = Color.Transparent;
                if (rowCount % 2 != 0)
                {
                    backColor = Color.LightGray;
                }
                itemDefinitionCode = row.ItemDefinitionCode;
                var tr = new XRTableRow {
                    BackColor = backColor
                };
                var tdName = new XRTableCell {
                    Text = row.PatientName, CanGrow = true, Font = cellFont
                };
                tdName.SizeF = new Size(NameHeaderWidth, tdName.Height);
                tr.Cells.Add(tdName);
                var tdAge = new XRTableCell {
                    Text = row.Age.ToString(), CanGrow = true, TextAlignment = TextAlignment.TopCenter, Font = cellFont
                };
                tdAge.SizeF = new Size(AgeHeaderWidth, tdAge.Height);
                tr.Cells.Add(tdAge);
                var tdGender = new XRTableCell {
                    Text = row.Gender, CanGrow = true, TextAlignment = TextAlignment.TopCenter, Font = cellFont
                };
                tr.Cells.Add(tdGender);
                var tdAssessmentDate = new XRTableCell {
                    Text = row.AssessmentDate, CanGrow = true, TextAlignment = TextAlignment.TopCenter, Font = cellFont
                };
                tr.Cells.Add(tdAssessmentDate);
                var tdGivenResponse = new XRTableCell {
                    Text = row.Response, CanGrow = true, TextAlignment = TextAlignment.TopCenter, Font = cellFont
                };
                tr.Cells.Add(tdGivenResponse);

                var urlLeft = HttpContextAccessor.Url.Scheme + "://" + HttpContextAccessor.Url.Authority + "/Assessment/Edit/";
                var pb      = new XRPictureBox
                {
                    ImageUrl      = "/Images/open_16x12px.png",
                    NavigateUrl   = urlLeft + row.AssessmentInstanceKey + "?patientKey=" + row.PatientKey,
                    Location      = new Point(0, 0),
                    Target        = "_blank",
                    TextAlignment = TextAlignment.TopCenter
                };
                var tdView = new XRTableCell {
                    CanGrow = true, Font = cellFont, TextAlignment = TextAlignment.TopCenter
                };
                if (row.AssessmentInstanceKey != null)
                {
                    tdView.Controls.Add(pb);
                }
                tr.Cells.Add(tdView);
                tr.Height = 60;
                t.Rows.Add(tr);
                rowCount++;
            }
            CenterIcons(t);
        }
コード例 #24
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        string resourceFileName = "rpwgSub_KinhNghiemCongTac.resx";

        this.Detail        = new DevExpress.XtraReports.UI.DetailBand();
        this.xrTable2      = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2   = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell5  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell8  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell9  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
        this.TopMargin     = new DevExpress.XtraReports.UI.TopMarginBand();
        this.BottomMargin  = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.PageHeader    = new DevExpress.XtraReports.UI.PageHeaderBand();
        this.xrTable1      = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1   = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell1  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell2  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell3  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell6  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell4  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell7  = new DevExpress.XtraReports.UI.XRTableCell();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // Detail
        //
        this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2
        });
        this.Detail.HeightF = 25F;
        this.Detail.Name    = "Detail";
        this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.StylePriority.UseForeColor = false;
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrTable2
        //
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable2.Name          = "xrTable2";
        this.xrTable2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2
        });
        this.xrTable2.SizeF = new System.Drawing.SizeF(785F, 25F);
        this.xrTable2.StylePriority.UseBorders       = false;
        this.xrTable2.StylePriority.UsePadding       = false;
        this.xrTable2.StylePriority.UseTextAlignment = false;
        this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        //
        // xrTableRow2
        //
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell5,
            this.xrTableCell10,
            this.xrTableCell8,
            this.xrTableCell11,
            this.xrTableCell9,
            this.xrTableCell12
        });
        this.xrTableRow2.Name   = "xrTableRow2";
        this.xrTableRow2.Weight = 1D;
        //
        // xrTableCell5
        //
        this.xrTableCell5.Name = "xrTableCell5";
        this.xrTableCell5.StylePriority.UseTextAlignment = false;
        this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell5.Weight        = 0.45161295848136329D;
        //
        // xrTableCell10
        //
        this.xrTableCell10.Name   = "xrTableCell10";
        this.xrTableCell10.Weight = 0.46774198216528967D;
        //
        // xrTableCell8
        //
        this.xrTableCell8.Name   = "xrTableCell8";
        this.xrTableCell8.Weight = 0.68225802964796722D;
        //
        // xrTableCell11
        //
        this.xrTableCell11.Name   = "xrTableCell11";
        this.xrTableCell11.Weight = 0.58387093496967424D;
        //
        // xrTableCell9
        //
        this.xrTableCell9.Name = "xrTableCell9";
        this.xrTableCell9.StylePriority.UseTextAlignment = false;
        this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableCell9.Weight        = 0.40524196739871843D;
        //
        // xrTableCell12
        //
        this.xrTableCell12.Name   = "xrTableCell12";
        this.xrTableCell12.Weight = 0.40927412733698709D;
        //
        // TopMargin
        //
        this.TopMargin.HeightF       = 0F;
        this.TopMargin.Name          = "TopMargin";
        this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // BottomMargin
        //
        this.BottomMargin.HeightF       = 0F;
        this.BottomMargin.Name          = "BottomMargin";
        this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // PageHeader
        //
        this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1
        });
        this.PageHeader.HeightF = 25F;
        this.PageHeader.Name    = "PageHeader";
        //
        // xrTable1
        //
        this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable1.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable1.Name          = "xrTable1";
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1
        });
        this.xrTable1.SizeF = new System.Drawing.SizeF(785F, 25F);
        this.xrTable1.StylePriority.UseBorders       = false;
        this.xrTable1.StylePriority.UseFont          = false;
        this.xrTable1.StylePriority.UseTextAlignment = false;
        this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrTableRow1
        //
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell2,
            this.xrTableCell3,
            this.xrTableCell6,
            this.xrTableCell4,
            this.xrTableCell7
        });
        this.xrTableRow1.Name   = "xrTableRow1";
        this.xrTableRow1.Weight = 1D;
        //
        // xrTableCell1
        //
        this.xrTableCell1.Name   = "xrTableCell1";
        this.xrTableCell1.Text   = "Thời gian";
        this.xrTableCell1.Weight = 1.1666666412353517D;
        //
        // xrTableCell2
        //
        this.xrTableCell2.Name   = "xrTableCell2";
        this.xrTableCell2.Text   = "Tên công ty";
        this.xrTableCell2.Weight = 1.2083333587646483D;
        //
        // xrTableCell3
        //
        this.xrTableCell3.Name   = "xrTableCell3";
        this.xrTableCell3.Text   = "Địa chỉ";
        this.xrTableCell3.Weight = 1.7625000000000002D;
        //
        // xrTableCell6
        //
        this.xrTableCell6.Name   = "xrTableCell6";
        this.xrTableCell6.Text   = "Vị trí công tác cao nhất";
        this.xrTableCell6.Weight = 1.5083331298828124D;
        //
        // xrTableCell4
        //
        this.xrTableCell4.Name   = "xrTableCell4";
        this.xrTableCell4.Text   = "Mức lương";
        this.xrTableCell4.Weight = 1.0468743896484374D;
        //
        // xrTableCell7
        //
        this.xrTableCell7.Name   = "xrTableCell7";
        this.xrTableCell7.Text   = "Lý do thôi việc";
        this.xrTableCell7.Weight = 1.05729248046875D;
        //
        // rpwgSub_KinhNghiemCongTac
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.PageHeader
        });
        this.Margins = new System.Drawing.Printing.Margins(32, 31, 0, 0);
        this.Version = "10.1";
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }
コード例 #25
0
 private void method_2()
 {
     this.detailBand_0       = new DetailBand();
     this.IjSwogAv6          = new XRTable();
     this.xrtableRow_0       = new XRTableRow();
     this.xrtableCell_0      = new XRTableCell();
     this.xrtableCell_1      = new XRTableCell();
     this.xrtableCell_6      = new XRTableCell();
     this.xrtableCell_2      = new XRTableCell();
     this.xrtableCell_3      = new XRTableCell();
     this.xrtableCell_4      = new XRTableCell();
     this.xrtableCell_5      = new XRTableCell();
     this.pageHeaderBand_0   = new PageHeaderBand();
     this.xrline_0           = new XRLine();
     this.xrlabel_4          = new XRLabel();
     this.xrpageInfo_0       = new XRPageInfo();
     this.xrlabel_0          = new XRLabel();
     this.pageFooterBand_0   = new PageFooterBand();
     this.xrpageInfo_1       = new XRPageInfo();
     this.topMarginBand_0    = new TopMarginBand();
     this.bottomMarginBand_0 = new BottomMarginBand();
     this.groupHeaderBand_0  = new GroupHeaderBand();
     this.xrlabel_5          = new XRLabel();
     this.xrlabel_6          = new XRLabel();
     this.xrtable_1          = new XRTable();
     this.xrtableRow_3       = new XRTableRow();
     this.xrtableCell_16     = new XRTableCell();
     this.xrtableCell_17     = new XRTableCell();
     this.xrtableCell_18     = new XRTableCell();
     this.xrtableCell_19     = new XRTableCell();
     this.xrtableCell_20     = new XRTableCell();
     this.xrtableCell_21     = new XRTableCell();
     this.xrtableCell_22     = new XRTableCell();
     this.xrlabel_1          = new XRLabel();
     this.xrlabel_2          = new XRLabel();
     this.xrlabel_3          = new XRLabel();
     this.groupFooterBand_0  = new GroupFooterBand();
     this.xrtable_0          = new XRTable();
     this.xrtableRow_1       = new XRTableRow();
     this.xrtableCell_7      = new XRTableCell();
     this.xrtableCell_8      = new XRTableCell();
     this.xrtableCell_9      = new XRTableCell();
     this.xrtableCell_10     = new XRTableCell();
     this.xrtableRow_2       = new XRTableRow();
     this.xrtableCell_11     = new XRTableCell();
     this.xrtableCell_12     = new XRTableCell();
     this.xrtableCell_13     = new XRTableCell();
     this.xrtableCell_14     = new XRTableCell();
     this.xrtableCell_15     = new XRTableCell();
     this.IjSwogAv6.BeginInit();
     this.xrtable_1.BeginInit();
     this.xrtable_0.BeginInit();
     this.BeginInit();
     this.detailBand_0.Controls.AddRange(new XRControl[] { this.IjSwogAv6 });
     this.detailBand_0.Font    = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.detailBand_0.HeightF = 25f;
     this.detailBand_0.Name    = "Detail";
     this.detailBand_0.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
     this.detailBand_0.StylePriority.UseFont = false;
     this.detailBand_0.TextAlignment         = TextAlignment.TopLeft;
     this.IjSwogAv6.Font          = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.IjSwogAv6.LocationFloat = new PointFloat(1.5625f, 0f);
     this.IjSwogAv6.Name          = "xrTable1";
     this.IjSwogAv6.Rows.AddRange(new XRTableRow[] { this.xrtableRow_0 });
     this.IjSwogAv6.SizeF = new SizeF(785.4375f, 25f);
     this.IjSwogAv6.StylePriority.UseFont          = false;
     this.IjSwogAv6.StylePriority.UseTextAlignment = false;
     this.IjSwogAv6.TextAlignment = TextAlignment.MiddleCenter;
     this.xrtableRow_0.Cells.AddRange(new XRTableCell[] { this.xrtableCell_0, this.xrtableCell_1, this.xrtableCell_6, this.xrtableCell_2, this.xrtableCell_3, this.xrtableCell_4, this.xrtableCell_5 });
     this.xrtableRow_0.Name     = "xrTableRow1";
     this.xrtableRow_0.Weight   = 1.0;
     this.xrtableCell_0.Borders = BorderSide.Bottom | BorderSide.Left;
     this.xrtableCell_0.Name    = "colVoucher";
     this.xrtableCell_0.Padding = new PaddingInfo(2, 0, 0, 0, 100f);
     this.xrtableCell_0.StylePriority.UseBorders       = false;
     this.xrtableCell_0.StylePriority.UsePadding       = false;
     this.xrtableCell_0.StylePriority.UseTextAlignment = false;
     this.xrtableCell_0.Text                           = "colVoucher";
     this.xrtableCell_0.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrtableCell_0.Weight                         = 0.81150501246962559;
     this.xrtableCell_0.WordWrap                       = false;
     this.xrtableCell_1.Borders                        = BorderSide.Bottom | BorderSide.Left;
     this.xrtableCell_1.Name                           = "colDate";
     this.xrtableCell_1.Padding                        = new PaddingInfo(2, 0, 0, 0, 100f);
     this.xrtableCell_1.StylePriority.UseBorders       = false;
     this.xrtableCell_1.StylePriority.UsePadding       = false;
     this.xrtableCell_1.Text                           = "colDate";
     this.xrtableCell_1.Weight                         = 0.69162180392647521;
     this.xrtableCell_6.Borders                        = BorderSide.Bottom | BorderSide.Left;
     this.xrtableCell_6.Name                           = "colTransNum";
     this.xrtableCell_6.Padding                        = new PaddingInfo(2, 0, 0, 0, 100f);
     this.xrtableCell_6.StylePriority.UseBorders       = false;
     this.xrtableCell_6.StylePriority.UsePadding       = false;
     this.xrtableCell_6.Text                           = "colTransNum";
     this.xrtableCell_6.Weight                         = 0.93242173337283607;
     this.xrtableCell_2.Borders                        = BorderSide.Bottom | BorderSide.Left;
     this.xrtableCell_2.Name                           = "colRemark";
     this.xrtableCell_2.Padding                        = new PaddingInfo(3, 0, 0, 0, 100f);
     this.xrtableCell_2.StylePriority.UseBorders       = false;
     this.xrtableCell_2.StylePriority.UsePadding       = false;
     this.xrtableCell_2.StylePriority.UseTextAlignment = false;
     this.xrtableCell_2.Text                           = "colRemark";
     this.xrtableCell_2.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrtableCell_2.Weight                         = 2.5039875056813612;
     this.xrtableCell_2.WordWrap                       = false;
     this.xrtableCell_3.Borders                        = BorderSide.Bottom | BorderSide.Left;
     this.xrtableCell_3.Name                           = "colCrAccount";
     this.xrtableCell_3.Padding                        = new PaddingInfo(2, 0, 0, 0, 100f);
     this.xrtableCell_3.StylePriority.UseBorders       = false;
     this.xrtableCell_3.StylePriority.UsePadding       = false;
     this.xrtableCell_3.Text                           = "colCrAccount";
     this.xrtableCell_3.Weight                         = 0.68805428834343063;
     this.xrtableCell_3.WordWrap                       = false;
     this.xrtableCell_4.Borders                        = BorderSide.Bottom | BorderSide.Left;
     this.xrtableCell_4.Name                           = "colDebitAmt";
     this.xrtableCell_4.Padding                        = new PaddingInfo(0, 2, 0, 0, 100f);
     this.xrtableCell_4.StylePriority.UseBorders       = false;
     this.xrtableCell_4.StylePriority.UsePadding       = false;
     this.xrtableCell_4.StylePriority.UseTextAlignment = false;
     this.xrtableCell_4.Text                           = "colDebitAmt";
     this.xrtableCell_4.TextAlignment                  = TextAlignment.MiddleRight;
     this.xrtableCell_4.Weight                         = 0.74786009682869947;
     this.xrtableCell_4.WordWrap                       = false;
     this.xrtableCell_5.Borders                        = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
     this.xrtableCell_5.Name                           = "colCreditAmt";
     this.xrtableCell_5.Padding                        = new PaddingInfo(0, 5, 0, 0, 100f);
     this.xrtableCell_5.StylePriority.UseBorders       = false;
     this.xrtableCell_5.StylePriority.UsePadding       = false;
     this.xrtableCell_5.StylePriority.UseTextAlignment = false;
     this.xrtableCell_5.Text                           = "colCreditAmt";
     this.xrtableCell_5.TextAlignment                  = TextAlignment.MiddleRight;
     this.xrtableCell_5.Weight                         = 0.91321573874439244;
     this.pageHeaderBand_0.Controls.AddRange(new XRControl[] { this.xrline_0, this.xrlabel_4, this.xrpageInfo_0, this.xrlabel_0 });
     this.pageHeaderBand_0.HeightF       = 26.87501f;
     this.pageHeaderBand_0.Name          = "PageHeader";
     this.pageHeaderBand_0.Padding       = new PaddingInfo(0, 0, 0, 0, 100f);
     this.pageHeaderBand_0.TextAlignment = TextAlignment.TopLeft;
     this.pageHeaderBand_0.BeforePrint  += new PrintEventHandler(this.pageHeaderBand_0_BeforePrint);
     this.xrline_0.LocationFloat         = new PointFloat(0f, 23.91669f);
     this.xrline_0.Name                               = "xrLine1";
     this.xrline_0.SizeF                              = new SizeF(785.375f, 2.958328f);
     this.xrlabel_4.Font                              = new Font("Arial", 9f, FontStyle.Italic, GraphicsUnit.Point, 0);
     this.xrlabel_4.ForeColor                         = Color.Black;
     this.xrlabel_4.LocationFloat                     = new PointFloat(0f, 4.000001f);
     this.xrlabel_4.Name                              = "Lbl_Interval";
     this.xrlabel_4.Padding                           = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrlabel_4.SizeF                             = new SizeF(407.2917f, 16f);
     this.xrlabel_4.StylePriority.UseFont             = false;
     this.xrlabel_4.StylePriority.UseForeColor        = false;
     this.xrlabel_4.StylePriority.UseTextAlignment    = false;
     this.xrlabel_4.Text                              = "Từ ng\x00e0y 01/01/2009 đến ng\x00e0y 12/12/2009";
     this.xrlabel_4.TextAlignment                     = TextAlignment.MiddleLeft;
     this.xrlabel_4.WordWrap                          = false;
     this.xrpageInfo_0.Font                           = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.xrpageInfo_0.LocationFloat                  = new PointFloat(749f, 0f);
     this.xrpageInfo_0.Name                           = "xrPageInfo1";
     this.xrpageInfo_0.Padding                        = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrpageInfo_0.SizeF                          = new SizeF(36.125f, 23f);
     this.xrpageInfo_0.StylePriority.UseFont          = false;
     this.xrpageInfo_0.StylePriority.UseTextAlignment = false;
     this.xrpageInfo_0.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrlabel_0.Font                              = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.xrlabel_0.LocationFloat                     = new PointFloat(649f, 0f);
     this.xrlabel_0.Name                              = "xrLabel11";
     this.xrlabel_0.Padding                           = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrlabel_0.SizeF                             = new SizeF(100f, 23f);
     this.xrlabel_0.StylePriority.UseFont             = false;
     this.xrlabel_0.StylePriority.UseTextAlignment    = false;
     this.xrlabel_0.Text                              = "Trang số :";
     this.xrlabel_0.TextAlignment                     = TextAlignment.MiddleRight;
     this.pageFooterBand_0.Controls.AddRange(new XRControl[] { this.xrpageInfo_1 });
     this.pageFooterBand_0.HeightF       = 23f;
     this.pageFooterBand_0.Name          = "PageFooter";
     this.pageFooterBand_0.Padding       = new PaddingInfo(0, 0, 0, 0, 100f);
     this.pageFooterBand_0.TextAlignment = TextAlignment.TopLeft;
     this.xrpageInfo_1.Font                           = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     this.xrpageInfo_1.LocationFloat                  = new PointFloat(514.125f, 0f);
     this.xrpageInfo_1.Name                           = "xrPageInfo2";
     this.xrpageInfo_1.Padding                        = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrpageInfo_1.PageInfo                       = PageInfo.DateTime;
     this.xrpageInfo_1.SizeF                          = new SizeF(271f, 23f);
     this.xrpageInfo_1.StylePriority.UseFont          = false;
     this.xrpageInfo_1.StylePriority.UseTextAlignment = false;
     this.xrpageInfo_1.TextAlignment                  = TextAlignment.MiddleRight;
     this.topMarginBand_0.HeightF                     = 40f;
     this.topMarginBand_0.Name                        = "topMarginBand1";
     this.bottomMarginBand_0.HeightF                  = 40f;
     this.bottomMarginBand_0.Name                     = "bottomMarginBand1";
     this.groupHeaderBand_0.Controls.AddRange(new XRControl[] { this.xrlabel_5, this.xrlabel_6, this.xrtable_1, this.xrlabel_1, this.xrlabel_2, this.xrlabel_3 });
     this.groupHeaderBand_0.HeightF                = 50f;
     this.groupHeaderBand_0.Name                   = "GroupHeader1";
     this.xrlabel_5.Font                           = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0xa3);
     this.xrlabel_5.ForeColor                      = Color.RoyalBlue;
     this.xrlabel_5.LocationFloat                  = new PointFloat(667.4167f, 0f);
     this.xrlabel_5.Name                           = "Lbl_BeginAmt";
     this.xrlabel_5.Padding                        = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrlabel_5.SizeF                          = new SizeF(119.5832f, 25f);
     this.xrlabel_5.StylePriority.UseFont          = false;
     this.xrlabel_5.StylePriority.UseForeColor     = false;
     this.xrlabel_5.StylePriority.UseTextAlignment = false;
     this.xrlabel_5.Text                           = "0";
     this.xrlabel_5.TextAlignment                  = TextAlignment.MiddleRight;
     this.xrlabel_5.WordWrap                       = false;
     this.xrlabel_5.BeforePrint                   += new PrintEventHandler(this.xrlabel_5_BeforePrint);
     this.xrlabel_6.Font                           = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0xa3);
     this.xrlabel_6.LocationFloat                  = new PointFloat(569.8334f, 0f);
     this.xrlabel_6.Name                           = "xrLabel1";
     this.xrlabel_6.Padding                        = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrlabel_6.SizeF                          = new SizeF(97.58331f, 25f);
     this.xrlabel_6.StylePriority.UseFont          = false;
     this.xrlabel_6.StylePriority.UseTextAlignment = false;
     this.xrlabel_6.Text                           = "Số dư đầu kỳ :";
     this.xrlabel_6.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrlabel_6.WordWrap                       = false;
     this.xrtable_1.Font                           = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.xrtable_1.LocationFloat                  = new PointFloat(0f, 25f);
     this.xrtable_1.Name                           = "xrTable2";
     this.xrtable_1.Rows.AddRange(new XRTableRow[] { this.xrtableRow_3 });
     this.xrtable_1.SizeF = new SizeF(787f, 25f);
     this.xrtable_1.StylePriority.UseFont          = false;
     this.xrtable_1.StylePriority.UseTextAlignment = false;
     this.xrtable_1.TextAlignment = TextAlignment.MiddleCenter;
     this.xrtableRow_3.Cells.AddRange(new XRTableCell[] { this.xrtableCell_16, this.xrtableCell_17, this.xrtableCell_18, this.xrtableCell_19, this.xrtableCell_20, this.xrtableCell_21, this.xrtableCell_22 });
     this.xrtableRow_3.Name      = "xrTableRow2";
     this.xrtableRow_3.Weight    = 1.0;
     this.xrtableCell_16.Borders = BorderSide.Bottom | BorderSide.Top | BorderSide.Left;
     this.xrtableCell_16.Name    = "xrTableCell7";
     this.xrtableCell_16.StylePriority.UseBorders = false;
     this.xrtableCell_16.Text    = "Số chứng từ";
     this.xrtableCell_16.Weight  = 0.82600466229448832;
     this.xrtableCell_17.Borders = BorderSide.Bottom | BorderSide.Top | BorderSide.Left;
     this.xrtableCell_17.Name    = "xrTableCell8";
     this.xrtableCell_17.StylePriority.UseBorders = false;
     this.xrtableCell_17.Text    = "Ng\x00e0y";
     this.xrtableCell_17.Weight  = 0.691621910124823;
     this.xrtableCell_18.Borders = BorderSide.Bottom | BorderSide.Top | BorderSide.Left;
     this.xrtableCell_18.Name    = "xrTableCell13";
     this.xrtableCell_18.StylePriority.UseBorders = false;
     this.xrtableCell_18.Text    = "Số giao dịch";
     this.xrtableCell_18.Weight  = 0.93242173337283629;
     this.xrtableCell_19.Borders = BorderSide.Bottom | BorderSide.Top | BorderSide.Left;
     this.xrtableCell_19.Name    = "xrTableCell1";
     this.xrtableCell_19.StylePriority.UseBorders = false;
     this.xrtableCell_19.Text    = "Diễn giải giao dịch";
     this.xrtableCell_19.Weight  = 2.5039873640835637;
     this.xrtableCell_20.Borders = BorderSide.Bottom | BorderSide.Top | BorderSide.Left;
     this.xrtableCell_20.Name    = "xrTableCell10";
     this.xrtableCell_20.StylePriority.UseBorders = false;
     this.xrtableCell_20.Text    = "TK đối ứng";
     this.xrtableCell_20.Weight  = 0.68805428834343063;
     this.xrtableCell_21.Borders = BorderSide.Bottom | BorderSide.Top | BorderSide.Left;
     this.xrtableCell_21.Name    = "xrTableCell11";
     this.xrtableCell_21.StylePriority.UseBorders = false;
     this.xrtableCell_21.Text    = "Ghi nợ";
     this.xrtableCell_21.Weight  = 0.74786009682869925;
     this.xrtableCell_22.Borders = BorderSide.All;
     this.xrtableCell_22.Name    = "xrTableCell12";
     this.xrtableCell_22.StylePriority.UseBorders = false;
     this.xrtableCell_22.Text                      = "Ghi c\x00f3";
     this.xrtableCell_22.Weight                    = 0.91321573874439266;
     this.xrlabel_1.Font                           = new Font("Arial", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 0xa3);
     this.xrlabel_1.ForeColor                      = Color.RoyalBlue;
     this.xrlabel_1.LocationFloat                  = new PointFloat(217.6562f, 0f);
     this.xrlabel_1.Name                           = "Lbl_AccountName";
     this.xrlabel_1.Padding                        = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrlabel_1.SizeF                          = new SizeF(352.1772f, 25f);
     this.xrlabel_1.StylePriority.UseFont          = false;
     this.xrlabel_1.StylePriority.UseForeColor     = false;
     this.xrlabel_1.StylePriority.UseTextAlignment = false;
     this.xrlabel_1.Text                           = "123546513213";
     this.xrlabel_1.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrlabel_1.WordWrap                       = false;
     this.xrlabel_1.BeforePrint                   += new PrintEventHandler(this.xrlabel_1_BeforePrint);
     this.xrlabel_2.Font                           = new Font("Arial", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 0xa3);
     this.xrlabel_2.ForeColor                      = Color.RoyalBlue;
     this.xrlabel_2.LocationFloat                  = new PointFloat(114.3969f, 0f);
     this.xrlabel_2.Name                           = "Lbl_Account";
     this.xrlabel_2.Padding                        = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrlabel_2.SizeF                          = new SizeF(102.2593f, 25f);
     this.xrlabel_2.StylePriority.UseFont          = false;
     this.xrlabel_2.StylePriority.UseForeColor     = false;
     this.xrlabel_2.StylePriority.UseTextAlignment = false;
     this.xrlabel_2.Text                           = "3331-1-0003";
     this.xrlabel_2.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrlabel_2.WordWrap                       = false;
     this.xrlabel_3.Font                           = new Font("Arial", 11.25f, FontStyle.Bold, GraphicsUnit.Point, 0xa3);
     this.xrlabel_3.ForeColor                      = Color.RoyalBlue;
     this.xrlabel_3.LocationFloat                  = new PointFloat(5.000003f, 0f);
     this.xrlabel_3.Name                           = "xrLabel2";
     this.xrlabel_3.Padding                        = new PaddingInfo(2, 2, 0, 0, 100f);
     this.xrlabel_3.SizeF                          = new SizeF(108.5417f, 25f);
     this.xrlabel_3.StylePriority.UseFont          = false;
     this.xrlabel_3.StylePriority.UseForeColor     = false;
     this.xrlabel_3.StylePriority.UseTextAlignment = false;
     this.xrlabel_3.Text                           = "Số t\x00e0i khoản :";
     this.xrlabel_3.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrlabel_3.WordWrap                       = false;
     this.groupFooterBand_0.Controls.AddRange(new XRControl[] { this.xrtable_0 });
     this.groupFooterBand_0.HeightF   = 50f;
     this.groupFooterBand_0.Name      = "GroupFooter1";
     this.groupFooterBand_0.PageBreak = PageBreak.AfterBand;
     this.xrtable_0.LocationFloat     = new PointFloat(6.103516E-05f, 0f);
     this.xrtable_0.Name = "xrTable3";
     this.xrtable_0.Rows.AddRange(new XRTableRow[] { this.xrtableRow_1, this.xrtableRow_2 });
     this.xrtable_0.SizeF = new SizeF(786.9999f, 50f);
     this.xrtableRow_1.Cells.AddRange(new XRTableCell[] { this.xrtableCell_7, this.xrtableCell_8, this.xrtableCell_9, this.xrtableCell_10 });
     this.xrtableRow_1.Name     = "xrTableRow3";
     this.xrtableRow_1.Weight   = 1.0;
     this.xrtableCell_7.Name    = "xrTableCell3";
     this.xrtableCell_7.Weight  = 1.1588311835563974;
     this.xrtableCell_8.Font    = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.xrtableCell_8.Name    = "xrTableCell2";
     this.xrtableCell_8.Padding = new PaddingInfo(2, 0, 0, 0, 100f);
     this.xrtableCell_8.StylePriority.UseFont          = false;
     this.xrtableCell_8.StylePriority.UsePadding       = false;
     this.xrtableCell_8.StylePriority.UseTextAlignment = false;
     this.xrtableCell_8.Text                            = "Tổng cộng :";
     this.xrtableCell_8.TextAlignment                   = TextAlignment.MiddleLeft;
     this.xrtableCell_8.Weight                          = 1.0794158632179445;
     this.xrtableCell_9.Font                            = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.xrtableCell_9.Name                            = "colSumDebit";
     this.xrtableCell_9.Padding                         = new PaddingInfo(0, 2, 0, 0, 100f);
     this.xrtableCell_9.StylePriority.UseFont           = false;
     this.xrtableCell_9.StylePriority.UsePadding        = false;
     this.xrtableCell_9.StylePriority.UseTextAlignment  = false;
     this.xrtableCell_9.Text                            = "colSumDebit";
     this.xrtableCell_9.TextAlignment                   = TextAlignment.MiddleRight;
     this.xrtableCell_9.Weight                          = 0.38662202232537624;
     this.xrtableCell_10.Borders                        = BorderSide.None;
     this.xrtableCell_10.Font                           = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.xrtableCell_10.Name                           = "colSumCredit";
     this.xrtableCell_10.Padding                        = new PaddingInfo(0, 5, 0, 0, 100f);
     this.xrtableCell_10.StylePriority.UseBorders       = false;
     this.xrtableCell_10.StylePriority.UseFont          = false;
     this.xrtableCell_10.StylePriority.UsePadding       = false;
     this.xrtableCell_10.StylePriority.UseTextAlignment = false;
     this.xrtableCell_10.Text                           = "colSumCredit";
     this.xrtableCell_10.TextAlignment                  = TextAlignment.MiddleRight;
     this.xrtableCell_10.Weight                         = 0.37513093090028188;
     this.xrtableRow_2.Cells.AddRange(new XRTableCell[] { this.xrtableCell_11, this.xrtableCell_12, this.xrtableCell_13, this.xrtableCell_14, this.xrtableCell_15 });
     this.xrtableRow_2.Name      = "xrTableRow4";
     this.xrtableRow_2.Weight    = 1.0;
     this.xrtableCell_11.Name    = "xrTableCell4";
     this.xrtableCell_11.Weight  = 1.1588311835563974;
     this.xrtableCell_12.Font    = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.xrtableCell_12.Name    = "xrTableCell15";
     this.xrtableCell_12.Padding = new PaddingInfo(2, 0, 0, 0, 100f);
     this.xrtableCell_12.StylePriority.UseFont          = false;
     this.xrtableCell_12.StylePriority.UsePadding       = false;
     this.xrtableCell_12.StylePriority.UseTextAlignment = false;
     this.xrtableCell_12.Text                           = "Số dư cuối kỳ :";
     this.xrtableCell_12.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrtableCell_12.Weight                         = 0.39374196441409426;
     this.xrtableCell_13.Font                           = new Font("Arial", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.xrtableCell_13.Name                           = "colEndAmt";
     this.xrtableCell_13.Padding                        = new PaddingInfo(2, 0, 0, 0, 100f);
     this.xrtableCell_13.StylePriority.UseFont          = false;
     this.xrtableCell_13.StylePriority.UsePadding       = false;
     this.xrtableCell_13.StylePriority.UseTextAlignment = false;
     this.xrtableCell_13.Text                           = "colEndAmt";
     this.xrtableCell_13.TextAlignment                  = TextAlignment.MiddleLeft;
     this.xrtableCell_13.Weight                         = 0.7650892191423031;
     this.xrtableCell_13.BeforePrint                   += new PrintEventHandler(this.xrtableCell_13_BeforePrint);
     this.xrtableCell_14.Name                           = "xrTableCell6";
     this.xrtableCell_14.Weight                         = 0.30720670198692346;
     this.xrtableCell_15.Name                           = "xrTableCell9";
     this.xrtableCell_15.Weight                         = 0.37513093090028188;
     base.Bands.AddRange(new Band[] { this.detailBand_0, this.pageHeaderBand_0, this.pageFooterBand_0, this.topMarginBand_0, this.bottomMarginBand_0, this.groupHeaderBand_0, this.groupFooterBand_0 });
     base.Font         = new Font("Arial", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
     base.Margins      = new Margins(20, 20, 40, 40);
     base.PageHeight   = 0x491;
     base.PageWidth    = 0x33b;
     base.PaperKind    = PaperKind.A4;
     base.SnapToGrid   = false;
     base.Version      = "9.3";
     this.BeforePrint += new PrintEventHandler(this.acc_info_BeforePrint);
     this.IjSwogAv6.EndInit();
     this.xrtable_1.EndInit();
     this.xrtable_0.EndInit();
     this.EndInit();
 }
コード例 #26
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.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.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.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.Column               column11           = new DevExpress.DataAccess.Sql.Column();
     DevExpress.DataAccess.Sql.ColumnExpression     columnExpression11 = new DevExpress.DataAccess.Sql.ColumnExpression();
     System.ComponentModel.ComponentResourceManager resources          = new System.ComponentModel.ComponentResourceManager(typeof(SatinAlRapor));
     this.Detail            = new DevExpress.XtraReports.UI.DetailBand();
     this.TopMargin         = new DevExpress.XtraReports.UI.TopMarginBand();
     this.xrLabel1          = new DevExpress.XtraReports.UI.XRLabel();
     this.BottomMargin      = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.xrPageInfo1       = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrPageInfo2       = new DevExpress.XtraReports.UI.XRPageInfo();
     this.sqlDataSource1    = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
     this.reportHeaderBand1 = new DevExpress.XtraReports.UI.ReportHeaderBand();
     this.xrTable1          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell10     = new DevExpress.XtraReports.UI.XRTableCell();
     this.groupHeaderBand1  = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel7          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6          = new DevExpress.XtraReports.UI.XRLabel();
     this.groupFooterBand1  = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.xrLabel2          = new DevExpress.XtraReports.UI.XRLabel();
     this.Title             = new DevExpress.XtraReports.UI.XRControlStyle();
     this.GroupCaption3     = new DevExpress.XtraReports.UI.XRControlStyle();
     this.GroupData3        = new DevExpress.XtraReports.UI.XRControlStyle();
     this.PageInfo          = new DevExpress.XtraReports.UI.XRControlStyle();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.HeightF       = 23F;
     this.Detail.Name          = "Detail";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // TopMargin
     //
     this.TopMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel1
     });
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrLabel1
     //
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(12.00002F, 64.44661F);
     this.xrLabel1.Multiline     = true;
     this.xrLabel1.Name          = "xrLabel1";
     this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF         = new System.Drawing.SizeF(638F, 25.55338F);
     this.xrLabel1.StyleName     = "Title";
     this.xrLabel1.Text          = "Stok Ürün Raporu";
     //
     // BottomMargin
     //
     this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrPageInfo1,
         this.xrPageInfo2
     });
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(6F, 6F);
     this.xrPageInfo1.Name          = "xrPageInfo1";
     this.xrPageInfo1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo1.PageInfo      = DevExpress.XtraPrinting.PageInfo.DateTime;
     this.xrPageInfo1.SizeF         = new System.Drawing.SizeF(313F, 23F);
     this.xrPageInfo1.StyleName     = "PageInfo";
     //
     // xrPageInfo2
     //
     this.xrPageInfo2.LocationFloat    = new DevExpress.Utils.PointFloat(331F, 6F);
     this.xrPageInfo2.Name             = "xrPageInfo2";
     this.xrPageInfo2.Padding          = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo2.SizeF            = new System.Drawing.SizeF(313F, 23F);
     this.xrPageInfo2.StyleName        = "PageInfo";
     this.xrPageInfo2.TextAlignment    = DevExpress.XtraPrinting.TextAlignment.TopRight;
     this.xrPageInfo2.TextFormatString = "Page {0} of {1}";
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionName = "ProjeOdeviDbEntities (ProjeOdevi)";
     this.sqlDataSource1.Name           = "sqlDataSource1";
     columnExpression1.ColumnName       = "UrunId";
     table1.Name                   = "Tbl_Urun";
     columnExpression1.Table       = table1;
     column1.Expression            = columnExpression1;
     columnExpression2.ColumnName  = "Adi";
     columnExpression2.Table       = table1;
     column2.Expression            = columnExpression2;
     columnExpression3.ColumnName  = "BarkotNo";
     columnExpression3.Table       = table1;
     column3.Expression            = columnExpression3;
     columnExpression4.ColumnName  = "KategoriID";
     columnExpression4.Table       = table1;
     column4.Expression            = columnExpression4;
     columnExpression5.ColumnName  = "BirimFiyat";
     columnExpression5.Table       = table1;
     column5.Expression            = columnExpression5;
     columnExpression6.ColumnName  = "ToptanFiyat";
     columnExpression6.Table       = table1;
     column6.Expression            = columnExpression6;
     columnExpression7.ColumnName  = "SatinAlmaTarihi";
     columnExpression7.Table       = table1;
     column7.Expression            = columnExpression7;
     columnExpression8.ColumnName  = "ZimmetDurumu";
     columnExpression8.Table       = table1;
     column8.Expression            = columnExpression8;
     columnExpression9.ColumnName  = "FirmaID";
     columnExpression9.Table       = table1;
     column9.Expression            = columnExpression9;
     columnExpression10.ColumnName = "HazirPcMi";
     columnExpression10.Table      = table1;
     column10.Expression           = columnExpression10;
     columnExpression11.ColumnName = "Adet";
     columnExpression11.Table      = table1;
     column11.Expression           = columnExpression11;
     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.Columns.Add(column11);
     selectQuery1.Name = "Tbl_Urun";
     selectQuery1.Tables.Add(table1);
     this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         selectQuery1
     });
     this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
     //
     // reportHeaderBand1
     //
     this.reportHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.reportHeaderBand1.HeightF = 60F;
     this.reportHeaderBand1.Name    = "reportHeaderBand1";
     //
     // xrTable1
     //
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(12.00002F, 25F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 25F);
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell3,
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell10
     });
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.Multiline = true;
     this.xrTableCell1.Name      = "xrTableCell1";
     this.xrTableCell1.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrTableCell1.StyleName = "GroupCaption3";
     this.xrTableCell1.Text      = "ÜRÜN ADI";
     this.xrTableCell1.Weight    = 0.11561542828173746D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.Multiline = true;
     this.xrTableCell2.Name      = "xrTableCell2";
     this.xrTableCell2.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrTableCell2.StyleName = "GroupCaption3";
     this.xrTableCell2.Text      = "BARKOT NO";
     this.xrTableCell2.Weight    = 0.0978521616067065D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.Multiline = true;
     this.xrTableCell3.Name      = "xrTableCell3";
     this.xrTableCell3.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrTableCell3.StyleName = "GroupCaption3";
     this.xrTableCell3.Text      = "BİRİM FİYAT";
     this.xrTableCell3.Weight    = 0.1161954670015535D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Multiline = true;
     this.xrTableCell4.Name      = "xrTableCell4";
     this.xrTableCell4.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrTableCell4.StyleName = "GroupCaption3";
     this.xrTableCell4.Text      = "SATİN ALMA TARİHİ";
     this.xrTableCell4.Weight    = 0.14502341020735832D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.Multiline = true;
     this.xrTableCell5.Name      = "xrTableCell5";
     this.xrTableCell5.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrTableCell5.StyleName = "GroupCaption3";
     this.xrTableCell5.Text      = "ADET";
     this.xrTableCell5.Weight    = 0.05793903057391827D;
     //
     // xrTableCell10
     //
     this.xrTableCell10.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Adet]")
     });
     this.xrTableCell10.Multiline = true;
     this.xrTableCell10.Name      = "xrTableCell10";
     this.xrTableCell10.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrTableCell10.StyleName = "GroupData3";
     this.xrTableCell10.Text      = "xrTableCell10";
     this.xrTableCell10.Weight    = 0.0030769230769230769D;
     //
     // groupHeaderBand1
     //
     this.groupHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel7,
         this.xrLabel3,
         this.xrLabel4,
         this.xrLabel5,
         this.xrLabel6
     });
     this.groupHeaderBand1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("Adi", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending),
         new DevExpress.XtraReports.UI.GroupField("BarkotNo", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending),
         new DevExpress.XtraReports.UI.GroupField("BirimFiyat", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending),
         new DevExpress.XtraReports.UI.GroupField("SatinAlmaTarihi", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending),
         new DevExpress.XtraReports.UI.GroupField("Adet", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
     this.groupHeaderBand1.HeightF    = 25F;
     this.groupHeaderBand1.Level      = 1;
     this.groupHeaderBand1.Name       = "groupHeaderBand1";
     //
     // xrLabel7
     //
     this.xrLabel7.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Adet]")
     });
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(587.9656F, 0F);
     this.xrLabel7.Multiline     = true;
     this.xrLabel7.Name          = "xrLabel7";
     this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.SizeF         = new System.Drawing.SizeF(49.45105F, 23F);
     this.xrLabel7.Text          = "xrLabel7";
     this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
     //
     // xrLabel3
     //
     this.xrLabel3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Adi]")
     });
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(12.00002F, 0F);
     this.xrLabel3.Multiline     = true;
     this.xrLabel3.Name          = "xrLabel3";
     this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.SizeF         = new System.Drawing.SizeF(140.2831F, 23F);
     this.xrLabel3.Text          = "xrLabel3";
     //
     // xrLabel4
     //
     this.xrLabel4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BarkotNo]")
     });
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(152.2832F, 0F);
     this.xrLabel4.Multiline     = true;
     this.xrLabel4.Name          = "xrLabel4";
     this.xrLabel4.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF         = new System.Drawing.SizeF(76.02155F, 23F);
     this.xrLabel4.Text          = "xrLabel4";
     this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
     //
     // xrLabel5
     //
     this.xrLabel5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BirimFiyat]")
     });
     this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(271.0131F, 0F);
     this.xrLabel5.Multiline     = true;
     this.xrLabel5.Name          = "xrLabel5";
     this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel5.SizeF         = new System.Drawing.SizeF(96.19528F, 23F);
     this.xrLabel5.Text          = "xrLabel5";
     this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
     //
     // xrLabel6
     //
     this.xrLabel6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[SatinAlmaTarihi]")
     });
     this.xrLabel6.LocationFloat    = new DevExpress.Utils.PointFloat(444.2917F, 0F);
     this.xrLabel6.Multiline        = true;
     this.xrLabel6.Name             = "xrLabel6";
     this.xrLabel6.Padding          = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF            = new System.Drawing.SizeF(143.674F, 23F);
     this.xrLabel6.Text             = "xrLabel6";
     this.xrLabel6.TextFormatString = "{0:d}";
     //
     // groupFooterBand1
     //
     this.groupFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2
     });
     this.groupFooterBand1.GroupUnion = DevExpress.XtraReports.UI.GroupFooterUnion.WithLastDetail;
     this.groupFooterBand1.HeightF    = 6F;
     this.groupFooterBand1.Name       = "groupFooterBand1";
     //
     // xrLabel2
     //
     this.xrLabel2.Borders                  = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel2.LocationFloat            = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel2.Multiline                = true;
     this.xrLabel2.Name                     = "xrLabel2";
     this.xrLabel2.Padding                  = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF                    = new System.Drawing.SizeF(650F, 2.08F);
     this.xrLabel2.StyleName                = "GroupCaption3";
     this.xrLabel2.StylePriority.UseBorders = false;
     //
     // Title
     //
     this.Title.BackColor   = System.Drawing.Color.Transparent;
     this.Title.BorderColor = System.Drawing.Color.Black;
     this.Title.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.Title.BorderWidth = 1F;
     this.Title.Font        = new System.Drawing.Font("Tahoma", 14F);
     this.Title.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75)))));
     this.Title.Name        = "Title";
     //
     // GroupCaption3
     //
     this.GroupCaption3.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(137)))), ((int)(((byte)(137)))));
     this.GroupCaption3.BorderColor   = System.Drawing.Color.White;
     this.GroupCaption3.Borders       = DevExpress.XtraPrinting.BorderSide.Bottom;
     this.GroupCaption3.BorderWidth   = 2F;
     this.GroupCaption3.Font          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.GroupCaption3.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(228)))), ((int)(((byte)(228)))), ((int)(((byte)(228)))));
     this.GroupCaption3.Name          = "GroupCaption3";
     this.GroupCaption3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(6, 2, 0, 0, 100F);
     this.GroupCaption3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // GroupData3
     //
     this.GroupData3.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(137)))), ((int)(((byte)(137)))), ((int)(((byte)(137)))));
     this.GroupData3.BorderColor   = System.Drawing.Color.White;
     this.GroupData3.Borders       = DevExpress.XtraPrinting.BorderSide.Bottom;
     this.GroupData3.BorderWidth   = 2F;
     this.GroupData3.Font          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.GroupData3.ForeColor     = System.Drawing.Color.White;
     this.GroupData3.Name          = "GroupData3";
     this.GroupData3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(6, 2, 0, 0, 100F);
     this.GroupData3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // PageInfo
     //
     this.PageInfo.Font      = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.PageInfo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75)))));
     this.PageInfo.Name      = "PageInfo";
     this.PageInfo.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     //
     // SatinAlRapor
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.reportHeaderBand1,
         this.groupHeaderBand1,
         this.groupFooterBand1
     });
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.sqlDataSource1
     });
     this.DataMember = "Tbl_Urun";
     this.DataSource = this.sqlDataSource1;
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.Title,
         this.GroupCaption3,
         this.GroupData3,
         this.PageInfo
     });
     this.Version = "18.1";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #27
0
        public static XRTable CreatePageHeaderTable(List<structColumn> ListColumns, int pageWidth, int colWidth, Boolean HaveColumnGroup, int GroupColumnLength)
        {
            try
            {
                XRTable XRTable_PageHeader = new XRTable();
                XRTableRow XRTableRow_PageHeader = new XRTableRow();
                if (HaveColumnGroup)
                {
                    XRTableCell XRTableCell_Cell = new XRTableCell();

                    XRTableCell_Cell.Width = GroupColumnLength;
                    XRTableCell_Cell.Text = "Nhóm";
                    XRTableRow_PageHeader.Cells.Add(XRTableCell_Cell);
                }
                for (int i = 0; i < ListColumns.Count; i++)
                {
                    XRTableCell XRTableCell_Cell = new XRTableCell();
                    XRTableCell_Cell.Width = (int)colWidth;
                    XRTableCell_Cell.Text = ListColumns[i].Caption;
                    XRTableRow_PageHeader.Cells.Add(XRTableCell_Cell);
                }
                XRTable_PageHeader.Rows.Add(XRTableRow_PageHeader);
                XRTable_PageHeader.Width = pageWidth;
                XRTable_PageHeader.Name = "XRTable_PageHeader";

                return XRTable_PageHeader;
            }
            catch { }
            return null;
        }
コード例 #28
0
ファイル: voucher_1.cs プロジェクト: khanhnguyen18/tvqlLib
        private void method_0()
        {
            ComponentResourceManager manager = new ComponentResourceManager(typeof(voucher_1));

            this.detailBand_0       = new DetailBand();
            this.xrtable_1          = new XRTable();
            this.xrtableRow_8       = new XRTableRow();
            this.xrtableCell_14     = new XRTableCell();
            this.xrtableCell_15     = new XRTableCell();
            this.xrtableCell_16     = new XRTableCell();
            this.xrtableRow_9       = new XRTableRow();
            this.xrtableCell_17     = new XRTableCell();
            this.xrtableCell_26     = new XRTableCell();
            this.xrtableCell_18     = new XRTableCell();
            this.xrtableCell_19     = new XRTableCell();
            this.reportHeaderBand_0 = new ReportHeaderBand();
            this.xrtable_0          = new XRTable();
            this.xrtableRow_0       = new XRTableRow();
            this.xrtableCell_0      = new XRTableCell();
            this.xrtableRow_14      = new XRTableRow();
            this.xrtableCell_32     = new XRTableCell();
            this.xrtableRow_1       = new XRTableRow();
            this.xrtableCell_1      = new XRTableCell();
            this.xrtableRow_2       = new XRTableRow();
            this.xrtableCell_2      = new XRTableCell();
            this.xrtableRow_3       = new XRTableRow();
            this.xrtableCell_3      = new XRTableCell();
            this.xrtableRow_4       = new XRTableRow();
            this.xrtableCell_4      = new XRTableCell();
            this.xrtableCell_5      = new XRTableCell();
            this.xrtableRow_5       = new XRTableRow();
            this.xrtableCell_6      = new XRTableCell();
            this.xrtableCell_7      = new XRTableCell();
            this.xrtableCell_8      = new XRTableCell();
            this.xrtableRow_6       = new XRTableRow();
            this.xrtableCell_9      = new XRTableCell();
            this.xrtableCell_10     = new XRTableCell();
            this.xrtableRow_7       = new XRTableRow();
            this.xrtableCell_11     = new XRTableCell();
            this.xrtableCell_12     = new XRTableCell();
            this.xrtableCell_13     = new XRTableCell();
            this.reportFooterBand_0 = new ReportFooterBand();
            this.xrrichText_0       = new XRRichText();
            this.xrtable_2          = new XRTable();
            this.xrtableRow_10      = new XRTableRow();
            this.xrtableCell_20     = new XRTableCell();
            this.xrtableCell_21     = new XRTableCell();
            this.xrtableCell_22     = new XRTableCell();
            this.xrtableRow_11      = new XRTableRow();
            this.xrtableCell_23     = new XRTableCell();
            this.xrtableCell_24     = new XRTableCell();
            this.xrtableCell_25     = new XRTableCell();
            this.xTveRubwQ          = new XRTableRow();
            this.xrtableCell_27     = new XRTableCell();
            this.xrtableCell_28     = new XRTableCell();
            this.xrtableCell_29     = new XRTableCell();
            this.xrtableRow_12      = new XRTableRow();
            this.xrtableCell_33     = new XRTableCell();
            this.xrtableCell_34     = new XRTableCell();
            this.xrtableCell_30     = new XRTableCell();
            this.xrtableRow_15      = new XRTableRow();
            this.xrtableCell_35     = new XRTableCell();
            this.xrtableCell_36     = new XRTableCell();
            this.xrtableCell_37     = new XRTableCell();
            this.xrtableRow_13      = new XRTableRow();
            this.xrtableCell_31     = new XRTableCell();
            this.topMarginBand_0    = new TopMarginBand();
            this.bottomMarginBand_0 = new BottomMarginBand();
            this.xrtable_1.BeginInit();
            this.xrtable_0.BeginInit();
            this.xrrichText_0.BeginInit();
            this.xrtable_2.BeginInit();
            this.BeginInit();
            this.detailBand_0.Controls.AddRange(new XRControl[] { this.xrtable_1 });
            this.detailBand_0.HeightF = 42f;
            this.detailBand_0.Name    = "Detail";
            this.detailBand_0.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.detailBand_0.StylePriority.UsePadding = false;
            this.detailBand_0.TextAlignment            = TextAlignment.TopLeft;
            this.detailBand_0.BeforePrint += new PrintEventHandler(this.detailBand_0_BeforePrint);
            this.xrtable_1.LocationFloat   = new PointFloat(0f, 0f);
            this.xrtable_1.Name            = "xrTable2";
            this.xrtable_1.Rows.AddRange(new XRTableRow[] { this.xrtableRow_8, this.xrtableRow_9 });
            this.xrtable_1.SizeF = new SizeF(267f, 42f);
            this.xrtableRow_8.Cells.AddRange(new XRTableCell[] { this.xrtableCell_14, this.xrtableCell_15, this.xrtableCell_16 });
            this.xrtableRow_8.Name          = "xrTableRow9";
            this.xrtableRow_8.Weight        = 1.0;
            this.xrtableCell_14.BorderColor = SystemColors.ControlDark;
            this.xrtableCell_14.Borders     = BorderSide.Top;
            this.xrtableCell_14.Font        = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_14.Name        = "Txt_idx";
            this.xrtableCell_14.Padding     = new PaddingInfo(3, 5, 0, 0, 100f);
            this.xrtableCell_14.StylePriority.UseBorderColor   = false;
            this.xrtableCell_14.StylePriority.UseBorders       = false;
            this.xrtableCell_14.StylePriority.UseFont          = false;
            this.xrtableCell_14.StylePriority.UsePadding       = false;
            this.xrtableCell_14.StylePriority.UseTextAlignment = false;
            this.xrtableCell_14.Text          = "Txt_idx";
            this.xrtableCell_14.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_14.Weight        = 0.2921348314606742;
            this.xrtableCell_14.WordWrap      = false;
            this.xrtableCell_15.BorderColor   = SystemColors.ControlDark;
            this.xrtableCell_15.Borders       = BorderSide.Top;
            this.xrtableCell_15.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_15.Name          = "Txt_GoodsId";
            this.xrtableCell_15.StylePriority.UseBorderColor   = false;
            this.xrtableCell_15.StylePriority.UseBorders       = false;
            this.xrtableCell_15.StylePriority.UseFont          = false;
            this.xrtableCell_15.StylePriority.UseTextAlignment = false;
            this.xrtableCell_15.Text          = "Txt_GoodsId";
            this.xrtableCell_15.TextAlignment = TextAlignment.MiddleCenter;
            this.xrtableCell_15.Weight        = 0.651685393258427;
            this.xrtableCell_15.WordWrap      = false;
            this.xrtableCell_16.BorderColor   = SystemColors.ControlDark;
            this.xrtableCell_16.Borders       = BorderSide.Top;
            this.xrtableCell_16.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_16.Name          = "Txt_FullName";
            this.xrtableCell_16.Padding       = new PaddingInfo(5, 0, 0, 0, 100f);
            this.xrtableCell_16.StylePriority.UseBorderColor   = false;
            this.xrtableCell_16.StylePriority.UseBorders       = false;
            this.xrtableCell_16.StylePriority.UseFont          = false;
            this.xrtableCell_16.StylePriority.UsePadding       = false;
            this.xrtableCell_16.StylePriority.UseTextAlignment = false;
            this.xrtableCell_16.Text          = "Txt_FullName";
            this.xrtableCell_16.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_16.Weight        = 2.0561797752808988;
            this.xrtableCell_16.WordWrap      = false;
            this.xrtableRow_9.Cells.AddRange(new XRTableCell[] { this.xrtableCell_17, this.xrtableCell_26, this.xrtableCell_18, this.xrtableCell_19 });
            this.xrtableRow_9.Name      = "xrTableRow10";
            this.xrtableRow_9.Weight    = 1.0;
            this.xrtableCell_17.Borders = BorderSide.None;
            this.xrtableCell_17.Font    = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_17.Name    = "xrTableCell6";
            this.xrtableCell_17.StylePriority.UseBorders       = false;
            this.xrtableCell_17.StylePriority.UseFont          = false;
            this.xrtableCell_17.StylePriority.UseTextAlignment = false;
            this.xrtableCell_17.Text                           = "SL :";
            this.xrtableCell_17.TextAlignment                  = TextAlignment.MiddleRight;
            this.xrtableCell_17.Weight                         = 0.4662921348314607;
            this.xrtableCell_26.Borders                        = BorderSide.None;
            this.xrtableCell_26.Name                           = "Txt_Qty";
            this.xrtableCell_26.StylePriority.UseBorders       = false;
            this.xrtableCell_26.StylePriority.UseTextAlignment = false;
            this.xrtableCell_26.Text                           = "Txt_Qty";
            this.xrtableCell_26.TextAlignment                  = TextAlignment.MiddleRight;
            this.xrtableCell_26.Weight                         = 0.5337078651685393;
            this.xrtableCell_18.Borders                        = BorderSide.None;
            this.xrtableCell_18.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_18.Name                           = "Txt_Price";
            this.xrtableCell_18.StylePriority.UseBorders       = false;
            this.xrtableCell_18.StylePriority.UseFont          = false;
            this.xrtableCell_18.StylePriority.UseTextAlignment = false;
            this.xrtableCell_18.Text                           = "Txt_Price";
            this.xrtableCell_18.TextAlignment                  = TextAlignment.MiddleRight;
            this.xrtableCell_18.Weight                         = 0.8651685393258427;
            this.xrtableCell_19.Borders                        = BorderSide.None;
            this.xrtableCell_19.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_19.Name                           = "Txt_Amount";
            this.xrtableCell_19.Padding                        = new PaddingInfo(0, 3, 0, 0, 100f);
            this.xrtableCell_19.StylePriority.UseBorders       = false;
            this.xrtableCell_19.StylePriority.UseFont          = false;
            this.xrtableCell_19.StylePriority.UsePadding       = false;
            this.xrtableCell_19.StylePriority.UseTextAlignment = false;
            this.xrtableCell_19.Text                           = "Txt_Amount";
            this.xrtableCell_19.TextAlignment                  = TextAlignment.MiddleRight;
            this.xrtableCell_19.Weight                         = 1.1348314606741572;
            this.reportHeaderBand_0.Controls.AddRange(new XRControl[] { this.xrtable_0 });
            this.reportHeaderBand_0.HeightF = 225f;
            this.reportHeaderBand_0.Name    = "ReportHeader";
            this.xrtable_0.LocationFloat    = new PointFloat(0f, 0f);
            this.xrtable_0.Name             = "xrTable1";
            this.xrtable_0.Rows.AddRange(new XRTableRow[] { this.xrtableRow_0, this.xrtableRow_14, this.xrtableRow_1, this.xrtableRow_2, this.xrtableRow_3, this.xrtableRow_4, this.xrtableRow_5, this.xrtableRow_6, this.xrtableRow_7 });
            this.xrtable_0.SizeF = new SizeF(267f, 225f);
            this.xrtableRow_0.Cells.AddRange(new XRTableCell[] { this.xrtableCell_0 });
            this.xrtableRow_0.Name   = "xrTableRow1";
            this.xrtableRow_0.Weight = 1.0;
            this.xrtableCell_0.Font  = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_0.Name  = "Txt_CompanyName";
            this.xrtableCell_0.StylePriority.UseFont          = false;
            this.xrtableCell_0.StylePriority.UseTextAlignment = false;
            this.xrtableCell_0.Text          = "Txt_CompanyName";
            this.xrtableCell_0.TextAlignment = TextAlignment.MiddleCenter;
            this.xrtableCell_0.Weight        = 3.0;
            this.xrtableRow_14.Cells.AddRange(new XRTableCell[] { this.xrtableCell_32 });
            this.xrtableRow_14.Name   = "xrTableRow16";
            this.xrtableRow_14.Weight = 1.0;
            this.xrtableCell_32.Font  = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_32.Name  = "xrTableCell4";
            this.xrtableCell_32.StylePriority.UseFont          = false;
            this.xrtableCell_32.StylePriority.UseTextAlignment = false;
            this.xrtableCell_32.Text          = "Cửa h\x00e0ng Ohayo Mart 649 Kim M\x00e3";
            this.xrtableCell_32.TextAlignment = TextAlignment.MiddleCenter;
            this.xrtableCell_32.Weight        = 3.0;
            this.xrtableRow_1.Cells.AddRange(new XRTableCell[] { this.xrtableCell_1 });
            this.xrtableRow_1.Name   = "xrTableRow2";
            this.xrtableRow_1.Weight = 1.0;
            this.xrtableCell_1.Font  = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_1.Name  = "Txt_Address";
            this.xrtableCell_1.StylePriority.UseFont          = false;
            this.xrtableCell_1.StylePriority.UseTextAlignment = false;
            this.xrtableCell_1.Text          = "Txt_Address";
            this.xrtableCell_1.TextAlignment = TextAlignment.MiddleCenter;
            this.xrtableCell_1.Weight        = 3.0;
            this.xrtableRow_2.Cells.AddRange(new XRTableCell[] { this.xrtableCell_2 });
            this.xrtableRow_2.Name   = "xrTableRow3";
            this.xrtableRow_2.Weight = 1.0;
            this.xrtableCell_2.Font  = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_2.Name  = "Txt_Phone";
            this.xrtableCell_2.StylePriority.UseFont          = false;
            this.xrtableCell_2.StylePriority.UseTextAlignment = false;
            this.xrtableCell_2.Text          = "Txt_Phone";
            this.xrtableCell_2.TextAlignment = TextAlignment.MiddleCenter;
            this.xrtableCell_2.Weight        = 3.0;
            this.xrtableRow_3.Cells.AddRange(new XRTableCell[] { this.xrtableCell_3 });
            this.xrtableRow_3.Name   = "xrTableRow4";
            this.xrtableRow_3.Weight = 1.0;
            this.xrtableCell_3.Font  = new Font("Tahoma", 12f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_3.Name  = "xrTableCell10";
            this.xrtableCell_3.StylePriority.UseFont          = false;
            this.xrtableCell_3.StylePriority.UseTextAlignment = false;
            this.xrtableCell_3.Text          = "H\x00d3A ĐƠN B\x00c1N LẺ";
            this.xrtableCell_3.TextAlignment = TextAlignment.MiddleCenter;
            this.xrtableCell_3.Weight        = 3.0;
            this.xrtableRow_4.Cells.AddRange(new XRTableCell[] { this.xrtableCell_4, this.xrtableCell_5 });
            this.xrtableRow_4.Name     = "xrTableRow5";
            this.xrtableRow_4.Weight   = 1.0;
            this.xrtableCell_4.Font    = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_4.Name    = "xrTableCell13";
            this.xrtableCell_4.Padding = new PaddingInfo(3, 0, 0, 0, 100f);
            this.xrtableCell_4.StylePriority.UseFont          = false;
            this.xrtableCell_4.StylePriority.UsePadding       = false;
            this.xrtableCell_4.StylePriority.UseTextAlignment = false;
            this.xrtableCell_4.Text                           = "Số h\x00f3a đơn :";
            this.xrtableCell_4.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_4.Weight                         = 1.0;
            this.xrtableCell_5.Font                           = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.xrtableCell_5.Name                           = "Txt_TransNum";
            this.xrtableCell_5.Padding                        = new PaddingInfo(5, 0, 0, 0, 100f);
            this.xrtableCell_5.StylePriority.UseFont          = false;
            this.xrtableCell_5.StylePriority.UsePadding       = false;
            this.xrtableCell_5.StylePriority.UseTextAlignment = false;
            this.xrtableCell_5.Text                           = "Txt_TransNum";
            this.xrtableCell_5.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_5.Weight                         = 2.0;
            this.xrtableRow_5.Cells.AddRange(new XRTableCell[] { this.xrtableCell_6, this.xrtableCell_7, this.xrtableCell_8 });
            this.xrtableRow_5.Name     = "xrTableRow6";
            this.xrtableRow_5.Weight   = 1.0;
            this.xrtableCell_6.Font    = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_6.Name    = "xrTableCell16";
            this.xrtableCell_6.Padding = new PaddingInfo(3, 0, 0, 0, 100f);
            this.xrtableCell_6.StylePriority.UseFont          = false;
            this.xrtableCell_6.StylePriority.UsePadding       = false;
            this.xrtableCell_6.StylePriority.UseTextAlignment = false;
            this.xrtableCell_6.Text                           = "Ng\x00e0y :";
            this.xrtableCell_6.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_6.Weight                         = 1.0;
            this.xrtableCell_7.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_7.Name                           = "Txt_TranDate";
            this.xrtableCell_7.Padding                        = new PaddingInfo(5, 0, 0, 0, 100f);
            this.xrtableCell_7.StylePriority.UseFont          = false;
            this.xrtableCell_7.StylePriority.UsePadding       = false;
            this.xrtableCell_7.StylePriority.UseTextAlignment = false;
            this.xrtableCell_7.Text                           = "Txt_TranDate";
            this.xrtableCell_7.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_7.Weight                         = 1.0;
            this.xrtableCell_8.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_8.Name                           = "Txt_TranTime";
            this.xrtableCell_8.StylePriority.UseFont          = false;
            this.xrtableCell_8.StylePriority.UseTextAlignment = false;
            this.xrtableCell_8.Text                           = "Txt_TranTime";
            this.xrtableCell_8.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_8.Weight                         = 1.0;
            this.xrtableRow_6.Cells.AddRange(new XRTableCell[] { this.xrtableCell_9, this.xrtableCell_10 });
            this.xrtableRow_6.Name     = "xrTableRow7";
            this.xrtableRow_6.Weight   = 1.0;
            this.xrtableCell_9.Font    = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_9.Name    = "xrTableCell19";
            this.xrtableCell_9.Padding = new PaddingInfo(3, 0, 0, 0, 100f);
            this.xrtableCell_9.StylePriority.UseFont          = false;
            this.xrtableCell_9.StylePriority.UsePadding       = false;
            this.xrtableCell_9.StylePriority.UseTextAlignment = false;
            this.xrtableCell_9.Text                            = "Thu ng\x00e2n :";
            this.xrtableCell_9.TextAlignment                   = TextAlignment.MiddleLeft;
            this.xrtableCell_9.Weight                          = 1.0;
            this.xrtableCell_10.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_10.Name                           = "Txt_UserName";
            this.xrtableCell_10.Padding                        = new PaddingInfo(5, 0, 0, 0, 100f);
            this.xrtableCell_10.StylePriority.UseFont          = false;
            this.xrtableCell_10.StylePriority.UsePadding       = false;
            this.xrtableCell_10.StylePriority.UseTextAlignment = false;
            this.xrtableCell_10.Text                           = "Txt_UserName";
            this.xrtableCell_10.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_10.Weight                         = 2.0;
            this.xrtableRow_7.Cells.AddRange(new XRTableCell[] { this.xrtableCell_11, this.xrtableCell_12, this.xrtableCell_13 });
            this.xrtableRow_7.Name          = "xrTableRow8";
            this.xrtableRow_7.Weight        = 1.0;
            this.xrtableCell_11.BorderColor = SystemColors.ControlDark;
            this.xrtableCell_11.Borders     = BorderSide.Bottom;
            this.xrtableCell_11.Font        = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_11.Name        = "xrTableCell22";
            this.xrtableCell_11.StylePriority.UseBorderColor   = false;
            this.xrtableCell_11.StylePriority.UseBorders       = false;
            this.xrtableCell_11.StylePriority.UseFont          = false;
            this.xrtableCell_11.StylePriority.UseTextAlignment = false;
            this.xrtableCell_11.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_11.Weight        = 1.0;
            this.xrtableCell_12.BorderColor   = SystemColors.ControlDark;
            this.xrtableCell_12.Borders       = BorderSide.Bottom;
            this.xrtableCell_12.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_12.Name          = "xrTableCell23";
            this.xrtableCell_12.StylePriority.UseBorderColor   = false;
            this.xrtableCell_12.StylePriority.UseBorders       = false;
            this.xrtableCell_12.StylePriority.UseFont          = false;
            this.xrtableCell_12.StylePriority.UseTextAlignment = false;
            this.xrtableCell_12.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_12.Weight        = 1.0;
            this.xrtableCell_13.BorderColor   = SystemColors.ControlDark;
            this.xrtableCell_13.Borders       = BorderSide.Bottom;
            this.xrtableCell_13.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_13.Name          = "xrTableCell24";
            this.xrtableCell_13.StylePriority.UseBorderColor   = false;
            this.xrtableCell_13.StylePriority.UseBorders       = false;
            this.xrtableCell_13.StylePriority.UseFont          = false;
            this.xrtableCell_13.StylePriority.UseTextAlignment = false;
            this.xrtableCell_13.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_13.Weight        = 1.0;
            this.reportFooterBand_0.Controls.AddRange(new XRControl[] { this.xrrichText_0, this.xrtable_2 });
            this.reportFooterBand_0.HeightF         = 168f;
            this.reportFooterBand_0.Name            = "ReportFooter";
            this.xrrichText_0.Font                  = new Font("Tahoma", 6f, FontStyle.Italic, GraphicsUnit.Point, 0);
            this.xrrichText_0.LocationFloat         = new PointFloat(11f, 150f);
            this.xrrichText_0.Name                  = "Txt_Author";
            this.xrrichText_0.SerializableRtfString = manager.GetString("Txt_Author.SerializableRtfString");
            this.xrrichText_0.SizeF                 = new SizeF(246f, 12f);
            this.xrrichText_0.StylePriority.UseFont = false;
            this.xrtable_2.LocationFloat            = new PointFloat(0f, 0f);
            this.xrtable_2.Name = "xrTable3";
            this.xrtable_2.Rows.AddRange(new XRTableRow[] { this.xrtableRow_10, this.xrtableRow_11, this.xTveRubwQ, this.xrtableRow_12, this.xrtableRow_15, this.xrtableRow_13 });
            this.xrtable_2.SizeF = new SizeF(267f, 150f);
            this.xrtableRow_10.Cells.AddRange(new XRTableCell[] { this.xrtableCell_20, this.xrtableCell_21, this.xrtableCell_22 });
            this.xrtableRow_10.Name         = "xrTableRow11";
            this.xrtableRow_10.Weight       = 1.0;
            this.xrtableCell_20.BorderColor = SystemColors.ControlDark;
            this.xrtableCell_20.Borders     = BorderSide.Top;
            this.xrtableCell_20.Font        = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_20.Name        = "xrTableCell11";
            this.xrtableCell_20.StylePriority.UseBorderColor   = false;
            this.xrtableCell_20.StylePriority.UseBorders       = false;
            this.xrtableCell_20.StylePriority.UseFont          = false;
            this.xrtableCell_20.StylePriority.UseTextAlignment = false;
            this.xrtableCell_20.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_20.Weight        = 0.651685393258427;
            this.xrtableCell_21.BorderColor   = SystemColors.ControlDark;
            this.xrtableCell_21.Borders       = BorderSide.Top;
            this.xrtableCell_21.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_21.Name          = "xrTableCell12";
            this.xrtableCell_21.Padding       = new PaddingInfo(3, 0, 0, 0, 100f);
            this.xrtableCell_21.StylePriority.UseBorderColor   = false;
            this.xrtableCell_21.StylePriority.UseBorders       = false;
            this.xrtableCell_21.StylePriority.UseFont          = false;
            this.xrtableCell_21.StylePriority.UsePadding       = false;
            this.xrtableCell_21.StylePriority.UseTextAlignment = false;
            this.xrtableCell_21.Text          = "Tổng tiền :";
            this.xrtableCell_21.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_21.Weight        = 1.2247191011235954;
            this.xrtableCell_22.BorderColor   = SystemColors.ControlDark;
            this.xrtableCell_22.Borders       = BorderSide.Top;
            this.xrtableCell_22.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_22.Name          = "Txt_Totalamt";
            this.xrtableCell_22.Padding       = new PaddingInfo(0, 3, 0, 0, 100f);
            this.xrtableCell_22.StylePriority.UseBorderColor   = false;
            this.xrtableCell_22.StylePriority.UseBorders       = false;
            this.xrtableCell_22.StylePriority.UseFont          = false;
            this.xrtableCell_22.StylePriority.UsePadding       = false;
            this.xrtableCell_22.StylePriority.UseTextAlignment = false;
            this.xrtableCell_22.Text          = "Txt_Totalamt";
            this.xrtableCell_22.TextAlignment = TextAlignment.MiddleRight;
            this.xrtableCell_22.Weight        = 1.1235955056179776;
            this.xrtableRow_11.Cells.AddRange(new XRTableCell[] { this.xrtableCell_23, this.xrtableCell_24, this.xrtableCell_25 });
            this.xrtableRow_11.Name   = "xrTableRow12";
            this.xrtableRow_11.Weight = 1.0;
            this.xrtableCell_23.Font  = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_23.Name  = "xrTableCell25";
            this.xrtableCell_23.StylePriority.UseFont          = false;
            this.xrtableCell_23.StylePriority.UseTextAlignment = false;
            this.xrtableCell_23.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_23.Weight                         = 0.651685393258427;
            this.xrtableCell_24.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_24.Name                           = "xrTableCell26";
            this.xrtableCell_24.Padding                        = new PaddingInfo(3, 0, 0, 0, 100f);
            this.xrtableCell_24.StylePriority.UseFont          = false;
            this.xrtableCell_24.StylePriority.UsePadding       = false;
            this.xrtableCell_24.StylePriority.UseTextAlignment = false;
            this.xrtableCell_24.Text                           = "Chiết khấu :";
            this.xrtableCell_24.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_24.Weight                         = 1.2247191011235956;
            this.xrtableCell_25.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_25.Name                           = "Txt_Discount";
            this.xrtableCell_25.Padding                        = new PaddingInfo(0, 3, 0, 0, 100f);
            this.xrtableCell_25.StylePriority.UseFont          = false;
            this.xrtableCell_25.StylePriority.UsePadding       = false;
            this.xrtableCell_25.StylePriority.UseTextAlignment = false;
            this.xrtableCell_25.Text                           = "Txt_Discount";
            this.xrtableCell_25.TextAlignment                  = TextAlignment.MiddleRight;
            this.xrtableCell_25.Weight                         = 1.1235955056179776;
            this.xTveRubwQ.Cells.AddRange(new XRTableCell[] { this.xrtableCell_27, this.xrtableCell_28, this.xrtableCell_29 });
            this.xTveRubwQ.Name      = "xrTableRow13";
            this.xTveRubwQ.Weight    = 1.0;
            this.xrtableCell_27.Font = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_27.Name = "xrTableCell1";
            this.xrtableCell_27.StylePriority.UseFont          = false;
            this.xrtableCell_27.StylePriority.UseTextAlignment = false;
            this.xrtableCell_27.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_27.Weight                         = 0.651685393258427;
            this.xrtableCell_28.Font                           = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.xrtableCell_28.Name                           = "xrTableCell2";
            this.xrtableCell_28.Padding                        = new PaddingInfo(3, 0, 0, 0, 100f);
            this.xrtableCell_28.StylePriority.UseFont          = false;
            this.xrtableCell_28.StylePriority.UsePadding       = false;
            this.xrtableCell_28.StylePriority.UseTextAlignment = false;
            this.xrtableCell_28.Text                           = "Tổng thanh to\x00e1n :";
            this.xrtableCell_28.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_28.Weight                         = 1.2247191011235956;
            this.xrtableCell_29.Font                           = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.xrtableCell_29.Name                           = "Txt_PayAmt";
            this.xrtableCell_29.Padding                        = new PaddingInfo(0, 3, 0, 0, 100f);
            this.xrtableCell_29.StylePriority.UseFont          = false;
            this.xrtableCell_29.StylePriority.UsePadding       = false;
            this.xrtableCell_29.StylePriority.UseTextAlignment = false;
            this.xrtableCell_29.Text                           = "Txt_PayAmt";
            this.xrtableCell_29.TextAlignment                  = TextAlignment.MiddleRight;
            this.xrtableCell_29.Weight                         = 1.1235955056179776;
            this.xrtableRow_12.Cells.AddRange(new XRTableCell[] { this.xrtableCell_33, this.xrtableCell_34, this.xrtableCell_30 });
            this.xrtableRow_12.Name     = "xrTableRow14";
            this.xrtableRow_12.Weight   = 1.0;
            this.xrtableCell_33.Font    = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_33.Name    = "xrTableCell21";
            this.xrtableCell_33.Padding = new PaddingInfo(3, 3, 0, 0, 100f);
            this.xrtableCell_33.StylePriority.UseFont          = false;
            this.xrtableCell_33.StylePriority.UsePadding       = false;
            this.xrtableCell_33.StylePriority.UseTextAlignment = false;
            this.xrtableCell_33.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_33.Weight                         = 0.64887640449438211;
            this.xrtableCell_34.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_34.Name                           = "xrTableCell14";
            this.xrtableCell_34.Padding                        = new PaddingInfo(3, 3, 0, 0, 100f);
            this.xrtableCell_34.StylePriority.UseFont          = false;
            this.xrtableCell_34.StylePriority.UsePadding       = false;
            this.xrtableCell_34.StylePriority.UseTextAlignment = false;
            this.xrtableCell_34.Text                           = "Tiền nhận :";
            this.xrtableCell_34.TextAlignment                  = TextAlignment.MiddleLeft;
            this.xrtableCell_34.Weight                         = 1.2219101123595508;
            this.xrtableCell_30.Borders                        = BorderSide.None;
            this.xrtableCell_30.Font                           = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_30.Name                           = "Txt_FrCustomer";
            this.xrtableCell_30.Padding                        = new PaddingInfo(3, 3, 0, 0, 100f);
            this.xrtableCell_30.StylePriority.UseBorders       = false;
            this.xrtableCell_30.StylePriority.UseFont          = false;
            this.xrtableCell_30.StylePriority.UsePadding       = false;
            this.xrtableCell_30.StylePriority.UseTextAlignment = false;
            this.xrtableCell_30.Text                           = "Txt_FrCustomer";
            this.xrtableCell_30.TextAlignment                  = TextAlignment.MiddleRight;
            this.xrtableCell_30.Weight                         = 1.1292134831460676;
            this.xrtableRow_15.Cells.AddRange(new XRTableCell[] { this.xrtableCell_35, this.xrtableCell_36, this.xrtableCell_37 });
            this.xrtableRow_15.Name         = "xrTableRow17";
            this.xrtableRow_15.Weight       = 1.0;
            this.xrtableCell_35.BorderColor = SystemColors.ControlDark;
            this.xrtableCell_35.Borders     = BorderSide.Bottom;
            this.xrtableCell_35.Font        = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_35.Name        = "xrTableCell5";
            this.xrtableCell_35.Padding     = new PaddingInfo(3, 3, 0, 0, 100f);
            this.xrtableCell_35.StylePriority.UseBorderColor   = false;
            this.xrtableCell_35.StylePriority.UseBorders       = false;
            this.xrtableCell_35.StylePriority.UseFont          = false;
            this.xrtableCell_35.StylePriority.UsePadding       = false;
            this.xrtableCell_35.StylePriority.UseTextAlignment = false;
            this.xrtableCell_35.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_35.Weight        = 0.64887640449438211;
            this.xrtableCell_36.BorderColor   = SystemColors.ControlDark;
            this.xrtableCell_36.Borders       = BorderSide.Bottom;
            this.xrtableCell_36.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_36.Name          = "xrTableCell7";
            this.xrtableCell_36.Padding       = new PaddingInfo(3, 3, 0, 0, 100f);
            this.xrtableCell_36.StylePriority.UseBorderColor   = false;
            this.xrtableCell_36.StylePriority.UseBorders       = false;
            this.xrtableCell_36.StylePriority.UseFont          = false;
            this.xrtableCell_36.StylePriority.UsePadding       = false;
            this.xrtableCell_36.StylePriority.UseTextAlignment = false;
            this.xrtableCell_36.Text          = "Trả lại kh\x00e1ch :";
            this.xrtableCell_36.TextAlignment = TextAlignment.MiddleLeft;
            this.xrtableCell_36.Weight        = 1.2219101123595508;
            this.xrtableCell_37.BorderColor   = SystemColors.ControlDark;
            this.xrtableCell_37.Borders       = BorderSide.Bottom;
            this.xrtableCell_37.Font          = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_37.Name          = "Txt_PayBack";
            this.xrtableCell_37.Padding       = new PaddingInfo(3, 3, 0, 0, 100f);
            this.xrtableCell_37.StylePriority.UseBorderColor   = false;
            this.xrtableCell_37.StylePriority.UseBorders       = false;
            this.xrtableCell_37.StylePriority.UseFont          = false;
            this.xrtableCell_37.StylePriority.UsePadding       = false;
            this.xrtableCell_37.StylePriority.UseTextAlignment = false;
            this.xrtableCell_37.Text          = "Txt_PayBack";
            this.xrtableCell_37.TextAlignment = TextAlignment.MiddleRight;
            this.xrtableCell_37.Weight        = 1.1292134831460676;
            this.xrtableRow_13.Cells.AddRange(new XRTableCell[] { this.xrtableCell_31 });
            this.xrtableRow_13.Name         = "xrTableRow15";
            this.xrtableRow_13.Weight       = 1.0;
            this.xrtableCell_31.BorderColor = SystemColors.ControlDark;
            this.xrtableCell_31.Font        = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.xrtableCell_31.Name        = "xrTableCell9";
            this.xrtableCell_31.StylePriority.UseBorderColor   = false;
            this.xrtableCell_31.StylePriority.UseFont          = false;
            this.xrtableCell_31.StylePriority.UseTextAlignment = false;
            this.xrtableCell_31.Text          = "Xin c\x00e1m ơn Qu\x00fd kh\x00e1ch h\x00e0ng";
            this.xrtableCell_31.TextAlignment = TextAlignment.MiddleCenter;
            this.xrtableCell_31.Weight        = 3.0;
            this.topMarginBand_0.HeightF      = 30f;
            this.topMarginBand_0.Name         = "topMarginBand1";
            this.bottomMarginBand_0.HeightF   = 30f;
            this.bottomMarginBand_0.Name      = "bottomMarginBand1";
            base.Bands.AddRange(new Band[] { this.detailBand_0, this.reportHeaderBand_0, this.reportFooterBand_0, this.topMarginBand_0, this.bottomMarginBand_0 });
            base.Margins                 = new Margins(4, 4, 30, 30);
            base.PageHeight              = 0x491;
            base.PageWidth               = 0x115;
            base.PaperKind               = PaperKind.Custom;
            base.Version                 = "9.3";
            base.Watermark.Font          = new Font("Arial Black", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0);
            base.Watermark.ImageAlign    = ContentAlignment.TopCenter;
            base.Watermark.Text          = "doublicate";
            base.Watermark.TextDirection = DirectionMode.Horizontal;
            this.BeforePrint            += new PrintEventHandler(this.voucher_1_BeforePrint);
            this.xrtable_1.EndInit();
            this.xrtable_0.EndInit();
            this.xrrichText_0.EndInit();
            this.xrtable_2.EndInit();
            this.EndInit();
        }
コード例 #29
0
	/// <summary>
	/// Required method for Designer support - do not modify
	/// the contents of this method with the code editor.
	/// </summary>
	private void InitializeComponent() {
            string resourceFileName = "SinifListesi.resx";
            System.Resources.ResourceManager resources = global::Resources.SinifListesi.ResourceManager;
            DevExpress.DataAccess.Sql.CustomSqlQuery customSqlQuery1 = new DevExpress.DataAccess.Sql.CustomSqlQuery();
            DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
            DevExpress.XtraReports.Parameters.DynamicListLookUpSettings dynamicListLookUpSettings1 = new DevExpress.XtraReports.Parameters.DynamicListLookUpSettings();
            this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource();
            this.Detail = new DevExpress.XtraReports.UI.DetailBand();
            this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
            this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
            this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
            this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
            this.reportHeaderBand1 = new DevExpress.XtraReports.UI.ReportHeaderBand();
            this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
            this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
            this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
            this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
            this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
            this.sinav_id = new DevExpress.XtraReports.Parameters.Parameter();
            this.derslikid = new DevExpress.XtraReports.Parameters.Parameter();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            // 
            // sqlDataSource1
            // 
            this.sqlDataSource1.ConnectionName = "Tu_SinavConnectionString";
            this.sqlDataSource1.Name = "sqlDataSource1";
            customSqlQuery1.Name = "ogr_sinav_derslik";
            customSqlQuery1.Sql = resources.GetString("customSqlQuery1.Sql");
            this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
            customSqlQuery1});
            this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
            // 
            // Detail
            // 
            this.Detail.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel11,
            this.xrLabel10,
            this.xrTable1,
            this.xrLabel13});
            this.Detail.HeightF = 23.75F;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.Detail.StylePriority.UseBorders = false;
            this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            // 
            // xrLabel11
            // 
            this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel11.Font = new System.Drawing.Font("Times New Roman", 9.75F);
            this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel11.Name = "xrLabel11";
            this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel11.SizeF = new System.Drawing.SizeF(64.06253F, 23.75F);
            this.xrLabel11.StylePriority.UseBorders = false;
            this.xrLabel11.StylePriority.UseFont = false;
            xrSummary1.FormatString = "{0:}";
            xrSummary1.Func = DevExpress.XtraReports.UI.SummaryFunc.RecordNumber;
            xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
            this.xrLabel11.Summary = xrSummary1;
            // 
            // xrLabel10
            // 
            this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 9.75F);
            this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(518.1033F, 0F);
            this.xrLabel10.Name = "xrLabel10";
            this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel10.SizeF = new System.Drawing.SizeF(131.8967F, 23.75F);
            this.xrLabel10.StylePriority.UseBorders = false;
            this.xrLabel10.StylePriority.UseFont = false;
            // 
            // xrTable1
            // 
            this.xrTable1.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTable1.Font = new System.Drawing.Font("Times New Roman", 9.75F);
            this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(75F, 0F);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1});
            this.xrTable1.SizeF = new System.Drawing.SizeF(443.1033F, 23.75F);
            this.xrTable1.StylePriority.UseBorders = false;
            this.xrTable1.StylePriority.UseFont = false;
            // 
            // xrTableRow1
            // 
            this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell2,
            this.xrTableCell3});
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.Weight = 1D;
            // 
            // xrTableCell1
            // 
            this.xrTableCell1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
            this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "ogr_sinav_derslik.ogr_no")});
            this.xrTableCell1.Name = "xrTableCell1";
            this.xrTableCell1.StylePriority.UseBorderDashStyle = false;
            this.xrTableCell1.StylePriority.UseBorders = false;
            this.xrTableCell1.Text = " xrTableCell1";
            this.xrTableCell1.Weight = 0.75994065325908811D;
            // 
            // xrTableCell2
            // 
            this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "ogr_sinav_derslik.ogr_adi")});
            this.xrTableCell2.Multiline = true;
            this.xrTableCell2.Name = "xrTableCell2";
            this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.xrTableCell2.StylePriority.UseBorders = false;
            this.xrTableCell2.StylePriority.UsePadding = false;
            this.xrTableCell2.Text = " xrTableCell2";
            this.xrTableCell2.Weight = 1.0306610344403175D;
            // 
            // xrTableCell3
            // 
            this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "ogr_sinav_derslik.ogr_soyadi")});
            this.xrTableCell3.Name = "xrTableCell3";
            this.xrTableCell3.StylePriority.UseBorders = false;
            this.xrTableCell3.Text = " xrTableCell3";
            this.xrTableCell3.Weight = 0.92589477536983389D;
            // 
            // xrLabel13
            // 
            this.xrLabel13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel13.Font = new System.Drawing.Font("Times New Roman", 9.75F);
            this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(64.0625F, 0F);
            this.xrLabel13.Multiline = true;
            this.xrLabel13.Name = "xrLabel13";
            this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel13.SizeF = new System.Drawing.SizeF(10.93748F, 23.75F);
            this.xrLabel13.StylePriority.UseBorders = false;
            this.xrLabel13.StylePriority.UseFont = false;
            this.xrLabel13.Text = "\r\n";
            // 
            // TopMargin
            // 
            this.TopMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel9,
            this.xrLabel8,
            this.xrLabel7,
            this.xrLabel6,
            this.xrLabel5,
            this.xrLabel4,
            this.xrLabel3,
            this.xrLabel2,
            this.xrLabel1});
            this.TopMargin.HeightF = 83F;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            // 
            // xrLabel9
            // 
            this.xrLabel9.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 50.24999F);
            this.xrLabel9.Name = "xrLabel9";
            this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel9.SizeF = new System.Drawing.SizeF(120.8333F, 16.75F);
            this.xrLabel9.StylePriority.UseBorders = false;
            this.xrLabel9.Text = "Sınav Tarih / Saat :";
            // 
            // xrLabel8
            // 
            this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 33.5F);
            this.xrLabel8.Name = "xrLabel8";
            this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel8.SizeF = new System.Drawing.SizeF(75F, 16.74999F);
            this.xrLabel8.StylePriority.UseBorders = false;
            this.xrLabel8.Text = "Sınav Türü:";
            // 
            // xrLabel7
            // 
            this.xrLabel7.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 16.75F);
            this.xrLabel7.Name = "xrLabel7";
            this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel7.SizeF = new System.Drawing.SizeF(75F, 16.75F);
            this.xrLabel7.StylePriority.UseBorders = false;
            this.xrLabel7.Text = "Ders Adı:";
            // 
            // xrLabel6
            // 
            this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel6.Name = "xrLabel6";
            this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel6.SizeF = new System.Drawing.SizeF(75F, 16.75F);
            this.xrLabel6.StylePriority.UseBorders = false;
            this.xrLabel6.Text = "Bölüm Adı:";
            // 
            // xrLabel5
            // 
            this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "ogr_sinav_derslik.sinav_saati")});
            this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(195.2141F, 50.24999F);
            this.xrLabel5.Name = "xrLabel5";
            this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel5.SizeF = new System.Drawing.SizeF(146.1054F, 16.75F);
            this.xrLabel5.StylePriority.UseBorders = false;
            // 
            // xrLabel4
            // 
            this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "ogr_sinav_derslik.tarih")});
            this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(120.8333F, 50.24999F);
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel4.SizeF = new System.Drawing.SizeF(74.38071F, 16.75F);
            this.xrLabel4.StylePriority.UseBorders = false;
            // 
            // xrLabel3
            // 
            this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "ogr_sinav_derslik.ders_adi")});
            this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(75F, 16.75F);
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel3.SizeF = new System.Drawing.SizeF(485.0694F, 16.75F);
            this.xrLabel3.StylePriority.UseBorders = false;
            // 
            // xrLabel2
            // 
            this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "ogr_sinav_derslik.sinav_tur")});
            this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(75F, 33.5F);
            this.xrLabel2.Name = "xrLabel2";
            this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel2.SizeF = new System.Drawing.SizeF(100F, 16.74999F);
            this.xrLabel2.StylePriority.UseBorders = false;
            // 
            // xrLabel1
            // 
            this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "ogr_sinav_derslik.bolum_adi")});
            this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(75F, 0F);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel1.SizeF = new System.Drawing.SizeF(485.0694F, 16.75F);
            this.xrLabel1.StylePriority.UseBorders = false;
            // 
            // BottomMargin
            // 
            this.BottomMargin.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.BottomMargin.HeightF = 10.62501F;
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.BottomMargin.StylePriority.UseBorders = false;
            this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            // 
            // reportHeaderBand1
            // 
            this.reportHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel12,
            this.xrTable3});
            this.reportHeaderBand1.HeightF = 25.00003F;
            this.reportHeaderBand1.Name = "reportHeaderBand1";
            // 
            // xrLabel12
            // 
            this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel12.Name = "xrLabel12";
            this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel12.SizeF = new System.Drawing.SizeF(64.06253F, 25.00003F);
            this.xrLabel12.StylePriority.UseBorders = false;
            this.xrLabel12.Text = "Sıra No";
            // 
            // xrTable3
            // 
            this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Right) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(64.06253F, 0F);
            this.xrTable3.Name = "xrTable3";
            this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow3});
            this.xrTable3.SizeF = new System.Drawing.SizeF(585.9374F, 25.00001F);
            this.xrTable3.StylePriority.UseBorders = false;
            // 
            // xrTableRow3
            // 
            this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell4,
            this.xrTableCell5,
            this.xrTableCell7,
            this.xrTableCell8});
            this.xrTableRow3.Name = "xrTableRow3";
            this.xrTableRow3.Weight = 1D;
            // 
            // xrTableCell4
            // 
            this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell4.Name = "xrTableCell4";
            this.xrTableCell4.StylePriority.UseBorders = false;
            this.xrTableCell4.Text = " Öğrenci No";
            this.xrTableCell4.Weight = 0.76618290343549933D;
            // 
            // xrTableCell5
            // 
            this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell5.Name = "xrTableCell5";
            this.xrTableCell5.StylePriority.UseBorders = false;
            this.xrTableCell5.Text = " Öğrenci Adı";
            this.xrTableCell5.Weight = 0.94315419211474694D;
            // 
            // xrTableCell7
            // 
            this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) 
            | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.StylePriority.UseBorders = false;
            this.xrTableCell7.Text = " Öğrenci Soyadı";
            this.xrTableCell7.Weight = 0.94315465469699966D;
            // 
            // xrTableCell8
            // 
            this.xrTableCell8.Name = "xrTableCell8";
            this.xrTableCell8.Text = " İmza";
            this.xrTableCell8.Weight = 0.77053532448251061D;
            // 
            // Title
            // 
            this.Title.BackColor = System.Drawing.Color.Transparent;
            this.Title.BorderColor = System.Drawing.Color.Black;
            this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.Title.BorderWidth = 1F;
            this.Title.Font = new System.Drawing.Font("Times New Roman", 20F, System.Drawing.FontStyle.Bold);
            this.Title.ForeColor = System.Drawing.Color.Maroon;
            this.Title.Name = "Title";
            // 
            // FieldCaption
            // 
            this.FieldCaption.BackColor = System.Drawing.Color.Transparent;
            this.FieldCaption.BorderColor = System.Drawing.Color.Black;
            this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.FieldCaption.BorderWidth = 1F;
            this.FieldCaption.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
            this.FieldCaption.ForeColor = System.Drawing.Color.Maroon;
            this.FieldCaption.Name = "FieldCaption";
            // 
            // PageInfo
            // 
            this.PageInfo.BackColor = System.Drawing.Color.Transparent;
            this.PageInfo.BorderColor = System.Drawing.Color.Black;
            this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.PageInfo.BorderWidth = 1F;
            this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.PageInfo.ForeColor = System.Drawing.Color.Black;
            this.PageInfo.Name = "PageInfo";
            // 
            // DataField
            // 
            this.DataField.BackColor = System.Drawing.Color.Transparent;
            this.DataField.BorderColor = System.Drawing.Color.Black;
            this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.DataField.BorderWidth = 1F;
            this.DataField.Font = new System.Drawing.Font("Times New Roman", 10F);
            this.DataField.ForeColor = System.Drawing.Color.Black;
            this.DataField.Name = "DataField";
            this.DataField.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            // 
            // sinav_id
            // 
            this.sinav_id.Description = "sinav_id";
            this.sinav_id.Name = "sinav_id";
            this.sinav_id.Type = typeof(int);
            this.sinav_id.ValueInfo = "1";
            this.sinav_id.Visible = false;
            // 
            // derslikid
            // 
            this.derslikid.Description = "derslikid";
            dynamicListLookUpSettings1.DataAdapter = null;
            dynamicListLookUpSettings1.DataMember = "ogr_sinav_derslik";
            dynamicListLookUpSettings1.DataSource = this.sqlDataSource1;
            dynamicListLookUpSettings1.DisplayMember = "derslik_id";
            dynamicListLookUpSettings1.FilterString = null;
            dynamicListLookUpSettings1.ValueMember = "derslik_id";
            this.derslikid.LookUpSettings = dynamicListLookUpSettings1;
            this.derslikid.Name = "derslikid";
            this.derslikid.Type = typeof(int);
            this.derslikid.ValueInfo = "0";
            this.derslikid.Visible = false;
            // 
            // SinifListesi
            // 
            this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.reportHeaderBand1});
            this.ComponentStorage.Add(this.sqlDataSource1);
            this.DataMember = "ogr_sinav_derslik";
            this.DataSource = this.sqlDataSource1;
            this.ExportOptions.Image.ExportMode = DevExpress.XtraPrinting.ImageExportMode.DifferentFiles;
            this.ExportOptions.Image.Format = System.Drawing.Imaging.ImageFormat.Wmf;
            this.FilterString = "[derslik_id] = ?derslikid And [Sinav_id] = ?sinav_id";
            this.Margins = new System.Drawing.Printing.Margins(100, 100, 83, 11);
            this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
            this.sinav_id,
            this.derslikid});
            this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
            this.Title,
            this.FieldCaption,
            this.PageInfo,
            this.DataField});
            this.Version = "14.2";
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();

	}
コード例 #30
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        string resourceFileName = "rp_ThongKeLyDoNghiViec.resx";

        this.Detail          = new DevExpress.XtraReports.UI.DetailBand();
        this.xrTable2        = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2     = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrt_STT         = new DevExpress.XtraReports.UI.XRTableCell();
        this.xr_phongBan     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrSoLuong       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrNam           = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrNu            = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrKhac          = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrDaiHoc        = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrSauDaiHoc     = new DevExpress.XtraReports.UI.XRTableCell();
        this.TopMargin       = new DevExpress.XtraReports.UI.TopMarginBand();
        this.BottomMargin    = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.ReportHeader    = new DevExpress.XtraReports.UI.ReportHeaderBand();
        this.xrLabel2        = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_TitleBC     = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_TenThanhPho = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_NgayBaoCao  = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_TenCongTy   = new DevExpress.XtraReports.UI.XRLabel();
        this.ReportFooter    = new DevExpress.XtraReports.UI.ReportFooterBand();
        this.xrl_footer2     = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_footer3     = new DevExpress.XtraReports.UI.XRLabel();
        this.xrtngayketxuat  = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_ten2        = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_ten3        = new DevExpress.XtraReports.UI.XRLabel();
        this.GroupHeader1    = new DevExpress.XtraReports.UI.GroupHeaderBand();
        this.xrTable3        = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow3     = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell10   = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_TenPhongBan = new DevExpress.XtraReports.UI.XRTableCell();
        this.PageHeader      = new DevExpress.XtraReports.UI.PageHeaderBand();
        this.xrTable1        = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1     = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell1    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell7    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell4    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell3    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell5    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell6    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrLabel1        = new DevExpress.XtraReports.UI.XRLabel();
        this.xrTable4        = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow4     = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell2    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell8    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell9    = new DevExpress.XtraReports.UI.XRTableCell();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // Detail
        //
        this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2
        });
        this.Detail.HeightF       = 25F;
        this.Detail.Name          = "Detail";
        this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrTable2
        //
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.Font          = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable2.Name          = "xrTable2";
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2
        });
        this.xrTable2.SizeF = new System.Drawing.SizeF(758.5821F, 25F);
        this.xrTable2.StylePriority.UseBorders       = false;
        this.xrTable2.StylePriority.UseFont          = false;
        this.xrTable2.StylePriority.UseTextAlignment = false;
        this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrTableRow2
        //
        this.xrTableRow2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                           | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrt_STT,
            this.xr_phongBan,
            this.xrSoLuong,
            this.xrNam,
            this.xrNu,
            this.xrKhac,
            this.xrDaiHoc,
            this.xrSauDaiHoc
        });
        this.xrTableRow2.Name = "xrTableRow2";
        this.xrTableRow2.StylePriority.UseBorders = false;
        this.xrTableRow2.Weight = 1D;
        //
        // xrt_STT
        //
        this.xrt_STT.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrt_STT.Font    = new System.Drawing.Font("Times New Roman", 10F);
        this.xrt_STT.Name    = "xrt_STT";
        this.xrt_STT.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrt_STT.StylePriority.UseBorders       = false;
        this.xrt_STT.StylePriority.UseFont          = false;
        this.xrt_STT.StylePriority.UsePadding       = false;
        this.xrt_STT.StylePriority.UseTextAlignment = false;
        this.xrt_STT.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrt_STT.Weight        = 0.53125D;
        this.xrt_STT.BeforePrint  += new System.Drawing.Printing.PrintEventHandler(this.Detail_BeforePrint);
        //
        // xr_phongBan
        //
        this.xr_phongBan.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xr_phongBan.Font    = new System.Drawing.Font("Times New Roman", 10F);
        this.xr_phongBan.Name    = "xr_phongBan";
        this.xr_phongBan.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xr_phongBan.StylePriority.UseBorders       = false;
        this.xr_phongBan.StylePriority.UseFont          = false;
        this.xr_phongBan.StylePriority.UsePadding       = false;
        this.xr_phongBan.StylePriority.UseTextAlignment = false;
        this.xr_phongBan.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xr_phongBan.Weight        = 2.3677410128807335D;
        //
        // xrSoLuong
        //
        this.xrSoLuong.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrSoLuong.Font    = new System.Drawing.Font("Times New Roman", 10F);
        this.xrSoLuong.Name    = "xrSoLuong";
        this.xrSoLuong.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrSoLuong.StylePriority.UseBorders       = false;
        this.xrSoLuong.StylePriority.UseFont          = false;
        this.xrSoLuong.StylePriority.UsePadding       = false;
        this.xrSoLuong.StylePriority.UseTextAlignment = false;
        this.xrSoLuong.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrSoLuong.Weight        = 0.7594848266834533D;
        //
        // xrNam
        //
        this.xrNam.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrNam.Font = new System.Drawing.Font("Times New Roman", 10F);
        this.xrNam.Name = "xrNam";
        this.xrNam.StylePriority.UseBorders       = false;
        this.xrNam.StylePriority.UseFont          = false;
        this.xrNam.StylePriority.UseTextAlignment = false;
        this.xrNam.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrNam.Weight        = 0.50754262803302552D;
        //
        // xrNu
        //
        this.xrNu.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                   | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrNu.Font    = new System.Drawing.Font("Times New Roman", 10F);
        this.xrNu.Name    = "xrNu";
        this.xrNu.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrNu.StylePriority.UseBorders       = false;
        this.xrNu.StylePriority.UseFont          = false;
        this.xrNu.StylePriority.UsePadding       = false;
        this.xrNu.StylePriority.UseTextAlignment = false;
        this.xrNu.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrNu.Weight        = 0.45041553867957185D;
        //
        // xrKhac
        //
        this.xrKhac.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrKhac.Font    = new System.Drawing.Font("Times New Roman", 10F);
        this.xrKhac.Name    = "xrKhac";
        this.xrKhac.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrKhac.StylePriority.UseBorders       = false;
        this.xrKhac.StylePriority.UseFont          = false;
        this.xrKhac.StylePriority.UsePadding       = false;
        this.xrKhac.StylePriority.UseTextAlignment = false;
        this.xrKhac.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrKhac.Weight        = 1.1278551293136558D;
        //
        // xrDaiHoc
        //
        this.xrDaiHoc.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrDaiHoc.Name = "xrDaiHoc";
        this.xrDaiHoc.StylePriority.UseBorders = false;
        this.xrDaiHoc.Weight = 1.1278559562871857D;
        //
        // xrSauDaiHoc
        //
        this.xrSauDaiHoc.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrSauDaiHoc.Name = "xrSauDaiHoc";
        this.xrSauDaiHoc.StylePriority.UseBorders = false;
        this.xrSauDaiHoc.Weight = 1.1278559562871857D;
        //
        // TopMargin
        //
        this.TopMargin.HeightF       = 24F;
        this.TopMargin.Name          = "TopMargin";
        this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // BottomMargin
        //
        this.BottomMargin.Name          = "BottomMargin";
        this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // ReportHeader
        //
        this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel2,
            this.xrl_TitleBC,
            this.xrl_TenThanhPho,
            this.xrl_NgayBaoCao,
            this.xrl_TenCongTy
        });
        this.ReportHeader.HeightF = 144F;
        this.ReportHeader.Name    = "ReportHeader";
        //
        // xrLabel2
        //
        this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Italic);
        this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 47.99998F);
        this.xrLabel2.Name                           = "xrLabel2";
        this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel2.SizeF                          = new System.Drawing.SizeF(437.6954F, 23F);
        this.xrLabel2.StylePriority.UseFont          = false;
        this.xrLabel2.StylePriority.UseTextAlignment = false;
        this.xrLabel2.Text                           = "Chi nhánh :";
        this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_TitleBC
        //
        this.xrl_TitleBC.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_TitleBC.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 93.66671F);
        this.xrl_TitleBC.Name                           = "xrl_TitleBC";
        this.xrl_TitleBC.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_TitleBC.SizeF                          = new System.Drawing.SizeF(758.9999F, 23F);
        this.xrl_TitleBC.StylePriority.UseFont          = false;
        this.xrl_TitleBC.StylePriority.UseTextAlignment = false;
        this.xrl_TitleBC.Text                           = "THỐNG KÊ LÝ DO THÔI VIỆC";
        this.xrl_TitleBC.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_TenThanhPho
        //
        this.xrl_TenThanhPho.Font                           = new System.Drawing.Font("Times New Roman", 11F);
        this.xrl_TenThanhPho.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrl_TenThanhPho.Name                           = "xrl_TenThanhPho";
        this.xrl_TenThanhPho.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_TenThanhPho.SizeF                          = new System.Drawing.SizeF(438.5416F, 23F);
        this.xrl_TenThanhPho.StylePriority.UseFont          = false;
        this.xrl_TenThanhPho.StylePriority.UseTextAlignment = false;
        this.xrl_TenThanhPho.Text                           = "THÀNH PHỐ HÀ NỘI";
        this.xrl_TenThanhPho.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_NgayBaoCao
        //
        this.xrl_NgayBaoCao.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Italic);
        this.xrl_NgayBaoCao.LocationFloat                  = new DevExpress.Utils.PointFloat(0.0001271566F, 116.6667F);
        this.xrl_NgayBaoCao.Name                           = "xrl_NgayBaoCao";
        this.xrl_NgayBaoCao.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_NgayBaoCao.SizeF                          = new System.Drawing.SizeF(758.9999F, 23.00001F);
        this.xrl_NgayBaoCao.StylePriority.UseFont          = false;
        this.xrl_NgayBaoCao.StylePriority.UseTextAlignment = false;
        this.xrl_NgayBaoCao.Text                           = "Từ ngày : {0} đến ngày {1}";
        this.xrl_NgayBaoCao.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_TenCongTy
        //
        this.xrl_TenCongTy.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_TenCongTy.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 25F);
        this.xrl_TenCongTy.Name                           = "xrl_TenCongTy";
        this.xrl_TenCongTy.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_TenCongTy.SizeF                          = new System.Drawing.SizeF(438.5417F, 23F);
        this.xrl_TenCongTy.StylePriority.UseFont          = false;
        this.xrl_TenCongTy.StylePriority.UseTextAlignment = false;
        this.xrl_TenCongTy.Text                           = "CÔNG TY CỔ PHẦN CÔNG NGHỆ DTH VÀ GIẢI PHÁP SỐ";
        this.xrl_TenCongTy.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // ReportFooter
        //
        this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrl_footer2,
            this.xrl_footer3,
            this.xrtngayketxuat,
            this.xrl_ten2,
            this.xrl_ten3
        });
        this.ReportFooter.HeightF = 164F;
        this.ReportFooter.Name    = "ReportFooter";
        //
        // xrl_footer2
        //
        this.xrl_footer2.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_footer2.LocationFloat                  = new DevExpress.Utils.PointFloat(0.0001271566F, 36.45833F);
        this.xrl_footer2.Name                           = "xrl_footer2";
        this.xrl_footer2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_footer2.SizeF                          = new System.Drawing.SizeF(304.1828F, 23F);
        this.xrl_footer2.StylePriority.UseFont          = false;
        this.xrl_footer2.StylePriority.UseTextAlignment = false;
        this.xrl_footer2.Text                           = "PHÒNG HCNS";
        this.xrl_footer2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_footer3
        //
        this.xrl_footer3.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_footer3.LocationFloat                  = new DevExpress.Utils.PointFloat(476.5832F, 36.45833F);
        this.xrl_footer3.Name                           = "xrl_footer3";
        this.xrl_footer3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_footer3.SizeF                          = new System.Drawing.SizeF(281.9166F, 23F);
        this.xrl_footer3.StylePriority.UseFont          = false;
        this.xrl_footer3.StylePriority.UseTextAlignment = false;
        this.xrl_footer3.Text                           = "TỔNG GIÁM ĐỐC";
        this.xrl_footer3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrtngayketxuat
        //
        this.xrtngayketxuat.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Italic);
        this.xrtngayketxuat.LocationFloat                  = new DevExpress.Utils.PointFloat(476.5832F, 11.45833F);
        this.xrtngayketxuat.Name                           = "xrtngayketxuat";
        this.xrtngayketxuat.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrtngayketxuat.SizeF                          = new System.Drawing.SizeF(282.4167F, 23F);
        this.xrtngayketxuat.StylePriority.UseFont          = false;
        this.xrtngayketxuat.StylePriority.UseTextAlignment = false;
        this.xrtngayketxuat.Text                           = "Hà Nội, ngày 15 tháng 4 năm 2013";
        this.xrtngayketxuat.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_ten2
        //
        this.xrl_ten2.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_ten2.LocationFloat                  = new DevExpress.Utils.PointFloat(2.000936F, 136.4583F);
        this.xrl_ten2.Name                           = "xrl_ten2";
        this.xrl_ten2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_ten2.SizeF                          = new System.Drawing.SizeF(302.1819F, 23F);
        this.xrl_ten2.StylePriority.UseFont          = false;
        this.xrl_ten2.StylePriority.UseTextAlignment = false;
        this.xrl_ten2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_ten3
        //
        this.xrl_ten3.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_ten3.LocationFloat                  = new DevExpress.Utils.PointFloat(476.5832F, 136.4583F);
        this.xrl_ten3.Name                           = "xrl_ten3";
        this.xrl_ten3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_ten3.SizeF                          = new System.Drawing.SizeF(282.4167F, 23F);
        this.xrl_ten3.StylePriority.UseFont          = false;
        this.xrl_ten3.StylePriority.UseTextAlignment = false;
        this.xrl_ten3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // GroupHeader1
        //
        this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable3
        });
        this.GroupHeader1.HeightF = 25.41666F;
        this.GroupHeader1.Name    = "GroupHeader1";
        //
        // xrTable3
        //
        this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable3.Name          = "xrTable3";
        this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow3
        });
        this.xrTable3.SizeF = new System.Drawing.SizeF(758.4997F, 25.41666F);
        this.xrTable3.StylePriority.UseBorders       = false;
        this.xrTable3.StylePriority.UseTextAlignment = false;
        this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrTableRow3
        //
        this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell10,
            this.xrt_TenPhongBan
        });
        this.xrTableRow3.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
        this.xrTableRow3.Name = "xrTableRow3";
        this.xrTableRow3.StylePriority.UseFont          = false;
        this.xrTableRow3.StylePriority.UseTextAlignment = false;
        this.xrTableRow3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        this.xrTableRow3.Weight        = 1D;
        //
        // xrTableCell10
        //
        this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTableCell10.Name    = "xrTableCell10";
        this.xrTableCell10.StylePriority.UseBorders = false;
        this.xrTableCell10.Weight = 0.028569675410424031D;
        //
        // xrt_TenPhongBan
        //
        this.xrt_TenPhongBan.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrt_TenPhongBan.Name    = "xrt_TenPhongBan";
        this.xrt_TenPhongBan.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
        this.xrt_TenPhongBan.StylePriority.UseBorders       = false;
        this.xrt_TenPhongBan.StylePriority.UsePadding       = false;
        this.xrt_TenPhongBan.StylePriority.UseTextAlignment = false;
        this.xrt_TenPhongBan.Text          = "Lý do thôi việc";
        this.xrt_TenPhongBan.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrt_TenPhongBan.Weight        = 10.801435060067524D;
        //
        // PageHeader
        //
        this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1
        });
        this.PageHeader.HeightF = 55F;
        this.PageHeader.Name    = "PageHeader";
        //
        // xrTable1
        //
        this.xrTable1.Font          = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 0F);
        this.xrTable1.Name          = "xrTable1";
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1
        });
        this.xrTable1.SizeF = new System.Drawing.SizeF(758.4996F, 55F);
        this.xrTable1.StylePriority.UseFont          = false;
        this.xrTable1.StylePriority.UseTextAlignment = false;
        this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrTableRow1
        //
        this.xrTableRow1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                           | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell7,
            this.xrTableCell4,
            this.xrTableCell3,
            this.xrTableCell5,
            this.xrTableCell6
        });
        this.xrTableRow1.Name = "xrTableRow1";
        this.xrTableRow1.StylePriority.UseBorders = false;
        this.xrTableRow1.Weight = 1D;
        //
        // xrTableCell1
        //
        this.xrTableCell1.Name   = "xrTableCell1";
        this.xrTableCell1.Text   = "STT";
        this.xrTableCell1.Weight = 0.53125D;
        //
        // xrTableCell7
        //
        this.xrTableCell7.Name   = "xrTableCell7";
        this.xrTableCell7.Text   = "Bộ phận / phòng ban";
        this.xrTableCell7.Weight = 2.4583335340940105D;
        //
        // xrTableCell4
        //
        this.xrTableCell4.Name   = "xrTableCell4";
        this.xrTableCell4.Text   = "Số lượng ";
        this.xrTableCell4.Weight = 0.78321894363701028D;
        //
        // xrTableCell3
        //
        this.xrTableCell3.Name   = "xrTableCell3";
        this.xrTableCell3.Text   = "Nam";
        this.xrTableCell3.Weight = 0.523403169863263D;
        //
        // xrTableCell5
        //
        this.xrTableCell5.Name   = "xrTableCell5";
        this.xrTableCell5.Text   = "Nữ";
        this.xrTableCell5.Weight = 0.46449061420571769D;
        //
        // xrTableCell6
        //
        this.xrTableCell6.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel1,
            this.xrTable4
        });
        this.xrTableCell6.Name = "xrTableCell6";
        this.xrTableCell6.StylePriority.UseBorders = false;
        this.xrTableCell6.Weight = 3.4893029048353084D;
        //
        // xrLabel1
        //
        this.xrLabel1.Borders                  = DevExpress.XtraPrinting.BorderSide.None;
        this.xrLabel1.LocationFloat            = new DevExpress.Utils.PointFloat(106.6525F, 2.310637F);
        this.xrLabel1.Name                     = "xrLabel1";
        this.xrLabel1.Padding                  = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel1.SizeF                    = new System.Drawing.SizeF(106.6527F, 20.68938F);
        this.xrLabel1.StylePriority.UseBorders = false;
        this.xrLabel1.Text                     = "Trình độ";
        //
        // xrTable4
        //
        this.xrTable4.Borders       = DevExpress.XtraPrinting.BorderSide.Top;
        this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 23.00002F);
        this.xrTable4.Name          = "xrTable4";
        this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow4
        });
        this.xrTable4.SizeF = new System.Drawing.SizeF(320.8042F, 32F);
        this.xrTable4.StylePriority.UseBorders = false;
        //
        // xrTableRow4
        //
        this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell2,
            this.xrTableCell8,
            this.xrTableCell9
        });
        this.xrTableRow4.Name   = "xrTableRow4";
        this.xrTableRow4.Weight = 1D;
        //
        // xrTableCell2
        //
        this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                           | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTableCell2.Name = "xrTableCell2";
        this.xrTableCell2.StylePriority.UseBorders = false;
        this.xrTableCell2.Text   = "PTTH/TC/Khác";
        this.xrTableCell2.Weight = 1D;
        //
        // xrTableCell8
        //
        this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                           | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTableCell8.Name = "xrTableCell8";
        this.xrTableCell8.StylePriority.UseBorders = false;
        this.xrTableCell8.Text   = "Đại học";
        this.xrTableCell8.Weight = 1D;
        //
        // xrTableCell9
        //
        this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                           | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTableCell9.Name = "xrTableCell9";
        this.xrTableCell9.StylePriority.UseBorders = false;
        this.xrTableCell9.Text   = "Sau Đại học";
        this.xrTableCell9.Weight = 1D;
        //
        // rp_ThongKeLyDoNghiViec
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.ReportHeader,
            this.ReportFooter,
            this.GroupHeader1,
            this.PageHeader
        });
        this.Margins = new System.Drawing.Printing.Margins(43, 48, 24, 100);
        this.Version = "10.1";
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }
コード例 #31
0
        private XRTable createDetailTable(IEnumerable<ReportRataSoggettoDTO> dataSource, float locationY)
        {
            // ================================
            // Creazione tabella
            // ================================
            var table = new XRTable
            {
                Borders = BorderSide.All,
                BorderWidth = 1f,
                BorderColor = Color.LightGray,
                LocationF = new PointFloat(10F, locationY)
            };
            if (!string.IsNullOrEmpty(_impostazioniReport.BorderColor))
                table.BorderColor = ColorTranslator.FromHtml(_impostazioniReport.BorderColor);

            table.BeginInit();

            var columns = _pianoRatealeHelper.GetColumnList(_report, null, _parameters, _numeroPagina);

            // ------------------------------------------------------
            //  Raggruppamento per unità immobiliare
            // ------------------------------------------------------
            IList<IGrouping<int, ReportRataSoggettoDTO>> dataSourceByUnitaImmobiliare = !_parameters.TotalePerPersona ? dataSource.OrderBy(item => item.OrdineUnitaImmobiliare).ThenByDescending(item => item.TipoNominativo).GroupBy(item => item.IdUnitaImmobiliare).ToList() : dataSource.OrderBy(item => item.Nominativo).ThenByDescending(item => item.TipoNominativo).GroupBy(item => item.IdPersona).ToList();

            var nominativoPrecedente = string.Empty;
            var idPersonaPrecedente = 0;

            foreach (var dataSourceUnitaImmobiliare in dataSourceByUnitaImmobiliare)
            {
                // ------------------------------------------------------
                //  Raggruppamento Proprietario/Conduttore
                // ------------------------------------------------------
                var indexNominativo = 0;
                var idSoggettoCondominioPrecedente = 0;

                var dataSourceByNominativo = dataSourceUnitaImmobiliare.GroupBy(item => item.IdSoggettoCondominio.ToString(CultureInfo.InvariantCulture).PadLeft(5, '0')).ToList();
                foreach (var dataSourceNominativo in dataSourceByNominativo)
                {
                    var itemNominativo = dataSourceNominativo.OrderBy(item => item.NumeroRata).FirstOrDefault();
                    if (itemNominativo != null)
                    {
                        var isArrotondamenti = itemNominativo.OrdineUnitaImmobiliare == int.MaxValue;

                        if (_parameters.TotalePerPersona && idPersonaPrecedente > 0 && idPersonaPrecedente != itemNominativo.IdPersona)
                        {
                            addRowTotale(table, idPersonaPrecedente, TipoTotale.Nominativo, nominativoPrecedente);
                            indexNominativo = 0;
                        }
                        nominativoPrecedente = itemNominativo.Nominativo;
                        idPersonaPrecedente = itemNominativo.IdPersona;

                        var detailRow = new XRTableRow { Width = table.Width };
                        if (_impostazioniReport.RowHeight != null)
                            detailRow.HeightF = _impostazioniReport.RowHeight.Value;
                        if (_impostazioniReport.ArrotondamentiRowHeight != null)
                            detailRow.HeightF = _impostazioniReport.ArrotondamentiRowHeight.Value;


                        table.Rows.Add(detailRow);
                        foreach (var tableColumn in columns)
                        {
                            if (!tableColumn.Hidden && (!isArrotondamenti || tableColumn.ColumnType == ColumnTypeEnum.Nominativo || tableColumn.ColumnType == ColumnTypeEnum.Conto) && (tableColumn.Order != 9997 || _numeroPagina == null || tableColumn.PrintPage == _numeroPagina))
                            {
                                var cell = new XRTableCell();

                                if (!_impostazioniReport.BorderInsideGroup)
                                    setCellBorder(cell, dataSourceByNominativo.Count, indexNominativo);

                                cell.WidthF = tableColumn.Width;
                                cell.Font = GetFont(tableColumn.FontName, tableColumn.FontSize, getFontStyle(tableColumn.FontStyle));
                                
                                if (isArrotondamenti)
                                {
                                    var arrotondamentiFont = GetFont(tableColumn.FontName, tableColumn.FontSize, getFontStyle(tableColumn.FontStyle));
                                    if (!string.IsNullOrEmpty(_impostazioniReport.TotaleFontStyle) && !string.IsNullOrEmpty(_impostazioniReport.ArrotondamentiFontName) && _impostazioniReport.ArrotondamentiFontSize != null)
                                    {
                                        var fontSize = _impostazioniReport.ArrotondamentiFontSize.Value;
                                        if (Math.Abs(fontSize) < _pianoRatealeHelper.GetTolerance())
                                            fontSize = 8;
                                        arrotondamentiFont = GetFont(_impostazioniReport.ArrotondamentiFontName, fontSize, getFontStyle(_impostazioniReport.ArrotondamentiFontStyle));
                                    }
                                    cell.Font = arrotondamentiFont;
                                }

                                if (tableColumn.ColumnType == ColumnTypeEnum.OrdineUnita)
                                {
                                    if (indexNominativo == 0 || _impostazioniReport.OrdineUnitaAllRows)
                                    {
                                        cell.Text = itemNominativo.OrdineUnitaImmobiliare.ToString(CultureInfo.InvariantCulture);
                                        cell.TextAlignment = TextAlignment.MiddleRight;
                                        cell.Padding = getPaddingInfo();
                                    }

                                    if (_impostazioniReport.BorderInsideGroup)
                                        setCellBorder(cell, dataSourceByNominativo.Count, indexNominativo);
                                }

                                if (tableColumn.ColumnType == ColumnTypeEnum.Nominativo)
                                {
                                    if ((!_parameters.TotalePerPersona && itemNominativo.IdSoggettoCondominio != idSoggettoCondominioPrecedente) || _parameters.TotalePerPersona || isArrotondamenti)
                                        cell.Text = itemNominativo.Nominativo;
                                    cell.TextAlignment = TextAlignment.MiddleLeft;
                                    if (itemNominativo.OrdineUnitaImmobiliare == int.MaxValue)
                                    {
                                        cell.TextAlignment = TextAlignment.MiddleRight;
                                        cell.WidthF = _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.OrdineUnita) +
                                                      _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.Nominativo) +
                                                      _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.ProprietaConduzione) +
                                                      _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.Interno) +
                                                      _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.Piano) +
                                                      _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.TipoUnita) +
                                                      _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.Subalterno);
                                    }

                                    cell.Padding = getPaddingInfo();
                                }

                                if (itemNominativo.OrdineUnitaImmobiliare != int.MaxValue)
                                {
                                    if (tableColumn.ColumnType == ColumnTypeEnum.TipoUnita)
                                    {
                                        if (itemNominativo.IdSoggettoCondominio != idSoggettoCondominioPrecedente)
                                            cell.Text = itemNominativo.TipoUnitaImmobiliare;
                                        cell.TextAlignment = TextAlignment.MiddleLeft;
                                        cell.Padding = getPaddingInfo();
                                    }

                                    if (tableColumn.ColumnType == ColumnTypeEnum.Subalterno)
                                    {
                                        if (itemNominativo.IdSoggettoCondominio != idSoggettoCondominioPrecedente)
                                            cell.Text = itemNominativo.SubalternoUnitaImmobiliare;
                                        cell.TextAlignment = TextAlignment.MiddleLeft;
                                        cell.Padding = getPaddingInfo();
                                    }

                                    if (tableColumn.ColumnType == ColumnTypeEnum.Interno)
                                    {
                                        if (itemNominativo.IdSoggettoCondominio != idSoggettoCondominioPrecedente)
                                            cell.Text = itemNominativo.InternoUnitaImmobiliare;
                                        cell.TextAlignment = TextAlignment.MiddleLeft;
                                        cell.Padding = getPaddingInfo();
                                    }

                                    if (tableColumn.ColumnType == ColumnTypeEnum.Piano)
                                    {
                                        if (itemNominativo.IdSoggettoCondominio != idSoggettoCondominioPrecedente)
                                            cell.Text = itemNominativo.PianoUnitaImmobiliare;
                                        cell.TextAlignment = TextAlignment.MiddleRight;
                                        cell.Padding = getPaddingInfo();
                                    }

                                    if (tableColumn.ColumnType == ColumnTypeEnum.ProprietaConduzione)
                                    {
                                        cell.Text = itemNominativo.TipoNominativo.Substring(0, 1).ToUpper();
                                        cell.TextAlignment = TextAlignment.MiddleLeft;
                                        cell.Padding = getPaddingInfo();
                                    }
                                }

                                if (tableColumn.ColumnType == ColumnTypeEnum.Conto)
                                {
                                    cell.TextAlignment = TextAlignment.MiddleRight;
                                    cell.Padding = getPaddingInfo();

                                    var importo = dataSourceNominativo.Where(item => item.NumeroRata == tableColumn.Order).Sum(item => item.Importo);
                                    if (importo != 0)
                                        cell.Text = importo.ToString("c");
                                }

                                detailRow.Cells.Add(cell);                                
                            }
                        }

                        idSoggettoCondominioPrecedente = itemNominativo.IdSoggettoCondominio;
                    }
                    indexNominativo++;
                }
            }

            // Ultimo totale
            if (_parameters.TotalePerPersona && idPersonaPrecedente > 0)
                addRowTotale(table, idPersonaPrecedente, TipoTotale.Nominativo, nominativoPrecedente);

            table.BeforePrint += tableDetailBeforePrint;

            table.AdjustSize();
            table.EndInit();

            return table;
        }
コード例 #32
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            var resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeTaskList));

            this.topMarginBand1       = new DevExpress.XtraReports.UI.TopMarginBand();
            this.xrPictureBox1        = new DevExpress.XtraReports.UI.XRPictureBox();
            this.detailBand1          = new DevExpress.XtraReports.UI.DetailBand();
            this.xrTable4             = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow6          = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell15        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell17        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell18        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell22        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell24        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableRow7          = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell19        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell20        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell21        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell23        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell25        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableRow8          = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell26        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrLabel2             = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTable3             = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow4          = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell14        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableRow5          = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell16        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrLabel1             = new DevExpress.XtraReports.UI.XRLabel();
            this.bottomMarginBand1    = new DevExpress.XtraReports.UI.BottomMarginBand();
            this.xrPageInfo2          = new DevExpress.XtraReports.UI.XRPageInfo();
            this.xrPageInfo1          = new DevExpress.XtraReports.UI.XRPageInfo();
            this.bindingSource1       = new System.Windows.Forms.BindingSource(this.components);
            this.xrTable1             = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow1          = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell1         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell2         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell3         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTable2             = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow2          = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell4         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell5         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell7         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell8         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell6         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableRow3          = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell9         = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell10        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell11        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell12        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell13        = new DevExpress.XtraReports.UI.XRTableCell();
            this.ReportHeader         = new DevExpress.XtraReports.UI.ReportHeaderBand();
            this.GroupHeader1         = new DevExpress.XtraReports.UI.GroupHeaderBand();
            this.xrLabel3             = new DevExpress.XtraReports.UI.XRLabel();
            this.statusCompleted      = new DevExpress.XtraReports.UI.CalculatedField();
            this.statusNotStarted     = new DevExpress.XtraReports.UI.CalculatedField();
            this.statusInProgress     = new DevExpress.XtraReports.UI.CalculatedField();
            this.statusNeedAssistance = new DevExpress.XtraReports.UI.CalculatedField();
            this.statusDeferred       = new DevExpress.XtraReports.UI.CalculatedField();
            this.parameter1           = new DevExpress.XtraReports.Parameters.Parameter();
            this.GroupFooter1         = new DevExpress.XtraReports.UI.GroupFooterBand();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrPictureBox1
            });
            this.topMarginBand1.HeightF      = 100F;
            this.topMarginBand1.Name         = "topMarginBand1";
            this.xrPictureBox1.Image         = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
            this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(473.9583F, 41.66024F);
            this.xrPictureBox1.Name          = "xrPictureBox1";
            this.xrPictureBox1.SizeF         = new System.Drawing.SizeF(170.8333F, 56.41184F);
            this.xrPictureBox1.Sizing        = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
            this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrTable4,
                this.xrLabel2,
                this.xrTable3,
                this.xrLabel1
            });
            this.detailBand1.HeightF = 179.1667F;
            this.detailBand1.Name    = "detailBand1";
            this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
                new DevExpress.XtraReports.UI.GroupField("DueDate", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
            });
            this.xrTable4.KeepTogether  = true;
            this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 106.875F);
            this.xrTable4.Name          = "xrTable4";
            this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow6,
                this.xrTableRow7,
                this.xrTableRow8
            });
            this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 56.87504F);
            this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell15,
                this.xrTableCell17,
                this.xrTableCell18,
                this.xrTableCell22,
                this.xrTableCell24
            });
            this.xrTableRow6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
            this.xrTableRow6.Name      = "xrTableRow6";
            this.xrTableRow6.StylePriority.UseForeColor = false;
            this.xrTableRow6.Weight    = 0.45665942772890605D;
            this.xrTableCell15.Name    = "xrTableCell15";
            this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(17, 0, 0, 0, 100F);
            this.xrTableCell15.StylePriority.UseFont      = false;
            this.xrTableCell15.StylePriority.UseForeColor = false;
            this.xrTableCell15.StylePriority.UsePadding   = false;
            this.xrTableCell15.Text    = "DUE DATE";
            this.xrTableCell15.Weight  = 0.60771602766636823D;
            this.xrTableCell17.Name    = "xrTableCell17";
            this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
            this.xrTableCell17.StylePriority.UseForeColor = false;
            this.xrTableCell17.StylePriority.UsePadding   = false;
            this.xrTableCell17.Text    = "ASSIGNED TO";
            this.xrTableCell17.Weight  = 0.62980608396886717D;
            this.xrTableCell18.Name    = "xrTableCell18";
            this.xrTableCell18.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
            this.xrTableCell18.StylePriority.UsePadding = false;
            this.xrTableCell18.Text    = "OWNER";
            this.xrTableCell18.Weight  = 0.58008992577285823D;
            this.xrTableCell22.Name    = "xrTableCell22";
            this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
            this.xrTableCell22.StylePriority.UsePadding = false;
            this.xrTableCell22.Text    = "PERCENT COMPLETE";
            this.xrTableCell22.Weight  = 0.70420532486194742D;
            this.xrTableCell24.Name    = "xrTableCell24";
            this.xrTableCell24.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 4, 0, 0, 100F);
            this.xrTableCell24.StylePriority.UsePadding       = false;
            this.xrTableCell24.StylePriority.UseTextAlignment = false;
            this.xrTableCell24.Text          = "PRIORITY";
            this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
            this.xrTableCell24.Weight        = 0.47818263772995884D;
            this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell19,
                this.xrTableCell20,
                this.xrTableCell21,
                this.xrTableCell23,
                this.xrTableCell25
            });
            this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xrTableRow7.Name = "xrTableRow7";
            this.xrTableRow7.StylePriority.UseFont = false;
            this.xrTableRow7.Weight = 0.45665943679824827D;
            this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "DueDate", "{0:d}")
            });
            this.xrTableCell19.Name    = "xrTableCell19";
            this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(17, 0, 0, 0, 100F);
            this.xrTableCell19.StylePriority.UseFont    = false;
            this.xrTableCell19.StylePriority.UsePadding = false;
            this.xrTableCell19.Text   = "12/17/2013";
            this.xrTableCell19.Weight = 0.60771602766636823D;
            this.xrTableCell20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "AssignedEmployee.FullName")
            });
            this.xrTableCell20.Name    = "xrTableCell20";
            this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
            this.xrTableCell20.StylePriority.UsePadding = false;
            this.xrTableCell20.Text   = "John Hansen";
            this.xrTableCell20.Weight = 0.62980636210376506D;
            this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "Owner.FullName")
            });
            this.xrTableCell21.Name    = "xrTableCell21";
            this.xrTableCell21.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
            this.xrTableCell21.StylePriority.UsePadding = false;
            this.xrTableCell21.Text   = "Jane Mitchell";
            this.xrTableCell21.Weight = 0.58008964763796045D;
            this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "Completion")
            });
            this.xrTableCell23.Name    = "xrTableCell23";
            this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
            this.xrTableCell23.StylePriority.UsePadding = false;
            this.xrTableCell23.Text   = "xrTableCell23";
            this.xrTableCell23.Weight = 0.70420532486194742D;
            this.xrTableCell25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "Priority")
            });
            this.xrTableCell25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
            this.xrTableCell25.Name      = "xrTableCell25";
            this.xrTableCell25.Padding   = new DevExpress.XtraPrinting.PaddingInfo(0, 4, 0, 0, 100F);
            this.xrTableCell25.StylePriority.UseForeColor     = false;
            this.xrTableCell25.StylePriority.UsePadding       = false;
            this.xrTableCell25.StylePriority.UseTextAlignment = false;
            this.xrTableCell25.Text          = "High";
            this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
            this.xrTableCell25.Weight        = 0.47818263772995884D;
            this.xrTableRow8.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
            this.xrTableRow8.Borders         = DevExpress.XtraPrinting.BorderSide.Bottom;
            this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell26
            });
            this.xrTableRow8.Name = "xrTableRow8";
            this.xrTableRow8.StylePriority.UseBorderColor = false;
            this.xrTableRow8.StylePriority.UseBorders     = false;
            this.xrTableRow8.Weight   = 0.45665943679824827D;
            this.xrTableCell26.Name   = "xrTableCell26";
            this.xrTableCell26.Weight = 3D;
            this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "Description")
            });
            this.xrLabel2.Font                     = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xrLabel2.KeepTogether             = true;
            this.xrLabel2.LocationFloat            = new DevExpress.Utils.PointFloat(128.125F, 53.66668F);
            this.xrLabel2.Name                     = "xrLabel2";
            this.xrLabel2.Padding                  = new DevExpress.XtraPrinting.PaddingInfo(7, 2, 0, 0, 100F);
            this.xrLabel2.SizeF                    = new System.Drawing.SizeF(342.7083F, 40.625F);
            this.xrLabel2.StylePriority.UseFont    = false;
            this.xrLabel2.StylePriority.UsePadding = false;
            this.xrLabel2.Text                     = "Artwork is ready. The printer’s address is 100 Main Rd. We need to see the proofs" +
                                                     " before we go to print.";
            this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 53.66668F);
            this.xrTable3.Name          = "xrTable3";
            this.xrTable3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(17, 0, 0, 0, 100F);
            this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow4,
                this.xrTableRow5
            });
            this.xrTable3.SizeF = new System.Drawing.SizeF(109.6389F, 40.625F);
            this.xrTable3.StylePriority.UsePadding = false;
            this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell14
            });
            this.xrTableRow4.Name        = "xrTableRow4";
            this.xrTableRow4.Weight      = 0.79591859610841031D;
            this.xrTableCell14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
            this.xrTableCell14.Name      = "xrTableCell14";
            this.xrTableCell14.StylePriority.UseForeColor = false;
            this.xrTableCell14.Text   = "START DATE";
            this.xrTableCell14.Weight = 3D;
            this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell16
            });
            this.xrTableRow5.Name   = "xrTableRow5";
            this.xrTableRow5.Weight = 0.79591820772148691D;
            this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "StartDate", "{0:d}")
            });
            this.xrTableCell16.Name   = "xrTableCell16";
            this.xrTableCell16.Text   = "12/15/2013";
            this.xrTableCell16.Weight = 3D;
            this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "Subject")
            });
            this.xrLabel1.Font                     = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xrLabel1.LocationFloat            = new DevExpress.Utils.PointFloat(0F, 16F);
            this.xrLabel1.Name                     = "xrLabel1";
            this.xrLabel1.Padding                  = new DevExpress.XtraPrinting.PaddingInfo(17, 2, 0, 0, 100F);
            this.xrLabel1.SizeF                    = new System.Drawing.SizeF(649.4167F, 22.91667F);
            this.xrLabel1.StylePriority.UseFont    = false;
            this.xrLabel1.StylePriority.UsePadding = false;
            this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrPageInfo2,
                this.xrPageInfo1
            });
            this.bottomMarginBand1.Font    = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.bottomMarginBand1.HeightF = 100F;
            this.bottomMarginBand1.Name    = "bottomMarginBand1";
            this.bottomMarginBand1.StylePriority.UseFont = false;
            this.xrPageInfo2.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
            this.xrPageInfo2.Format        = "{0:MMMM d, yyyy}";
            this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
            this.xrPageInfo2.Name          = "xrPageInfo2";
            this.xrPageInfo2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrPageInfo2.PageInfo      = DevExpress.XtraPrinting.PageInfo.DateTime;
            this.xrPageInfo2.SizeF         = new System.Drawing.SizeF(156.25F, 23F);
            this.xrPageInfo2.StylePriority.UseForeColor     = false;
            this.xrPageInfo2.StylePriority.UseTextAlignment = false;
            this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
            this.xrPageInfo1.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
            this.xrPageInfo1.Format        = "Page {0} of {1}";
            this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrPageInfo1.Name          = "xrPageInfo1";
            this.xrPageInfo1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrPageInfo1.SizeF         = new System.Drawing.SizeF(156.25F, 23F);
            this.xrPageInfo1.StylePriority.UseForeColor = false;
            this.bindingSource1.DataSource = typeof(DevExpress.DevAV.EmployeeTask);
            this.xrTable1.LocationFloat    = new DevExpress.Utils.PointFloat(0F, 22F);
            this.xrTable1.Name             = "xrTable1";
            this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow1
            });
            this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 29.69642F);
            this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell1,
                this.xrTableCell2,
                this.xrTableCell3
            });
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.StylePriority.UseTextAlignment = false;
            this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
            this.xrTableRow1.Weight        = 1D;
            this.xrTableCell1.BackColor    = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
            this.xrTableCell1.Font         = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xrTableCell1.ForeColor    = System.Drawing.Color.White;
            this.xrTableCell1.Name         = "xrTableCell1";
            this.xrTableCell1.Padding      = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
            this.xrTableCell1.StylePriority.UseBackColor     = false;
            this.xrTableCell1.StylePriority.UseFont          = false;
            this.xrTableCell1.StylePriority.UseForeColor     = false;
            this.xrTableCell1.StylePriority.UsePadding       = false;
            this.xrTableCell1.StylePriority.UseTextAlignment = false;
            this.xrTableCell1.Text          = "Tasks";
            this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrTableCell1.Weight        = 0.80032469757233127D;
            this.xrTableCell2.Name          = "xrTableCell2";
            this.xrTableCell2.Weight        = 0.024452088141954528D;
            this.xrTableCell3.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
            this.xrTableCell3.Font          = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xrTableCell3.Name          = "xrTableCell3";
            this.xrTableCell3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 8, 0, 0, 100F);
            this.xrTableCell3.StylePriority.UseBackColor = false;
            this.xrTableCell3.StylePriority.UseFont      = false;
            this.xrTableCell3.StylePriority.UsePadding   = false;
            this.xrTableCell3.Text      = "Grouped by Status | Sorted by Due Date";
            this.xrTableCell3.Weight    = 2.2141840142121296D;
            this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 73.70834F);
            this.xrTable2.Name          = "xrTable2";
            this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow2,
                this.xrTableRow3
            });
            this.xrTable2.SizeF = new System.Drawing.SizeF(648.9583F, 148.9583F);
            this.xrTable2.StylePriority.UseBorders       = false;
            this.xrTable2.StylePriority.UseTextAlignment = false;
            this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell4,
                this.xrTableCell5,
                this.xrTableCell7,
                this.xrTableCell8,
                this.xrTableCell6
            });
            this.xrTableRow2.Font = new System.Drawing.Font("Microsoft Sans Serif", 36F);
            this.xrTableRow2.Name = "xrTableRow2";
            this.xrTableRow2.StylePriority.UseFont          = false;
            this.xrTableRow2.StylePriority.UseTextAlignment = false;
            this.xrTableRow2.Weight = 1D;
            this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusNotStarted")
            });
            this.xrTableCell4.Name     = "xrTableCell4";
            this.xrTableCell4.Weight   = 1D;
            this.xrTableCell4.WordWrap = false;
            this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusInProgress")
            });
            this.xrTableCell5.Name     = "xrTableCell5";
            this.xrTableCell5.Weight   = 1D;
            this.xrTableCell5.WordWrap = false;
            this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusCompleted")
            });
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.StylePriority.UseTextAlignment = false;
            this.xrTableCell7.Weight   = 1D;
            this.xrTableCell7.WordWrap = false;
            this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusNeedAssistance")
            });
            this.xrTableCell8.Name     = "xrTableCell8";
            this.xrTableCell8.Weight   = 1D;
            this.xrTableCell8.WordWrap = false;
            this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusDeferred")
            });
            this.xrTableCell6.Name       = "xrTableCell6";
            this.xrTableCell6.Weight     = 1D;
            this.xrTableCell6.WordWrap   = false;
            this.xrTableRow3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
            this.xrTableRow3.Borders     = DevExpress.XtraPrinting.BorderSide.Bottom;
            this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell9,
                this.xrTableCell10,
                this.xrTableCell11,
                this.xrTableCell12,
                this.xrTableCell13
            });
            this.xrTableRow3.Font      = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xrTableRow3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
            this.xrTableRow3.Name      = "xrTableRow3";
            this.xrTableRow3.StylePriority.UseBorderColor   = false;
            this.xrTableRow3.StylePriority.UseBorders       = false;
            this.xrTableRow3.StylePriority.UseFont          = false;
            this.xrTableRow3.StylePriority.UseForeColor     = false;
            this.xrTableRow3.StylePriority.UseTextAlignment = false;
            this.xrTableRow3.Weight   = 0.5423728813559322D;
            this.xrTableCell9.Name    = "xrTableCell9";
            this.xrTableCell9.Text    = "NOT STARTED";
            this.xrTableCell9.Weight  = 1D;
            this.xrTableCell10.Name   = "xrTableCell10";
            this.xrTableCell10.Text   = "IN PROGRESS";
            this.xrTableCell10.Weight = 1D;
            this.xrTableCell11.Name   = "xrTableCell11";
            this.xrTableCell11.Text   = "COMPLETED";
            this.xrTableCell11.Weight = 1D;
            this.xrTableCell12.Name   = "xrTableCell12";
            this.xrTableCell12.Text   = "ASSISTANCE";
            this.xrTableCell12.Weight = 1D;
            this.xrTableCell13.Name   = "xrTableCell13";
            this.xrTableCell13.Text   = "DEFERRED";
            this.xrTableCell13.Weight = 1D;
            this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrTable2,
                this.xrTable1
            });
            this.ReportHeader.HeightF = 246.8749F;
            this.ReportHeader.Name    = "ReportHeader";
            this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrLabel3
            });
            this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
                new DevExpress.XtraReports.UI.GroupField("Status", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
            });
            this.GroupHeader1.HeightF = 26.04167F;
            this.GroupHeader1.Name    = "GroupHeader1";
            this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
                new DevExpress.XtraReports.UI.XRBinding("Text", null, "Status")
            });
            this.xrLabel3.Font                           = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.xrLabel3.ForeColor                      = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
            this.xrLabel3.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 0F);
            this.xrLabel3.Name                           = "xrLabel3";
            this.xrLabel3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel3.SizeF                          = new System.Drawing.SizeF(648.9583F, 26.04167F);
            this.xrLabel3.StylePriority.UseFont          = false;
            this.xrLabel3.StylePriority.UseForeColor     = false;
            this.xrLabel3.StylePriority.UseTextAlignment = false;
            this.xrLabel3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
            this.statusCompleted.Expression              = "[][ToStr([Status]) = \'Completed\'].Count()";
            this.statusCompleted.FieldType               = DevExpress.XtraReports.UI.FieldType.Int32;
            this.statusCompleted.Name                    = "statusCompleted";
            this.statusNotStarted.Expression             = "[][ToStr([Status]) = \'NotStarted\'].Count()";
            this.statusNotStarted.FieldType              = DevExpress.XtraReports.UI.FieldType.Int32;
            this.statusNotStarted.Name                   = "statusNotStarted";
            this.statusInProgress.Expression             = "[][ToStr([Status]) = \'InProgress\'].Count()";
            this.statusInProgress.FieldType              = DevExpress.XtraReports.UI.FieldType.Int32;
            this.statusInProgress.Name                   = "statusInProgress";
            this.statusNeedAssistance.Expression         = "[][ToStr([Status]) = \'NeedAssistance\'].Count()";
            this.statusNeedAssistance.FieldType          = DevExpress.XtraReports.UI.FieldType.Int32;
            this.statusNeedAssistance.Name               = "statusNeedAssistance";
            this.statusDeferred.Expression               = "[][ToStr([Status]) = \'Deferred\'].Count()";
            this.statusDeferred.FieldType                = DevExpress.XtraReports.UI.FieldType.Int32;
            this.statusDeferred.Name                     = "statusDeferred";
            this.parameter1.Description                  = "Parameter1";
            this.parameter1.Name                         = "parameter1";
            this.parameter1.Type                         = typeof(bool);
            this.parameter1.ValueInfo                    = "True";
            this.parameter1.Visible                      = false;
            this.GroupFooter1.HeightF                    = 0F;
            this.GroupFooter1.Name                       = "GroupFooter1";
            this.GroupFooter1.PageBreak                  = DevExpress.XtraReports.UI.PageBreak.AfterBand;
            this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
                this.topMarginBand1,
                this.detailBand1,
                this.bottomMarginBand1,
                this.ReportHeader,
                this.GroupHeader1,
                this.GroupFooter1
            });
            this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
                this.statusCompleted,
                this.statusNotStarted,
                this.statusInProgress,
                this.statusNeedAssistance,
                this.statusDeferred
            });
            this.DataSource = this.bindingSource1;
            this.DesignerOptions.ShowExportWarnings = false;
            this.DrawWatermark = true;
            this.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
                this.parameter1
            });
            this.SnappingMode        = DevExpress.XtraReports.UI.SnappingMode.SnapToGrid;
            this.SnapToGrid          = false;
            this.Version             = "14.1";
            this.DataSourceDemanded += new System.EventHandler <System.EventArgs>(this.EmployeeTaskList_DataSourceDemanded);
            ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
        }
コード例 #33
0
ファイル: AbsenceQartly.cs プロジェクト: 5509850/baumax
 protected void ApplyRowStyle(XRTableRow row)
 {
     foreach (XRTableCell cell in row.Cells)
         cell.WordWrap = false;
 }
コード例 #34
0
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DEAAP04_01_03));
     this.topMarginBand1    = new DevExpress.XtraReports.UI.TopMarginBand();
     this.detailBand1       = new DevExpress.XtraReports.UI.DetailBand();
     this.xrTable2          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell5      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell9      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell8      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell13     = new DevExpress.XtraReports.UI.XRTableCell();
     this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.PageFooter        = new DevExpress.XtraReports.UI.PageFooterBand();
     this.xrLine2           = new DevExpress.XtraReports.UI.XRLine();
     this.PageHeader        = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLine1           = new DevExpress.XtraReports.UI.XRLine();
     this.xrTable7          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow10      = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell46     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell1      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell54     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell55     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrLine7           = new DevExpress.XtraReports.UI.XRLine();
     this.xrLabel2          = new DevExpress.XtraReports.UI.XRLabel();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // topMarginBand1
     //
     this.topMarginBand1.HeightF = 20F;
     this.topMarginBand1.Name    = "topMarginBand1";
     //
     // detailBand1
     //
     this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2
     });
     this.detailBand1.HeightF = 20F;
     this.detailBand1.Name    = "detailBand1";
     //
     // xrTable2
     //
     this.xrTable2.Borders       = DevExpress.XtraPrinting.BorderSide.Bottom;
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable2.Name          = "xrTable2";
     this.xrTable2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.SizeF = new System.Drawing.SizeF(800F, 17.00001F);
     this.xrTable2.StylePriority.UseBorders = false;
     this.xrTable2.StylePriority.UsePadding = false;
     //
     // xrTableRow2
     //
     this.xrTableRow2.BackColor = System.Drawing.Color.White;
     this.xrTableRow2.Borders   = DevExpress.XtraPrinting.BorderSide.None;
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell5,
         this.xrTableCell9,
         this.xrTableCell8,
         this.xrTableCell13
     });
     this.xrTableRow2.Font    = new System.Drawing.Font("굴림체", 9F);
     this.xrTableRow2.Name    = "xrTableRow2";
     this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 5, 0, 100F);
     this.xrTableRow2.StylePriority.UseBackColor     = false;
     this.xrTableRow2.StylePriority.UseBorders       = false;
     this.xrTableRow2.StylePriority.UseFont          = false;
     this.xrTableRow2.StylePriority.UsePadding       = false;
     this.xrTableRow2.StylePriority.UseTextAlignment = false;
     this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableRow2.Weight        = 0.85;
     //
     // xrTableCell5
     //
     this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "dtFunds.I_AMT", "{0:n0}")
     });
     this.xrTableCell5.Name = "xrTableCell5";
     this.xrTableCell5.StylePriority.UseBorders = false;
     this.xrTableCell5.Text   = "xrTableCell5";
     this.xrTableCell5.Weight = 0.39396596894003122;
     //
     // xrTableCell9
     //
     this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "dtFunds.D_AMT", "{0:n0}")
     });
     this.xrTableCell9.Name = "xrTableCell9";
     this.xrTableCell9.StylePriority.UseBorders = false;
     this.xrTableCell9.Text   = "xrTableCell9";
     this.xrTableCell9.Weight = 0.39396596894003122;
     //
     // xrTableCell8
     //
     this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "dtFunds.SUM_AMT", "{0:n0}")
     });
     this.xrTableCell8.Name = "xrTableCell8";
     this.xrTableCell8.StylePriority.UseBorders = false;
     this.xrTableCell8.Text   = "xrTableCell8";
     this.xrTableCell8.Weight = 0.39396596436674047;
     //
     // xrTableCell13
     //
     this.xrTableCell13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "dtFunds.J_AMT", "{0:n0}")
     });
     this.xrTableCell13.Name = "xrTableCell13";
     this.xrTableCell13.StylePriority.UseBorders = false;
     this.xrTableCell13.Text   = "xrTableCell13";
     this.xrTableCell13.Weight = 0.39396599263443977;
     //
     // bottomMarginBand1
     //
     this.bottomMarginBand1.HeightF = 20F;
     this.bottomMarginBand1.Name    = "bottomMarginBand1";
     //
     // PageFooter
     //
     this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLine2
     });
     this.PageFooter.HeightF = 8F;
     this.PageFooter.Name    = "PageFooter";
     //
     // xrLine2
     //
     this.xrLine2.BorderWidth   = 1;
     this.xrLine2.LineWidth     = 2;
     this.xrLine2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLine2.Name          = "xrLine2";
     this.xrLine2.SizeF         = new System.Drawing.SizeF(800F, 8F);
     this.xrLine2.StylePriority.UseBorderWidth = false;
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLine1,
         this.xrTable7,
         this.xrLine7,
         this.xrLabel2
     });
     this.PageHeader.HeightF = 64.5F;
     this.PageHeader.Name    = "PageHeader";
     //
     // xrLine1
     //
     this.xrLine1.BorderWidth   = 1;
     this.xrLine1.LineWidth     = 2;
     this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 62.5F);
     this.xrLine1.Name          = "xrLine1";
     this.xrLine1.SizeF         = new System.Drawing.SizeF(800F, 2F);
     this.xrLine1.StylePriority.UseBorderWidth = false;
     //
     // xrTable7
     //
     this.xrTable7.BackColor = System.Drawing.Color.WhiteSmoke;
     this.xrTable7.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                       | DevExpress.XtraPrinting.BorderSide.Right)
                                                                      | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable7.Font          = new System.Drawing.Font("굴림체", 8F);
     this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.5F);
     this.xrTable7.Name          = "xrTable7";
     this.xrTable7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 5, 0, 100F);
     this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow10
     });
     this.xrTable7.SizeF = new System.Drawing.SizeF(800F, 25F);
     this.xrTable7.StylePriority.UseBackColor   = false;
     this.xrTable7.StylePriority.UseBorders     = false;
     this.xrTable7.StylePriority.UseBorderWidth = false;
     this.xrTable7.StylePriority.UseFont        = false;
     this.xrTable7.StylePriority.UsePadding     = false;
     //
     // xrTableRow10
     //
     this.xrTableRow10.BackColor = System.Drawing.Color.WhiteSmoke;
     this.xrTableRow10.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                           | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableRow10.BorderWidth = 2;
     this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell46,
         this.xrTableCell1,
         this.xrTableCell54,
         this.xrTableCell55
     });
     this.xrTableRow10.Font    = new System.Drawing.Font("굴림체", 9F);
     this.xrTableRow10.Name    = "xrTableRow10";
     this.xrTableRow10.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 5, 0, 100F);
     this.xrTableRow10.StylePriority.UseBackColor     = false;
     this.xrTableRow10.StylePriority.UseBorders       = false;
     this.xrTableRow10.StylePriority.UseBorderWidth   = false;
     this.xrTableRow10.StylePriority.UseFont          = false;
     this.xrTableRow10.StylePriority.UsePadding       = false;
     this.xrTableRow10.StylePriority.UseTextAlignment = false;
     this.xrTableRow10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableRow10.Weight        = 1;
     //
     // xrTableCell46
     //
     this.xrTableCell46.BorderWidth = 1;
     this.xrTableCell46.Name        = "xrTableCell46";
     this.xrTableCell46.StylePriority.UseBorderWidth = false;
     this.xrTableCell46.Text   = "이   월";
     this.xrTableCell46.Weight = 0.39670231451409665;
     //
     // xrTableCell1
     //
     this.xrTableCell1.BorderWidth = 1;
     this.xrTableCell1.Name        = "xrTableCell1";
     this.xrTableCell1.StylePriority.UseBorderWidth = false;
     this.xrTableCell1.Text   = "당일 발생";
     this.xrTableCell1.Weight = 0.39670231742365791;
     //
     // xrTableCell54
     //
     this.xrTableCell54.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                          | DevExpress.XtraPrinting.BorderSide.Right)
                                                                         | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell54.BorderWidth = 1;
     this.xrTableCell54.Font        = new System.Drawing.Font("굴림체", 8F);
     this.xrTableCell54.Name        = "xrTableCell54";
     this.xrTableCell54.StylePriority.UseBorders       = false;
     this.xrTableCell54.StylePriority.UseBorderWidth   = false;
     this.xrTableCell54.StylePriority.UseFont          = false;
     this.xrTableCell54.StylePriority.UseTextAlignment = false;
     this.xrTableCell54.Text   = "당일 정산";
     this.xrTableCell54.Weight = 0.39670229117683142;
     //
     // xrTableCell55
     //
     this.xrTableCell55.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                          | DevExpress.XtraPrinting.BorderSide.Right)
                                                                         | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell55.BorderWidth = 1;
     this.xrTableCell55.Font        = new System.Drawing.Font("굴림체", 8F);
     this.xrTableCell55.Name        = "xrTableCell55";
     this.xrTableCell55.StylePriority.UseBorders       = false;
     this.xrTableCell55.StylePriority.UseBorderWidth   = false;
     this.xrTableCell55.StylePriority.UseFont          = false;
     this.xrTableCell55.StylePriority.UseTextAlignment = false;
     this.xrTableCell55.Text          = "현   재";
     this.xrTableCell55.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableCell55.Weight        = 0.39670235719609559;
     //
     // xrLine7
     //
     this.xrLine7.BorderWidth   = 1;
     this.xrLine7.LineWidth     = 2;
     this.xrLine7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 32.5F);
     this.xrLine7.Name          = "xrLine7";
     this.xrLine7.SizeF         = new System.Drawing.SizeF(800F, 8F);
     this.xrLine7.StylePriority.UseBorderWidth = false;
     //
     // xrLabel2
     //
     this.xrLabel2.Font                  = new System.Drawing.Font("굴림체", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel2.LocationFloat         = new DevExpress.Utils.PointFloat(12.5F, 12.5F);
     this.xrLabel2.Name                  = "xrLabel2";
     this.xrLabel2.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF                 = new System.Drawing.SizeF(174.0417F, 19.08332F);
     this.xrLabel2.StylePriority.UseFont = false;
     this.xrLabel2.Text                  = "1 - 5. 외상매출(재실미수)";
     //
     // DEAAP04_01_03
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.topMarginBand1,
         this.detailBand1,
         this.bottomMarginBand1,
         this.PageFooter,
         this.PageHeader
     });
     this.DataSourceSchema = resources.GetString("$this.DataSourceSchema");
     this.Landscape        = true;
     this.Margins          = new System.Drawing.Printing.Margins(20, 20, 20, 20);
     this.PageHeight       = 827;
     this.PageWidth        = 1169;
     this.PaperKind        = System.Drawing.Printing.PaperKind.A4;
     this.Version          = "9.3";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #35
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.DataAccess.Sql.CustomSqlQuery       customSqlQuery1 = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DataAccess.Sql.QueryParameter       queryParameter1 = new DevExpress.DataAccess.Sql.QueryParameter();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(rep_pro_ba_maturityprofile));
     this.Detail         = new DevExpress.XtraReports.UI.DetailBand();
     this.DetailTable    = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow8    = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell92  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell94  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell1   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell7   = new DevExpress.XtraReports.UI.XRTableCell();
     this.TopMargin      = new DevExpress.XtraReports.UI.TopMarginBand();
     this.BottomMargin   = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.PageHeader     = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLine1        = new DevExpress.XtraReports.UI.XRLine();
     this.xrLabel2       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1       = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupHeader1   = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel9       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel8       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel7       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3       = new DevExpress.XtraReports.UI.XRLabel();
     this.PageFooter     = new DevExpress.XtraReports.UI.PageFooterBand();
     this.xrLabel18      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrPageInfo1    = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrPageInfo2    = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrLabel17      = new DevExpress.XtraReports.UI.XRLabel();
     this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
     this.ProjectID      = new DevExpress.XtraReports.Parameters.Parameter();
     this.ProjectName    = new DevExpress.XtraReports.Parameters.Parameter();
     this.ProjectColor   = new DevExpress.XtraReports.Parameters.Parameter();
     ((System.ComponentModel.ISupportInitialize)(this.DetailTable)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.DetailTable
     });
     this.Detail.HeightF = 31.97739F;
     this.Detail.Name    = "Detail";
     this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("Business Process", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     this.Detail.BeforePrint  += new System.Drawing.Printing.PrintEventHandler(this.Detail_BeforePrint);
     //
     // DetailTable
     //
     this.DetailTable.BackColor = System.Drawing.Color.Transparent;
     this.DetailTable.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                         | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.DetailTable.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.DetailTable.Name          = "DetailTable";
     this.DetailTable.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow8
     });
     this.DetailTable.SizeF = new System.Drawing.SizeF(785.9967F, 25F);
     this.DetailTable.StylePriority.UseBackColor     = false;
     this.DetailTable.StylePriority.UseBorders       = false;
     this.DetailTable.StylePriority.UseTextAlignment = false;
     this.DetailTable.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow8
     //
     this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell92,
         this.xrTableCell94,
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell3,
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6,
         this.xrTableCell7
     });
     this.xrTableRow8.Name   = "xrTableRow8";
     this.xrTableRow8.Weight = 1D;
     //
     // xrTableCell92
     //
     this.xrTableCell92.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BP ID]")
     });
     this.xrTableCell92.Name   = "xrTableCell92";
     this.xrTableCell92.Text   = "Area name ";
     this.xrTableCell92.Weight = 0.534514734762184D;
     //
     // xrTableCell94
     //
     this.xrTableCell94.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Business Process]")
     });
     this.xrTableCell94.Name   = "xrTableCell94";
     this.xrTableCell94.Text   = "Process Name";
     this.xrTableCell94.Weight = 2.1829398405931673D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[As-Is]")
     });
     this.xrTableCell1.Name    = "xrTableCell1";
     this.xrTableCell1.Text    = "AsIs";
     this.xrTableCell1.Visible = false;
     this.xrTableCell1.Weight  = 0.29551219400831674D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[To-Be]")
     });
     this.xrTableCell2.Name    = "xrTableCell2";
     this.xrTableCell2.Text    = "ToBe";
     this.xrTableCell2.Visible = false;
     this.xrTableCell2.Weight  = 0.33438827038514568D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.Multiline = true;
     this.xrTableCell3.Name      = "xrTableCell3";
     this.xrTableCell3.StylePriority.UseTextAlignment = false;
     this.xrTableCell3.Text          = "xrTableCell3";
     this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell3.Weight        = 0.585343430985466D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Multiline = true;
     this.xrTableCell4.Name      = "xrTableCell4";
     this.xrTableCell4.StylePriority.UseTextAlignment = false;
     this.xrTableCell4.Text          = "xrTableCell4";
     this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell4.Weight        = 0.585343430985466D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.Multiline = true;
     this.xrTableCell5.Name      = "xrTableCell5";
     this.xrTableCell5.StylePriority.UseTextAlignment = false;
     this.xrTableCell5.Text          = "xrTableCell5";
     this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell5.Weight        = 0.585343430985466D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.Multiline = true;
     this.xrTableCell6.Name      = "xrTableCell6";
     this.xrTableCell6.StylePriority.UseTextAlignment = false;
     this.xrTableCell6.Text          = "xrTableCell6";
     this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell6.Weight        = 0.585343430985466D;
     //
     // xrTableCell7
     //
     this.xrTableCell7.Multiline = true;
     this.xrTableCell7.Name      = "xrTableCell7";
     this.xrTableCell7.StylePriority.UseTextAlignment = false;
     this.xrTableCell7.Text          = "xrTableCell7";
     this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell7.Weight        = 0.585343430985466D;
     //
     // TopMargin
     //
     this.TopMargin.HeightF       = 19F;
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // BottomMargin
     //
     this.BottomMargin.HeightF       = 3.916613F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLine1,
         this.xrLabel2,
         this.xrLabel1
     });
     this.PageHeader.HeightF = 69.33334F;
     this.PageHeader.Name    = "PageHeader";
     //
     // xrLine1
     //
     this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(1.271566E-05F, 46.33334F);
     this.xrLine1.Name          = "xrLine1";
     this.xrLine1.SizeF         = new System.Drawing.SizeF(785.9968F, 23F);
     //
     // xrLabel2
     //
     this.xrLabel2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Parameters].[ProjectName]")
     });
     this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel2.Name                           = "xrLabel2";
     this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF                          = new System.Drawing.SizeF(387.6249F, 46.33334F);
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text                           = "Project Name";
     this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel2.BeforePrint                   += new System.Drawing.Printing.PrintEventHandler(this.xrLabel2_BeforePrint);
     //
     // xrLabel1
     //
     this.xrLabel1.Bookmark                       = "Summary";
     this.xrLabel1.Borders                        = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel1.Font                           = new System.Drawing.Font("Times New Roman", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(387.625F, 0F);
     this.xrLabel1.Name                           = "xrLabel1";
     this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(8, 2, 0, 0, 100F);
     this.xrLabel1.SizeF                          = new System.Drawing.SizeF(398.375F, 46.33334F);
     this.xrLabel1.StylePriority.UseBorders       = false;
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UsePadding       = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text                           = "Business Architecture Maturity";
     this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrLabel1.BeforePrint                   += new System.Drawing.Printing.PrintEventHandler(this.xrLabel1_BeforePrint);
     //
     // GroupHeader1
     //
     this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel9,
         this.xrLabel8,
         this.xrLabel7,
         this.xrLabel6,
         this.xrLabel5,
         this.xrLabel4,
         this.xrLabel3
     });
     this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("Business Area", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader1.HeightF = 38.33333F;
     this.GroupHeader1.Name    = "GroupHeader1";
     //
     // xrLabel9
     //
     this.xrLabel9.Font                           = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
     this.xrLabel9.LocationFloat                  = new DevExpress.Utils.PointFloat(712.6666F, 0F);
     this.xrLabel9.Name                           = "xrLabel9";
     this.xrLabel9.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel9.SizeF                          = new System.Drawing.SizeF(73.33325F, 35.5F);
     this.xrLabel9.StylePriority.UseFont          = false;
     this.xrLabel9.StylePriority.UseTextAlignment = false;
     this.xrLabel9.Text                           = "Level 5";
     this.xrLabel9.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel8
     //
     this.xrLabel8.Font                           = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
     this.xrLabel8.LocationFloat                  = new DevExpress.Utils.PointFloat(639.3366F, 0F);
     this.xrLabel8.Name                           = "xrLabel8";
     this.xrLabel8.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel8.SizeF                          = new System.Drawing.SizeF(73.33002F, 35.5F);
     this.xrLabel8.StylePriority.UseFont          = false;
     this.xrLabel8.StylePriority.UseTextAlignment = false;
     this.xrLabel8.Text                           = "Level 4";
     this.xrLabel8.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel7
     //
     this.xrLabel7.Font                           = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
     this.xrLabel7.LocationFloat                  = new DevExpress.Utils.PointFloat(566.0066F, 0F);
     this.xrLabel7.Name                           = "xrLabel7";
     this.xrLabel7.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.SizeF                          = new System.Drawing.SizeF(73.33002F, 35.5F);
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text                           = "Level 3";
     this.xrLabel7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel6
     //
     this.xrLabel6.Font                           = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
     this.xrLabel6.LocationFloat                  = new DevExpress.Utils.PointFloat(492.6766F, 0F);
     this.xrLabel6.Name                           = "xrLabel6";
     this.xrLabel6.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF                          = new System.Drawing.SizeF(73.32999F, 35.5F);
     this.xrLabel6.StylePriority.UseFont          = false;
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     this.xrLabel6.Text                           = "Level 2";
     this.xrLabel6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel5
     //
     this.xrLabel5.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel5.Font          = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
     this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(419.3466F, 0F);
     this.xrLabel5.Name          = "xrLabel5";
     this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel5.SizeF         = new System.Drawing.SizeF(73.33005F, 35.5F);
     this.xrLabel5.StylePriority.UseBackColor     = false;
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text          = "Level 1";
     this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel4
     //
     this.xrLabel4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Business Area]")
     });
     this.xrLabel4.Font                           = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel4.LocationFloat                  = new DevExpress.Utils.PointFloat(66.96238F, 0F);
     this.xrLabel4.Name                           = "xrLabel4";
     this.xrLabel4.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF                          = new System.Drawing.SizeF(273.4721F, 35.5F);
     this.xrLabel4.StylePriority.UseFont          = false;
     this.xrLabel4.StylePriority.UseTextAlignment = false;
     this.xrLabel4.Text                           = "area_name";
     this.xrLabel4.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel3
     //
     this.xrLabel3.BackColor   = System.Drawing.Color.Transparent;
     this.xrLabel3.BorderColor = System.Drawing.Color.Blue;
     this.xrLabel3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Area Identifier]")
     });
     this.xrLabel3.Font          = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel3.Name          = "xrLabel3";
     this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.SizeF         = new System.Drawing.SizeF(66.96238F, 35.5F);
     this.xrLabel3.StylePriority.UseBackColor     = false;
     this.xrLabel3.StylePriority.UseBorderColor   = false;
     this.xrLabel3.StylePriority.UseFont          = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text          = "area_Identifier";
     this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // PageFooter
     //
     this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel18,
         this.xrPageInfo1,
         this.xrPageInfo2,
         this.xrLabel17
     });
     this.PageFooter.HeightF = 113.2084F;
     this.PageFooter.Name    = "PageFooter";
     //
     // xrLabel18
     //
     this.xrLabel18.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel18.LocationFloat                  = new DevExpress.Utils.PointFloat(660.1667F, 76.66666F);
     this.xrLabel18.Name                           = "xrLabel18";
     this.xrLabel18.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel18.SizeF                          = new System.Drawing.SizeF(66.97913F, 35.50002F);
     this.xrLabel18.StylePriority.UseFont          = false;
     this.xrLabel18.StylePriority.UseTextAlignment = false;
     this.xrLabel18.Text                           = "page";
     this.xrLabel18.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrLabel18.TextTrimming                   = System.Drawing.StringTrimming.None;
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrPageInfo1.LocationFloat                  = new DevExpress.Utils.PointFloat(727.1459F, 76.66666F);
     this.xrPageInfo1.Name                           = "xrPageInfo1";
     this.xrPageInfo1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo1.SizeF                          = new System.Drawing.SizeF(58.85413F, 35.50001F);
     this.xrPageInfo1.StylePriority.UseFont          = false;
     this.xrPageInfo1.StylePriority.UseTextAlignment = false;
     this.xrPageInfo1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // xrPageInfo2
     //
     this.xrPageInfo2.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrPageInfo2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 76.66666F);
     this.xrPageInfo2.Name                           = "xrPageInfo2";
     this.xrPageInfo2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo2.PageInfo                       = DevExpress.XtraPrinting.PageInfo.DateTime;
     this.xrPageInfo2.SizeF                          = new System.Drawing.SizeF(269.2708F, 36.54169F);
     this.xrPageInfo2.StylePriority.UseFont          = false;
     this.xrPageInfo2.StylePriority.UseTextAlignment = false;
     this.xrPageInfo2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel17
     //
     this.xrLabel17.Font                           = new System.Drawing.Font("Segoe UI", 10.125F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel17.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 53.57295F);
     this.xrLabel17.Name                           = "xrLabel17";
     this.xrLabel17.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel17.SizeF                          = new System.Drawing.SizeF(197.2917F, 23.09373F);
     this.xrLabel17.StylePriority.UseFont          = false;
     this.xrLabel17.StylePriority.UseTextAlignment = false;
     this.xrLabel17.Text                           = "Generated by ReadyCert® for";
     this.xrLabel17.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionName = "DevDB";
     this.sqlDataSource1.Name           = "sqlDataSource1";
     customSqlQuery1.Name  = "Query";
     queryParameter1.Name  = "ProjectID";
     queryParameter1.Type  = typeof(DevExpress.DataAccess.Expression);
     queryParameter1.Value = new DevExpress.DataAccess.Expression("[Parameters.ProjectID]", typeof(System.Guid));
     customSqlQuery1.Parameters.Add(queryParameter1);
     customSqlQuery1.Sql = resources.GetString("customSqlQuery1.Sql");
     this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
     //
     // ProjectID
     //
     this.ProjectID.Description = "ProjectID";
     this.ProjectID.Name        = "ProjectID";
     this.ProjectID.Type        = typeof(System.Guid);
     this.ProjectID.ValueInfo   = "00000000-0000-0000-0000-000000000000";
     this.ProjectID.Visible     = false;
     //
     // ProjectName
     //
     this.ProjectName.Description = "ProjectName";
     this.ProjectName.Name        = "ProjectName";
     this.ProjectName.Visible     = false;
     //
     // ProjectColor
     //
     this.ProjectColor.Description = "ProjectColor";
     this.ProjectColor.Name        = "ProjectColor";
     this.ProjectColor.Visible     = false;
     //
     // rep_pro_ba_maturityprofile
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.PageHeader,
         this.GroupHeader1,
         this.PageFooter
     });
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.sqlDataSource1
     });
     this.DataMember   = "Query";
     this.DataSource   = this.sqlDataSource1;
     this.FilterString = "[BP Deleted] = False";
     this.Margins      = new System.Drawing.Printing.Margins(51, 0, 19, 4);
     this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
         this.ProjectID,
         this.ProjectName,
         this.ProjectColor
     });
     this.Version = "17.2";
     ((System.ComponentModel.ISupportInitialize)(this.DetailTable)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #36
0
ファイル: LoanOverridesReport.cs プロジェクト: EliasTous/ERP
 /// <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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoanOverridesReport));
     this.Detail            = new DevExpress.XtraReports.UI.DetailBand();
     this.xrLabel2          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3          = new DevExpress.XtraReports.UI.XRLabel();
     this.TopMargin         = new DevExpress.XtraReports.UI.TopMarginBand();
     this.BottomMargin      = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components);
     this.pageHeaderBand1   = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrTable1          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow3       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell11     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell9      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell7      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableRow1       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableRow2       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell4      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6      = new DevExpress.XtraReports.UI.XRTableCell();
     this.pageFooterBand1   = new DevExpress.XtraReports.UI.PageFooterBand();
     this.xrLabel7          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6          = new DevExpress.XtraReports.UI.XRLabel();
     this.User              = new DevExpress.XtraReports.Parameters.Parameter();
     this.xrPageInfo1       = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrPageInfo2       = new DevExpress.XtraReports.UI.XRPageInfo();
     this.reportHeaderBand1 = new DevExpress.XtraReports.UI.ReportHeaderBand();
     this.xrLabel1          = new DevExpress.XtraReports.UI.XRLabel();
     this.Title             = new DevExpress.XtraReports.UI.XRControlStyle();
     this.FieldCaption      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.PageInfo          = new DevExpress.XtraReports.UI.XRControlStyle();
     this.DataField         = new DevExpress.XtraReports.UI.XRControlStyle();
     this.GroupHeader1      = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel17         = new DevExpress.XtraReports.UI.XRLabel();
     this.method1           = new DevExpress.XtraReports.Parameters.Parameter();
     this.method2           = new DevExpress.XtraReports.Parameters.Parameter();
     this.method3           = new DevExpress.XtraReports.Parameters.Parameter();
     this.method4           = new DevExpress.XtraReports.Parameters.Parameter();
     this.method5           = new DevExpress.XtraReports.Parameters.Parameter();
     ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2,
         this.xrLabel4,
         this.xrLabel3
     });
     resources.ApplyResources(this.Detail, "Detail");
     this.Detail.Name    = "Detail";
     this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     //
     // xrLabel2
     //
     this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "name")
     });
     resources.ApplyResources(this.xrLabel2, "xrLabel2");
     this.xrLabel2.Name    = "xrLabel2";
     this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     //
     // xrLabel4
     //
     this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "ldValue")
     });
     resources.ApplyResources(this.xrLabel4, "xrLabel4");
     this.xrLabel4.Name    = "xrLabel4";
     this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.StylePriority.UseTextAlignment = false;
     this.xrLabel4.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel4_BeforePrint);
     //
     // xrLabel3
     //
     this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "ldMethod")
     });
     resources.ApplyResources(this.xrLabel3, "xrLabel3");
     this.xrLabel3.Name    = "xrLabel3";
     this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel3_BeforePrint);
     //
     // TopMargin
     //
     this.TopMargin.Name    = "TopMargin";
     this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     resources.ApplyResources(this.TopMargin, "TopMargin");
     //
     // BottomMargin
     //
     this.BottomMargin.Name    = "BottomMargin";
     this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     resources.ApplyResources(this.BottomMargin, "BottomMargin");
     //
     // objectDataSource1
     //
     this.objectDataSource1.DataSource = typeof(Model.LoadTracking.LoanOverride);
     this.objectDataSource1.Name       = "objectDataSource1";
     //
     // pageHeaderBand1
     //
     this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     resources.ApplyResources(this.pageHeaderBand1, "pageHeaderBand1");
     this.pageHeaderBand1.Name = "pageHeaderBand1";
     //
     // xrTable1
     //
     this.xrTable1.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom;
     this.xrTable1.Borders        = DevExpress.XtraPrinting.BorderSide.Bottom;
     resources.ApplyResources(this.xrTable1, "xrTable1");
     this.xrTable1.Name = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow3
     });
     this.xrTable1.StylePriority.UseBorders       = false;
     this.xrTable1.StylePriority.UseTextAlignment = false;
     //
     // xrTableRow3
     //
     this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell11,
         this.xrTableCell9,
         this.xrTableCell7
     });
     this.xrTableRow3.Name = "xrTableRow3";
     resources.ApplyResources(this.xrTableRow3, "xrTableRow3");
     //
     // xrTableCell11
     //
     this.xrTableCell11.CanGrow   = false;
     this.xrTableCell11.Name      = "xrTableCell11";
     this.xrTableCell11.StyleName = "FieldCaption";
     this.xrTableCell11.StylePriority.UseTextAlignment = false;
     resources.ApplyResources(this.xrTableCell11, "xrTableCell11");
     //
     // xrTableCell9
     //
     this.xrTableCell9.CanGrow = false;
     this.xrTableCell9.Name    = "xrTableCell9";
     this.xrTableCell9.StylePriority.UseTextAlignment = false;
     resources.ApplyResources(this.xrTableCell9, "xrTableCell9");
     //
     // xrTableCell7
     //
     this.xrTableCell7.CanGrow = false;
     this.xrTableCell7.Name    = "xrTableCell7";
     this.xrTableCell7.StylePriority.UseTextAlignment = false;
     resources.ApplyResources(this.xrTableCell7, "xrTableCell7");
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell3
     });
     this.xrTableRow1.Name = "xrTableRow1";
     resources.ApplyResources(this.xrTableRow1, "xrTableRow1");
     //
     // xrTableCell1
     //
     this.xrTableCell1.Name = "xrTableCell1";
     resources.ApplyResources(this.xrTableCell1, "xrTableCell1");
     //
     // xrTableCell2
     //
     this.xrTableCell2.Name = "xrTableCell2";
     resources.ApplyResources(this.xrTableCell2, "xrTableCell2");
     //
     // xrTableCell3
     //
     this.xrTableCell3.Name = "xrTableCell3";
     resources.ApplyResources(this.xrTableCell3, "xrTableCell3");
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6
     });
     this.xrTableRow2.Name = "xrTableRow2";
     resources.ApplyResources(this.xrTableRow2, "xrTableRow2");
     //
     // xrTableCell4
     //
     this.xrTableCell4.Name = "xrTableCell4";
     resources.ApplyResources(this.xrTableCell4, "xrTableCell4");
     //
     // xrTableCell5
     //
     this.xrTableCell5.Name = "xrTableCell5";
     resources.ApplyResources(this.xrTableCell5, "xrTableCell5");
     //
     // xrTableCell6
     //
     this.xrTableCell6.Name = "xrTableCell6";
     resources.ApplyResources(this.xrTableCell6, "xrTableCell6");
     //
     // pageFooterBand1
     //
     this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel7,
         this.xrLabel6,
         this.xrPageInfo1,
         this.xrPageInfo2
     });
     resources.ApplyResources(this.pageFooterBand1, "pageFooterBand1");
     this.pageFooterBand1.Name = "pageFooterBand1";
     //
     // xrLabel7
     //
     resources.ApplyResources(this.xrLabel7, "xrLabel7");
     this.xrLabel7.Name    = "xrLabel7";
     this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     //
     // xrLabel6
     //
     this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding(this.User, "Text", "")
     });
     resources.ApplyResources(this.xrLabel6, "xrLabel6");
     this.xrLabel6.Name    = "xrLabel6";
     this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     //
     // User
     //
     this.User.Name    = "User";
     this.User.Visible = false;
     //
     // xrPageInfo1
     //
     resources.ApplyResources(this.xrPageInfo1, "xrPageInfo1");
     this.xrPageInfo1.Name      = "xrPageInfo1";
     this.xrPageInfo1.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo1.PageInfo  = DevExpress.XtraPrinting.PageInfo.DateTime;
     this.xrPageInfo1.StyleName = "PageInfo";
     this.xrPageInfo1.StylePriority.UseTextAlignment = false;
     //
     // xrPageInfo2
     //
     resources.ApplyResources(this.xrPageInfo2, "xrPageInfo2");
     this.xrPageInfo2.Name      = "xrPageInfo2";
     this.xrPageInfo2.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo2.StyleName = "PageInfo";
     this.xrPageInfo2.StylePriority.UseTextAlignment = false;
     //
     // reportHeaderBand1
     //
     this.reportHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel1
     });
     resources.ApplyResources(this.reportHeaderBand1, "reportHeaderBand1");
     this.reportHeaderBand1.Name = "reportHeaderBand1";
     //
     // xrLabel1
     //
     resources.ApplyResources(this.xrLabel1, "xrLabel1");
     this.xrLabel1.Name      = "xrLabel1";
     this.xrLabel1.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.StyleName = "Title";
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     //
     // Title
     //
     this.Title.BackColor   = System.Drawing.Color.Transparent;
     this.Title.BorderColor = System.Drawing.Color.Black;
     this.Title.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.Title.BorderWidth = 1F;
     this.Title.Font        = new System.Drawing.Font("Times New Roman", 21F);
     this.Title.ForeColor   = System.Drawing.Color.Black;
     this.Title.Name        = "Title";
     //
     // FieldCaption
     //
     this.FieldCaption.BackColor   = System.Drawing.Color.Transparent;
     this.FieldCaption.BorderColor = System.Drawing.Color.Black;
     this.FieldCaption.Borders     = DevExpress.XtraPrinting.BorderSide.Bottom;
     this.FieldCaption.BorderWidth = 1F;
     this.FieldCaption.Font        = new System.Drawing.Font("Times New Roman", 10F);
     this.FieldCaption.ForeColor   = System.Drawing.Color.Black;
     this.FieldCaption.Name        = "FieldCaption";
     //
     // PageInfo
     //
     this.PageInfo.BackColor   = System.Drawing.Color.Transparent;
     this.PageInfo.BorderColor = System.Drawing.Color.Black;
     this.PageInfo.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.PageInfo.BorderWidth = 1F;
     this.PageInfo.Font        = new System.Drawing.Font("Arial", 8F);
     this.PageInfo.ForeColor   = System.Drawing.Color.Black;
     this.PageInfo.Name        = "PageInfo";
     //
     // DataField
     //
     this.DataField.BackColor   = System.Drawing.Color.Transparent;
     this.DataField.BorderColor = System.Drawing.Color.Black;
     this.DataField.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.DataField.BorderWidth = 1F;
     this.DataField.Font        = new System.Drawing.Font("Arial", 9F);
     this.DataField.ForeColor   = System.Drawing.Color.Black;
     this.DataField.Name        = "DataField";
     this.DataField.Padding     = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     //
     // GroupHeader1
     //
     this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel17
     });
     resources.ApplyResources(this.GroupHeader1, "GroupHeader1");
     this.GroupHeader1.Name         = "GroupHeader1";
     this.GroupHeader1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.GroupHeader1_BeforePrint);
     //
     // xrLabel17
     //
     resources.ApplyResources(this.xrLabel17, "xrLabel17");
     this.xrLabel17.Name    = "xrLabel17";
     this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel17.StylePriority.UseTextAlignment = false;
     //
     // method1
     //
     this.method1.Name    = "method1";
     this.method1.Visible = false;
     //
     // method2
     //
     this.method2.Name    = "method2";
     this.method2.Visible = false;
     //
     // method3
     //
     this.method3.Name    = "method3";
     this.method3.Visible = false;
     //
     // method4
     //
     this.method4.Name    = "method4";
     this.method4.Visible = false;
     //
     // method5
     //
     this.method5.Name    = "method5";
     this.method5.Visible = false;
     //
     // LoanOverridesReport
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.pageHeaderBand1,
         this.pageFooterBand1,
         this.reportHeaderBand1,
         this.GroupHeader1
     });
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.objectDataSource1
     });
     this.DataSource = this.objectDataSource1;
     this.ExportOptions.Xls.TextExportMode = DevExpress.XtraPrinting.TextExportMode.Text;
     resources.ApplyResources(this, "$this");
     this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
         this.User,
         this.method1,
         this.method2,
         this.method3,
         this.method4,
         this.method5
     });
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.Title,
         this.FieldCaption,
         this.PageInfo,
         this.DataField
     });
     this.Version = "18.2";
     ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #37
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.DataAccess.Sql.CustomSqlQuery       customSqlQuery1     = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DataAccess.Sql.QueryParameter       queryParameter1     = new DevExpress.DataAccess.Sql.QueryParameter();
     System.ComponentModel.ComponentResourceManager resources           = new System.ComponentModel.ComponentResourceManager(typeof(rep_ent_compare_scores));
     DevExpress.DataAccess.Sql.CustomSqlQuery       customSqlQuery2     = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     DevExpress.DataAccess.Sql.QueryParameter       queryParameter2     = new DevExpress.DataAccess.Sql.QueryParameter();
     DevExpress.DataAccess.Sql.MasterDetailInfo     masterDetailInfo1   = new DevExpress.DataAccess.Sql.MasterDetailInfo();
     DevExpress.DataAccess.Sql.RelationColumnInfo   relationColumnInfo1 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.RelationColumnInfo   relationColumnInfo2 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.RelationColumnInfo   relationColumnInfo3 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.RelationColumnInfo   relationColumnInfo4 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.RelationColumnInfo   relationColumnInfo5 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     DevExpress.DataAccess.Sql.RelationColumnInfo   relationColumnInfo6 = new DevExpress.DataAccess.Sql.RelationColumnInfo();
     this.Detail         = new DevExpress.XtraReports.UI.DetailBand();
     this.xrTable1       = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1    = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell2   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell37  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell1   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6   = new DevExpress.XtraReports.UI.XRTableCell();
     this.TopMargin      = new DevExpress.XtraReports.UI.TopMarginBand();
     this.BottomMargin   = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.PageHeader     = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel2       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1       = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupHeader4   = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel9       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel8       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel7       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel24      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel23      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel19      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel25      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel22      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel14      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel13      = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupHeader3   = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel4       = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupHeader2   = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.GroupHeader1   = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.GroupFooter1   = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.PageFooter     = new DevExpress.XtraReports.UI.PageFooterBand();
     this.xrLabel10      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrPageInfo2    = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrLabel11      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrPageInfo1    = new DevExpress.XtraReports.UI.XRPageInfo();
     this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
     this.ProjectID1     = new DevExpress.XtraReports.Parameters.Parameter();
     this.ProjectID2     = new DevExpress.XtraReports.Parameters.Parameter();
     this.EnterpriseName = new DevExpress.XtraReports.Parameters.Parameter();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.Detail.HeightF       = 25F;
     this.Detail.Name          = "Detail";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrTable1
     //
     this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                     | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(1300F, 25F);
     this.xrTable1.StylePriority.UseBorders = false;
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell2,
         this.xrTableCell3,
         this.xrTableCell37,
         this.xrTableCell1,
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6
     });
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(180)))));
     this.xrTableCell2.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                           | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Question]")
     });
     this.xrTableCell2.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell2.ForeColor = System.Drawing.Color.SteelBlue;
     this.xrTableCell2.Name      = "xrTableCell2";
     this.xrTableCell2.Padding   = new DevExpress.XtraPrinting.PaddingInfo(8, 3, 0, 0, 100F);
     this.xrTableCell2.StylePriority.UseBackColor     = false;
     this.xrTableCell2.StylePriority.UseBorders       = false;
     this.xrTableCell2.StylePriority.UseFont          = false;
     this.xrTableCell2.StylePriority.UseForeColor     = false;
     this.xrTableCell2.StylePriority.UsePadding       = false;
     this.xrTableCell2.StylePriority.UseTextAlignment = false;
     this.xrTableCell2.Text          = "Data Management";
     this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrTableCell2.Weight        = 4.6921824283963325D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                         | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[As-Is]")
     });
     this.xrTableCell3.Font    = new System.Drawing.Font("Segoe UI", 9.75F);
     this.xrTableCell3.Name    = "xrTableCell3";
     this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell3.StylePriority.UseBorders       = false;
     this.xrTableCell3.StylePriority.UseFont          = false;
     this.xrTableCell3.StylePriority.UsePadding       = false;
     this.xrTableCell3.StylePriority.UseTextAlignment = false;
     this.xrTableCell3.Text          = "Project 1 As-Is ";
     this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell3.Weight        = 1.8148822818855992D;
     //
     // xrTableCell37
     //
     this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                          | DevExpress.XtraPrinting.BorderSide.Right)
                                                                         | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell37.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[To-Be]")
     });
     this.xrTableCell37.Font    = new System.Drawing.Font("Segoe UI", 9.75F);
     this.xrTableCell37.Name    = "xrTableCell37";
     this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell37.StylePriority.UseBorders       = false;
     this.xrTableCell37.StylePriority.UseFont          = false;
     this.xrTableCell37.StylePriority.UsePadding       = false;
     this.xrTableCell37.StylePriority.UseTextAlignment = false;
     this.xrTableCell37.Text          = "Project 1 To-Be";
     this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell37.Weight        = 1.8148836963679935D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                         | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Project1Project2].[AsIs]")
     });
     this.xrTableCell1.Font    = new System.Drawing.Font("Segoe UI", 9.75F);
     this.xrTableCell1.Name    = "xrTableCell1";
     this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell1.StylePriority.UseBorders       = false;
     this.xrTableCell1.StylePriority.UseFont          = false;
     this.xrTableCell1.StylePriority.UsePadding       = false;
     this.xrTableCell1.StylePriority.UseTextAlignment = false;
     this.xrTableCell1.Text          = "Project 2 As-Is ";
     this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell1.Weight        = 1.8148800386073387D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                         | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Project1Project2].[ToBe]")
     });
     this.xrTableCell4.Font    = new System.Drawing.Font("Segoe UI", 9.75F);
     this.xrTableCell4.Name    = "xrTableCell4";
     this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell4.StylePriority.UseBorders       = false;
     this.xrTableCell4.StylePriority.UseFont          = false;
     this.xrTableCell4.StylePriority.UsePadding       = false;
     this.xrTableCell4.StylePriority.UseTextAlignment = false;
     this.xrTableCell4.Text          = "Project 2 To-Be";
     this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell4.Weight        = 1.81488351347996D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.BackColor = System.Drawing.Color.LightGray;
     this.xrTableCell5.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                           | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "Iif([As-Is]-[Project1Project2].[AsIs]>=0,[As-Is]-[Project1Project2].[AsIs],-([As-" +
                                                         "Is]-[Project1Project2].[AsIs]) )")
     });
     this.xrTableCell5.Font    = new System.Drawing.Font("Segoe UI", 9.75F);
     this.xrTableCell5.Name    = "xrTableCell5";
     this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell5.StylePriority.UseBackColor     = false;
     this.xrTableCell5.StylePriority.UseBorders       = false;
     this.xrTableCell5.StylePriority.UseFont          = false;
     this.xrTableCell5.StylePriority.UsePadding       = false;
     this.xrTableCell5.StylePriority.UseTextAlignment = false;
     this.xrTableCell5.Text          = " As-Is ";
     this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell5.Weight        = 1.8148820503756991D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.BackColor = System.Drawing.Color.LightGray;
     this.xrTableCell6.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                           | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "Iif([To-Be]-[Project1Project2].[ToBe]>=0,[To-Be]-[Project1Project2].[ToBe],-([To-" +
                                                         "Be]-[Project1Project2].[ToBe]) )")
     });
     this.xrTableCell6.Font    = new System.Drawing.Font("Segoe UI", 9.75F);
     this.xrTableCell6.Name    = "xrTableCell6";
     this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell6.StylePriority.UseBackColor     = false;
     this.xrTableCell6.StylePriority.UseBorders       = false;
     this.xrTableCell6.StylePriority.UseFont          = false;
     this.xrTableCell6.StylePriority.UsePadding       = false;
     this.xrTableCell6.StylePriority.UseTextAlignment = false;
     this.xrTableCell6.Text          = "To-Be";
     this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell6.Weight        = 1.814884062144059D;
     //
     // TopMargin
     //
     this.TopMargin.HeightF       = 0F;
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // BottomMargin
     //
     this.BottomMargin.HeightF       = 2.114614F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2,
         this.xrLabel1
     });
     this.PageHeader.HeightF = 36.54167F;
     this.PageHeader.Name    = "PageHeader";
     //
     // xrLabel2
     //
     this.xrLabel2.BackColor = System.Drawing.SystemColors.MenuBar;
     this.xrLabel2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Parameters].[EnterpriseName]")
     });
     this.xrLabel2.Font          = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(694.3201F, 0F);
     this.xrLabel2.Name          = "xrLabel2";
     this.xrLabel2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF         = new System.Drawing.SizeF(605.6801F, 36.54167F);
     this.xrLabel2.StylePriority.UseBackColor     = false;
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text          = "Enterprise";
     this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel1
     //
     this.xrLabel1.BackColor     = System.Drawing.SystemColors.MenuBar;
     this.xrLabel1.Font          = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel1.Name          = "xrLabel1";
     this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF         = new System.Drawing.SizeF(694.3201F, 36.54167F);
     this.xrLabel1.StylePriority.UseBackColor     = false;
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text          = "Project Maturity Profile Scores Compare";
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // GroupHeader4
     //
     this.GroupHeader4.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel9,
         this.xrLabel8,
         this.xrLabel7,
         this.xrLabel6,
         this.xrLabel24,
         this.xrLabel23,
         this.xrLabel19,
         this.xrLabel25,
         this.xrLabel5,
         this.xrLabel22
     });
     this.GroupHeader4.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("BP ID", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader4.HeightF = 107.1668F;
     this.GroupHeader4.Name    = "GroupHeader4";
     //
     // xrLabel9
     //
     this.xrLabel9.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel9.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(1148.58F, 62.6667F);
     this.xrLabel9.Multiline     = true;
     this.xrLabel9.Name          = "xrLabel9";
     this.xrLabel9.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel9.SizeF         = new System.Drawing.SizeF(151.42F, 44.5F);
     this.xrLabel9.StylePriority.UseBackColor     = false;
     this.xrLabel9.StylePriority.UseFont          = false;
     this.xrLabel9.StylePriority.UseTextAlignment = false;
     this.xrLabel9.Text          = "To-Be";
     this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel8
     //
     this.xrLabel8.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel8.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(997.1601F, 62.66677F);
     this.xrLabel8.Multiline     = true;
     this.xrLabel8.Name          = "xrLabel8";
     this.xrLabel8.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel8.SizeF         = new System.Drawing.SizeF(151.42F, 44.5F);
     this.xrLabel8.StylePriority.UseBackColor     = false;
     this.xrLabel8.StylePriority.UseFont          = false;
     this.xrLabel8.StylePriority.UseTextAlignment = false;
     this.xrLabel8.Text          = " As-Is ";
     this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel7
     //
     this.xrLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel7.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Parameters].[ProjectID2] + [To Be]")
     });
     this.xrLabel7.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(845.74F, 62.66677F);
     this.xrLabel7.Multiline     = true;
     this.xrLabel7.Name          = "xrLabel7";
     this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.SizeF         = new System.Drawing.SizeF(151.42F, 44.5F);
     this.xrLabel7.StylePriority.UseBackColor     = false;
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text          = "Project 2 To-Be";
     this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel6
     //
     this.xrLabel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Parameters].[ProjectID2] + [As Is]")
     });
     this.xrLabel6.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(694.3201F, 62.66677F);
     this.xrLabel6.Multiline     = true;
     this.xrLabel6.Name          = "xrLabel6";
     this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF         = new System.Drawing.SizeF(151.42F, 44.5F);
     this.xrLabel6.StylePriority.UseBackColor     = false;
     this.xrLabel6.StylePriority.UseFont          = false;
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     this.xrLabel6.Text          = "Project 2 As-Is ";
     this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel24
     //
     this.xrLabel24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel24.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Parameters].[ProjectID1] + [To Be]")
     });
     this.xrLabel24.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(542.9001F, 62.6667F);
     this.xrLabel24.Multiline     = true;
     this.xrLabel24.Name          = "xrLabel24";
     this.xrLabel24.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel24.SizeF         = new System.Drawing.SizeF(151.42F, 44.5F);
     this.xrLabel24.StylePriority.UseBackColor     = false;
     this.xrLabel24.StylePriority.UseFont          = false;
     this.xrLabel24.StylePriority.UseTextAlignment = false;
     this.xrLabel24.Text          = "Project 1 To-Be";
     this.xrLabel24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel23
     //
     this.xrLabel23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel23.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Parameters].[ProjectID1] + [As Is]")
     });
     this.xrLabel23.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(391.4801F, 62.6667F);
     this.xrLabel23.Multiline     = true;
     this.xrLabel23.Name          = "xrLabel23";
     this.xrLabel23.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel23.SizeF         = new System.Drawing.SizeF(151.42F, 44.5F);
     this.xrLabel23.StylePriority.UseBackColor     = false;
     this.xrLabel23.StylePriority.UseFont          = false;
     this.xrLabel23.StylePriority.UseTextAlignment = false;
     this.xrLabel23.Text          = "Project 1 As-Is ";
     this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel19
     //
     this.xrLabel19.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel19.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 62.6667F);
     this.xrLabel19.Name          = "xrLabel19";
     this.xrLabel19.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel19.SizeF         = new System.Drawing.SizeF(391.4801F, 44.5F);
     this.xrLabel19.StylePriority.UseBackColor     = false;
     this.xrLabel19.StylePriority.UseFont          = false;
     this.xrLabel19.StylePriority.UseTextAlignment = false;
     this.xrLabel19.Text          = "Standard Area";
     this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel25
     //
     this.xrLabel25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel25.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Card Name]")
     });
     this.xrLabel25.Font          = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(0F, 32.37502F);
     this.xrLabel25.Name          = "xrLabel25";
     this.xrLabel25.Padding       = new DevExpress.XtraPrinting.PaddingInfo(10, 2, 0, 0, 100F);
     this.xrLabel25.SizeF         = new System.Drawing.SizeF(1300F, 30.29167F);
     this.xrLabel25.StylePriority.UseBackColor     = false;
     this.xrLabel25.StylePriority.UseFont          = false;
     this.xrLabel25.StylePriority.UsePadding       = false;
     this.xrLabel25.StylePriority.UseTextAlignment = false;
     this.xrLabel25.Text          = "Card name";
     this.xrLabel25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel5
     //
     this.xrLabel5.BackColor = System.Drawing.Color.Gainsboro;
     this.xrLabel5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BP ID]")
     });
     this.xrLabel5.Font          = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel5.Name          = "xrLabel5";
     this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(8, 2, 0, 0, 100F);
     this.xrLabel5.SizeF         = new System.Drawing.SizeF(194.1667F, 32.37502F);
     this.xrLabel5.StylePriority.UseBackColor     = false;
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UsePadding       = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text          = "Business Architecture Scorecard";
     this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrLabel22
     //
     this.xrLabel22.BackColor = System.Drawing.Color.Gainsboro;
     this.xrLabel22.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BC Name]")
     });
     this.xrLabel22.Font          = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(194.1667F, 0F);
     this.xrLabel22.Name          = "xrLabel22";
     this.xrLabel22.Padding       = new DevExpress.XtraPrinting.PaddingInfo(8, 2, 0, 0, 100F);
     this.xrLabel22.SizeF         = new System.Drawing.SizeF(1105.833F, 32.37502F);
     this.xrLabel22.StylePriority.UseBackColor     = false;
     this.xrLabel22.StylePriority.UseFont          = false;
     this.xrLabel22.StylePriority.UsePadding       = false;
     this.xrLabel22.StylePriority.UseTextAlignment = false;
     this.xrLabel22.Text          = "Business Process Name";
     this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrLabel14
     //
     this.xrLabel14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(180)))), ((int)(((byte)(255)))));
     this.xrLabel14.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BA ID]")
     });
     this.xrLabel14.Font          = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel14.Name          = "xrLabel14";
     this.xrLabel14.Padding       = new DevExpress.XtraPrinting.PaddingInfo(4, 2, 0, 0, 100F);
     this.xrLabel14.SizeF         = new System.Drawing.SizeF(194.1667F, 38.79166F);
     this.xrLabel14.StylePriority.UseBackColor     = false;
     this.xrLabel14.StylePriority.UseFont          = false;
     this.xrLabel14.StylePriority.UsePadding       = false;
     this.xrLabel14.StylePriority.UseTextAlignment = false;
     this.xrLabel14.Text          = "BA ID";
     this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrLabel13
     //
     this.xrLabel13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(180)))), ((int)(((byte)(255)))));
     this.xrLabel13.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BA Name]")
     });
     this.xrLabel13.Font          = new System.Drawing.Font("Segoe UI", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(194.1673F, 0F);
     this.xrLabel13.Name          = "xrLabel13";
     this.xrLabel13.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel13.SizeF         = new System.Drawing.SizeF(1105.833F, 38.79168F);
     this.xrLabel13.StylePriority.UseBackColor     = false;
     this.xrLabel13.StylePriority.UseFont          = false;
     this.xrLabel13.StylePriority.UseTextAlignment = false;
     this.xrLabel13.Text          = "Business Area Name";
     this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // GroupHeader3
     //
     this.GroupHeader3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel4
     });
     this.GroupHeader3.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("BC ID", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader3.HeightF = 36.45833F;
     this.GroupHeader3.Level   = 1;
     this.GroupHeader3.Name    = "GroupHeader3";
     //
     // xrLabel4
     //
     this.xrLabel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(180)))));
     this.xrLabel4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[BC Name]")
     });
     this.xrLabel4.Font          = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 1.999982F);
     this.xrLabel4.Name          = "xrLabel4";
     this.xrLabel4.Padding       = new DevExpress.XtraPrinting.PaddingInfo(6, 2, 0, 0, 100F);
     this.xrLabel4.SizeF         = new System.Drawing.SizeF(1300F, 34.45835F);
     this.xrLabel4.StylePriority.UseBackColor     = false;
     this.xrLabel4.StylePriority.UseFont          = false;
     this.xrLabel4.StylePriority.UsePadding       = false;
     this.xrLabel4.StylePriority.UseTextAlignment = false;
     this.xrLabel4.Text          = "Business Category Name";
     this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // GroupHeader2
     //
     this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel13,
         this.xrLabel14
     });
     this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("BA ID", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader2.HeightF = 38.79168F;
     this.GroupHeader2.Level   = 2;
     this.GroupHeader2.Name    = "GroupHeader2";
     //
     // GroupHeader1
     //
     this.GroupHeader1.HeightF = 0F;
     this.GroupHeader1.Level   = 3;
     this.GroupHeader1.Name    = "GroupHeader1";
     //
     // GroupFooter1
     //
     this.GroupFooter1.HeightF = 0F;
     this.GroupFooter1.Name    = "GroupFooter1";
     //
     // PageFooter
     //
     this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel10,
         this.xrPageInfo2,
         this.xrLabel11,
         this.xrPageInfo1
     });
     this.PageFooter.HeightF = 48.17709F;
     this.PageFooter.Name    = "PageFooter";
     //
     // xrLabel10
     //
     this.xrLabel10.Font                           = new System.Drawing.Font("Segoe UI", 10.125F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel10.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel10.Name                           = "xrLabel10";
     this.xrLabel10.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel10.SizeF                          = new System.Drawing.SizeF(204.5834F, 23.09373F);
     this.xrLabel10.StylePriority.UseFont          = false;
     this.xrLabel10.StylePriority.UseTextAlignment = false;
     this.xrLabel10.Text                           = "Generated by ReadyCert® on:";
     this.xrLabel10.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrPageInfo2
     //
     this.xrPageInfo2.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrPageInfo2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 23.09373F);
     this.xrPageInfo2.Name                           = "xrPageInfo2";
     this.xrPageInfo2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo2.PageInfo                       = DevExpress.XtraPrinting.PageInfo.DateTime;
     this.xrPageInfo2.SizeF                          = new System.Drawing.SizeF(266.1458F, 25.08335F);
     this.xrPageInfo2.StylePriority.UseFont          = false;
     this.xrPageInfo2.StylePriority.UseTextAlignment = false;
     this.xrPageInfo2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel11
     //
     this.xrLabel11.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel11.LocationFloat                  = new DevExpress.Utils.PointFloat(1108.75F, 12.67707F);
     this.xrLabel11.Name                           = "xrLabel11";
     this.xrLabel11.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel11.SizeF                          = new System.Drawing.SizeF(125.5209F, 35.50002F);
     this.xrLabel11.StylePriority.UseFont          = false;
     this.xrLabel11.StylePriority.UseTextAlignment = false;
     this.xrLabel11.Text                           = "page";
     this.xrLabel11.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrLabel11.TextTrimming                   = System.Drawing.StringTrimming.None;
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrPageInfo1.LocationFloat                  = new DevExpress.Utils.PointFloat(1234.271F, 12.67707F);
     this.xrPageInfo1.Name                           = "xrPageInfo1";
     this.xrPageInfo1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo1.SizeF                          = new System.Drawing.SizeF(65.72931F, 35.50002F);
     this.xrPageInfo1.StylePriority.UseFont          = false;
     this.xrPageInfo1.StylePriority.UseTextAlignment = false;
     this.xrPageInfo1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionName = "DevDB";
     this.sqlDataSource1.Name           = "sqlDataSource1";
     customSqlQuery1.MetaSerializable   = "<Meta X=\"350\" Y=\"40\" Width=\"100\" Height=\"275\" />";
     customSqlQuery1.Name  = "Project1";
     queryParameter1.Name  = "ProjectID1";
     queryParameter1.Type  = typeof(DevExpress.DataAccess.Expression);
     queryParameter1.Value = new DevExpress.DataAccess.Expression("[Parameters.ProjectID1]", typeof(System.Guid));
     customSqlQuery1.Parameters.Add(queryParameter1);
     customSqlQuery1.Sql = resources.GetString("customSqlQuery1.Sql");
     customSqlQuery2.MetaSerializable = "<Meta X=\"980\" Y=\"50\" Width=\"200\" Height=\"275\" />";
     customSqlQuery2.Name             = "Project2";
     queryParameter2.Name             = "ProjectID2";
     queryParameter2.Type             = typeof(DevExpress.DataAccess.Expression);
     queryParameter2.Value            = new DevExpress.DataAccess.Expression("[Parameters.ProjectID2]", typeof(System.Guid));
     customSqlQuery2.Parameters.Add(queryParameter2);
     customSqlQuery2.Sql = resources.GetString("customSqlQuery2.Sql");
     this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1,
         customSqlQuery2
     });
     masterDetailInfo1.DetailQueryName   = "Project2";
     relationColumnInfo1.NestedKeyColumn = "BA ID";
     relationColumnInfo1.ParentKeyColumn = "BA ID";
     relationColumnInfo2.NestedKeyColumn = "BC ID";
     relationColumnInfo2.ParentKeyColumn = "BC ID";
     relationColumnInfo3.NestedKeyColumn = "BP ID";
     relationColumnInfo3.ParentKeyColumn = "BP ID";
     relationColumnInfo4.NestedKeyColumn = "Card Name";
     relationColumnInfo4.ParentKeyColumn = "Card Name";
     relationColumnInfo5.NestedKeyColumn = "Question";
     relationColumnInfo5.ParentKeyColumn = "Question";
     relationColumnInfo6.NestedKeyColumn = "card_id";
     relationColumnInfo6.ParentKeyColumn = "card_id";
     masterDetailInfo1.KeyColumns.Add(relationColumnInfo1);
     masterDetailInfo1.KeyColumns.Add(relationColumnInfo2);
     masterDetailInfo1.KeyColumns.Add(relationColumnInfo3);
     masterDetailInfo1.KeyColumns.Add(relationColumnInfo4);
     masterDetailInfo1.KeyColumns.Add(relationColumnInfo5);
     masterDetailInfo1.KeyColumns.Add(relationColumnInfo6);
     masterDetailInfo1.MasterQueryName = "Project1";
     this.sqlDataSource1.Relations.AddRange(new DevExpress.DataAccess.Sql.MasterDetailInfo[] {
         masterDetailInfo1
     });
     this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
     //
     // ProjectID1
     //
     this.ProjectID1.Description = "ProjectID1";
     this.ProjectID1.Name        = "ProjectID1";
     this.ProjectID1.Type        = typeof(System.Guid);
     this.ProjectID1.ValueInfo   = "00000000-0000-0000-0000-000000000000";
     this.ProjectID1.Visible     = false;
     //
     // ProjectID2
     //
     this.ProjectID2.Description = "ProjectID2";
     this.ProjectID2.Name        = "ProjectID2";
     this.ProjectID2.Type        = typeof(System.Guid);
     this.ProjectID2.ValueInfo   = "00000000-0000-0000-0000-000000000000";
     this.ProjectID2.Visible     = false;
     //
     // EnterpriseName
     //
     this.EnterpriseName.Description = "EnterpriseName";
     this.EnterpriseName.Name        = "EnterpriseName";
     this.EnterpriseName.Visible     = false;
     //
     // rep_ent_compare_scores
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.PageHeader,
         this.GroupHeader4,
         this.GroupHeader3,
         this.GroupHeader2,
         this.GroupHeader1,
         this.GroupFooter1,
         this.PageFooter
     });
     this.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                            | DevExpress.XtraPrinting.BorderSide.Right)
                                                           | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.sqlDataSource1
     });
     this.DataMember  = "Project1";
     this.DataSource  = this.sqlDataSource1;
     this.DisplayName = "Project Maturity Profile Scores Compare";
     this.Font        = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Margins     = new System.Drawing.Printing.Margins(0, 0, 0, 2);
     this.PageWidth   = 1300;
     this.PaperKind   = System.Drawing.Printing.PaperKind.Custom;
     this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
         this.ProjectID1,
         this.ProjectID2,
         this.EnterpriseName
     });
     this.Version = "17.2";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #38
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.DataAccess.Sql.StoredProcQuery      storedProcQuery1 = new DevExpress.DataAccess.Sql.StoredProcQuery();
     System.ComponentModel.ComponentResourceManager resources        = new System.ComponentModel.ComponentResourceManager(typeof(KKTheoLoaiMH));
     DevExpress.XtraReports.UI.XRSummary            xrSummary1       = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.XtraReports.Parameters.DynamicListLookUpSettings dynamicListLookUpSettings1 = new DevExpress.XtraReports.Parameters.DynamicListLookUpSettings();
     DevExpress.XtraReports.Parameters.DynamicListLookUpSettings dynamicListLookUpSettings2 = new DevExpress.XtraReports.Parameters.DynamicListLookUpSettings();
     DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
     this.sqlDataSource1   = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
     this.xrTableCell9     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3     = new DevExpress.XtraReports.UI.XRTableCell();
     this.TopMargin        = new DevExpress.XtraReports.UI.TopMarginBand();
     this.xrTable1         = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1      = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell10    = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell1     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableRow2      = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell5     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell7     = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell8     = new DevExpress.XtraReports.UI.XRTableCell();
     this.White            = new DevExpress.XtraReports.UI.XRControlStyle();
     this.formattingRule1  = new DevExpress.XtraReports.UI.FormattingRule();
     this.PageHeader       = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel2         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1         = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupHeader1     = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrTable2         = new DevExpress.XtraReports.UI.XRTable();
     this.PageFooter       = new DevExpress.XtraReports.UI.PageFooterBand();
     this.LightBlue        = new DevExpress.XtraReports.UI.XRControlStyle();
     this.BottomMargin     = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.LavenderStyle    = new DevExpress.XtraReports.UI.XRControlStyle();
     this.Detail           = new DevExpress.XtraReports.UI.DetailBand();
     this.TableHeaderStyle = new DevExpress.XtraReports.UI.XRControlStyle();
     this.TableStyle       = new DevExpress.XtraReports.UI.XRControlStyle();
     this.subtotal         = new DevExpress.XtraReports.UI.CalculatedField();
     this.makho            = new DevExpress.XtraReports.Parameters.Parameter();
     this.maloaiMH         = new DevExpress.XtraReports.Parameters.Parameter();
     this.xrLabel4         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6         = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupFooter2     = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.xrLabel7         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLine1          = new DevExpress.XtraReports.UI.XRLine();
     this.xrLabel8         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel9         = new DevExpress.XtraReports.UI.XRLabel();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionName = "WebQLKhoDuoc";
     this.sqlDataSource1.Name           = "sqlDataSource1";
     storedProcQuery1.Name           = "GetKKbyLoaiMH()";
     storedProcQuery1.StoredProcName = "GetKKbyLoaiMH";
     this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         storedProcQuery1
     });
     this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
     //
     // xrTableCell9
     //
     this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetKKbyLoaiMH().SLHangTamN")
     });
     this.xrTableCell9.Dpi    = 100F;
     this.xrTableCell9.Name   = "xrTableCell9";
     this.xrTableCell9.Text   = "xrTableCell9";
     this.xrTableCell9.Weight = 1.0298550902674009D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.Dpi    = 100F;
     this.xrTableCell3.Name   = "xrTableCell3";
     this.xrTableCell3.Text   = "Số lượng";
     this.xrTableCell3.Weight = 1.479949875166795D;
     //
     // TopMargin
     //
     this.TopMargin.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.TopMargin.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.TopMargin.Dpi         = 100F;
     this.TopMargin.HeightF     = 47F;
     this.TopMargin.Name        = "TopMargin";
     this.TopMargin.Padding     = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.StylePriority.UseBackColor   = false;
     this.TopMargin.StylePriority.UseBorderColor = false;
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrTable1
     //
     this.xrTable1.Dpi           = 100F;
     this.xrTable1.EvenStyleName = "LavenderStyle";
     this.xrTable1.Font          = new System.Drawing.Font("Times New Roman", 18F);
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.OddStyleName  = "White";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(788.9999F, 52.75109F);
     this.xrTable1.StylePriority.UseFont          = false;
     this.xrTable1.StylePriority.UseTextAlignment = false;
     this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell10,
         this.xrTableCell6,
         this.xrTableCell9,
         this.xrTableCell1,
         this.xrTableCell2
     });
     this.xrTableRow1.Dpi    = 100F;
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell10
     //
     this.xrTableCell10.Dpi     = 100F;
     this.xrTableCell10.Name    = "xrTableCell10";
     xrSummary1.Func            = DevExpress.XtraReports.UI.SummaryFunc.RecordNumber;
     xrSummary1.Running         = DevExpress.XtraReports.UI.SummaryRunning.Group;
     this.xrTableCell10.Summary = xrSummary1;
     this.xrTableCell10.Text    = "xrTableCell10";
     this.xrTableCell10.Weight  = 0.57564559008675775D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetKKbyLoaiMH().TenMatHang")
     });
     this.xrTableCell6.Dpi    = 100F;
     this.xrTableCell6.Name   = "xrTableCell6";
     this.xrTableCell6.Text   = "xrTableCell6";
     this.xrTableCell6.Weight = 2.4295301845985255D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetKKbyLoaiMH().Gia", "{0:#,#}")
     });
     this.xrTableCell1.Dpi    = 100F;
     this.xrTableCell1.Name   = "xrTableCell1";
     this.xrTableCell1.Text   = "text";
     this.xrTableCell1.Weight = 1.4754742266516385D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetKKbyLoaiMH().DonViTinh")
     });
     this.xrTableCell2.Dpi    = 100F;
     this.xrTableCell2.Name   = "xrTableCell2";
     this.xrTableCell2.Text   = "xrTableCell8";
     this.xrTableCell2.Weight = 0.95732419891303189D;
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell5,
         this.xrTableCell4,
         this.xrTableCell3,
         this.xrTableCell7,
         this.xrTableCell8
     });
     this.xrTableRow2.Dpi    = 100F;
     this.xrTableRow2.Name   = "xrTableRow2";
     this.xrTableRow2.Weight = 1D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.Dpi    = 100F;
     this.xrTableCell5.Name   = "xrTableCell5";
     this.xrTableCell5.Text   = "STT";
     this.xrTableCell5.Weight = 0.827229472096312D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Dpi    = 100F;
     this.xrTableCell4.Name   = "xrTableCell4";
     this.xrTableCell4.Text   = "Tên mặt hàng";
     this.xrTableCell4.Weight = 3.491347523794337D;
     //
     // xrTableCell7
     //
     this.xrTableCell7.Dpi                   = 100F;
     this.xrTableCell7.Font                  = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
     this.xrTableCell7.Name                  = "xrTableCell7";
     this.xrTableCell7.StyleName             = "TableHeaderStyle";
     this.xrTableCell7.StylePriority.UseFont = false;
     this.xrTableCell7.Text                  = "Giá";
     this.xrTableCell7.Weight                = 2.12032501334546D;
     //
     // xrTableCell8
     //
     this.xrTableCell8.Dpi  = 100F;
     this.xrTableCell8.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
     this.xrTableCell8.Name = "xrTableCell8";
     this.xrTableCell8.StylePriority.UseFont = false;
     this.xrTableCell8.Text   = "ĐVT";
     this.xrTableCell8.Weight = 1.3757190237016119D;
     //
     // White
     //
     this.White.BackColor   = System.Drawing.Color.White;
     this.White.BorderWidth = 0F;
     this.White.Font        = new System.Drawing.Font("Segoe UI", 9.75F);
     this.White.ForeColor   = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
     this.White.Name        = "White";
     this.White.Padding     = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
     //
     // formattingRule1
     //
     this.formattingRule1.Name = "formattingRule1";
     //
     // PageHeader
     //
     this.PageHeader.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.PageHeader.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2,
         this.xrLabel1
     });
     this.PageHeader.Dpi     = 100F;
     this.PageHeader.HeightF = 107.2917F;
     this.PageHeader.Name    = "PageHeader";
     this.PageHeader.StylePriority.UseBackColor   = false;
     this.PageHeader.StylePriority.UseBorderColor = false;
     //
     // xrLabel2
     //
     this.xrLabel2.Dpi                            = 100F;
     this.xrLabel2.Font                           = new System.Drawing.Font("Sitka Text", 14F, System.Drawing.FontStyle.Italic);
     this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(9.999998F, 71.58337F);
     this.xrLabel2.Name                           = "xrLabel2";
     this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF                          = new System.Drawing.SizeF(768.9998F, 19.45835F);
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text                           = "( Nhóm hàng [TenLoaiMH] và [TenKho] )";
     this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel1
     //
     this.xrLabel1.BorderWidth                    = 0F;
     this.xrLabel1.Dpi                            = 100F;
     this.xrLabel1.Font                           = new System.Drawing.Font("Sitka Text", 36F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(9.999998F, 0F);
     this.xrLabel1.Name                           = "xrLabel1";
     this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.xrLabel1.SizeF                          = new System.Drawing.SizeF(768.9999F, 60.75001F);
     this.xrLabel1.StyleName                      = "TableStyle";
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text                           = "KIỂM KÊ THEO NHÓM HÀNG";
     this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
     //
     // GroupHeader1
     //
     this.GroupHeader1.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.GroupHeader1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2
     });
     this.GroupHeader1.Dpi = 100F;
     this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader1.HeightF         = 44.84599F;
     this.GroupHeader1.Name            = "GroupHeader1";
     this.GroupHeader1.RepeatEveryPage = true;
     //
     // xrTable2
     //
     this.xrTable2.BackColor     = System.Drawing.Color.White;
     this.xrTable2.Dpi           = 100F;
     this.xrTable2.Font          = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold);
     this.xrTable2.ForeColor     = System.Drawing.Color.Black;
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable2.Name          = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.SizeF                          = new System.Drawing.SizeF(788.9999F, 44.84599F);
     this.xrTable2.StyleName                      = "TableHeaderStyle";
     this.xrTable2.StylePriority.UseFont          = false;
     this.xrTable2.StylePriority.UseTextAlignment = false;
     this.xrTable2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // PageFooter
     //
     this.PageFooter.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.PageFooter.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.PageFooter.Borders     = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.PageFooter.Dpi         = 100F;
     this.PageFooter.HeightF     = 17.79169F;
     this.PageFooter.Name        = "PageFooter";
     //
     // LightBlue
     //
     this.LightBlue.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(136)))), ((int)(((byte)(153)))));
     this.LightBlue.Name      = "LightBlue";
     //
     // BottomMargin
     //
     this.BottomMargin.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.BottomMargin.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.BottomMargin.Dpi           = 100F;
     this.BottomMargin.HeightF       = 38.5416F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // LavenderStyle
     //
     this.LavenderStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(250)))));
     this.LavenderStyle.Font      = new System.Drawing.Font("Segoe UI", 9.75F);
     this.LavenderStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(47)))), ((int)(((byte)(79)))), ((int)(((byte)(79)))));
     this.LavenderStyle.Name      = "LavenderStyle";
     this.LavenderStyle.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
     //
     // Detail
     //
     this.Detail.BackColor   = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.Detail.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.Detail.Dpi           = 100F;
     this.Detail.HeightF       = 52.75109F;
     this.Detail.Name          = "Detail";
     this.Detail.OddStyleName  = "LightBlue";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // TableHeaderStyle
     //
     this.TableHeaderStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(136)))), ((int)(((byte)(153)))));
     this.TableHeaderStyle.Font      = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold);
     this.TableHeaderStyle.ForeColor = System.Drawing.Color.White;
     this.TableHeaderStyle.Name      = "TableHeaderStyle";
     this.TableHeaderStyle.Padding   = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
     //
     // TableStyle
     //
     this.TableStyle.BackColor       = System.Drawing.Color.White;
     this.TableStyle.BorderColor     = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(250)))));
     this.TableStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.TableStyle.Borders         = DevExpress.XtraPrinting.BorderSide.None;
     this.TableStyle.Font            = new System.Drawing.Font("Calibri", 36F);
     this.TableStyle.ForeColor       = System.Drawing.Color.FromArgb(((int)(((byte)(119)))), ((int)(((byte)(136)))), ((int)(((byte)(153)))));
     this.TableStyle.Name            = "TableStyle";
     this.TableStyle.Padding         = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
     //
     // subtotal
     //
     this.subtotal.DataMember = "GetKKbyLoaiMH()";
     this.subtotal.Expression = "[][[MaLoaiMH]=[^.MaLoaiMH]].Sum([SLHangTamN]*[Gia])";
     this.subtotal.Name       = "subtotal";
     //
     // makho
     //
     this.makho.Description = "Tên kho:";
     dynamicListLookUpSettings1.DataAdapter   = null;
     dynamicListLookUpSettings1.DataMember    = "GetKKbyLoaiMH()";
     dynamicListLookUpSettings1.DataSource    = this.sqlDataSource1;
     dynamicListLookUpSettings1.DisplayMember = "TenKho";
     dynamicListLookUpSettings1.FilterString  = null;
     dynamicListLookUpSettings1.ValueMember   = "MaKho";
     this.makho.LookUpSettings = dynamicListLookUpSettings1;
     this.makho.Name           = "makho";
     this.makho.Type           = typeof(int);
     this.makho.ValueInfo      = "0";
     //
     // maloaiMH
     //
     this.maloaiMH.Description = "Tên loại mặt hàng";
     dynamicListLookUpSettings2.DataAdapter   = null;
     dynamicListLookUpSettings2.DataMember    = "GetKKbyLoaiMH()";
     dynamicListLookUpSettings2.DataSource    = this.sqlDataSource1;
     dynamicListLookUpSettings2.DisplayMember = "TenLoaiMH";
     dynamicListLookUpSettings2.FilterString  = null;
     dynamicListLookUpSettings2.ValueMember   = "MaLoaiMH";
     this.maloaiMH.LookUpSettings             = dynamicListLookUpSettings2;
     this.maloaiMH.Name      = "maloaiMH";
     this.maloaiMH.Type      = typeof(int);
     this.maloaiMH.ValueInfo = "0";
     //
     // xrLabel4
     //
     this.xrLabel4.Dpi                   = 100F;
     this.xrLabel4.Font                  = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel4.LocationFloat         = new DevExpress.Utils.PointFloat(0.000222524F, 125.0662F);
     this.xrLabel4.Name                  = "xrLabel4";
     this.xrLabel4.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF                 = new System.Drawing.SizeF(127.0833F, 33.68378F);
     this.xrLabel4.StylePriority.UseFont = false;
     this.xrLabel4.Text                  = "Tổng giá trị: ";
     //
     // xrLabel3
     //
     this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetKKbyLoaiMH().subtotal", "{0:#,#} VNĐ")
     });
     this.xrLabel3.Dpi                   = 100F;
     this.xrLabel3.Font                  = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel3.LocationFloat         = new DevExpress.Utils.PointFloat(127.0836F, 125.0662F);
     this.xrLabel3.Name                  = "xrLabel3";
     this.xrLabel3.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.SizeF                 = new System.Drawing.SizeF(190.6693F, 33.68378F);
     this.xrLabel3.StylePriority.UseFont = false;
     xrSummary2.FormatString             = "{0:#.00}";
     this.xrLabel3.Summary               = xrSummary2;
     //
     // xrLabel6
     //
     this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetKKbyLoaiMH().MaMatHang")
     });
     this.xrLabel6.Dpi           = 100F;
     this.xrLabel6.Font          = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(138.5419F, 22.99999F);
     this.xrLabel6.Name          = "xrLabel6";
     this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.Scripts.OnSummaryGetResult = "xrLabel6_SummaryGetResult";
     this.xrLabel6.SizeF = new System.Drawing.SizeF(424.0027F, 33.68378F);
     this.xrLabel6.StylePriority.UseFont = false;
     xrSummary3.FormatString             = "{0}";
     xrSummary3.Func       = DevExpress.XtraReports.UI.SummaryFunc.Count;
     xrSummary3.Running    = DevExpress.XtraReports.UI.SummaryRunning.Report;
     this.xrLabel6.Summary = xrSummary3;
     //
     // GroupFooter2
     //
     this.GroupFooter2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel9,
         this.xrLabel8,
         this.xrLabel7,
         this.xrLine1,
         this.xrLabel6,
         this.xrLabel3,
         this.xrLabel4
     });
     this.GroupFooter2.Dpi     = 100F;
     this.GroupFooter2.HeightF = 168.75F;
     this.GroupFooter2.Level   = 1;
     this.GroupFooter2.Name    = "GroupFooter2";
     //
     // xrLabel7
     //
     this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "GetKKbyLoaiMH().SLHangTamN")
     });
     this.xrLabel7.Dpi           = 100F;
     this.xrLabel7.Font          = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(254.1667F, 73.95834F);
     this.xrLabel7.Name          = "xrLabel7";
     this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.Scripts.OnSummaryGetResult = "xrLabel6_SummaryGetResult";
     this.xrLabel7.SizeF = new System.Drawing.SizeF(238.0601F, 33.68378F);
     this.xrLabel7.StylePriority.UseFont = false;
     xrSummary4.FormatString             = "{0}";
     xrSummary4.Running    = DevExpress.XtraReports.UI.SummaryRunning.Report;
     this.xrLabel7.Summary = xrSummary4;
     //
     // xrLine1
     //
     this.xrLine1.Dpi           = 100F;
     this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(7.947286E-06F, 0F);
     this.xrLine1.Name          = "xrLine1";
     this.xrLine1.SizeF         = new System.Drawing.SizeF(788.9998F, 23F);
     //
     // xrLabel8
     //
     this.xrLabel8.Dpi                   = 100F;
     this.xrLabel8.Font                  = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel8.LocationFloat         = new DevExpress.Utils.PointFloat(0.000222524F, 22.99999F);
     this.xrLabel8.Name                  = "xrLabel8";
     this.xrLabel8.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
     this.xrLabel8.SizeF                 = new System.Drawing.SizeF(138.5417F, 33.68378F);
     this.xrLabel8.StylePriority.UseFont = false;
     this.xrLabel8.Text                  = "Số mặt hàng: ";
     //
     // xrLabel9
     //
     this.xrLabel9.Dpi                   = 100F;
     this.xrLabel9.Font                  = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel9.LocationFloat         = new DevExpress.Utils.PointFloat(0.000222524F, 73.95834F);
     this.xrLabel9.Name                  = "xrLabel9";
     this.xrLabel9.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
     this.xrLabel9.SizeF                 = new System.Drawing.SizeF(254.1664F, 33.68378F);
     this.xrLabel9.StylePriority.UseFont = false;
     this.xrLabel9.Text                  = "Tổng số lượng mặt hàng:";
     //
     // KKTheoLoaiMH
     //
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.GroupHeader1,
         this.PageHeader,
         this.PageFooter,
         this.GroupFooter2
     });
     this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
         this.subtotal
     });
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.sqlDataSource1
     });
     this.DataMember   = "GetKKbyLoaiMH()";
     this.DataSource   = this.sqlDataSource1;
     this.FilterString = "[MaKho] = ?makho And [MaLoaiMH] = ?maloaiMH";
     this.Font         = new System.Drawing.Font("Arial Narrow", 9.75F);
     this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
         this.formattingRule1
     });
     this.Margins = new System.Drawing.Printing.Margins(10, 51, 47, 39);
     this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
         this.makho,
         this.maloaiMH
     });
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.LightBlue,
         this.TableHeaderStyle,
         this.TableStyle,
         this.White,
         this.LavenderStyle
     });
     this.Version = "16.2";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #39
0
        private void BindReport()
        {
            XRTableRow  row;
            XRTableCell cell;

            try
            {
                AddedOn_xrLabel.Text          = myCostSheet.AddedOn.ToString("MMMM dd, yyyy");
                TargetDate_xrLabel.Text       = myCostSheet.TargetDate.ToString("MMMM dd, yyyy");
                EndDate_xrLabel.Text          = myCostSheet.EndDate.ToString("MMMM dd, yyyy");
                JobStatus_xrLabel.Text        = myCostSheet.JobStatusDescription();
                ProjectManager_xrLabel.Text   = myCostSheet.ProjectManager;
                Quote_xrLabel.Text            = myCostSheet.QuoteID;
                WorkOrderID_xrLabel.Text      = myCostSheet.WorkOrderID;
                MonthsToComplete_xrLabel.Text = myCostSheet.MonthsToComplete.ToString();
                MenPerMonth_xrLabel.Text      = myCostSheet.MenPerMonth.ToString("N2");
                HoursPerMonth_xrLabel.Text    = myCostSheet.HoursPerMonth.ToString("N2");


                foreach (ForecastCostSheetDetail detail in myCostSheet.forecastCostSheetDetails)
                {
                    row = new XRTableRow();

                    cell = SetNewXRTableCell(detail.Description, TextAlignment.TopLeft, 260);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(detail.UnitCost.ToString("C2"), TextAlignment.TopRight, 90);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(detail.TotalCost.ToString("C2"), TextAlignment.TopRight, 90);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(detail.Quantity.ToString("N2"), TextAlignment.TopCenter, 110);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(detail.UnitPrice.ToString("C2"), TextAlignment.TopRight, 100);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(detail.TotalPrice.ToString("C2"), TextAlignment.TopRight, 100);
                    row.Cells.Add(cell);

                    Disciplines_xrTable.Rows.Add(row);

                    row = new XRTableRow();

                    row.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 10, 10, 96F);

                    cell = SetNewXRTableCell(detail.ReasonForCall, TextAlignment.TopLeft, 750);
                    row.Cells.Add(cell);

                    Disciplines_xrTable.Rows.Add(row);
                }

                foreach (Part part in myCostSheet.Parts)
                {
                    row = new XRTableRow();

                    cell = SetNewXRTableCell(part.Description, TextAlignment.TopLeft, 260);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(part.UnitCost.ToString("C2"), TextAlignment.TopRight, 90);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(part.TotalCost.ToString("C2"), TextAlignment.TopRight, 90);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(part.Quantity.ToString("N2"), TextAlignment.TopCenter, 110);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(part.UnitPrice.ToString("C2"), TextAlignment.TopRight, 100);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(part.TotalPrice.ToString("C2"), TextAlignment.TopRight, 100);
                    row.Cells.Add(cell);

                    Parts_xrTable.Rows.Add(row);
                }

                foreach (ForecastCostSheetDiscipline discipline in myCostSheet.forecastCostSheetDisciplines)
                {
                    row = new XRTableRow();

                    cell = SetNewXRTableCell(discipline.QuoteID, TextAlignment.TopLeft, 80);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(discipline.Discipline, TextAlignment.TopLeft, 180);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(discipline.Regular.ToString("N2"), TextAlignment.TopCenter, 75);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(discipline.OT.ToString("N2"), TextAlignment.TopCenter, 75);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(discipline.DT.ToString("N2"), TextAlignment.TopCenter, 75);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(discipline.TotalHours.ToString("N2"), TextAlignment.TopCenter, 85);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(discipline.HourlyCost.ToString("C2"), TextAlignment.TopRight, 90);
                    row.Cells.Add(cell);

                    cell = SetNewXRTableCell(discipline.HourlyRate.ToString("C2"), TextAlignment.TopRight, 90);
                    row.Cells.Add(cell);

                    Hours_xrTable.Rows.Add(row);
                }

                LabourCosts_xrLabel.Text  = myCostSheet.TotalLabourCost.ToString("C2");
                PartsCosts_xrLabel.Text   = myCostSheet.TotalPartsCost.ToString("C2");
                TotalCost_xrLabel.Text    = (myCostSheet.TotalPartsCost + myCostSheet.TotalLabourCost).ToString("C2");
                Contribution_xrLabel.Text = myCostSheet.Contribution.ToString("C2");
                TotalLabour_xrLabel.Text  = myCostSheet.TotalLabour.ToString("C2");
                TotalParts_xrLabel.Text   = myCostSheet.TotalParts.ToString("C2");
                TotalHours_xrLabel.Text   = myCostSheet.TotalHours.ToString("C2");
                ContPerHour_xrLabel.Text  = myCostSheet.ContributionPerHour.ToString("C2");
                PercentCont_xrLabel.Text  = myCostSheet.ContributionPercent.ToString("P2");

                TotalForecast_xrLabel.Text = myCostSheet.TotalForecast.ToString("C2");
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
            finally
            {
                if (myCostSheet != null)
                {
                    myCostSheet = null;
                }
            }
        }
コード例 #40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.Detail        = new DevExpress.XtraReports.UI.DetailBand();
     this.TopMargin     = new DevExpress.XtraReports.UI.TopMarginBand();
     this.BottomMargin  = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.GroupHeader1  = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel5      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrPanel2      = new DevExpress.XtraReports.UI.XRPanel();
     this.xrLabel12     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel11     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel10     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel9      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel8      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel7      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel2      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel32     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel33     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel34     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel35     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel13     = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTable3      = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow12  = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell1  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell7  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell8  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTable1      = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1   = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell9  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableRow2   = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.Detail.HeightF       = 309.9875F;
     this.Detail.Name          = "Detail";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // TopMargin
     //
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // BottomMargin
     //
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // GroupHeader1
     //
     this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrPanel2,
         this.xrLabel5
     });
     this.GroupHeader1.HeightF = 284.9875F;
     this.GroupHeader1.Name    = "GroupHeader1";
     //
     // xrLabel5
     //
     this.xrLabel5.Font                           = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold);
     this.xrLabel5.LocationFloat                  = new DevExpress.Utils.PointFloat(97.46242F, 0F);
     this.xrLabel5.Multiline                      = true;
     this.xrLabel5.Name                           = "xrLabel5";
     this.xrLabel5.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel5.SizeF                          = new System.Drawing.SizeF(856.853F, 84.22339F);
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text                           = "PHỤ LỤC 03-4\r\nTHUẾ THU NHẬP DOANH NGHIỆP ĐÃ NỘP Ở NƯỚC NGOÀI \r\nĐƯỢC TRỪ TRONG KỲ " +
                                                    "TÍNH THUẾ";
     this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrPanel2
     //
     this.xrPanel2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel12,
         this.xrLabel11,
         this.xrLabel10,
         this.xrLabel9,
         this.xrLabel8,
         this.xrLabel7,
         this.xrLabel6,
         this.xrLabel4,
         this.xrLabel3,
         this.xrLabel2,
         this.xrLabel1,
         this.xrLabel32,
         this.xrLabel33,
         this.xrLabel34,
         this.xrLabel35,
         this.xrLabel13,
         this.xrTable3
     });
     this.xrPanel2.LocationFloat = new DevExpress.Utils.PointFloat(10F, 104.3233F);
     this.xrPanel2.Name          = "xrPanel2";
     this.xrPanel2.SizeF         = new System.Drawing.SizeF(1031F, 180.6642F);
     //
     // xrLabel12
     //
     this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel12.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel12.LocationFloat                  = new DevExpress.Utils.PointFloat(845.6304F, 48.88937F);
     this.xrLabel12.Multiline                      = true;
     this.xrLabel12.Name                           = "xrLabel12";
     this.xrLabel12.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel12.SizeF                          = new System.Drawing.SizeF(101.298F, 80.80986F);
     this.xrLabel12.StylePriority.UseBorders       = false;
     this.xrLabel12.StylePriority.UseFont          = false;
     this.xrLabel12.StylePriority.UseTextAlignment = false;
     this.xrLabel12.Text                           = "Số thuế phải nộp theo Luật thuế TNDN";
     this.xrLabel12.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel11
     //
     this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel11.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel11.LocationFloat                  = new DevExpress.Utils.PointFloat(767.1689F, 49.34215F);
     this.xrLabel11.Multiline                      = true;
     this.xrLabel11.Name                           = "xrLabel11";
     this.xrLabel11.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel11.SizeF                          = new System.Drawing.SizeF(78.46136F, 80.35706F);
     this.xrLabel11.StylePriority.UseBorders       = false;
     this.xrLabel11.StylePriority.UseFont          = false;
     this.xrLabel11.StylePriority.UseTextAlignment = false;
     this.xrLabel11.Text                           = "Thuế suất thuế TNDN (%)";
     this.xrLabel11.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel10
     //
     this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel10.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel10.LocationFloat                  = new DevExpress.Utils.PointFloat(657.4122F, 48.88937F);
     this.xrLabel10.Multiline                      = true;
     this.xrLabel10.Name                           = "xrLabel10";
     this.xrLabel10.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel10.SizeF                          = new System.Drawing.SizeF(109.7568F, 80.80986F);
     this.xrLabel10.StylePriority.UseBorders       = false;
     this.xrLabel10.StylePriority.UseFont          = false;
     this.xrLabel10.StylePriority.UseTextAlignment = false;
     this.xrLabel10.Text                           = "Đồng Việt Nam";
     this.xrLabel10.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel9
     //
     this.xrLabel9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel9.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel9.LocationFloat                  = new DevExpress.Utils.PointFloat(596.7919F, 49.34215F);
     this.xrLabel9.Multiline                      = true;
     this.xrLabel9.Name                           = "xrLabel9";
     this.xrLabel9.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel9.SizeF                          = new System.Drawing.SizeF(60.6203F, 80.35709F);
     this.xrLabel9.StylePriority.UseBorders       = false;
     this.xrLabel9.StylePriority.UseFont          = false;
     this.xrLabel9.StylePriority.UseTextAlignment = false;
     this.xrLabel9.Text                           = "Ngoại tệ";
     this.xrLabel9.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel8
     //
     this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel8.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel8.LocationFloat                  = new DevExpress.Utils.PointFloat(596.7919F, 0F);
     this.xrLabel8.Name                           = "xrLabel8";
     this.xrLabel8.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel8.SizeF                          = new System.Drawing.SizeF(170.3771F, 48.88937F);
     this.xrLabel8.StylePriority.UseBorders       = false;
     this.xrLabel8.StylePriority.UseFont          = false;
     this.xrLabel8.StylePriority.UseTextAlignment = false;
     this.xrLabel8.Text                           = "Thu nhập chịu thuế theo Luật thuế TNDN";
     this.xrLabel8.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel7
     //
     this.xrLabel7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel7.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel7.LocationFloat                  = new DevExpress.Utils.PointFloat(462.7013F, 49.34215F);
     this.xrLabel7.Multiline                      = true;
     this.xrLabel7.Name                           = "xrLabel7";
     this.xrLabel7.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.SizeF                          = new System.Drawing.SizeF(134.0905F, 80.35709F);
     this.xrLabel7.StylePriority.UseBorders       = false;
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text                           = "Đồng Việt Nam";
     this.xrLabel7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel6
     //
     this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel6.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel6.LocationFloat                  = new DevExpress.Utils.PointFloat(350.4053F, 48.88945F);
     this.xrLabel6.Multiline                      = true;
     this.xrLabel6.Name                           = "xrLabel6";
     this.xrLabel6.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF                          = new System.Drawing.SizeF(112.296F, 80.80972F);
     this.xrLabel6.StylePriority.UseBorders       = false;
     this.xrLabel6.StylePriority.UseFont          = false;
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     this.xrLabel6.Text                           = "Ngoại tệ";
     this.xrLabel6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel4
     //
     this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel4.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel4.LocationFloat                  = new DevExpress.Utils.PointFloat(350.4054F, 8.60458E-05F);
     this.xrLabel4.Name                           = "xrLabel4";
     this.xrLabel4.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF                          = new System.Drawing.SizeF(246.3865F, 48.88937F);
     this.xrLabel4.StylePriority.UseBorders       = false;
     this.xrLabel4.StylePriority.UseFont          = false;
     this.xrLabel4.StylePriority.UseTextAlignment = false;
     this.xrLabel4.Text                           = "Thuế thu nhập đã nộp ở nước ngoài cho phần thu nhập nhận đuợc";
     this.xrLabel4.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel3
     //
     this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel3.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel3.LocationFloat                  = new DevExpress.Utils.PointFloat(299.4915F, 48.8894F);
     this.xrLabel3.Multiline                      = true;
     this.xrLabel3.Name                           = "xrLabel3";
     this.xrLabel3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.SizeF                          = new System.Drawing.SizeF(50.91382F, 80.80974F);
     this.xrLabel3.StylePriority.UseBorders       = false;
     this.xrLabel3.StylePriority.UseFont          = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text                           = "Đồng\r\nViệt\r\nNam";
     this.xrLabel3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel2
     //
     this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(245.7581F, 48.8894F);
     this.xrLabel2.Multiline                      = true;
     this.xrLabel2.Name                           = "xrLabel2";
     this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF                          = new System.Drawing.SizeF(53.73335F, 80.8098F);
     this.xrLabel2.StylePriority.UseBorders       = false;
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text                           = "Tên\r\nngoại \r\ntệ";
     this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel1
     //
     this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel1.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(199.0736F, 49.34215F);
     this.xrLabel1.Multiline                      = true;
     this.xrLabel1.Name                           = "xrLabel1";
     this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF                          = new System.Drawing.SizeF(46.68448F, 80.35699F);
     this.xrLabel1.StylePriority.UseBorders       = false;
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text                           = "Ngoại \r\ntệ";
     this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel32
     //
     this.xrLabel32.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel32.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel32.LocationFloat                  = new DevExpress.Utils.PointFloat(199.0736F, 0F);
     this.xrLabel32.Name                           = "xrLabel32";
     this.xrLabel32.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel32.SizeF                          = new System.Drawing.SizeF(151.3317F, 48.88937F);
     this.xrLabel32.StylePriority.UseBorders       = false;
     this.xrLabel32.StylePriority.UseFont          = false;
     this.xrLabel32.StylePriority.UseTextAlignment = false;
     this.xrLabel32.Text                           = "Thu nhập nhận được ở nước ngoài";
     this.xrLabel32.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel33
     //
     this.xrLabel33.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel33.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel33.LocationFloat                  = new DevExpress.Utils.PointFloat(767.1689F, 7.629395E-05F);
     this.xrLabel33.Name                           = "xrLabel33";
     this.xrLabel33.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel33.SizeF                          = new System.Drawing.SizeF(263.8311F, 48.8893F);
     this.xrLabel33.StylePriority.UseBorders       = false;
     this.xrLabel33.StylePriority.UseFont          = false;
     this.xrLabel33.StylePriority.UseTextAlignment = false;
     this.xrLabel33.Text                           = "Xác định thuế thu nhập đã nộp ở nước ngoài được trừ";
     this.xrLabel33.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel34
     //
     this.xrLabel34.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel34.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel34.LocationFloat                  = new DevExpress.Utils.PointFloat(39.74937F, 0F);
     this.xrLabel34.Name                           = "xrLabel34";
     this.xrLabel34.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel34.SizeF                          = new System.Drawing.SizeF(159.3242F, 129.6991F);
     this.xrLabel34.StylePriority.UseBorders       = false;
     this.xrLabel34.StylePriority.UseFont          = false;
     this.xrLabel34.StylePriority.UseTextAlignment = false;
     this.xrLabel34.Text                           = "Tên và địa chỉ của Người nộp thuế khấu trừ thuế ở nước ngoài";
     this.xrLabel34.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel35
     //
     this.xrLabel35.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                      | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel35.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel35.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel35.Name                           = "xrLabel35";
     this.xrLabel35.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel35.SizeF                          = new System.Drawing.SizeF(39.74936F, 129.6991F);
     this.xrLabel35.StylePriority.UseBorders       = false;
     this.xrLabel35.StylePriority.UseFont          = false;
     this.xrLabel35.StylePriority.UseTextAlignment = false;
     this.xrLabel35.Text                           = "STT";
     this.xrLabel35.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel13
     //
     this.xrLabel13.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrLabel13.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
     this.xrLabel13.LocationFloat                  = new DevExpress.Utils.PointFloat(946.9285F, 48.88937F);
     this.xrLabel13.Name                           = "xrLabel13";
     this.xrLabel13.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel13.SizeF                          = new System.Drawing.SizeF(84.07153F, 80.80986F);
     this.xrLabel13.StylePriority.UseBorders       = false;
     this.xrLabel13.StylePriority.UseFont          = false;
     this.xrLabel13.StylePriority.UseTextAlignment = false;
     this.xrLabel13.Text                           = "Số thuế đã nộp ở nước ngoài được khấu trừ";
     this.xrLabel13.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTable3
     //
     this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                     | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable3.Font          = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 129.6992F);
     this.xrTable3.Name          = "xrTable3";
     this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow12
     });
     this.xrTable3.SizeF = new System.Drawing.SizeF(1031F, 50.96494F);
     this.xrTable3.StylePriority.UseBorders       = false;
     this.xrTable3.StylePriority.UseFont          = false;
     this.xrTable3.StylePriority.UseTextAlignment = false;
     this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow12
     //
     this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell23,
         this.xrTableCell24,
         this.xrTableCell25,
         this.xrTableCell26,
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell3,
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6,
         this.xrTableCell7,
         this.xrTableCell8
     });
     this.xrTableRow12.Name   = "xrTableRow12";
     this.xrTableRow12.Weight = 1D;
     //
     // xrTableCell23
     //
     this.xrTableCell23.Name   = "xrTableCell23";
     this.xrTableCell23.Text   = "(1)";
     this.xrTableCell23.Weight = 0.11566254142683749D;
     //
     // xrTableCell24
     //
     this.xrTableCell24.Name   = "xrTableCell24";
     this.xrTableCell24.Text   = "(2)";
     this.xrTableCell24.Weight = 0.46360079220137496D;
     //
     // xrTableCell25
     //
     this.xrTableCell25.Name   = "xrTableCell25";
     this.xrTableCell25.Text   = "(3)";
     this.xrTableCell25.Weight = 0.13584253165653171D;
     //
     // xrTableCell26
     //
     this.xrTableCell26.Name   = "xrTableCell26";
     this.xrTableCell26.Weight = 0.15635325578967207D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.Name   = "xrTableCell1";
     this.xrTableCell1.Text   = "(4)";
     this.xrTableCell1.Weight = 0.14814911293855892D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.Name   = "xrTableCell2";
     this.xrTableCell2.Text   = "(5)";
     this.xrTableCell2.Weight = 0.32675823854561603D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.Name   = "xrTableCell3";
     this.xrTableCell3.Text   = "(6)";
     this.xrTableCell3.Weight = 0.39017628790459752D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Multiline = true;
     this.xrTableCell4.Name      = "xrTableCell4";
     this.xrTableCell4.Text      = "(7)=\r\n(3)+(5)";
     this.xrTableCell4.Weight    = 0.17639273815316564D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.Name   = "xrTableCell5";
     this.xrTableCell5.Text   = "(8)=(4)+(6)";
     this.xrTableCell5.Weight = 0.31936986497142095D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.Multiline = true;
     this.xrTableCell6.Name      = "xrTableCell6";
     this.xrTableCell6.Text      = "(9)";
     this.xrTableCell6.Weight    = 0.2283065928977043D;
     //
     // xrTableCell7
     //
     this.xrTableCell7.Multiline = true;
     this.xrTableCell7.Name      = "xrTableCell7";
     this.xrTableCell7.Text      = "(10)=\r\n(8)*(9)";
     this.xrTableCell7.Weight    = 0.29475700459211418D;
     //
     // xrTableCell8
     //
     this.xrTableCell8.Name   = "xrTableCell8";
     this.xrTableCell8.Text   = "(11)";
     this.xrTableCell8.Weight = 0.24463103892240637D;
     //
     // xrTable1
     //
     this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                     | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable1.Font          = new System.Drawing.Font("Times New Roman", 12F);
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(9.999985F, 0F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1,
         this.xrTableRow2
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(1031F, 66.18123F);
     this.xrTable1.StylePriority.UseBorders       = false;
     this.xrTable1.StylePriority.UseFont          = false;
     this.xrTable1.StylePriority.UseTextAlignment = false;
     this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell9,
         this.xrTableCell10,
         this.xrTableCell11,
         this.xrTableCell12,
         this.xrTableCell13,
         this.xrTableCell14,
         this.xrTableCell15,
         this.xrTableCell16,
         this.xrTableCell17,
         this.xrTableCell18,
         this.xrTableCell19,
         this.xrTableCell20
     });
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell9
     //
     this.xrTableCell9.Name = "xrTableCell9";
     this.xrTableCell9.StylePriority.UseTextAlignment = false;
     this.xrTableCell9.Text          = "1";
     this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell9.Weight        = 0.11566254142683749D;
     //
     // xrTableCell10
     //
     this.xrTableCell10.Name   = "xrTableCell10";
     this.xrTableCell10.Weight = 0.46360079220137496D;
     //
     // xrTableCell11
     //
     this.xrTableCell11.Name   = "xrTableCell11";
     this.xrTableCell11.Text   = "0";
     this.xrTableCell11.Weight = 0.13584253165653171D;
     //
     // xrTableCell12
     //
     this.xrTableCell12.Name   = "xrTableCell12";
     this.xrTableCell12.Weight = 0.15635325578967207D;
     //
     // xrTableCell13
     //
     this.xrTableCell13.Name   = "xrTableCell13";
     this.xrTableCell13.Text   = "0";
     this.xrTableCell13.Weight = 0.14814911293855892D;
     //
     // xrTableCell14
     //
     this.xrTableCell14.Name   = "xrTableCell14";
     this.xrTableCell14.Text   = "0";
     this.xrTableCell14.Weight = 0.32675823854561603D;
     //
     // xrTableCell15
     //
     this.xrTableCell15.Name   = "xrTableCell15";
     this.xrTableCell15.Text   = "0";
     this.xrTableCell15.Weight = 0.39017628790459752D;
     //
     // xrTableCell16
     //
     this.xrTableCell16.Multiline = true;
     this.xrTableCell16.Name      = "xrTableCell16";
     this.xrTableCell16.Text      = "0";
     this.xrTableCell16.Weight    = 0.17639273815316564D;
     //
     // xrTableCell17
     //
     this.xrTableCell17.Name   = "xrTableCell17";
     this.xrTableCell17.Text   = "0";
     this.xrTableCell17.Weight = 0.31936986497142095D;
     //
     // xrTableCell18
     //
     this.xrTableCell18.Multiline = true;
     this.xrTableCell18.Name      = "xrTableCell18";
     this.xrTableCell18.Text      = "25.000";
     this.xrTableCell18.Weight    = 0.2283065928977043D;
     //
     // xrTableCell19
     //
     this.xrTableCell19.Multiline = true;
     this.xrTableCell19.Name      = "xrTableCell19";
     this.xrTableCell19.Text      = "0";
     this.xrTableCell19.Weight    = 0.29475700459211418D;
     //
     // xrTableCell20
     //
     this.xrTableCell20.Name   = "xrTableCell20";
     this.xrTableCell20.Text   = "0";
     this.xrTableCell20.Weight = 0.24463103892240637D;
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell22,
         this.xrTableCell27,
         this.xrTableCell28,
         this.xrTableCell29,
         this.xrTableCell30,
         this.xrTableCell31,
         this.xrTableCell32,
         this.xrTableCell33,
         this.xrTableCell34,
         this.xrTableCell35,
         this.xrTableCell36
     });
     this.xrTableRow2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.xrTableRow2.Name = "xrTableRow2";
     this.xrTableRow2.StylePriority.UseFont = false;
     this.xrTableRow2.Weight = 1D;
     //
     // xrTableCell27
     //
     this.xrTableCell27.Name   = "xrTableCell27";
     this.xrTableCell27.Text   = "0";
     this.xrTableCell27.Weight = 0.13584253165653171D;
     //
     // xrTableCell28
     //
     this.xrTableCell28.Name   = "xrTableCell28";
     this.xrTableCell28.Weight = 0.15635325578967207D;
     //
     // xrTableCell29
     //
     this.xrTableCell29.Name   = "xrTableCell29";
     this.xrTableCell29.Text   = "0";
     this.xrTableCell29.Weight = 0.14814911293855892D;
     //
     // xrTableCell30
     //
     this.xrTableCell30.Name   = "xrTableCell30";
     this.xrTableCell30.Text   = "0";
     this.xrTableCell30.Weight = 0.32675823854561603D;
     //
     // xrTableCell31
     //
     this.xrTableCell31.Name   = "xrTableCell31";
     this.xrTableCell31.Text   = "0";
     this.xrTableCell31.Weight = 0.39017628790459752D;
     //
     // xrTableCell32
     //
     this.xrTableCell32.Name   = "xrTableCell32";
     this.xrTableCell32.Text   = "0";
     this.xrTableCell32.Weight = 0.17639273815316564D;
     //
     // xrTableCell33
     //
     this.xrTableCell33.Name   = "xrTableCell33";
     this.xrTableCell33.Text   = "0";
     this.xrTableCell33.Weight = 0.31936986497142095D;
     //
     // xrTableCell34
     //
     this.xrTableCell34.Name   = "xrTableCell34";
     this.xrTableCell34.Weight = 0.2283065928977043D;
     //
     // xrTableCell35
     //
     this.xrTableCell35.Name   = "xrTableCell35";
     this.xrTableCell35.Text   = "0";
     this.xrTableCell35.Weight = 0.29475700459211418D;
     //
     // xrTableCell36
     //
     this.xrTableCell36.Name   = "xrTableCell36";
     this.xrTableCell36.Text   = "0";
     this.xrTableCell36.Weight = 0.24463103892240637D;
     //
     // xrTableCell22
     //
     this.xrTableCell22.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
     this.xrTableCell22.Name = "xrTableCell22";
     this.xrTableCell22.StylePriority.UseFont          = false;
     this.xrTableCell22.StylePriority.UseTextAlignment = false;
     this.xrTableCell22.Text          = "Tổng cộng:";
     this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell22.Weight        = 0.57926333362821247D;
     //
     // Mau03_4_TNDN
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.GroupHeader1
     });
     this.Landscape  = true;
     this.Margins    = new System.Drawing.Printing.Margins(26, 23, 100, 100);
     this.PageHeight = 850;
     this.PageWidth  = 1100;
     this.Version    = "13.1";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #41
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        string resourceFileName = "rp_DanhSachGiamTruGiaCanh.resx";

        this.Detail             = new DevExpress.XtraReports.UI.DetailBand();
        this.xrTable2           = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2        = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrt_stt            = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_manhanvien     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_hovaten        = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_ngaysinh       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_soCMT          = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_ngaycap        = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_noicap         = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_songuoigiamtru = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_ghichu         = new DevExpress.XtraReports.UI.XRTableCell();
        this.TopMargin          = new DevExpress.XtraReports.UI.TopMarginBand();
        this.BottomMargin       = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.PageHeader         = new DevExpress.XtraReports.UI.PageHeaderBand();
        this.xrTable1           = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1        = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell4       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell1       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell5       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell2       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell6       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell7       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell8       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell9       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell3       = new DevExpress.XtraReports.UI.XRTableCell();
        this.ReportHeader       = new DevExpress.XtraReports.UI.ReportHeaderBand();
        this.xrLabel1           = new DevExpress.XtraReports.UI.XRLabel();
        this.ReportFooter       = new DevExpress.XtraReports.UI.ReportFooterBand();
        this.xrl_ten1           = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_ten3           = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_footer3        = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_footer1        = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_Ngay           = new DevExpress.XtraReports.UI.XRLabel();
        this.PageFooter         = new DevExpress.XtraReports.UI.PageFooterBand();
        this.xrPageInfo1        = new DevExpress.XtraReports.UI.XRPageInfo();
        this.xrl_TenCongTy      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_TenThanhPho    = new DevExpress.XtraReports.UI.XRLabel();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // Detail
        //
        this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2
        });
        this.Detail.HeightF       = 25F;
        this.Detail.Name          = "Detail";
        this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrTable2
        //
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.Font          = new System.Drawing.Font("Times New Roman", 10F);
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable2.Name          = "xrTable2";
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2
        });
        this.xrTable2.SizeF = new System.Drawing.SizeF(1077F, 25F);
        this.xrTable2.StylePriority.UseBorders = false;
        this.xrTable2.StylePriority.UseFont    = false;
        //
        // xrTableRow2
        //
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrt_stt,
            this.xrt_manhanvien,
            this.xrt_hovaten,
            this.xrt_ngaysinh,
            this.xrt_soCMT,
            this.xrt_ngaycap,
            this.xrt_noicap,
            this.xrt_songuoigiamtru,
            this.xrt_ghichu
        });
        this.xrTableRow2.Name   = "xrTableRow2";
        this.xrTableRow2.Weight = 1D;
        //
        // xrt_stt
        //
        this.xrt_stt.Name = "xrt_stt";
        this.xrt_stt.StylePriority.UseTextAlignment = false;
        this.xrt_stt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrt_stt.Weight        = 0.17621912199142581D;
        this.xrt_stt.BeforePrint  += new System.Drawing.Printing.PrintEventHandler(this.Detail_BeforePrint);
        //
        // xrt_manhanvien
        //
        this.xrt_manhanvien.Name    = "xrt_manhanvien";
        this.xrt_manhanvien.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrt_manhanvien.StylePriority.UsePadding       = false;
        this.xrt_manhanvien.StylePriority.UseTextAlignment = false;
        this.xrt_manhanvien.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrt_manhanvien.Weight        = 0.30281262411048493D;
        //
        // xrt_hovaten
        //
        this.xrt_hovaten.Name    = "xrt_hovaten";
        this.xrt_hovaten.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrt_hovaten.StylePriority.UsePadding       = false;
        this.xrt_hovaten.StylePriority.UseTextAlignment = false;
        this.xrt_hovaten.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrt_hovaten.Weight        = 0.44800973536244343D;
        //
        // xrt_ngaysinh
        //
        this.xrt_ngaysinh.Name = "xrt_ngaysinh";
        this.xrt_ngaysinh.StylePriority.UseTextAlignment = false;
        this.xrt_ngaysinh.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrt_ngaysinh.Weight        = 0.30798042318615071D;
        //
        // xrt_soCMT
        //
        this.xrt_soCMT.Name = "xrt_soCMT";
        this.xrt_soCMT.StylePriority.UseTextAlignment = false;
        this.xrt_soCMT.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrt_soCMT.Weight        = 0.31211542751131616D;
        //
        // xrt_ngaycap
        //
        this.xrt_ngaycap.Name = "xrt_ngaycap";
        this.xrt_ngaycap.StylePriority.UseTextAlignment = false;
        this.xrt_ngaycap.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrt_ngaycap.Weight        = 0.28145911766626042D;
        //
        // xrt_noicap
        //
        this.xrt_noicap.Name    = "xrt_noicap";
        this.xrt_noicap.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrt_noicap.StylePriority.UsePadding       = false;
        this.xrt_noicap.StylePriority.UseTextAlignment = false;
        this.xrt_noicap.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrt_noicap.Weight        = 0.37098494080779948D;
        //
        // xrt_songuoigiamtru
        //
        this.xrt_songuoigiamtru.Name    = "xrt_songuoigiamtru";
        this.xrt_songuoigiamtru.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrt_songuoigiamtru.StylePriority.UsePadding       = false;
        this.xrt_songuoigiamtru.StylePriority.UseTextAlignment = false;
        this.xrt_songuoigiamtru.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrt_songuoigiamtru.Weight        = 0.33347280178229455D;
        //
        // xrt_ghichu
        //
        this.xrt_ghichu.Name    = "xrt_ghichu";
        this.xrt_ghichu.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrt_ghichu.StylePriority.UsePadding       = false;
        this.xrt_ghichu.StylePriority.UseTextAlignment = false;
        this.xrt_ghichu.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrt_ghichu.Weight        = 0.46694580758182447D;
        //
        // TopMargin
        //
        this.TopMargin.HeightF       = 48F;
        this.TopMargin.Name          = "TopMargin";
        this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // BottomMargin
        //
        this.BottomMargin.HeightF       = 0F;
        this.BottomMargin.Name          = "BottomMargin";
        this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // PageHeader
        //
        this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1
        });
        this.PageHeader.HeightF = 25F;
        this.PageHeader.Name    = "PageHeader";
        //
        // xrTable1
        //
        this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable1.Font          = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable1.Name          = "xrTable1";
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1
        });
        this.xrTable1.SizeF = new System.Drawing.SizeF(1077F, 25F);
        this.xrTable1.StylePriority.UseBorders       = false;
        this.xrTable1.StylePriority.UseFont          = false;
        this.xrTable1.StylePriority.UseTextAlignment = false;
        this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrTableRow1
        //
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell4,
            this.xrTableCell1,
            this.xrTableCell5,
            this.xrTableCell2,
            this.xrTableCell6,
            this.xrTableCell7,
            this.xrTableCell8,
            this.xrTableCell9,
            this.xrTableCell3
        });
        this.xrTableRow1.Name   = "xrTableRow1";
        this.xrTableRow1.Weight = 1D;
        //
        // xrTableCell4
        //
        this.xrTableCell4.Name   = "xrTableCell4";
        this.xrTableCell4.Text   = "STT";
        this.xrTableCell4.Weight = 0.22948964436848957D;
        //
        // xrTableCell1
        //
        this.xrTableCell1.Name   = "xrTableCell1";
        this.xrTableCell1.Text   = "Mã cán bộ";
        this.xrTableCell1.Weight = 0.3943521465558909D;
        //
        // xrTableCell5
        //
        this.xrTableCell5.Name   = "xrTableCell5";
        this.xrTableCell5.Text   = "Họ và tên";
        this.xrTableCell5.Weight = 0.58344176137849024D;
        //
        // xrTableCell2
        //
        this.xrTableCell2.Name   = "xrTableCell2";
        this.xrTableCell2.Text   = "Ngày sinh";
        this.xrTableCell2.Weight = 0.40108200191527371D;
        //
        // xrTableCell6
        //
        this.xrTableCell6.Name   = "xrTableCell6";
        this.xrTableCell6.Text   = "Số CMT";
        this.xrTableCell6.Weight = 0.40646699447110152D;
        //
        // xrTableCell7
        //
        this.xrTableCell7.Name   = "xrTableCell7";
        this.xrTableCell7.Text   = "Ngày cấp";
        this.xrTableCell7.Weight = 0.36654369654526542D;
        //
        // xrTableCell8
        //
        this.xrTableCell8.Name   = "xrTableCell8";
        this.xrTableCell8.Text   = "Nơi cấp";
        this.xrTableCell8.Weight = 0.48313273215298691D;
        //
        // xrTableCell9
        //
        this.xrTableCell9.Name   = "xrTableCell9";
        this.xrTableCell9.Text   = "Số người giảm trừ";
        this.xrTableCell9.Weight = 0.43428098437346424D;
        //
        // xrTableCell3
        //
        this.xrTableCell3.Name   = "xrTableCell3";
        this.xrTableCell3.Text   = "Ghi chú";
        this.xrTableCell3.Weight = 0.608102198933755D;
        //
        // ReportHeader
        //
        this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrl_TenCongTy,
            this.xrl_TenThanhPho,
            this.xrLabel1
        });
        this.ReportHeader.HeightF = 123F;
        this.ReportHeader.Name    = "ReportHeader";
        //
        // xrLabel1
        //
        this.xrLabel1.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 79.79167F);
        this.xrLabel1.Multiline                      = true;
        this.xrLabel1.Name                           = "xrLabel1";
        this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel1.SizeF                          = new System.Drawing.SizeF(1077F, 25F);
        this.xrLabel1.StylePriority.UseFont          = false;
        this.xrLabel1.StylePriority.UseTextAlignment = false;
        this.xrLabel1.Text                           = "DANH SÁCH ĐĂNG KÝ GIẢM TRỪ GIA CẢNH TỪ THÁNG 1 ĐẾN THÁNG 2";
        this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // ReportFooter
        //
        this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrl_ten1,
            this.xrl_ten3,
            this.xrl_footer3,
            this.xrl_footer1,
            this.xrl_Ngay
        });
        this.ReportFooter.HeightF = 201F;
        this.ReportFooter.Name    = "ReportFooter";
        //
        // xrl_ten1
        //
        this.xrl_ten1.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_ten1.LocationFloat                  = new DevExpress.Utils.PointFloat(63.26265F, 175F);
        this.xrl_ten1.Name                           = "xrl_ten1";
        this.xrl_ten1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_ten1.SizeF                          = new System.Drawing.SizeF(302.1819F, 23F);
        this.xrl_ten1.StylePriority.UseFont          = false;
        this.xrl_ten1.StylePriority.UseTextAlignment = false;
        this.xrl_ten1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_ten3
        //
        this.xrl_ten3.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_ten3.LocationFloat                  = new DevExpress.Utils.PointFloat(779.4564F, 175F);
        this.xrl_ten3.Name                           = "xrl_ten3";
        this.xrl_ten3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_ten3.SizeF                          = new System.Drawing.SizeF(287.5437F, 23F);
        this.xrl_ten3.StylePriority.UseFont          = false;
        this.xrl_ten3.StylePriority.UseTextAlignment = false;
        this.xrl_ten3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_footer3
        //
        this.xrl_footer3.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_footer3.LocationFloat                  = new DevExpress.Utils.PointFloat(779.4564F, 75F);
        this.xrl_footer3.Name                           = "xrl_footer3";
        this.xrl_footer3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_footer3.SizeF                          = new System.Drawing.SizeF(287.5437F, 23F);
        this.xrl_footer3.StylePriority.UseFont          = false;
        this.xrl_footer3.StylePriority.UseTextAlignment = false;
        this.xrl_footer3.Text                           = "PHÒNG TCHC";
        this.xrl_footer3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_footer1
        //
        this.xrl_footer1.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_footer1.LocationFloat                  = new DevExpress.Utils.PointFloat(63.26265F, 75F);
        this.xrl_footer1.Name                           = "xrl_footer1";
        this.xrl_footer1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_footer1.SizeF                          = new System.Drawing.SizeF(304.1828F, 23F);
        this.xrl_footer1.StylePriority.UseFont          = false;
        this.xrl_footer1.StylePriority.UseTextAlignment = false;
        this.xrl_footer1.Text                           = "NGƯỜI LẬP";
        this.xrl_footer1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_Ngay
        //
        this.xrl_Ngay.Font                  = new System.Drawing.Font("Times New Roman", 12F);
        this.xrl_Ngay.LocationFloat         = new DevExpress.Utils.PointFloat(782.5416F, 10.00001F);
        this.xrl_Ngay.Name                  = "xrl_Ngay";
        this.xrl_Ngay.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_Ngay.SizeF                 = new System.Drawing.SizeF(294.4584F, 23F);
        this.xrl_Ngay.StylePriority.UseFont = false;
        this.xrl_Ngay.Text                  = "........., ngày ...... tháng....... năm .......";
        //
        // PageFooter
        //
        this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrPageInfo1
        });
        this.PageFooter.Name = "PageFooter";
        //
        // xrPageInfo1
        //
        this.xrPageInfo1.Font                           = new System.Drawing.Font("Times New Roman", 11F);
        this.xrPageInfo1.Format                         = "Trang {0} của {1}";
        this.xrPageInfo1.LocationFloat                  = new DevExpress.Utils.PointFloat(940.9583F, 31.25F);
        this.xrPageInfo1.Name                           = "xrPageInfo1";
        this.xrPageInfo1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrPageInfo1.SizeF                          = new System.Drawing.SizeF(126.0417F, 23.00001F);
        this.xrPageInfo1.StylePriority.UseFont          = false;
        this.xrPageInfo1.StylePriority.UseTextAlignment = false;
        this.xrPageInfo1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopRight;
        //
        // xrl_TenCongTy
        //
        this.xrl_TenCongTy.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_TenCongTy.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 35.00001F);
        this.xrl_TenCongTy.Name                           = "xrl_TenCongTy";
        this.xrl_TenCongTy.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_TenCongTy.SizeF                          = new System.Drawing.SizeF(451.0417F, 23F);
        this.xrl_TenCongTy.StylePriority.UseFont          = false;
        this.xrl_TenCongTy.StylePriority.UseTextAlignment = false;
        this.xrl_TenCongTy.Text                           = "CÔNG TY CỔ PHẦN CÔNG NGHỆ DTH VÀ GIẢI PHÁP SỐ";
        this.xrl_TenCongTy.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_TenThanhPho
        //
        this.xrl_TenThanhPho.Font                           = new System.Drawing.Font("Times New Roman", 11F);
        this.xrl_TenThanhPho.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 10.00001F);
        this.xrl_TenThanhPho.Name                           = "xrl_TenThanhPho";
        this.xrl_TenThanhPho.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_TenThanhPho.SizeF                          = new System.Drawing.SizeF(451.0416F, 23F);
        this.xrl_TenThanhPho.StylePriority.UseFont          = false;
        this.xrl_TenThanhPho.StylePriority.UseTextAlignment = false;
        this.xrl_TenThanhPho.Text                           = "THÀNH PHỐ HÀ NỘI";
        this.xrl_TenThanhPho.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // rp_DanhSachGiamTruGiaCanh
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.PageHeader,
            this.ReportHeader,
            this.ReportFooter,
            this.PageFooter
        });
        this.Landscape  = true;
        this.Margins    = new System.Drawing.Printing.Margins(9, 14, 48, 0);
        this.PageHeight = 850;
        this.PageWidth  = 1100;
        this.Version    = "10.1";
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }
コード例 #42
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        string resourceFileName = "rp_NhanVienTuCapNhat.resx";

        this.Detail          = new DevExpress.XtraReports.UI.DetailBand();
        this.xrTable2        = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2     = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrt_stt         = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_manhanvien  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_hoten       = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_ngaysinh    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_gioitinh    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_chucvu1     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_capnhat     = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_tthaiduyet  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_lydoduyet   = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrt_nguoiduyet  = new DevExpress.XtraReports.UI.XRTableCell();
        this.TopMargin       = new DevExpress.XtraReports.UI.TopMarginBand();
        this.BottomMargin    = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.ReportHeader    = new DevExpress.XtraReports.UI.ReportHeaderBand();
        this.xrl_NgayBaoCao  = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_TenCongTy   = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_TitleBC     = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_TenThanhPho = new DevExpress.XtraReports.UI.XRLabel();
        this.PageHeader      = new DevExpress.XtraReports.UI.PageHeaderBand();
        this.xrTable1        = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1     = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell1    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell2    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell4    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell3    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell5    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell6    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell8    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell12   = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell7    = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell15   = new DevExpress.XtraReports.UI.XRTableCell();
        this.ReportFooter    = new DevExpress.XtraReports.UI.ReportFooterBand();
        this.xrl_ten1        = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_ten2        = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_ten3        = new DevExpress.XtraReports.UI.XRLabel();
        this.xrtngayketxuat  = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_footer2     = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_footer3     = new DevExpress.XtraReports.UI.XRLabel();
        this.xrl_footer1     = new DevExpress.XtraReports.UI.XRLabel();
        this.PageFooter      = new DevExpress.XtraReports.UI.PageFooterBand();
        this.xrPageInfo1     = new DevExpress.XtraReports.UI.XRPageInfo();
        this.GroupHeader1    = new DevExpress.XtraReports.UI.GroupHeaderBand();
        this.xrTable3        = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow3     = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrt_donvi       = new DevExpress.XtraReports.UI.XRTableCell();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // Detail
        //
        this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2
        });
        this.Detail.HeightF       = 25F;
        this.Detail.Name          = "Detail";
        this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrTable2
        //
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable2.Name          = "xrTable2";
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2
        });
        this.xrTable2.SizeF = new System.Drawing.SizeF(1145F, 25F);
        this.xrTable2.StylePriority.UseBorders       = false;
        this.xrTable2.StylePriority.UseTextAlignment = false;
        this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrTableRow2
        //
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrt_stt,
            this.xrt_manhanvien,
            this.xrt_hoten,
            this.xrt_ngaysinh,
            this.xrt_gioitinh,
            this.xrt_chucvu1,
            this.xrt_capnhat,
            this.xrt_tthaiduyet,
            this.xrt_lydoduyet,
            this.xrt_nguoiduyet
        });
        this.xrTableRow2.Name   = "xrTableRow2";
        this.xrTableRow2.Weight = 1D;
        //
        // xrt_stt
        //
        this.xrt_stt.Name   = "xrt_stt";
        this.xrt_stt.Weight = 0.098976988146919354D;
        //
        // xrt_manhanvien
        //
        this.xrt_manhanvien.Name   = "xrt_manhanvien";
        this.xrt_manhanvien.Weight = 0.20966302463581468D;
        //
        // xrt_hoten
        //
        this.xrt_hoten.Name   = "xrt_hoten";
        this.xrt_hoten.Weight = 0.34954562791049743D;
        //
        // xrt_ngaysinh
        //
        this.xrt_ngaysinh.Name   = "xrt_ngaysinh";
        this.xrt_ngaysinh.Weight = 0.19954496825105761D;
        //
        // xrt_gioitinh
        //
        this.xrt_gioitinh.Name   = "xrt_gioitinh";
        this.xrt_gioitinh.Weight = 0.14885124639652697D;
        //
        // xrt_chucvu1
        //
        this.xrt_chucvu1.Name   = "xrt_chucvu1";
        this.xrt_chucvu1.Weight = 0.3978460186954148D;
        //
        // xrt_capnhat
        //
        this.xrt_capnhat.Name   = "xrt_capnhat";
        this.xrt_capnhat.Weight = 0.34880854844005865D;
        //
        // xrt_tthaiduyet
        //
        this.xrt_tthaiduyet.Name   = "xrt_tthaiduyet";
        this.xrt_tthaiduyet.Weight = 0.30162123634305055D;
        //
        // xrt_lydoduyet
        //
        this.xrt_lydoduyet.Name   = "xrt_lydoduyet";
        this.xrt_lydoduyet.Weight = 0.47257106064708981D;
        //
        // xrt_nguoiduyet
        //
        this.xrt_nguoiduyet.Name   = "xrt_nguoiduyet";
        this.xrt_nguoiduyet.Weight = 0.47257128053356989D;
        //
        // TopMargin
        //
        this.TopMargin.HeightF       = 49F;
        this.TopMargin.Name          = "TopMargin";
        this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // BottomMargin
        //
        this.BottomMargin.Name          = "BottomMargin";
        this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // ReportHeader
        //
        this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrl_NgayBaoCao,
            this.xrl_TenCongTy,
            this.xrl_TitleBC,
            this.xrl_TenThanhPho
        });
        this.ReportHeader.HeightF = 116F;
        this.ReportHeader.Name    = "ReportHeader";
        //
        // xrl_NgayBaoCao
        //
        this.xrl_NgayBaoCao.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Italic);
        this.xrl_NgayBaoCao.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 87.5F);
        this.xrl_NgayBaoCao.Name                           = "xrl_NgayBaoCao";
        this.xrl_NgayBaoCao.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_NgayBaoCao.SizeF                          = new System.Drawing.SizeF(1145F, 23.00001F);
        this.xrl_NgayBaoCao.StylePriority.UseFont          = false;
        this.xrl_NgayBaoCao.StylePriority.UseTextAlignment = false;
        this.xrl_NgayBaoCao.Text                           = "Từ ngày 14/3/2013 đến ngày 14/3/2013";
        this.xrl_NgayBaoCao.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_TenCongTy
        //
        this.xrl_TenCongTy.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_TenCongTy.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 25F);
        this.xrl_TenCongTy.Name                           = "xrl_TenCongTy";
        this.xrl_TenCongTy.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_TenCongTy.SizeF                          = new System.Drawing.SizeF(512.0417F, 23F);
        this.xrl_TenCongTy.StylePriority.UseFont          = false;
        this.xrl_TenCongTy.StylePriority.UseTextAlignment = false;
        this.xrl_TenCongTy.Text                           = "CÔNG TY CỔ PHẦN CÔNG NGHỆ DTH VÀ GIẢI PHÁP SỐ";
        this.xrl_TenCongTy.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_TitleBC
        //
        this.xrl_TitleBC.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_TitleBC.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 62.5F);
        this.xrl_TitleBC.Name                           = "xrl_TitleBC";
        this.xrl_TitleBC.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_TitleBC.SizeF                          = new System.Drawing.SizeF(1145F, 23F);
        this.xrl_TitleBC.StylePriority.UseFont          = false;
        this.xrl_TitleBC.StylePriority.UseTextAlignment = false;
        this.xrl_TitleBC.Text                           = "BÁO CÁO DANH SÁCH NHÂN VIÊN CHƯA ĐƯỢC DUYỆT";
        this.xrl_TitleBC.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_TenThanhPho
        //
        this.xrl_TenThanhPho.Font                           = new System.Drawing.Font("Times New Roman", 11F);
        this.xrl_TenThanhPho.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrl_TenThanhPho.Name                           = "xrl_TenThanhPho";
        this.xrl_TenThanhPho.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_TenThanhPho.SizeF                          = new System.Drawing.SizeF(512.0416F, 23F);
        this.xrl_TenThanhPho.StylePriority.UseFont          = false;
        this.xrl_TenThanhPho.StylePriority.UseTextAlignment = false;
        this.xrl_TenThanhPho.Text                           = "THÀNH PHỐ HÀ NỘI";
        this.xrl_TenThanhPho.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // PageHeader
        //
        this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1
        });
        this.PageHeader.HeightF = 40F;
        this.PageHeader.Name    = "PageHeader";
        //
        // xrTable1
        //
        this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable1.Name          = "xrTable1";
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1
        });
        this.xrTable1.SizeF = new System.Drawing.SizeF(1145F, 38.95833F);
        this.xrTable1.StylePriority.UseBorders       = false;
        this.xrTable1.StylePriority.UseTextAlignment = false;
        this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrTableRow1
        //
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell2,
            this.xrTableCell4,
            this.xrTableCell3,
            this.xrTableCell5,
            this.xrTableCell6,
            this.xrTableCell8,
            this.xrTableCell12,
            this.xrTableCell7,
            this.xrTableCell15
        });
        this.xrTableRow1.Font    = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
        this.xrTableRow1.Name    = "xrTableRow1";
        this.xrTableRow1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 5, 0, 100F);
        this.xrTableRow1.StylePriority.UseFont          = false;
        this.xrTableRow1.StylePriority.UsePadding       = false;
        this.xrTableRow1.StylePriority.UseTextAlignment = false;
        this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableRow1.Weight        = 1D;
        //
        // xrTableCell1
        //
        this.xrTableCell1.Name = "xrTableCell1";
        this.xrTableCell1.StylePriority.UseTextAlignment = false;
        this.xrTableCell1.Text          = "STT";
        this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell1.Weight        = 0.35416665980020634D;
        //
        // xrTableCell2
        //
        this.xrTableCell2.Name = "xrTableCell2";
        this.xrTableCell2.StylePriority.UseTextAlignment = false;
        this.xrTableCell2.Text          = "Mã NV";
        this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell2.Weight        = 0.75023152746237332D;
        //
        // xrTableCell4
        //
        this.xrTableCell4.Name = "xrTableCell4";
        this.xrTableCell4.StylePriority.UseTextAlignment = false;
        this.xrTableCell4.Text          = "Họ tên";
        this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell4.Weight        = 1.25076981170557D;
        //
        // xrTableCell3
        //
        this.xrTableCell3.Name = "xrTableCell3";
        this.xrTableCell3.StylePriority.UseTextAlignment = false;
        this.xrTableCell3.Text          = "Ngày sinh";
        this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell3.Weight        = 0.7140264970401129D;
        //
        // xrTableCell5
        //
        this.xrTableCell5.Name = "xrTableCell5";
        this.xrTableCell5.StylePriority.UseTextAlignment = false;
        this.xrTableCell5.Text          = "Giới tính";
        this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell5.Weight        = 0.53263067668854824D;
        //
        // xrTableCell6
        //
        this.xrTableCell6.Name = "xrTableCell6";
        this.xrTableCell6.StylePriority.UseTextAlignment = false;
        this.xrTableCell6.Text          = "Chức vụ";
        this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell6.Weight        = 1.4236014637790624D;
        //
        // xrTableCell8
        //
        this.xrTableCell8.Name = "xrTableCell8";
        this.xrTableCell8.StylePriority.UseTextAlignment = false;
        this.xrTableCell8.Text          = "Cập nhật lần cuối";
        this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell8.Weight        = 1.2481323343018298D;
        //
        // xrTableCell12
        //
        this.xrTableCell12.Name = "xrTableCell12";
        this.xrTableCell12.StylePriority.UseTextAlignment = false;
        this.xrTableCell12.Text          = "Trạng thái duyệt";
        this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell12.Weight        = 1.0792831036654136D;
        //
        // xrTableCell7
        //
        this.xrTableCell7.Name = "xrTableCell7";
        this.xrTableCell7.StylePriority.UseTextAlignment = false;
        this.xrTableCell7.Text          = "Lý do không được duyệt";
        this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell7.Weight        = 1.6909883991559858D;
        //
        // xrTableCell15
        //
        this.xrTableCell15.Name = "xrTableCell15";
        this.xrTableCell15.StylePriority.UseTextAlignment = false;
        this.xrTableCell15.Text          = "Người duyệt";
        this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell15.Weight        = 1.6909883991559858D;
        //
        // ReportFooter
        //
        this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrl_ten1,
            this.xrl_ten2,
            this.xrl_ten3,
            this.xrtngayketxuat,
            this.xrl_footer2,
            this.xrl_footer3,
            this.xrl_footer1
        });
        this.ReportFooter.HeightF = 226F;
        this.ReportFooter.Name    = "ReportFooter";
        //
        // xrl_ten1
        //
        this.xrl_ten1.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_ten1.LocationFloat                  = new DevExpress.Utils.PointFloat(39.58333F, 151.0417F);
        this.xrl_ten1.Name                           = "xrl_ten1";
        this.xrl_ten1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_ten1.SizeF                          = new System.Drawing.SizeF(302.1819F, 23F);
        this.xrl_ten1.StylePriority.UseFont          = false;
        this.xrl_ten1.StylePriority.UseTextAlignment = false;
        this.xrl_ten1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_ten2
        //
        this.xrl_ten2.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_ten2.LocationFloat                  = new DevExpress.Utils.PointFloat(414.5833F, 151.0417F);
        this.xrl_ten2.Name                           = "xrl_ten2";
        this.xrl_ten2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_ten2.SizeF                          = new System.Drawing.SizeF(302.1819F, 23F);
        this.xrl_ten2.StylePriority.UseFont          = false;
        this.xrl_ten2.StylePriority.UseTextAlignment = false;
        this.xrl_ten2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_ten3
        //
        this.xrl_ten3.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrl_ten3.LocationFloat                  = new DevExpress.Utils.PointFloat(827.0833F, 151.0417F);
        this.xrl_ten3.Name                           = "xrl_ten3";
        this.xrl_ten3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_ten3.SizeF                          = new System.Drawing.SizeF(282.4167F, 23F);
        this.xrl_ten3.StylePriority.UseFont          = false;
        this.xrl_ten3.StylePriority.UseTextAlignment = false;
        this.xrl_ten3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrtngayketxuat
        //
        this.xrtngayketxuat.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Italic);
        this.xrtngayketxuat.LocationFloat                  = new DevExpress.Utils.PointFloat(827.0833F, 26.04167F);
        this.xrtngayketxuat.Name                           = "xrtngayketxuat";
        this.xrtngayketxuat.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrtngayketxuat.SizeF                          = new System.Drawing.SizeF(282.4167F, 23F);
        this.xrtngayketxuat.StylePriority.UseFont          = false;
        this.xrtngayketxuat.StylePriority.UseTextAlignment = false;
        this.xrtngayketxuat.Text                           = "Hà Nội, ngày 15 tháng 4 năm 2013";
        this.xrtngayketxuat.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_footer2
        //
        this.xrl_footer2.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_footer2.LocationFloat                  = new DevExpress.Utils.PointFloat(414.5833F, 51.04167F);
        this.xrl_footer2.Name                           = "xrl_footer2";
        this.xrl_footer2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_footer2.SizeF                          = new System.Drawing.SizeF(304.1828F, 23F);
        this.xrl_footer2.StylePriority.UseFont          = false;
        this.xrl_footer2.StylePriority.UseTextAlignment = false;
        this.xrl_footer2.Text                           = "PHÒNG TCHC";
        this.xrl_footer2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_footer3
        //
        this.xrl_footer3.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_footer3.LocationFloat                  = new DevExpress.Utils.PointFloat(827.0833F, 51.04167F);
        this.xrl_footer3.Name                           = "xrl_footer3";
        this.xrl_footer3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_footer3.SizeF                          = new System.Drawing.SizeF(281.9166F, 23F);
        this.xrl_footer3.StylePriority.UseFont          = false;
        this.xrl_footer3.StylePriority.UseTextAlignment = false;
        this.xrl_footer3.Text                           = "GIÁM ĐỐC";
        this.xrl_footer3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrl_footer1
        //
        this.xrl_footer1.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrl_footer1.LocationFloat                  = new DevExpress.Utils.PointFloat(39.58333F, 51.04167F);
        this.xrl_footer1.Name                           = "xrl_footer1";
        this.xrl_footer1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrl_footer1.SizeF                          = new System.Drawing.SizeF(304.1828F, 23F);
        this.xrl_footer1.StylePriority.UseFont          = false;
        this.xrl_footer1.StylePriority.UseTextAlignment = false;
        this.xrl_footer1.Text                           = "NGƯỜI LẬP";
        this.xrl_footer1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // PageFooter
        //
        this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrPageInfo1
        });
        this.PageFooter.Name = "PageFooter";
        //
        // xrPageInfo1
        //
        this.xrPageInfo1.Font                           = new System.Drawing.Font("Times New Roman", 11F);
        this.xrPageInfo1.Format                         = "Trang {0} của {1}";
        this.xrPageInfo1.LocationFloat                  = new DevExpress.Utils.PointFloat(1018.958F, 38.54167F);
        this.xrPageInfo1.Name                           = "xrPageInfo1";
        this.xrPageInfo1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrPageInfo1.SizeF                          = new System.Drawing.SizeF(126.0417F, 23.00001F);
        this.xrPageInfo1.StylePriority.UseFont          = false;
        this.xrPageInfo1.StylePriority.UseTextAlignment = false;
        this.xrPageInfo1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopRight;
        //
        // GroupHeader1
        //
        this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable3
        });
        this.GroupHeader1.HeightF = 25F;
        this.GroupHeader1.Name    = "GroupHeader1";
        //
        // xrTable3
        //
        this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable3.Name          = "xrTable3";
        this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow3
        });
        this.xrTable3.SizeF = new System.Drawing.SizeF(1145F, 25F);
        this.xrTable3.StylePriority.UseBorders       = false;
        this.xrTable3.StylePriority.UseTextAlignment = false;
        this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrTableRow3
        //
        this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrt_donvi
        });
        this.xrTableRow3.Name   = "xrTableRow3";
        this.xrTableRow3.Weight = 1D;
        //
        // xrt_donvi
        //
        this.xrt_donvi.Name   = "xrt_donvi";
        this.xrt_donvi.Weight = 2.9999999999999996D;
        //
        // rp_NhanVienTuCapNhat
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.ReportHeader,
            this.PageHeader,
            this.ReportFooter,
            this.PageFooter,
            this.GroupHeader1
        });
        this.Landscape  = true;
        this.Margins    = new System.Drawing.Printing.Margins(12, 12, 49, 100);
        this.PageHeight = 827;
        this.PageWidth  = 1169;
        this.PaperKind  = System.Drawing.Printing.PaperKind.A4;
        this.Version    = "10.1";
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }
コード例 #43
0
        private void ShowReservationInvoice()
        {
            xrReservation reservationInvoiceReport = new xrReservation();

            if (Request.QueryString["ReservationID"] == null || Request.QueryString["ReservationID"] == string.Empty)
            {
                return;
            }

            ResMan.Reservation reservation = new ResMan.Reservation();
            reservation.ReservationId = Convert.ToInt64(Request.QueryString["ReservationID"].ToString());
            reservation = reservation.Select();

            reservationInvoiceReport.xrCellInvoiceNo.Text = "Invoice No - INV" + reservation.ReservationId.ToString();
            reservationInvoiceReport.xrCellInvoiceDate.Text = "Invoice Date - " + DateTime.Now.ToString();
            reservationInvoiceReport.xrCellReservationCode.Text = "Code - " + reservation.ReservationCode;
            reservationInvoiceReport.xrCellReservationDate.Text = "Booking Date - " + reservation.BookingDate.ToString();

            StringBuilder sbCustomer = new StringBuilder();
            sbCustomer.Append(reservation.CustomerName + Environment.NewLine);
            sbCustomer.Append(reservation.BillingAddressLine1 + Environment.NewLine);
            sbCustomer.Append(reservation.BillingAddressLine2 + Environment.NewLine);
            sbCustomer.Append(reservation.BillingCity + ", ");
            sbCustomer.Append(reservation.BillingPostCode + Environment.NewLine);
            sbCustomer.Append(reservation.BillingState + ", " + reservation.CountryName);

            reservationInvoiceReport.xrCellCustomer.Text = sbCustomer.ToString();

            Company company = new Company();
            company.CompanyId = SessionHandler.CurrentCompanyId;
            company = company.Select();

            if (company.CompanyLogo != null)
            {
                reservationInvoiceReport.xrPbLogo.Image = (Bitmap)((new ImageConverter()).ConvertFrom(company.CompanyLogo)); ;
            }

            reservationInvoiceReport.xrCellCompanyName.Text = company.CompanyName;

            StringBuilder sbCompany = new StringBuilder();
            sbCompany.Append(company.CompanyAddress + Environment.NewLine);
            sbCompany.Append(company.CompanyCity + Environment.NewLine);
            sbCompany.Append(company.CompanyEmail + Environment.NewLine);
            sbCompany.Append("Tel - " + company.CompanyTelephone + Environment.NewLine);
            sbCompany.Append("Fax - " + company.CompanyFax);

            reservationInvoiceReport.xrCellCompnayAddress.Text = sbCompany.ToString();

            DataSet dsRoomInfo = new DataSet();
            dsRoomInfo = reservation.ReservationRoomDataSet;

            //// Room info section
            if (dsRoomInfo != null && dsRoomInfo.Tables.Count > 0 && dsRoomInfo.Tables[0] != null && dsRoomInfo.Tables[0].Rows.Count > 0)
            {
                decimal roomInfoTotal;
                roomInfoTotal = 0;

                for (int i = 0; i <= dsRoomInfo.Tables[0].Rows.Count - 1; i++)
                {
                    if (i == 0)
                    {
                        reservationInvoiceReport.xrCellCustomerName.Text = dsRoomInfo.Tables[0].Rows[i]["Sharers"] != null ? dsRoomInfo.Tables[0].Rows[i]["Sharers"].ToString() : string.Empty;
                        reservationInvoiceReport.xrCellCheckIn.Text = dsRoomInfo.Tables[0].Rows[i]["CheckInDate"] != null ? Convert.ToDateTime(dsRoomInfo.Tables[0].Rows[i]["CheckInDate"].ToString()).ToShortDateString() : string.Empty;
                        reservationInvoiceReport.xrCellCheckOut.Text = dsRoomInfo.Tables[0].Rows[i]["CheckOutDate"] != null ? Convert.ToDateTime(dsRoomInfo.Tables[0].Rows[i]["CheckOutDate"].ToString()).ToShortDateString() : string.Empty;
                        reservationInvoiceReport.xrCellRoom.Text = dsRoomInfo.Tables[0].Rows[i]["RoomName"] != null ? dsRoomInfo.Tables[0].Rows[i]["RoomName"].ToString() : string.Empty;
                        reservationInvoiceReport.xrCellRate.Text = dsRoomInfo.Tables[0].Rows[i]["Rate"] != null ? dsRoomInfo.Tables[0].Rows[i]["Rate"].ToString() : string.Empty;
                        reservationInvoiceReport.xrCellNights.Text = dsRoomInfo.Tables[0].Rows[i]["Days"] != null ? dsRoomInfo.Tables[0].Rows[i]["Days"].ToString() : string.Empty;
                        reservationInvoiceReport.xrCellAmount.Text = dsRoomInfo.Tables[0].Rows[i]["Amount"] != null ? dsRoomInfo.Tables[0].Rows[i]["Amount"].ToString() : string.Empty;
                        roomInfoTotal = Convert.ToDecimal(reservationInvoiceReport.xrCellAmount.Text);
                    }
                    else
                    {
                        XRTableCell cell1 = new XRTableCell();
                        XRTableCell cell2 = new XRTableCell();
                        XRTableCell cell3 = new XRTableCell();
                        XRTableCell cell4 = new XRTableCell();
                        XRTableCell cell5 = new XRTableCell();
                        XRTableCell cell6 = new XRTableCell();
                        XRTableCell cell7 = new XRTableCell();

                        cell1.Text = dsRoomInfo.Tables[0].Rows[i]["Sharers"] != null ? dsRoomInfo.Tables[0].Rows[i]["Sharers"].ToString() : string.Empty;
                        cell2.Text = dsRoomInfo.Tables[0].Rows[i]["CheckInDate"] != null ? Convert.ToDateTime(dsRoomInfo.Tables[0].Rows[i]["CheckInDate"].ToString()).ToShortDateString() : string.Empty;
                        cell3.Text = dsRoomInfo.Tables[0].Rows[i]["CheckOutDate"] != null ? Convert.ToDateTime(dsRoomInfo.Tables[0].Rows[i]["CheckOutDate"].ToString()).ToShortDateString() : string.Empty;
                        cell4.Text = dsRoomInfo.Tables[0].Rows[i]["RoomName"] != null ? dsRoomInfo.Tables[0].Rows[i]["RoomName"].ToString() : string.Empty;
                        cell5.Text = dsRoomInfo.Tables[0].Rows[i]["Rate"] != null ? dsRoomInfo.Tables[0].Rows[i]["Rate"].ToString() : string.Empty;
                        cell6.Text = dsRoomInfo.Tables[0].Rows[i]["Days"] != null ? dsRoomInfo.Tables[0].Rows[i]["Days"].ToString() : string.Empty;
                        cell7.Text = dsRoomInfo.Tables[0].Rows[i]["Amount"] != null ? dsRoomInfo.Tables[0].Rows[i]["Amount"].ToString() : string.Empty;

                        roomInfoTotal = roomInfoTotal + Convert.ToDecimal(cell7.Text);

                        XRTableRow dataRow = new XRTableRow();
                        dataRow.Cells.Add(cell1);
                        dataRow.Cells.Add(cell2);
                        dataRow.Cells.Add(cell3);
                        dataRow.Cells.Add(cell4);
                        dataRow.Cells.Add(cell5);
                        dataRow.Cells.Add(cell6);
                        dataRow.Cells.Add(cell7);

                        cell1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF;
                        cell2.WidthF = reservationInvoiceReport.xrCellCheckIn.WidthF;
                        cell3.WidthF = reservationInvoiceReport.xrCellCheckOut.WidthF;
                        cell4.WidthF = reservationInvoiceReport.xrCellRoom.WidthF;
                        cell5.WidthF = reservationInvoiceReport.xrCellRate.WidthF;
                        cell6.WidthF = reservationInvoiceReport.xrCellNights.WidthF;
                        cell7.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;

                        cell1.TextAlignment = reservationInvoiceReport.xrCellCustomerName.TextAlignment;
                        cell7.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;

                        reservationInvoiceReport.xrTableRoomInfo.Rows.Add(dataRow);

                    }
                }

                //// Add total row
                XRTableCell cellFooter1 = new XRTableCell();
                XRTableCell cellFooter2 = new XRTableCell();

                cellFooter1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cellFooter2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);

                XRTableRow tableRowFooter = new XRTableRow();
                cellFooter1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
                cellFooter2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
                cellFooter1.Text = "Room Total";
                cellFooter1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                cellFooter2.Text = roomInfoTotal.ToString();
                cellFooter2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
                tableRowFooter.Cells.Add(cellFooter1);
                tableRowFooter.Cells.Add(cellFooter2);
                reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowFooter);

                XRTableCell blankCell = new XRTableCell();
                blankCell.Text = " ";
                blankCell.BackColor = System.Drawing.Color.LightGray;
                XRTableRow blankRow = new XRTableRow();
                blankRow.Cells.Add(blankCell);
                reservationInvoiceReport.xrTableRoomInfo.Rows.Add(blankRow);
            }

            //// Additional Service section

            DataSet dsAdditionalService = new DataSet();
            dsAdditionalService = reservation.ReservationAdditionalServiceDataSet;

            if (dsAdditionalService != null && dsAdditionalService.Tables.Count > 0 && dsAdditionalService.Tables[0] != null && dsAdditionalService.Tables[0].Rows.Count > 0)
            {

                XRTableCell cell1 = new XRTableCell();
                XRTableCell cell2 = new XRTableCell();
                XRTableCell cell3 = new XRTableCell();

                cell1.Text = "Service Type";
                cell2.Text = "Note";
                cell3.Text = "Amount";

                cell1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF;
                cell2.WidthF = reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
                cell3.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;

                cell1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cell2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cell3.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);

                XRTableRow headerRow = new XRTableRow();
                headerRow.Cells.Add(cell1);
                headerRow.Cells.Add(cell2);
                headerRow.Cells.Add(cell3);

                reservationInvoiceReport.xrTableRoomInfo.Rows.Add(headerRow);

                decimal serviceTotal;
                serviceTotal = 0;

                for (int i = 0; i <= dsAdditionalService.Tables[0].Rows.Count - 1; i++)
                {
                    XRTableCell dataCell1 = new XRTableCell();
                    XRTableCell dataCell2 = new XRTableCell();
                    XRTableCell dataCell3 = new XRTableCell();

                    dataCell1.Text = dsAdditionalService.Tables[0].Rows[i]["ServiceName"] != null ? dsAdditionalService.Tables[0].Rows[i]["ServiceName"].ToString() : string.Empty;
                    dataCell2.Text = dsAdditionalService.Tables[0].Rows[i]["Note"] != null ? dsAdditionalService.Tables[0].Rows[i]["Note"].ToString() : string.Empty;
                    dataCell3.Text = dsAdditionalService.Tables[0].Rows[i]["Amount"] != null ? dsAdditionalService.Tables[0].Rows[i]["Amount"].ToString() : string.Empty;

                    serviceTotal = serviceTotal + Convert.ToDecimal(dataCell3.Text);

                    dataCell1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF;
                    dataCell2.WidthF = reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
                    dataCell3.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
                    dataCell3.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;

                    XRTableRow dataRow = new XRTableRow();
                    dataRow.Cells.Add(dataCell1);
                    dataRow.Cells.Add(dataCell2);
                    dataRow.Cells.Add(dataCell3);

                    reservationInvoiceReport.xrTableRoomInfo.Rows.Add(dataRow);

                }

                XRTableCell cellFooter1 = new XRTableCell();
                XRTableCell cellFooter2 = new XRTableCell();

                cellFooter1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cellFooter2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);

                XRTableRow tableRowFooter = new XRTableRow();
                cellFooter1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
                cellFooter2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
                cellFooter1.Text = "Service Total";
                cellFooter1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                cellFooter2.Text = serviceTotal.ToString();
                cellFooter2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
                tableRowFooter.Cells.Add(cellFooter1);
                tableRowFooter.Cells.Add(cellFooter2);
                reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowFooter);

                XRTableCell blankCell1 = new XRTableCell();
                blankCell1.Text = " ";
                blankCell1.BackColor = System.Drawing.Color.LightGray;
                XRTableRow blankRow1 = new XRTableRow();
                blankRow1.Cells.Add(blankCell1);
                reservationInvoiceReport.xrTableRoomInfo.Rows.Add(blankRow1);
            }

            //// Display Net Total
            XRTableRow tableRowNetTotal = new XRTableRow();
            XRTableCell cellNetTotal1 = new XRTableCell();
            XRTableCell cellNetTotal2 = new XRTableCell();
            cellNetTotal1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellNetTotal2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellNetTotal1.Text = "Net Total";
            cellNetTotal2.Text = reservation.NetTotal.ToString();
            cellNetTotal1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
            cellNetTotal2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
            cellNetTotal1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            cellNetTotal2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
            tableRowNetTotal.Cells.Add(cellNetTotal1);
            tableRowNetTotal.Cells.Add(cellNetTotal2);
            reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowNetTotal);

            //// Display Discount
            XRTableRow tableRowDiscount = new XRTableRow();
            XRTableCell cellDiscount1 = new XRTableCell();
            XRTableCell cellDiscount2 = new XRTableCell();
            cellDiscount1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellDiscount2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellDiscount1.Text = "Discount";
            cellDiscount2.Text = reservation.Discount.ToString();
            cellDiscount1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
            cellDiscount2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
            cellDiscount1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            cellDiscount2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
            tableRowDiscount.Cells.Add(cellDiscount1);
            tableRowDiscount.Cells.Add(cellDiscount2);
            reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowDiscount);

            //// Display Tax Amount
            XRTableRow tableRowTaxType = new XRTableRow();
            XRTableCell cellTaxType1 = new XRTableCell();
            XRTableCell cellTaxType2 = new XRTableCell();
            cellTaxType1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellTaxType2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellTaxType1.Text = "Tax Amount";
            cellTaxType2.Text = reservation.TaxAmount.ToString();
            cellTaxType1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
            cellTaxType2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
            cellTaxType1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            cellTaxType2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
            tableRowTaxType.Cells.Add(cellTaxType1);
            tableRowTaxType.Cells.Add(cellTaxType2);
            reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowTaxType);

            //// Display Total
            XRTableRow tableRowTotal = new XRTableRow();
            XRTableCell cellTotal1 = new XRTableCell();
            XRTableCell cellTotal2 = new XRTableCell();
            cellTotal1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellTotal2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellTotal1.Text = "Total";
            cellTotal2.Text = reservation.Total.ToString();
            cellTotal1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
            cellTotal2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
            cellTotal1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            cellTotal2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
            tableRowTotal.Cells.Add(cellTotal1);
            tableRowTotal.Cells.Add(cellTotal2);
            reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowTotal);

            //// Display Paid Amount
            XRTableRow tableRowPaidAmount = new XRTableRow();
            XRTableCell cellPaidAmount1 = new XRTableCell();
            XRTableCell cellPaidAmount2 = new XRTableCell();
            cellPaidAmount1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellPaidAmount2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellPaidAmount1.Text = "Paid Amount";
            cellPaidAmount2.Text = reservation.PaidAmount.ToString();
            cellPaidAmount1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
            cellPaidAmount2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
            cellPaidAmount1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            cellPaidAmount2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
            tableRowPaidAmount.Cells.Add(cellPaidAmount1);
            tableRowPaidAmount.Cells.Add(cellPaidAmount2);
            reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowPaidAmount);

            //// Display Balance
            XRTableRow tableRowBalance = new XRTableRow();
            XRTableCell cellBalance1 = new XRTableCell();
            XRTableCell cellBalance2 = new XRTableCell();
            cellBalance1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellBalance2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
            cellBalance1.Text = "Balance";
            cellBalance2.Text = reservation.Balance.ToString();
            cellBalance1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
            cellBalance2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
            cellBalance1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            cellBalance2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
            tableRowBalance.Cells.Add(cellBalance1);
            tableRowBalance.Cells.Add(cellBalance2);
            reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowBalance);

            //// Payment section
            DataSet dsPaymentSection = new DataSet();
            dsPaymentSection = reservation.ReservationPaymentDataSet;

            if (dsPaymentSection != null && dsPaymentSection.Tables.Count > 0 && dsPaymentSection.Tables[0] != null && dsPaymentSection.Tables[0].Rows.Count > 0)
            {

                XRTableCell blankCell = new XRTableCell();
                blankCell.Text = " ";
                blankCell.BackColor = System.Drawing.Color.LightGray;
                XRTableRow blankRow = new XRTableRow();
                blankRow.Cells.Add(blankCell);
                reservationInvoiceReport.xrTableRoomInfo.Rows.Add(blankRow);

                XRTableCell cell1 = new XRTableCell();
                XRTableCell cell2 = new XRTableCell();
                XRTableCell cell3 = new XRTableCell();
                XRTableCell cell4 = new XRTableCell();
                XRTableCell cell5 = new XRTableCell();
                XRTableCell cell6 = new XRTableCell();

                cell1.Text = "Type";
                cell2.Text = "Payment Date";
                cell3.Text = "Card Type";
                cell4.Text = "Card No";
                cell5.Text = "Name on Card";
                cell6.Text = "Amount";

                cell1.WidthF = 110;
                cell2.WidthF = 126;
                cell3.WidthF = 99;
                cell4.WidthF = 161;
                cell5.WidthF = 168;
                cell6.WidthF = 117;

                cell1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cell2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cell3.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cell4.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cell5.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cell6.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);

                XRTableRow headerRow = new XRTableRow();
                headerRow.Cells.Add(cell1);
                headerRow.Cells.Add(cell2);
                headerRow.Cells.Add(cell3);
                headerRow.Cells.Add(cell4);
                headerRow.Cells.Add(cell5);
                headerRow.Cells.Add(cell6);

                reservationInvoiceReport.xrTableRoomInfo.Rows.Add(headerRow);

                decimal paymentTotal;
                paymentTotal = 0;

                for (int i = 0; i <= dsPaymentSection.Tables[0].Rows.Count - 1; i++)
                {

                    XRTableCell dataCell1 = new XRTableCell();
                    XRTableCell dataCell2 = new XRTableCell();
                    XRTableCell dataCell3 = new XRTableCell();
                    XRTableCell dataCell4 = new XRTableCell();
                    XRTableCell dataCell5 = new XRTableCell();
                    XRTableCell dataCell6 = new XRTableCell();

                    dataCell1.Text = dsPaymentSection.Tables[0].Rows[i]["PaymentTypeName"] != null ? dsPaymentSection.Tables[0].Rows[i]["PaymentTypeName"].ToString() : string.Empty;
                    dataCell2.Text = dsPaymentSection.Tables[0].Rows[i]["PaymentDate"] != null ? Convert.ToDateTime(dsPaymentSection.Tables[0].Rows[i]["PaymentDate"].ToString()).ToShortDateString() : string.Empty;
                    dataCell3.Text = dsPaymentSection.Tables[0].Rows[i]["Name"] != null ? dsPaymentSection.Tables[0].Rows[i]["Name"].ToString() : string.Empty;
                    dataCell4.Text = dsPaymentSection.Tables[0].Rows[i]["CCNo"] != null ? dsPaymentSection.Tables[0].Rows[i]["CCNo"].ToString() : string.Empty;
                    dataCell5.Text = dsPaymentSection.Tables[0].Rows[i]["CCNameOnCard"] != null ? dsPaymentSection.Tables[0].Rows[i]["CCNameOnCard"].ToString() : string.Empty;
                    dataCell6.Text = dsPaymentSection.Tables[0].Rows[i]["Amount"] != null ? dsPaymentSection.Tables[0].Rows[i]["Amount"].ToString() : string.Empty;

                    paymentTotal = paymentTotal + Convert.ToDecimal(dataCell6.Text);

                    dataCell1.WidthF = 110;
                    dataCell2.WidthF = 126;
                    dataCell3.WidthF = 99;
                    dataCell4.WidthF = 161;
                    dataCell5.WidthF = 168;
                    dataCell6.WidthF = 117;

                    dataCell6.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;

                    XRTableRow dataRow = new XRTableRow();
                    dataRow.Cells.Add(dataCell1);
                    dataRow.Cells.Add(dataCell2);
                    dataRow.Cells.Add(dataCell3);
                    dataRow.Cells.Add(dataCell4);
                    dataRow.Cells.Add(dataCell5);
                    dataRow.Cells.Add(dataCell6);

                    reservationInvoiceReport.xrTableRoomInfo.Rows.Add(dataRow);

                }

                XRTableCell cellFooter1 = new XRTableCell();
                XRTableCell cellFooter2 = new XRTableCell();

                cellFooter1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);
                cellFooter2.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold);

                XRTableRow tableRowFooter = new XRTableRow();
                cellFooter1.WidthF = reservationInvoiceReport.xrCellCustomerName.WidthF + reservationInvoiceReport.xrCellCheckIn.WidthF + reservationInvoiceReport.xrCellCheckOut.WidthF + reservationInvoiceReport.xrCellRoom.WidthF + reservationInvoiceReport.xrCellRate.WidthF + reservationInvoiceReport.xrCellNights.WidthF;
                cellFooter2.WidthF = reservationInvoiceReport.xrCellAmount.WidthF;
                cellFooter1.Text = "Total";
                cellFooter1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                cellFooter2.Text = paymentTotal.ToString();
                cellFooter2.TextAlignment = reservationInvoiceReport.xrCellAmount.TextAlignment;
                tableRowFooter.Cells.Add(cellFooter1);
                tableRowFooter.Cells.Add(cellFooter2);
                reservationInvoiceReport.xrTableRoomInfo.Rows.Add(tableRowFooter);

            }

            rvReportViewer.Report = reservationInvoiceReport;
        }
コード例 #44
0
        private XtraReport GenerateReport()
        {
            RZ0011 report = new RZ0011();

            DataTable dtMain = daoUPF.ListDataByUserId(ddlUserId.EditValue.AsString());

            report.DataSource     = dtMain;
            report.Detail.Borders = DevExpress.XtraPrinting.BorderSide.All;

            XRTable table = new XRTable();

            XRTableRow headerRow = new XRTableRow();

            headerRow.BackColor = System.Drawing.SystemColors.Control;
            table.Controls.Add(headerRow);
            report.Detail.Controls.Add(table);

            XRTableRow contentRow = new XRTableRow();

            table.Controls.Add(contentRow);

            Dictionary <string, string> reportColumns = new Dictionary <string, string>();

            reportColumns.Add("UPF_USER_ID", "使用者代號");
            reportColumns.Add("UPF_USER_NAME", "使用者名稱");
            reportColumns.Add("UPF_EMPLOYEE_ID", "員工編號");
            reportColumns.Add("DPT_ID_NAME", "部門");
            reportColumns.Add("UPF_PASSWORD", "密碼");
            reportColumns.Add("UPF_W_TIME", "設定時間");

            XRTableCell headerCell = new XRTableCell();

            XRTableCell contentCell = new XRTableCell();

            foreach (DataColumn column in dtMain.Columns)
            {
                if (reportColumns.ContainsKey(column.ColumnName))
                {
                    headerCell = new XRTableCell();

                    headerCell.Text          = reportColumns[column.ColumnName];
                    headerCell.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                    headerCell.Padding       = 1;
                    headerRow.Controls.Add(headerCell);

                    contentCell         = new XRTableCell();
                    contentCell.Padding = 1;

                    if (column.ColumnName == "UPF_W_TIME")
                    {
                        headerCell.WidthF  = 150F;
                        contentCell.WidthF = 150F;
                        contentCell.DataBindings.Add("Text", null, column.ColumnName, "{0:yyyy/MM/dd HH:mm:ss}");
                    }
                    else if (column.ColumnName == "UPF_PASSWORD")
                    {
                        contentCell.Text = "**********";
                    }
                    else
                    {
                        contentCell.DataBindings.Add("Text", null, column.ColumnName);
                    }

                    contentRow.Controls.Add(contentCell);
                }
            }
            report.lblUserIdTxt.DataBindings.Add("Text", null, "UPF_USER_ID");
            report.lblUserNameTxt.DataBindings.Add("Text", null, "UPF_USER_NAME");
            report.lblUserPwdTxt.DataBindings.Add("Text", null, "UPF_PASSWORD");
            report.lblWdateTxt.DataBindings.Add("Text", null, "UPF_W_TIME", "{0:yyyy/MM/dd}");

            table.WidthF = ((XRSubreport)report.FindControl("xrSubreportMain", true)).WidthF;

            return(report);
        }
コード例 #45
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        string resourceFileName = "rp_austfeed_BC_ThuTienBaoLanhCuaNhanVienTrongNam.resx";

        System.Resources.ResourceManager    resources   = global::Resources.rp_austfeed_BC_ThuTienBaoLanhCuaNhanVienTrongNam.ResourceManager;
        DevExpress.XtraReports.UI.XRSummary xrSummary1  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary2  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary3  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary4  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary5  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary6  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary7  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary8  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary9  = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary10 = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary11 = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary12 = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary13 = new DevExpress.XtraReports.UI.XRSummary();
        this.Detail        = new DevExpress.XtraReports.UI.DetailBand();
        this.xrTable2      = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2   = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
        this.TopMargin     = new DevExpress.XtraReports.UI.TopMarginBand();
        this.BottomMargin  = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.ReportHeader  = new DevExpress.XtraReports.UI.ReportHeaderBand();
        this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
        this.xrLabel2      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel1      = new DevExpress.XtraReports.UI.XRLabel();
        this.PageHeader    = new DevExpress.XtraReports.UI.PageHeaderBand();
        this.xrTable1      = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1   = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell1  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell2  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell6  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell5  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell9  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell7  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell4  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell8  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell3  = new DevExpress.XtraReports.UI.XRTableCell();
        this.ReportFooter  = new DevExpress.XtraReports.UI.ReportFooterBand();
        this.xrLabel10     = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel6      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel8      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel9      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel4      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel5      = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel7      = new DevExpress.XtraReports.UI.XRLabel();
        this.GroupHeader1  = new DevExpress.XtraReports.UI.GroupHeaderBand();
        this.xrTable3      = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow3   = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // Detail
        //
        this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2
        });
        this.Detail.HeightF       = 24F;
        this.Detail.Name          = "Detail";
        this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrTable2
        //
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.Font          = new System.Drawing.Font("Times New Roman", 10F);
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable2.Name          = "xrTable2";
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2
        });
        this.xrTable2.SizeF = new System.Drawing.SizeF(1112F, 24F);
        this.xrTable2.StylePriority.UseBorders = false;
        this.xrTable2.StylePriority.UseFont    = false;
        //
        // xrTableRow2
        //
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell17,
            this.xrTableCell18,
            this.xrTableCell19,
            this.xrTableCell20,
            this.xrTableCell21,
            this.xrTableCell22,
            this.xrTableCell23,
            this.xrTableCell24,
            this.xrTableCell25,
            this.xrTableCell26,
            this.xrTableCell27,
            this.xrTableCell28,
            this.xrTableCell29,
            this.xrTableCell30,
            this.xrTableCell31,
            this.xrTableCell32
        });
        this.xrTableRow2.Name   = "xrTableRow2";
        this.xrTableRow2.Weight = 1D;
        //
        // xrTableCell17
        //
        this.xrTableCell17.Font = new System.Drawing.Font("Times New Roman", 10F);
        this.xrTableCell17.Name = "xrTableCell17";
        this.xrTableCell17.StylePriority.UseFont          = false;
        this.xrTableCell17.StylePriority.UseTextAlignment = false;
        this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell17.Weight        = 0.099396785890563638D;
        this.xrTableCell17.BeforePrint  += new System.Drawing.Printing.PrintEventHandler(this.xrTableCell17_BeforePrint);
        //
        // xrTableCell18
        //
        this.xrTableCell18.Font = new System.Drawing.Font("Times New Roman", 10F);
        this.xrTableCell18.Name = "xrTableCell18";
        this.xrTableCell18.StylePriority.UseFont          = false;
        this.xrTableCell18.StylePriority.UseTextAlignment = false;
        this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell18.Weight        = 0.20379793317166114D;
        //
        // xrTableCell19
        //
        this.xrTableCell19.Font    = new System.Drawing.Font("Times New Roman", 10F);
        this.xrTableCell19.Name    = "xrTableCell19";
        this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F);
        this.xrTableCell19.StylePriority.UseFont          = false;
        this.xrTableCell19.StylePriority.UsePadding       = false;
        this.xrTableCell19.StylePriority.UseTextAlignment = false;
        this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell19.Weight        = 0.36598713661772775D;
        //
        // xrTableCell20
        //
        this.xrTableCell20.Font    = new System.Drawing.Font("Times New Roman", 10F);
        this.xrTableCell20.Name    = "xrTableCell20";
        this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F);
        this.xrTableCell20.StylePriority.UseFont          = false;
        this.xrTableCell20.StylePriority.UsePadding       = false;
        this.xrTableCell20.StylePriority.UseTextAlignment = false;
        this.xrTableCell20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell20.Weight        = 0.25716758418833691D;
        //
        // xrTableCell21
        //
        this.xrTableCell21.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell21.Name = "xrTableCell21";
        this.xrTableCell21.StylePriority.UseFont          = false;
        this.xrTableCell21.StylePriority.UseTextAlignment = false;
        xrSummary1.FormatString          = "{0:n0}";
        this.xrTableCell21.Summary       = xrSummary1;
        this.xrTableCell21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell21.Weight        = 0.16433876614511148D;
        //
        // xrTableCell22
        //
        this.xrTableCell22.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell22.Name = "xrTableCell22";
        this.xrTableCell22.StylePriority.UseFont          = false;
        this.xrTableCell22.StylePriority.UseTextAlignment = false;
        xrSummary2.FormatString          = "{0:n0}";
        this.xrTableCell22.Summary       = xrSummary2;
        this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell22.Weight        = 0.16433849258789499D;
        //
        // xrTableCell23
        //
        this.xrTableCell23.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell23.Name = "xrTableCell23";
        this.xrTableCell23.StylePriority.UseFont          = false;
        this.xrTableCell23.StylePriority.UseTextAlignment = false;
        xrSummary3.FormatString          = "{0:n0}";
        this.xrTableCell23.Summary       = xrSummary3;
        this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell23.Weight        = 0.16433858377363381D;
        //
        // xrTableCell24
        //
        this.xrTableCell24.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell24.Name = "xrTableCell24";
        this.xrTableCell24.StylePriority.UseFont          = false;
        this.xrTableCell24.StylePriority.UseTextAlignment = false;
        xrSummary4.FormatString          = "{0:n0}";
        this.xrTableCell24.Summary       = xrSummary4;
        this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell24.Weight        = 0.16433858377363386D;
        //
        // xrTableCell25
        //
        this.xrTableCell25.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell25.Name = "xrTableCell25";
        this.xrTableCell25.StylePriority.UseFont          = false;
        this.xrTableCell25.StylePriority.UseTextAlignment = false;
        xrSummary5.FormatString          = "{0:n0}";
        this.xrTableCell25.Summary       = xrSummary5;
        this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell25.Weight        = 0.16433876614511142D;
        //
        // xrTableCell26
        //
        this.xrTableCell26.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell26.Name = "xrTableCell26";
        this.xrTableCell26.StylePriority.UseFont          = false;
        this.xrTableCell26.StylePriority.UseTextAlignment = false;
        xrSummary6.FormatString          = "{0:n0}";
        this.xrTableCell26.Summary       = xrSummary6;
        this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell26.Weight        = 0.16433840140215614D;
        //
        // xrTableCell27
        //
        this.xrTableCell27.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell27.Name = "xrTableCell27";
        this.xrTableCell27.StylePriority.UseFont          = false;
        this.xrTableCell27.StylePriority.UseTextAlignment = false;
        xrSummary7.FormatString          = "{0:n0}";
        this.xrTableCell27.Summary       = xrSummary7;
        this.xrTableCell27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell27.Weight        = 0.16433858377363381D;
        //
        // xrTableCell28
        //
        this.xrTableCell28.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell28.Name = "xrTableCell28";
        this.xrTableCell28.StylePriority.UseFont          = false;
        this.xrTableCell28.StylePriority.UseTextAlignment = false;
        xrSummary8.FormatString          = "{0:n0}";
        this.xrTableCell28.Summary       = xrSummary8;
        this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell28.Weight        = 0.16433858377363381D;
        //
        // xrTableCell29
        //
        this.xrTableCell29.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell29.Name = "xrTableCell29";
        this.xrTableCell29.StylePriority.UseFont          = false;
        this.xrTableCell29.StylePriority.UseTextAlignment = false;
        xrSummary9.FormatString          = "{0:n0}";
        this.xrTableCell29.Summary       = xrSummary9;
        this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell29.Weight        = 0.16433858059471945D;
        //
        // xrTableCell30
        //
        this.xrTableCell30.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell30.Name = "xrTableCell30";
        this.xrTableCell30.StylePriority.UseFont          = false;
        this.xrTableCell30.StylePriority.UseTextAlignment = false;
        xrSummary10.FormatString         = "{0:n0}";
        this.xrTableCell30.Summary       = xrSummary10;
        this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell30.Weight        = 0.16433876296619707D;
        //
        // xrTableCell31
        //
        this.xrTableCell31.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell31.Name = "xrTableCell31";
        this.xrTableCell31.StylePriority.UseFont          = false;
        this.xrTableCell31.StylePriority.UseTextAlignment = false;
        xrSummary11.FormatString         = "{0:n0}";
        this.xrTableCell31.Summary       = xrSummary11;
        this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell31.Weight        = 0.16433839822324178D;
        //
        // xrTableCell32
        //
        this.xrTableCell32.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell32.Name = "xrTableCell32";
        this.xrTableCell32.StylePriority.UseFont          = false;
        this.xrTableCell32.StylePriority.UseTextAlignment = false;
        xrSummary12.FormatString         = "{0:n0}";
        this.xrTableCell32.Summary       = xrSummary12;
        this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell32.Weight        = 0.16127314356128467D;
        //
        // TopMargin
        //
        this.TopMargin.HeightF       = 35F;
        this.TopMargin.Name          = "TopMargin";
        this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // BottomMargin
        //
        this.BottomMargin.HeightF       = 49F;
        this.BottomMargin.Name          = "BottomMargin";
        this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // ReportHeader
        //
        this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrPictureBox1,
            this.xrLabel2,
            this.xrLabel1
        });
        this.ReportHeader.HeightF = 74F;
        this.ReportHeader.Name    = "ReportHeader";
        //
        // xrPictureBox1
        //
        this.xrPictureBox1.Image         = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
        this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(9.999998F, 0F);
        this.xrPictureBox1.Name          = "xrPictureBox1";
        this.xrPictureBox1.SizeF         = new System.Drawing.SizeF(129.1667F, 42.79167F);
        //
        // xrLabel2
        //
        this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 12F);
        this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(144.4584F, 42.79168F);
        this.xrLabel2.Name                           = "xrLabel2";
        this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel2.SizeF                          = new System.Drawing.SizeF(967.5415F, 22.99998F);
        this.xrLabel2.StylePriority.UseFont          = false;
        this.xrLabel2.StylePriority.UseTextAlignment = false;
        this.xrLabel2.Text                           = "Ngày báo cáo...............................";
        this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrLabel1
        //
        this.xrLabel1.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(144.4584F, 0F);
        this.xrLabel1.Multiline                      = true;
        this.xrLabel1.Name                           = "xrLabel1";
        this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel1.SizeF                          = new System.Drawing.SizeF(967.5415F, 42.79167F);
        this.xrLabel1.StylePriority.UseFont          = false;
        this.xrLabel1.StylePriority.UseTextAlignment = false;
        this.xrLabel1.Text                           = "BÁO CÁO TỔNG HỢP\r\n THU TIỀN BẢO LÃNH CỦA NHÂN VIÊN TRONG NĂM {0}";
        this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // PageHeader
        //
        this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1
        });
        this.PageHeader.HeightF = 38.04169F;
        this.PageHeader.Name    = "PageHeader";
        //
        // xrTable1
        //
        this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable1.Font          = new System.Drawing.Font("Times New Roman", 10F);
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
        this.xrTable1.Name          = "xrTable1";
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1
        });
        this.xrTable1.SizeF = new System.Drawing.SizeF(1112F, 38.04169F);
        this.xrTable1.StylePriority.UseBorders = false;
        this.xrTable1.StylePriority.UseFont    = false;
        //
        // xrTableRow1
        //
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell2,
            this.xrTableCell6,
            this.xrTableCell5,
            this.xrTableCell9,
            this.xrTableCell10,
            this.xrTableCell7,
            this.xrTableCell4,
            this.xrTableCell12,
            this.xrTableCell11,
            this.xrTableCell8,
            this.xrTableCell13,
            this.xrTableCell15,
            this.xrTableCell14,
            this.xrTableCell16,
            this.xrTableCell3
        });
        this.xrTableRow1.Name   = "xrTableRow1";
        this.xrTableRow1.Weight = 1D;
        //
        // xrTableCell1
        //
        this.xrTableCell1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell1.Name = "xrTableCell1";
        this.xrTableCell1.StylePriority.UseFont          = false;
        this.xrTableCell1.StylePriority.UseTextAlignment = false;
        this.xrTableCell1.Text          = "STT";
        this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell1.Weight        = 0.11088535308837887D;
        //
        // xrTableCell2
        //
        this.xrTableCell2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell2.Name = "xrTableCell2";
        this.xrTableCell2.StylePriority.UseFont          = false;
        this.xrTableCell2.StylePriority.UseTextAlignment = false;
        this.xrTableCell2.Text          = "Mã nhân viên";
        this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell2.Weight        = 0.2273535283406575D;
        //
        // xrTableCell6
        //
        this.xrTableCell6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell6.Name = "xrTableCell6";
        this.xrTableCell6.StylePriority.UseFont          = false;
        this.xrTableCell6.StylePriority.UseTextAlignment = false;
        this.xrTableCell6.Text          = "Họ và tên";
        this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell6.Weight        = 0.40828900655110689D;
        //
        // xrTableCell5
        //
        this.xrTableCell5.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell5.Name = "xrTableCell5";
        this.xrTableCell5.StylePriority.UseFont          = false;
        this.xrTableCell5.StylePriority.UseTextAlignment = false;
        this.xrTableCell5.Text          = "Chức vụ";
        this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell5.Weight        = 0.28689188639322916D;
        //
        // xrTableCell9
        //
        this.xrTableCell9.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell9.Name = "xrTableCell9";
        this.xrTableCell9.StylePriority.UseFont          = false;
        this.xrTableCell9.StylePriority.UseTextAlignment = false;
        this.xrTableCell9.Text          = "T1";
        this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell9.Weight        = 0.18333333333333335D;
        //
        // xrTableCell10
        //
        this.xrTableCell10.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell10.Name = "xrTableCell10";
        this.xrTableCell10.StylePriority.UseFont          = false;
        this.xrTableCell10.StylePriority.UseTextAlignment = false;
        this.xrTableCell10.Text          = "T2";
        this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell10.Weight        = 0.18333333333333335D;
        //
        // xrTableCell7
        //
        this.xrTableCell7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell7.Name = "xrTableCell7";
        this.xrTableCell7.StylePriority.UseFont          = false;
        this.xrTableCell7.StylePriority.UseTextAlignment = false;
        this.xrTableCell7.Text          = "T3";
        this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell7.Weight        = 0.1833333333333334D;
        //
        // xrTableCell4
        //
        this.xrTableCell4.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell4.Name = "xrTableCell4";
        this.xrTableCell4.StylePriority.UseFont          = false;
        this.xrTableCell4.StylePriority.UseTextAlignment = false;
        this.xrTableCell4.Text          = "T4";
        this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell4.Weight        = 0.18333333333333335D;
        //
        // xrTableCell12
        //
        this.xrTableCell12.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell12.Name = "xrTableCell12";
        this.xrTableCell12.StylePriority.UseFont          = false;
        this.xrTableCell12.StylePriority.UseTextAlignment = false;
        this.xrTableCell12.Text          = "T5";
        this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell12.Weight        = 0.1833333333333334D;
        //
        // xrTableCell11
        //
        this.xrTableCell11.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell11.Name = "xrTableCell11";
        this.xrTableCell11.StylePriority.UseFont          = false;
        this.xrTableCell11.StylePriority.UseTextAlignment = false;
        this.xrTableCell11.Text          = "T6";
        this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell11.Weight        = 0.18333333333333324D;
        //
        // xrTableCell8
        //
        this.xrTableCell8.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell8.Name = "xrTableCell8";
        this.xrTableCell8.StylePriority.UseFont          = false;
        this.xrTableCell8.StylePriority.UseTextAlignment = false;
        this.xrTableCell8.Text          = "T7";
        this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell8.Weight        = 0.1833333333333334D;
        //
        // xrTableCell13
        //
        this.xrTableCell13.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell13.Name = "xrTableCell13";
        this.xrTableCell13.StylePriority.UseFont          = false;
        this.xrTableCell13.StylePriority.UseTextAlignment = false;
        this.xrTableCell13.Text          = "T8";
        this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell13.Weight        = 0.18333333333333335D;
        //
        // xrTableCell15
        //
        this.xrTableCell15.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell15.Name = "xrTableCell15";
        this.xrTableCell15.StylePriority.UseFont          = false;
        this.xrTableCell15.StylePriority.UseTextAlignment = false;
        this.xrTableCell15.Text          = "T9";
        this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell15.Weight        = 0.18333334287007652D;
        //
        // xrTableCell14
        //
        this.xrTableCell14.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell14.Name = "xrTableCell14";
        this.xrTableCell14.StylePriority.UseFont          = false;
        this.xrTableCell14.StylePriority.UseTextAlignment = false;
        this.xrTableCell14.Text          = "T10";
        this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell14.Weight        = 0.18333333015441902D;
        //
        // xrTableCell16
        //
        this.xrTableCell16.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell16.Name = "xrTableCell16";
        this.xrTableCell16.StylePriority.UseFont          = false;
        this.xrTableCell16.StylePriority.UseTextAlignment = false;
        this.xrTableCell16.Text          = "T11";
        this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell16.Weight        = 0.18333333015441902D;
        //
        // xrTableCell3
        //
        this.xrTableCell3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold);
        this.xrTableCell3.Name = "xrTableCell3";
        this.xrTableCell3.StylePriority.UseFont          = false;
        this.xrTableCell3.StylePriority.UseTextAlignment = false;
        this.xrTableCell3.Text          = "T12";
        this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell3.Weight        = 0.17991355578104656D;
        //
        // ReportFooter
        //
        this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel10,
            this.xrLabel6,
            this.xrLabel8,
            this.xrLabel9,
            this.xrLabel4,
            this.xrLabel5,
            this.xrLabel7
        });
        this.ReportFooter.HeightF = 173F;
        this.ReportFooter.Name    = "ReportFooter";
        //
        // xrLabel10
        //
        this.xrLabel10.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel10.LocationFloat                  = new DevExpress.Utils.PointFloat(752.5693F, 150F);
        this.xrLabel10.Name                           = "xrLabel10";
        this.xrLabel10.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel10.SizeF                          = new System.Drawing.SizeF(234.375F, 23F);
        this.xrLabel10.StylePriority.UseFont          = false;
        this.xrLabel10.StylePriority.UseTextAlignment = false;
        this.xrLabel10.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel6
        //
        this.xrLabel6.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrLabel6.LocationFloat                  = new DevExpress.Utils.PointFloat(380.2084F, 37.5F);
        this.xrLabel6.Name                           = "xrLabel6";
        this.xrLabel6.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel6.SizeF                          = new System.Drawing.SizeF(256.25F, 31.33334F);
        this.xrLabel6.StylePriority.UseFont          = false;
        this.xrLabel6.StylePriority.UseTextAlignment = false;
        this.xrLabel6.Text                           = "Kế toán trưởng";
        this.xrLabel6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel8
        //
        this.xrLabel8.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Italic);
        this.xrLabel8.LocationFloat                  = new DevExpress.Utils.PointFloat(666.7273F, 0F);
        this.xrLabel8.Name                           = "xrLabel8";
        this.xrLabel8.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel8.SizeF                          = new System.Drawing.SizeF(383.3334F, 23F);
        this.xrLabel8.StylePriority.UseFont          = false;
        this.xrLabel8.StylePriority.UseTextAlignment = false;
        this.xrLabel8.Text                           = "Hưng Yên, ngày 30 tháng 12 năm 2014";
        this.xrLabel8.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        //
        // xrLabel9
        //
        this.xrLabel9.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrLabel9.LocationFloat                  = new DevExpress.Utils.PointFloat(752.5693F, 37.5F);
        this.xrLabel9.Name                           = "xrLabel9";
        this.xrLabel9.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel9.SizeF                          = new System.Drawing.SizeF(234.375F, 31.33334F);
        this.xrLabel9.StylePriority.UseFont          = false;
        this.xrLabel9.StylePriority.UseTextAlignment = false;
        this.xrLabel9.Text                           = "Trưởng phòng HCNS";
        this.xrLabel9.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel4
        //
        this.xrLabel4.Font                           = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold);
        this.xrLabel4.LocationFloat                  = new DevExpress.Utils.PointFloat(22.91667F, 37.5F);
        this.xrLabel4.Name                           = "xrLabel4";
        this.xrLabel4.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel4.SizeF                          = new System.Drawing.SizeF(234.0923F, 31.33334F);
        this.xrLabel4.StylePriority.UseFont          = false;
        this.xrLabel4.StylePriority.UseTextAlignment = false;
        this.xrLabel4.Text                           = "Người lập";
        this.xrLabel4.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel5
        //
        this.xrLabel5.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel5.LocationFloat                  = new DevExpress.Utils.PointFloat(22.91667F, 150F);
        this.xrLabel5.Name                           = "xrLabel5";
        this.xrLabel5.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel5.SizeF                          = new System.Drawing.SizeF(234.0923F, 23F);
        this.xrLabel5.StylePriority.UseFont          = false;
        this.xrLabel5.StylePriority.UseTextAlignment = false;
        this.xrLabel5.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // xrLabel7
        //
        this.xrLabel7.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold);
        this.xrLabel7.LocationFloat                  = new DevExpress.Utils.PointFloat(380.2084F, 150F);
        this.xrLabel7.Name                           = "xrLabel7";
        this.xrLabel7.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel7.SizeF                          = new System.Drawing.SizeF(256.25F, 23F);
        this.xrLabel7.StylePriority.UseFont          = false;
        this.xrLabel7.StylePriority.UseTextAlignment = false;
        this.xrLabel7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        //
        // GroupHeader1
        //
        this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable3
        });
        this.GroupHeader1.HeightF = 24F;
        this.GroupHeader1.Name    = "GroupHeader1";
        //
        // xrTable3
        //
        this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable3.Font          = new System.Drawing.Font("Times New Roman", 10F);
        this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(3.973643E-05F, 0F);
        this.xrTable3.Name          = "xrTable3";
        this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow3
        });
        this.xrTable3.SizeF = new System.Drawing.SizeF(1112F, 24F);
        this.xrTable3.StylePriority.UseBorders = false;
        this.xrTable3.StylePriority.UseFont    = false;
        //
        // xrTableRow3
        //
        this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell48
        });
        this.xrTableRow3.Name   = "xrTableRow3";
        this.xrTableRow3.Weight = 1D;
        //
        // xrTableCell48
        //
        this.xrTableCell48.Font    = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        this.xrTableCell48.Name    = "xrTableCell48";
        this.xrTableCell48.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 3, 3, 100F);
        this.xrTableCell48.StylePriority.UseFont          = false;
        this.xrTableCell48.StylePriority.UsePadding       = false;
        this.xrTableCell48.StylePriority.UseTextAlignment = false;
        xrSummary13.FormatString         = "{0:n0}";
        this.xrTableCell48.Summary       = xrSummary13;
        this.xrTableCell48.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        this.xrTableCell48.Weight        = 2.8953470865885413D;
        //
        // rp_austfeed_BC_ThuTienBaoLanhCuaNhanVienTrongNam
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.ReportHeader,
            this.PageHeader,
            this.ReportFooter,
            this.GroupHeader1
        });
        this.Landscape  = true;
        this.Margins    = new System.Drawing.Printing.Margins(26, 31, 35, 49);
        this.PageHeight = 827;
        this.PageWidth  = 1169;
        this.PaperKind  = System.Drawing.Printing.PaperKind.A4;
        this.Version    = "10.1";
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }
コード例 #46
0
 /// <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(ReportWeeklvEfficientRoute));
     DevExpress.XtraReports.UI.XRSummary            xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
     this.Detail                    = new DevExpress.XtraReports.UI.DetailBand();
     this.xrTable2                  = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2               = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell6              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell7              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell10             = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell9              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell11             = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell8              = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell12             = new DevExpress.XtraReports.UI.XRTableCell();
     this.TopMargin                 = new DevExpress.XtraReports.UI.TopMarginBand();
     this.BottomMargin              = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.dsSalesOrder1             = new SwiftExpress.DS.dsSalesOrder();
     this.PageHeader                = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.UiEtiquetaSabado          = new DevExpress.XtraReports.UI.XRLabel();
     this.UiEtiquetaMartes          = new DevExpress.XtraReports.UI.XRLabel();
     this.UiEtiquetaMiercoles       = new DevExpress.XtraReports.UI.XRLabel();
     this.UiEtiquetaJueves          = new DevExpress.XtraReports.UI.XRLabel();
     this.UiEtiquetaViernes         = new DevExpress.XtraReports.UI.XRLabel();
     this.UiEtiquetaLunes           = new DevExpress.XtraReports.UI.XRLabel();
     this.UiEtiquetaDomingo         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLine2                   = new DevExpress.XtraReports.UI.XRLine();
     this.xrLabel6                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel2                  = new DevExpress.XtraReports.UI.XRLabel();
     this.ReportHeader              = new DevExpress.XtraReports.UI.ReportHeaderBand();
     this.xrPageInfo1               = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrLabel7                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel9                  = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLine3                   = new DevExpress.XtraReports.UI.XRLine();
     this.PageFooter                = new DevExpress.XtraReports.UI.PageFooterBand();
     this.xrPictureBox2             = new DevExpress.XtraReports.UI.XRPictureBox();
     this.xrPageInfo3               = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrPageInfo2               = new DevExpress.XtraReports.UI.XRPageInfo();
     this.ReportFooter              = new DevExpress.XtraReports.UI.ReportFooterBand();
     this.xrLabel10                 = new DevExpress.XtraReports.UI.XRLabel();
     this.prmFechaInicial           = new DevExpress.XtraReports.Parameters.Parameter();
     this.TOTAL_AMOUNT_CURRENCY     = new DevExpress.XtraReports.UI.CalculatedField();
     this.symbolCurrency            = new DevExpress.XtraReports.Parameters.Parameter();
     this.SUM_TOTAL_AMOUNT_CURRENCY = new DevExpress.XtraReports.UI.CalculatedField();
     this.SATURDAY_CURRENCY         = new DevExpress.XtraReports.UI.CalculatedField();
     this.FRIDAY_CURRENCY           = new DevExpress.XtraReports.UI.CalculatedField();
     this.THURSDAY_CURRENCY         = new DevExpress.XtraReports.UI.CalculatedField();
     this.WEDNESDAY_CURRENCY        = new DevExpress.XtraReports.UI.CalculatedField();
     this.TUESDAY_CURRENCY          = new DevExpress.XtraReports.UI.CalculatedField();
     this.MONDAY_CURRENCY           = new DevExpress.XtraReports.UI.CalculatedField();
     this.SUNDAY_CURRENCY           = new DevExpress.XtraReports.UI.CalculatedField();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsSalesOrder1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2
     });
     this.Detail.HeightF       = 18F;
     this.Detail.Name          = "Detail";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrTable2
     //
     this.xrTable2.BackColor     = System.Drawing.Color.Transparent;
     this.xrTable2.BorderColor   = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(205)))), ((int)(((byte)(162)))));
     this.xrTable2.Borders       = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)));
     this.xrTable2.Font          = new System.Drawing.Font("Tahoma", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTable2.ForeColor     = System.Drawing.Color.Black;
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable2.Name          = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.SizeF = new System.Drawing.SizeF(825F, 18F);
     this.xrTable2.StylePriority.UseBorderColor   = false;
     this.xrTable2.StylePriority.UseBorders       = false;
     this.xrTable2.StylePriority.UseFont          = false;
     this.xrTable2.StylePriority.UseForeColor     = false;
     this.xrTable2.StylePriority.UseTextAlignment = false;
     this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell3,
         this.xrTableCell5,
         this.xrTableCell4,
         this.xrTableCell6,
         this.xrTableCell7,
         this.xrTableCell10,
         this.xrTableCell9,
         this.xrTableCell11,
         this.xrTableCell8,
         this.xrTableCell12
     });
     this.xrTableRow2.Name   = "xrTableRow2";
     this.xrTableRow2.Weight = 1D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "SWIFT_WEEKLV_EFFICIENT_ROUTE.CODE_ROUTE")
     });
     this.xrTableCell1.Name = "xrTableCell1";
     this.xrTableCell1.StylePriority.UseTextAlignment = false;
     this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell1.Weight        = 0.42814249320563447D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "SWIFT_WEEKLV_EFFICIENT_ROUTE.NAME_ROUTE")
     });
     this.xrTableCell2.Name = "xrTableCell2";
     this.xrTableCell2.StylePriority.UseTextAlignment = false;
     this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell2.Weight        = 0.47290384685137488D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "SWIFT_WEEKLV_EFFICIENT_ROUTE.LOGIN")
     });
     this.xrTableCell3.Name = "xrTableCell3";
     this.xrTableCell3.StylePriority.UseTextAlignment = false;
     this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell3.Weight        = 0.39869703028227393D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "SWIFT_WEEKLV_EFFICIENT_ROUTE.NAME_USER")
     });
     this.xrTableCell5.Name   = "xrTableCell5";
     this.xrTableCell5.Text   = "xrTableCell5";
     this.xrTableCell5.Weight = 0.67330778407712755D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "SUNDAY_CURRENCY")
     });
     this.xrTableCell4.Name   = "xrTableCell4";
     this.xrTableCell4.Weight = 0.51796654726878788D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "MONDAY_CURRENCY")
     });
     this.xrTableCell6.Name   = "xrTableCell6";
     this.xrTableCell6.Weight = 0.51796678729308077D;
     //
     // xrTableCell7
     //
     this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "TUESDAY_CURRENCY")
     });
     this.xrTableCell7.Name   = "xrTableCell7";
     this.xrTableCell7.Weight = 0.51796633585278351D;
     //
     // xrTableCell10
     //
     this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "WEDNESDAY_CURRENCY")
     });
     this.xrTableCell10.Name   = "xrTableCell10";
     this.xrTableCell10.Weight = 0.51796633585277707D;
     //
     // xrTableCell9
     //
     this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "THURSDAY_CURRENCY")
     });
     this.xrTableCell9.Name   = "xrTableCell9";
     this.xrTableCell9.Weight = 0.51796701329927475D;
     //
     // xrTableCell11
     //
     this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "FRIDAY_CURRENCY")
     });
     this.xrTableCell11.Name   = "xrTableCell11";
     this.xrTableCell11.Weight = 0.51796565840628361D;
     //
     // xrTableCell8
     //
     this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "SUNDAY_CURRENCY")
     });
     this.xrTableCell8.Name   = "xrTableCell8";
     this.xrTableCell8.Weight = 0.51796701783075316D;
     //
     // xrTableCell12
     //
     this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "TOTAL_AMOUNT_CURRENCY")
     });
     this.xrTableCell12.Name   = "xrTableCell12";
     this.xrTableCell12.Weight = 0.50578912648757712D;
     //
     // TopMargin
     //
     this.TopMargin.HeightF       = 17.70833F;
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // BottomMargin
     //
     this.BottomMargin.HeightF       = 23.95833F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // dsSalesOrder1
     //
     this.dsSalesOrder1.DataSetName             = "dsSalesOrder";
     this.dsSalesOrder1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.UiEtiquetaSabado,
         this.UiEtiquetaMartes,
         this.UiEtiquetaMiercoles,
         this.UiEtiquetaJueves,
         this.UiEtiquetaViernes,
         this.UiEtiquetaLunes,
         this.UiEtiquetaDomingo,
         this.xrLine2,
         this.xrLabel6,
         this.xrLabel1,
         this.xrLabel4,
         this.xrLabel5,
         this.xrLabel2
     });
     this.PageHeader.HeightF = 44.83335F;
     this.PageHeader.Name    = "PageHeader";
     //
     // UiEtiquetaSabado
     //
     this.UiEtiquetaSabado.BackColor     = System.Drawing.Color.Black;
     this.UiEtiquetaSabado.BorderColor   = System.Drawing.Color.White;
     this.UiEtiquetaSabado.Borders       = DevExpress.XtraPrinting.BorderSide.Left;
     this.UiEtiquetaSabado.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.UiEtiquetaSabado.ForeColor     = System.Drawing.Color.White;
     this.UiEtiquetaSabado.LocationFloat = new DevExpress.Utils.PointFloat(686.6458F, 10.00001F);
     this.UiEtiquetaSabado.Multiline     = true;
     this.UiEtiquetaSabado.Name          = "UiEtiquetaSabado";
     this.UiEtiquetaSabado.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.UiEtiquetaSabado.SizeF         = new System.Drawing.SizeF(70F, 34.83334F);
     this.UiEtiquetaSabado.StylePriority.UseBackColor     = false;
     this.UiEtiquetaSabado.StylePriority.UseBorderColor   = false;
     this.UiEtiquetaSabado.StylePriority.UseBorders       = false;
     this.UiEtiquetaSabado.StylePriority.UseFont          = false;
     this.UiEtiquetaSabado.StylePriority.UseForeColor     = false;
     this.UiEtiquetaSabado.StylePriority.UseTextAlignment = false;
     this.UiEtiquetaSabado.Text          = "01/01/2016 \r\nSabado";
     this.UiEtiquetaSabado.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // UiEtiquetaMartes
     //
     this.UiEtiquetaMartes.BackColor     = System.Drawing.Color.Black;
     this.UiEtiquetaMartes.BorderColor   = System.Drawing.Color.White;
     this.UiEtiquetaMartes.Borders       = DevExpress.XtraPrinting.BorderSide.Left;
     this.UiEtiquetaMartes.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.UiEtiquetaMartes.ForeColor     = System.Drawing.Color.White;
     this.UiEtiquetaMartes.LocationFloat = new DevExpress.Utils.PointFloat(406.6458F, 10.00001F);
     this.UiEtiquetaMartes.Multiline     = true;
     this.UiEtiquetaMartes.Name          = "UiEtiquetaMartes";
     this.UiEtiquetaMartes.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.UiEtiquetaMartes.SizeF         = new System.Drawing.SizeF(70F, 34.83334F);
     this.UiEtiquetaMartes.StylePriority.UseBackColor     = false;
     this.UiEtiquetaMartes.StylePriority.UseBorderColor   = false;
     this.UiEtiquetaMartes.StylePriority.UseBorders       = false;
     this.UiEtiquetaMartes.StylePriority.UseFont          = false;
     this.UiEtiquetaMartes.StylePriority.UseForeColor     = false;
     this.UiEtiquetaMartes.StylePriority.UseTextAlignment = false;
     this.UiEtiquetaMartes.Text          = "01/01/2016 \r\nMartes";
     this.UiEtiquetaMartes.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // UiEtiquetaMiercoles
     //
     this.UiEtiquetaMiercoles.BackColor     = System.Drawing.Color.Black;
     this.UiEtiquetaMiercoles.BorderColor   = System.Drawing.Color.White;
     this.UiEtiquetaMiercoles.Borders       = DevExpress.XtraPrinting.BorderSide.Left;
     this.UiEtiquetaMiercoles.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.UiEtiquetaMiercoles.ForeColor     = System.Drawing.Color.White;
     this.UiEtiquetaMiercoles.LocationFloat = new DevExpress.Utils.PointFloat(476.6458F, 10.00001F);
     this.UiEtiquetaMiercoles.Multiline     = true;
     this.UiEtiquetaMiercoles.Name          = "UiEtiquetaMiercoles";
     this.UiEtiquetaMiercoles.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.UiEtiquetaMiercoles.SizeF         = new System.Drawing.SizeF(70F, 34.83334F);
     this.UiEtiquetaMiercoles.StylePriority.UseBackColor     = false;
     this.UiEtiquetaMiercoles.StylePriority.UseBorderColor   = false;
     this.UiEtiquetaMiercoles.StylePriority.UseBorders       = false;
     this.UiEtiquetaMiercoles.StylePriority.UseFont          = false;
     this.UiEtiquetaMiercoles.StylePriority.UseForeColor     = false;
     this.UiEtiquetaMiercoles.StylePriority.UseTextAlignment = false;
     this.UiEtiquetaMiercoles.Text          = "01/01/2016 \r\nMiercoles";
     this.UiEtiquetaMiercoles.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // UiEtiquetaJueves
     //
     this.UiEtiquetaJueves.BackColor     = System.Drawing.Color.Black;
     this.UiEtiquetaJueves.BorderColor   = System.Drawing.Color.White;
     this.UiEtiquetaJueves.Borders       = DevExpress.XtraPrinting.BorderSide.Left;
     this.UiEtiquetaJueves.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.UiEtiquetaJueves.ForeColor     = System.Drawing.Color.White;
     this.UiEtiquetaJueves.LocationFloat = new DevExpress.Utils.PointFloat(546.6458F, 10.00001F);
     this.UiEtiquetaJueves.Multiline     = true;
     this.UiEtiquetaJueves.Name          = "UiEtiquetaJueves";
     this.UiEtiquetaJueves.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.UiEtiquetaJueves.SizeF         = new System.Drawing.SizeF(70F, 34.83334F);
     this.UiEtiquetaJueves.StylePriority.UseBackColor     = false;
     this.UiEtiquetaJueves.StylePriority.UseBorderColor   = false;
     this.UiEtiquetaJueves.StylePriority.UseBorders       = false;
     this.UiEtiquetaJueves.StylePriority.UseFont          = false;
     this.UiEtiquetaJueves.StylePriority.UseForeColor     = false;
     this.UiEtiquetaJueves.StylePriority.UseTextAlignment = false;
     this.UiEtiquetaJueves.Text          = "01/01/2016 \r\nJueves";
     this.UiEtiquetaJueves.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // UiEtiquetaViernes
     //
     this.UiEtiquetaViernes.BackColor     = System.Drawing.Color.Black;
     this.UiEtiquetaViernes.BorderColor   = System.Drawing.Color.White;
     this.UiEtiquetaViernes.Borders       = DevExpress.XtraPrinting.BorderSide.Left;
     this.UiEtiquetaViernes.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.UiEtiquetaViernes.ForeColor     = System.Drawing.Color.White;
     this.UiEtiquetaViernes.LocationFloat = new DevExpress.Utils.PointFloat(616.6458F, 10.00001F);
     this.UiEtiquetaViernes.Multiline     = true;
     this.UiEtiquetaViernes.Name          = "UiEtiquetaViernes";
     this.UiEtiquetaViernes.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.UiEtiquetaViernes.SizeF         = new System.Drawing.SizeF(70F, 34.83334F);
     this.UiEtiquetaViernes.StylePriority.UseBackColor     = false;
     this.UiEtiquetaViernes.StylePriority.UseBorderColor   = false;
     this.UiEtiquetaViernes.StylePriority.UseBorders       = false;
     this.UiEtiquetaViernes.StylePriority.UseFont          = false;
     this.UiEtiquetaViernes.StylePriority.UseForeColor     = false;
     this.UiEtiquetaViernes.StylePriority.UseTextAlignment = false;
     this.UiEtiquetaViernes.Text          = "01/01/2016 \r\nViernes";
     this.UiEtiquetaViernes.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // UiEtiquetaLunes
     //
     this.UiEtiquetaLunes.BackColor     = System.Drawing.Color.Black;
     this.UiEtiquetaLunes.BorderColor   = System.Drawing.Color.White;
     this.UiEtiquetaLunes.Borders       = DevExpress.XtraPrinting.BorderSide.Left;
     this.UiEtiquetaLunes.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.UiEtiquetaLunes.ForeColor     = System.Drawing.Color.White;
     this.UiEtiquetaLunes.LocationFloat = new DevExpress.Utils.PointFloat(336.6458F, 10.00001F);
     this.UiEtiquetaLunes.Multiline     = true;
     this.UiEtiquetaLunes.Name          = "UiEtiquetaLunes";
     this.UiEtiquetaLunes.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.UiEtiquetaLunes.SizeF         = new System.Drawing.SizeF(70F, 34.83334F);
     this.UiEtiquetaLunes.StylePriority.UseBackColor     = false;
     this.UiEtiquetaLunes.StylePriority.UseBorderColor   = false;
     this.UiEtiquetaLunes.StylePriority.UseBorders       = false;
     this.UiEtiquetaLunes.StylePriority.UseFont          = false;
     this.UiEtiquetaLunes.StylePriority.UseForeColor     = false;
     this.UiEtiquetaLunes.StylePriority.UseTextAlignment = false;
     this.UiEtiquetaLunes.Text          = "01/01/2016 \r\nLunes";
     this.UiEtiquetaLunes.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // UiEtiquetaDomingo
     //
     this.UiEtiquetaDomingo.BackColor     = System.Drawing.Color.Black;
     this.UiEtiquetaDomingo.BorderColor   = System.Drawing.Color.White;
     this.UiEtiquetaDomingo.Borders       = DevExpress.XtraPrinting.BorderSide.Left;
     this.UiEtiquetaDomingo.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.UiEtiquetaDomingo.ForeColor     = System.Drawing.Color.White;
     this.UiEtiquetaDomingo.LocationFloat = new DevExpress.Utils.PointFloat(266.6458F, 10.00001F);
     this.UiEtiquetaDomingo.Multiline     = true;
     this.UiEtiquetaDomingo.Name          = "UiEtiquetaDomingo";
     this.UiEtiquetaDomingo.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.UiEtiquetaDomingo.SizeF         = new System.Drawing.SizeF(70F, 34.83334F);
     this.UiEtiquetaDomingo.StylePriority.UseBackColor     = false;
     this.UiEtiquetaDomingo.StylePriority.UseBorderColor   = false;
     this.UiEtiquetaDomingo.StylePriority.UseBorders       = false;
     this.UiEtiquetaDomingo.StylePriority.UseFont          = false;
     this.UiEtiquetaDomingo.StylePriority.UseForeColor     = false;
     this.UiEtiquetaDomingo.StylePriority.UseTextAlignment = false;
     this.UiEtiquetaDomingo.Text          = "01/01/2016 \r\nDomingo";
     this.UiEtiquetaDomingo.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLine2
     //
     this.xrLine2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLine2.Name          = "xrLine2";
     this.xrLine2.SizeF         = new System.Drawing.SizeF(825F, 4.083333F);
     //
     // xrLabel6
     //
     this.xrLabel6.BackColor     = System.Drawing.Color.Black;
     this.xrLabel6.BorderColor   = System.Drawing.Color.White;
     this.xrLabel6.Borders       = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel6.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.xrLabel6.ForeColor     = System.Drawing.Color.White;
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F);
     this.xrLabel6.Multiline     = true;
     this.xrLabel6.Name          = "xrLabel6";
     this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF         = new System.Drawing.SizeF(57.86083F, 34.83334F);
     this.xrLabel6.StylePriority.UseBackColor     = false;
     this.xrLabel6.StylePriority.UseBorderColor   = false;
     this.xrLabel6.StylePriority.UseBorders       = false;
     this.xrLabel6.StylePriority.UseFont          = false;
     this.xrLabel6.StylePriority.UseForeColor     = false;
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     this.xrLabel6.Text          = "Código \r\nRuta";
     this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel1
     //
     this.xrLabel1.BackColor     = System.Drawing.Color.Black;
     this.xrLabel1.BorderColor   = System.Drawing.Color.White;
     this.xrLabel1.Borders       = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel1.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.xrLabel1.ForeColor     = System.Drawing.Color.White;
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(57.86082F, 10.00001F);
     this.xrLabel1.Multiline     = true;
     this.xrLabel1.Name          = "xrLabel1";
     this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF         = new System.Drawing.SizeF(63.91008F, 34.83332F);
     this.xrLabel1.StylePriority.UseBackColor     = false;
     this.xrLabel1.StylePriority.UseBorderColor   = false;
     this.xrLabel1.StylePriority.UseBorders       = false;
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UseForeColor     = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.Text          = "Nombre \r\nRuta";
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel4
     //
     this.xrLabel4.BackColor     = System.Drawing.Color.Black;
     this.xrLabel4.BorderColor   = System.Drawing.Color.White;
     this.xrLabel4.Borders       = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel4.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.xrLabel4.ForeColor     = System.Drawing.Color.White;
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(175.6523F, 10.00001F);
     this.xrLabel4.Multiline     = true;
     this.xrLabel4.Name          = "xrLabel4";
     this.xrLabel4.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF         = new System.Drawing.SizeF(90.99339F, 34.83333F);
     this.xrLabel4.StylePriority.UseBackColor     = false;
     this.xrLabel4.StylePriority.UseBorderColor   = false;
     this.xrLabel4.StylePriority.UseBorders       = false;
     this.xrLabel4.StylePriority.UseFont          = false;
     this.xrLabel4.StylePriority.UseForeColor     = false;
     this.xrLabel4.StylePriority.UseTextAlignment = false;
     this.xrLabel4.Text          = "Nombre \r\nUsuario";
     this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel5
     //
     this.xrLabel5.BackColor     = System.Drawing.Color.Black;
     this.xrLabel5.BorderColor   = System.Drawing.Color.White;
     this.xrLabel5.Borders       = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel5.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.xrLabel5.ForeColor     = System.Drawing.Color.White;
     this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(121.7709F, 10.00001F);
     this.xrLabel5.Name          = "xrLabel5";
     this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel5.SizeF         = new System.Drawing.SizeF(53.88145F, 34.83332F);
     this.xrLabel5.StylePriority.UseBackColor     = false;
     this.xrLabel5.StylePriority.UseBorderColor   = false;
     this.xrLabel5.StylePriority.UseBorders       = false;
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UseForeColor     = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text          = "Usuario";
     this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel2
     //
     this.xrLabel2.BackColor     = System.Drawing.Color.Black;
     this.xrLabel2.BorderColor   = System.Drawing.Color.White;
     this.xrLabel2.Borders       = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel2.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.xrLabel2.ForeColor     = System.Drawing.Color.White;
     this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(756.6457F, 10.00001F);
     this.xrLabel2.Name          = "xrLabel2";
     this.xrLabel2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF         = new System.Drawing.SizeF(68.35413F, 34.83332F);
     this.xrLabel2.StylePriority.UseBackColor     = false;
     this.xrLabel2.StylePriority.UseBorderColor   = false;
     this.xrLabel2.StylePriority.UseBorders       = false;
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UseForeColor     = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text          = "Total";
     this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // ReportHeader
     //
     this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrPageInfo1,
         this.xrLabel7,
         this.xrLabel9,
         this.xrLine3
     });
     this.ReportHeader.HeightF = 71.875F;
     this.ReportHeader.Name    = "ReportHeader";
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.Font                       = new System.Drawing.Font("Segoe UI Light", 9.75F);
     this.xrPageInfo1.ForeColor                  = System.Drawing.Color.Black;
     this.xrPageInfo1.LocationFloat              = new DevExpress.Utils.PointFloat(648.3557F, 36.91667F);
     this.xrPageInfo1.Name                       = "xrPageInfo1";
     this.xrPageInfo1.Padding                    = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo1.PageInfo                   = DevExpress.XtraPrinting.PageInfo.DateTime;
     this.xrPageInfo1.SizeF                      = new System.Drawing.SizeF(176.6443F, 23F);
     this.xrPageInfo1.StylePriority.UseFont      = false;
     this.xrPageInfo1.StylePriority.UseForeColor = false;
     //
     // xrLabel7
     //
     this.xrLabel7.Font                           = new System.Drawing.Font("Segoe UI Light", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel7.ForeColor                      = System.Drawing.Color.Black;
     this.xrLabel7.LocationFloat                  = new DevExpress.Utils.PointFloat(203.5641F, 36.91667F);
     this.xrLabel7.Multiline                      = true;
     this.xrLabel7.Name                           = "xrLabel7";
     this.xrLabel7.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.SizeF                          = new System.Drawing.SizeF(395.8332F, 34.83335F);
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UseForeColor     = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text                           = "Eficiencia Semanal de Ruta";
     this.xrLabel7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel9
     //
     this.xrLabel9.Font                           = new System.Drawing.Font("Segoe UI Light", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel9.ForeColor                      = System.Drawing.Color.Black;
     this.xrLabel9.LocationFloat                  = new DevExpress.Utils.PointFloat(684.8141F, 2.083333F);
     this.xrLabel9.Multiline                      = true;
     this.xrLabel9.Name                           = "xrLabel9";
     this.xrLabel9.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel9.SizeF                          = new System.Drawing.SizeF(140.1858F, 34.83334F);
     this.xrLabel9.StylePriority.UseFont          = false;
     this.xrLabel9.StylePriority.UseForeColor     = false;
     this.xrLabel9.StylePriority.UseTextAlignment = false;
     this.xrLabel9.Text                           = "Sonda";
     this.xrLabel9.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrLine3
     //
     this.xrLine3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLine3.Name          = "xrLine3";
     this.xrLine3.SizeF         = new System.Drawing.SizeF(824.9999F, 2.083333F);
     //
     // PageFooter
     //
     this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrPictureBox2,
         this.xrPageInfo3,
         this.xrPageInfo2
     });
     this.PageFooter.HeightF = 59.375F;
     this.PageFooter.Name    = "PageFooter";
     //
     // xrPictureBox2
     //
     this.xrPictureBox2.Image         = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
     this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(333.4326F, 10F);
     this.xrPictureBox2.Name          = "xrPictureBox2";
     this.xrPictureBox2.SizeF         = new System.Drawing.SizeF(148.9583F, 33.83335F);
     this.xrPictureBox2.Sizing        = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
     //
     // xrPageInfo3
     //
     this.xrPageInfo3.Font                       = new System.Drawing.Font("Segoe UI Light", 9.75F);
     this.xrPageInfo3.ForeColor                  = System.Drawing.Color.Black;
     this.xrPageInfo3.LocationFloat              = new DevExpress.Utils.PointFloat(7.341446F, 10F);
     this.xrPageInfo3.Name                       = "xrPageInfo3";
     this.xrPageInfo3.Padding                    = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo3.PageInfo                   = DevExpress.XtraPrinting.PageInfo.DateTime;
     this.xrPageInfo3.SizeF                      = new System.Drawing.SizeF(204.7693F, 23F);
     this.xrPageInfo3.StylePriority.UseFont      = false;
     this.xrPageInfo3.StylePriority.UseForeColor = false;
     //
     // xrPageInfo2
     //
     this.xrPageInfo2.Font                       = new System.Drawing.Font("Segoe UI Light", 9.75F);
     this.xrPageInfo2.ForeColor                  = System.Drawing.Color.Black;
     this.xrPageInfo2.Format                     = "Página {0} de {1}";
     this.xrPageInfo2.LocationFloat              = new DevExpress.Utils.PointFloat(594.7083F, 10F);
     this.xrPageInfo2.Name                       = "xrPageInfo2";
     this.xrPageInfo2.Padding                    = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo2.SizeF                      = new System.Drawing.SizeF(220.2917F, 23F);
     this.xrPageInfo2.StylePriority.UseFont      = false;
     this.xrPageInfo2.StylePriority.UseForeColor = false;
     this.xrPageInfo2.TextAlignment              = DevExpress.XtraPrinting.TextAlignment.TopRight;
     //
     // ReportFooter
     //
     this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel10
     });
     this.ReportFooter.HeightF = 14F;
     this.ReportFooter.Name    = "ReportFooter";
     //
     // xrLabel10
     //
     this.xrLabel10.BackColor   = System.Drawing.Color.Black;
     this.xrLabel10.BorderColor = System.Drawing.Color.White;
     this.xrLabel10.Borders     = DevExpress.XtraPrinting.BorderSide.None;
     this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "SUM_TOTAL_AMOUNT_CURRENCY", "Total: {0}")
     });
     this.xrLabel10.Font          = new System.Drawing.Font("Segoe UI Black", 8F);
     this.xrLabel10.ForeColor     = System.Drawing.Color.White;
     this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel10.Name          = "xrLabel10";
     this.xrLabel10.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel10.SizeF         = new System.Drawing.SizeF(824.9999F, 14F);
     this.xrLabel10.StylePriority.UseBackColor     = false;
     this.xrLabel10.StylePriority.UseBorderColor   = false;
     this.xrLabel10.StylePriority.UseBorders       = false;
     this.xrLabel10.StylePriority.UseFont          = false;
     this.xrLabel10.StylePriority.UseForeColor     = false;
     this.xrLabel10.StylePriority.UseTextAlignment = false;
     xrSummary1.FormatString      = "Total:{0}";
     xrSummary1.Func              = DevExpress.XtraReports.UI.SummaryFunc.Custom;
     this.xrLabel10.Summary       = xrSummary1;
     this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // prmFechaInicial
     //
     this.prmFechaInicial.Description = "Fecha Inicial";
     this.prmFechaInicial.Name        = "prmFechaInicial";
     this.prmFechaInicial.Type        = typeof(System.DateTime);
     this.prmFechaInicial.Visible     = false;
     //
     // TOTAL_AMOUNT_CURRENCY
     //
     this.TOTAL_AMOUNT_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],[TOTAL_AMOUNT])";
     this.TOTAL_AMOUNT_CURRENCY.Name       = "TOTAL_AMOUNT_CURRENCY";
     //
     // symbolCurrency
     //
     this.symbolCurrency.Description = "symbolCurrency";
     this.symbolCurrency.Name        = "symbolCurrency";
     this.symbolCurrency.ValueInfo   = "Q";
     this.symbolCurrency.Visible     = false;
     //
     // SUM_TOTAL_AMOUNT_CURRENCY
     //
     this.SUM_TOTAL_AMOUNT_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],ToDecimal(Sum( ToDecimal([TOTAL_AMOUNT]))))";
     this.SUM_TOTAL_AMOUNT_CURRENCY.Name       = "SUM_TOTAL_AMOUNT_CURRENCY";
     //
     // SATURDAY_CURRENCY
     //
     this.SATURDAY_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],[SATURDAY])";
     this.SATURDAY_CURRENCY.Name       = "SATURDAY_CURRENCY";
     //
     // FRIDAY_CURRENCY
     //
     this.FRIDAY_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],[FRIDAY])";
     this.FRIDAY_CURRENCY.Name       = "FRIDAY_CURRENCY";
     //
     // THURSDAY_CURRENCY
     //
     this.THURSDAY_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],[THURSDAY])";
     this.THURSDAY_CURRENCY.Name       = "THURSDAY_CURRENCY";
     //
     // WEDNESDAY_CURRENCY
     //
     this.WEDNESDAY_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],[WEDNESDAY])";
     this.WEDNESDAY_CURRENCY.Name       = "WEDNESDAY_CURRENCY";
     //
     // TUESDAY_CURRENCY
     //
     this.TUESDAY_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],[TUESDAY])";
     this.TUESDAY_CURRENCY.Name       = "TUESDAY_CURRENCY";
     //
     // MONDAY_CURRENCY
     //
     this.MONDAY_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],[MONDAY])";
     this.MONDAY_CURRENCY.Name       = "MONDAY_CURRENCY";
     //
     // SUNDAY_CURRENCY
     //
     this.SUNDAY_CURRENCY.Expression = "Concat([Parameters.symbolCurrency],[SUNDAY])";
     this.SUNDAY_CURRENCY.Name       = "SUNDAY_CURRENCY";
     //
     // ReportWeeklvEfficientRoute
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.PageHeader,
         this.ReportHeader,
         this.PageFooter,
         this.ReportFooter
     });
     this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
         this.TOTAL_AMOUNT_CURRENCY,
         this.SUM_TOTAL_AMOUNT_CURRENCY,
         this.SATURDAY_CURRENCY,
         this.FRIDAY_CURRENCY,
         this.THURSDAY_CURRENCY,
         this.WEDNESDAY_CURRENCY,
         this.TUESDAY_CURRENCY,
         this.MONDAY_CURRENCY,
         this.SUNDAY_CURRENCY
     });
     this.DataMember = "SWIFT_WEEKLV_EFFICIENT_ROUTE";
     this.DataSource = this.dsSalesOrder1;
     this.Margins    = new System.Drawing.Printing.Margins(10, 15, 18, 24);
     this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
         this.prmFechaInicial,
         this.symbolCurrency
     });
     this.Version             = "15.2";
     this.DataSourceDemanded += new System.EventHandler <System.EventArgs>(this.ReportWeeklvEfficientRoute_DataSourceDemanded);
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsSalesOrder1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #47
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     string resourceFileName = "rptMultiInvoicesToPrint.resx";
     DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
     this.Detail = new DevExpress.XtraReports.UI.DetailBand();
     this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
     this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
     this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.header = new DevExpress.XtraReports.UI.XRSubreport();
     this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrOrderNum = new DevExpress.XtraReports.UI.XRTableCell();
     this.colHangHoa = new DevExpress.XtraReports.UI.XRTableCell();
     this.colDonVi = new DevExpress.XtraReports.UI.XRTableCell();
     this.colSoLuong = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrSum = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrPercent = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrDiscount = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrPayment = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
     this.lbchu = new DevExpress.XtraReports.UI.XRLabel();
     this.GroupFooter2 = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrPageBreak1 = new DevExpress.XtraReports.UI.XRPageBreak();
     this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
     this.dsMultiInvoicesToPrint1 = new dsMultiInvoicesToPrint();
     this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
     this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
     this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.GroupFooter3 = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
     this.invoicesSelectByWhereTableAdapter1 = new dsMultiInvoicesToPrintTableAdapters.InvoicesSelectByWhereTableAdapter();
     this.productsInInvoicesSelectByWhereTableAdapter1 = new dsMultiInvoicesToPrintTableAdapters.ProductsInInvoicesSelectByWhereTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsMultiInvoicesToPrint1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel10,
         this.xrLabel13,
         this.xrTable7,
         this.header});
     this.Detail.HeightF = 106.2084F;
     this.Detail.Name = "Detail";
     this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrLabel10
     //
     this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoiceNo", "Số: {0}")});
     this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
     this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(2.041523F, 27.50006F);
     this.xrLabel10.Name = "xrLabel10";
     this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel10.SizeF = new System.Drawing.SizeF(738.9999F, 16F);
     this.xrLabel10.StylePriority.UseFont = false;
     this.xrLabel10.StylePriority.UseTextAlignment = false;
     this.xrLabel10.Text = "xrLabel10";
     this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
     //
     // xrLabel13
     //
     this.xrLabel13.Font = new System.Drawing.Font("Times New Roman", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0.9580771F, 43.50004F);
     this.xrLabel13.Name = "xrLabel13";
     this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel13.SizeF = new System.Drawing.SizeF(746.9168F, 20F);
     this.xrLabel13.StylePriority.UseFont = false;
     this.xrLabel13.StylePriority.UseTextAlignment = false;
     this.xrLabel13.Text = "HOÁ ĐƠN BÁN HÀNG";
     this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTable7
     //
     this.xrTable7.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(9.999903F, 70.20839F);
     this.xrTable7.Name = "xrTable7";
     this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow8,
         this.xrTableRow9});
     this.xrTable7.SizeF = new System.Drawing.SizeF(731.7083F, 36F);
     this.xrTable7.StylePriority.UseFont = false;
     this.xrTable7.StylePriority.UseTextAlignment = false;
     this.xrTable7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrTableRow8
     //
     this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell6,
         this.xrTableCell23,
         this.xrTableCell25,
         this.xrTableCell24,
         this.xrTableCell7,
         this.xrTableCell19});
     this.xrTableRow8.Name = "xrTableRow8";
     this.xrTableRow8.Weight = 1D;
     //
     // xrTableCell6
     //
     this.xrTableCell6.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrTableCell6.Name = "xrTableCell6";
     this.xrTableCell6.StylePriority.UseFont = false;
     this.xrTableCell6.StylePriority.UseTextAlignment = false;
     this.xrTableCell6.Text = "Khách hàng: ";
     this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrTableCell6.Weight = 0.76041707714783124D;
     //
     // xrTableCell23
     //
     this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.Customer")});
     this.xrTableCell23.Name = "xrTableCell23";
     this.xrTableCell23.Text = "xrTableCell23";
     this.xrTableCell23.Weight = 1.6354165423495146D;
     //
     // xrTableCell25
     //
     this.xrTableCell25.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrTableCell25.Name = "xrTableCell25";
     this.xrTableCell25.StylePriority.UseFont = false;
     this.xrTableCell25.StylePriority.UseTextAlignment = false;
     this.xrTableCell25.Text = "Điện thoại:";
     this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrTableCell25.Weight = 0.62583404093619488D;
     //
     // xrTableCell24
     //
     this.xrTableCell24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.Phone")});
     this.xrTableCell24.Name = "xrTableCell24";
     this.xrTableCell24.Text = "xrTableCell24";
     this.xrTableCell24.Weight = 1.1164577939005926D;
     //
     // xrTableCell7
     //
     this.xrTableCell7.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrTableCell7.Name = "xrTableCell7";
     this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
     this.xrTableCell7.StylePriority.UseFont = false;
     this.xrTableCell7.StylePriority.UsePadding = false;
     this.xrTableCell7.Text = "Địa chỉ: ";
     this.xrTableCell7.Weight = 0.51395781087784642D;
     //
     // xrTableCell19
     //
     this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.CustomerAddress")});
     this.xrTableCell19.Name = "xrTableCell19";
     this.xrTableCell19.Text = "xrTableCell19";
     this.xrTableCell19.Weight = 2.6649996045159052D;
     //
     // xrTableRow9
     //
     this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell26,
         this.xrTableCell27,
         this.xrTableCell28,
         this.xrTableCell29});
     this.xrTableRow9.Name = "xrTableRow9";
     this.xrTableRow9.Weight = 1D;
     //
     // xrTableCell26
     //
     this.xrTableCell26.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrTableCell26.Name = "xrTableCell26";
     this.xrTableCell26.StylePriority.UseFont = false;
     this.xrTableCell26.Text = "Địa chỉ: ";
     this.xrTableCell26.Weight = 0.76041707714783124D;
     //
     // xrTableCell27
     //
     this.xrTableCell27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.DeliveryAddress")});
     this.xrTableCell27.Name = "xrTableCell27";
     this.xrTableCell27.Text = "xrTableCell27";
     this.xrTableCell27.Weight = 3.377708655696229D;
     //
     // xrTableCell28
     //
     this.xrTableCell28.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrTableCell28.Name = "xrTableCell28";
     this.xrTableCell28.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
     this.xrTableCell28.StylePriority.UseFont = false;
     this.xrTableCell28.StylePriority.UsePadding = false;
     this.xrTableCell28.Text = "Ngày: ";
     this.xrTableCell28.Weight = 0.51395721385922755D;
     //
     // xrTableCell29
     //
     this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.CurrentDate", "{0:dd/MM/yyyy}")});
     this.xrTableCell29.Name = "xrTableCell29";
     this.xrTableCell29.Text = "xrTableCell29";
     this.xrTableCell29.Weight = 2.664999923024598D;
     //
     // xrTable1
     //
     this.xrTable1.BackColor = System.Drawing.Color.Snow;
     this.xrTable1.BorderColor = System.Drawing.Color.Black;
     this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable1.BorderWidth = 1;
     this.xrTable1.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable1.Name = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1});
     this.xrTable1.SizeF = new System.Drawing.SizeF(749.5835F, 25F);
     this.xrTable1.StylePriority.UseBackColor = false;
     this.xrTable1.StylePriority.UseBorderColor = false;
     this.xrTable1.StylePriority.UseBorders = false;
     this.xrTable1.StylePriority.UseBorderWidth = false;
     this.xrTable1.StylePriority.UseFont = false;
     this.xrTable1.StylePriority.UseTextAlignment = false;
     this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell22,
         this.xrTableCell3,
         this.xrTableCell4,
         this.xrTableCell21,
         this.xrTableCell20,
         this.xrTableCell17,
         this.xrTableCell5});
     this.xrTableRow1.Name = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell1
     //
     this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell1.Name = "xrTableCell1";
     this.xrTableCell1.StylePriority.UseBorders = false;
     this.xrTableCell1.StylePriority.UseTextAlignment = false;
     this.xrTableCell1.Text = "STT";
     this.xrTableCell1.Weight = 0.36560024648643036D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell2.Name = "xrTableCell2";
     this.xrTableCell2.StylePriority.UseBorders = false;
     this.xrTableCell2.Text = "Tên Hàng Hoá";
     this.xrTableCell2.Weight = 2.3565548083905545D;
     //
     // xrTableCell22
     //
     this.xrTableCell22.Name = "xrTableCell22";
     this.xrTableCell22.Text = "Trọng lượng";
     this.xrTableCell22.Weight = 0.78342919997407734D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell3.Name = "xrTableCell3";
     this.xrTableCell3.StylePriority.UseBorders = false;
     this.xrTableCell3.Text = "ĐVT";
     this.xrTableCell3.Weight = 0.47005750662449247D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell4.Name = "xrTableCell4";
     this.xrTableCell4.StylePriority.UseBorders = false;
     this.xrTableCell4.Text = "Đơn giá bán";
     this.xrTableCell4.Weight = 0.78969598039839828D;
     //
     // xrTableCell21
     //
     this.xrTableCell21.Name = "xrTableCell21";
     this.xrTableCell21.StylePriority.UseTextAlignment = false;
     this.xrTableCell21.Text = "Số lượng bán";
     this.xrTableCell21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell21.Weight = 0.85288598746242816D;
     //
     // xrTableCell20
     //
     this.xrTableCell20.Name = "xrTableCell20";
     this.xrTableCell20.Text = "Tặng";
     this.xrTableCell20.Weight = 0.44682014695324773D;
     //
     // xrTableCell5
     //
     this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                 | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell5.Name = "xrTableCell5";
     this.xrTableCell5.StylePriority.UseBorders = false;
     this.xrTableCell5.Text = "Thành tiền";
     this.xrTableCell5.Weight = 1.0048792922737211D;
     //
     // TopMargin
     //
     this.TopMargin.HeightF = 20F;
     this.TopMargin.Name = "TopMargin";
     this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // BottomMargin
     //
     this.BottomMargin.HeightF = 0F;
     this.BottomMargin.Name = "BottomMargin";
     this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // PageHeader
     //
     this.PageHeader.HeightF = 5.625057F;
     this.PageHeader.Name = "PageHeader";
     //
     // header
     //
     this.header.LocationFloat = new DevExpress.Utils.PointFloat(2.041523F, 0F);
     this.header.Name = "header";
     this.header.SizeF = new System.Drawing.SizeF(748.9584F, 27.50006F);
     //
     // xrTable2
     //
     this.xrTable2.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable2.BorderWidth = 1;
     this.xrTable2.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable2.Name = "xrTable2";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2});
     this.xrTable2.SizeF = new System.Drawing.SizeF(749.5835F, 20F);
     this.xrTable2.StylePriority.UseBorderDashStyle = false;
     this.xrTable2.StylePriority.UseBorders = false;
     this.xrTable2.StylePriority.UseBorderWidth = false;
     this.xrTable2.StylePriority.UseFont = false;
     this.xrTable2.StylePriority.UseTextAlignment = false;
     this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrOrderNum,
         this.colHangHoa,
         this.colDonVi,
         this.colSoLuong,
         this.xrTableCell11,
         this.xrTableCell30,
         this.xrTableCell12,
         this.xrTableCell35,
         this.xrTableCell31});
     this.xrTableRow2.Name = "xrTableRow2";
     this.xrTableRow2.Weight = 1D;
     //
     // xrOrderNum
     //
     this.xrOrderNum.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrOrderNum.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.RowIn" +
                 "dex")});
     this.xrOrderNum.Name = "xrOrderNum";
     this.xrOrderNum.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     this.xrOrderNum.StylePriority.UseBorders = false;
     this.xrOrderNum.StylePriority.UsePadding = false;
     this.xrOrderNum.StylePriority.UseTextAlignment = false;
     this.xrOrderNum.Text = "xrOrderNum";
     this.xrOrderNum.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrOrderNum.Weight = 0.36458328247070315D;
     //
     // colHangHoa
     //
     this.colHangHoa.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.colHangHoa.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.produ" +
                 "ctname")});
     this.colHangHoa.Name = "colHangHoa";
     this.colHangHoa.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
     this.colHangHoa.StylePriority.UseBorders = false;
     this.colHangHoa.StylePriority.UsePadding = false;
     this.colHangHoa.StylePriority.UseTextAlignment = false;
     this.colHangHoa.Text = "colHangHoa";
     this.colHangHoa.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.colHangHoa.Weight = 2.3499999233670534D;
     //
     // colDonVi
     //
     this.colDonVi.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.colDonVi.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.Style" +
                 "")});
     this.colDonVi.Name = "colDonVi";
     this.colDonVi.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
     this.colDonVi.StylePriority.UseBorders = false;
     this.colDonVi.StylePriority.UsePadding = false;
     this.colDonVi.Text = "colDonVi";
     this.colDonVi.Weight = 0.78125038790315038D;
     //
     // colSoLuong
     //
     this.colSoLuong.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.colSoLuong.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.Unit")});
     this.colSoLuong.Name = "colSoLuong";
     this.colSoLuong.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
     this.colSoLuong.StylePriority.UseBorders = false;
     this.colSoLuong.StylePriority.UsePadding = false;
     this.colSoLuong.Text = "colSoLuong";
     this.colSoLuong.Weight = 0.46875033858450066D;
     //
     // xrTableCell11
     //
     this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.Curre" +
                 "ntPrice", "{0:n0}")});
     this.xrTableCell11.Name = "xrTableCell11";
     this.xrTableCell11.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F);
     this.xrTableCell11.StylePriority.UseBorders = false;
     this.xrTableCell11.StylePriority.UsePadding = false;
     this.xrTableCell11.StylePriority.UseTextAlignment = false;
     xrSummary1.FormatString = "{0:0.00 VND}";
     this.xrTableCell11.Summary = xrSummary1;
     this.xrTableCell11.Text = "xrTableCell11";
     this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrTableCell11.Weight = 0.78749918670705688D;
     //
     // xrTableCell30
     //
     this.xrTableCell30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.Quant" +
                 "ity", "{0:n0}")});
     this.xrTableCell30.Name = "xrTableCell30";
     this.xrTableCell30.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     this.xrTableCell30.StylePriority.UsePadding = false;
     this.xrTableCell30.StylePriority.UseTextAlignment = false;
     this.xrTableCell30.Text = "xrTableCell30";
     this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrTableCell30.Weight = 0.85051490427718135D;
     //
     // xrTableCell12
     //
     this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.Bonus" +
                 "", "{0:n0}")});
     this.xrTableCell12.Name = "xrTableCell12";
     this.xrTableCell12.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     this.xrTableCell12.StylePriority.UseBorders = false;
     this.xrTableCell12.StylePriority.UsePadding = false;
     this.xrTableCell12.StylePriority.UseTextAlignment = false;
     this.xrTableCell12.Text = "xrTableCell12";
     this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrTableCell12.Weight = 0.4455766067495005D;
     //
     // xrTableCell31
     //
     this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.Total" +
                 "", "{0:n0}")});
     this.xrTableCell31.Name = "xrTableCell31";
     this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     this.xrTableCell31.StylePriority.UsePadding = false;
     this.xrTableCell31.StylePriority.UseTextAlignment = false;
     this.xrTableCell31.Text = "[InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.Total]";
     this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrTableCell31.Weight = 1.0020843341075598D;
     //
     // xrLabel4
     //
     this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.Notes")});
     this.xrLabel4.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Italic);
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(9.041818F, 111.7916F);
     this.xrLabel4.Name = "xrLabel4";
     this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF = new System.Drawing.SizeF(578.4171F, 16F);
     this.xrLabel4.StylePriority.UseFont = false;
     this.xrLabel4.Text = "xrLabel4";
     //
     // xrTable3
     //
     this.xrTable3.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid;
     this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable3.BorderWidth = 1;
     this.xrTable3.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable3.Name = "xrTable3";
     this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow3,
         this.xrTableRow4,
         this.xrTableRow5});
     this.xrTable3.SizeF = new System.Drawing.SizeF(749.5835F, 60F);
     this.xrTable3.StylePriority.UseBorderDashStyle = false;
     this.xrTable3.StylePriority.UseBorders = false;
     this.xrTable3.StylePriority.UseBorderWidth = false;
     this.xrTable3.StylePriority.UseFont = false;
     this.xrTable3.StylePriority.UseTextAlignment = false;
     this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow3
     //
     this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell14,
         this.xrTableCell10,
         this.xrSum});
     this.xrTableRow3.Name = "xrTableRow3";
     this.xrTableRow3.Weight = 1D;
     //
     // xrTableCell14
     //
     this.xrTableCell14.Name = "xrTableCell14";
     this.xrTableCell14.Weight = 5.6337398317540881D;
     //
     // xrTableCell10
     //
     this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                 | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell10.Name = "xrTableCell10";
     this.xrTableCell10.StylePriority.UseBorders = false;
     this.xrTableCell10.StylePriority.UseTextAlignment = false;
     this.xrTableCell10.Weight = 0.89610777590259483D;
     //
     // xrSum
     //
     this.xrSum.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.FinalTotal", "{0:n0}")});
     this.xrSum.Font = new System.Drawing.Font("Times New Roman", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
     this.xrSum.Name = "xrSum";
     this.xrSum.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     this.xrSum.StylePriority.UseFont = false;
     this.xrSum.StylePriority.UsePadding = false;
     this.xrSum.StylePriority.UseTextAlignment = false;
     xrSummary2.FormatString = "{0:n0}";
     this.xrSum.Summary = xrSummary2;
     this.xrSum.Text = "xrSum";
     this.xrSum.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrSum.Weight = 1.0076542233980046D;
     //
     // xrTableRow4
     //
     this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell18,
         this.xrPercent,
         this.xrTableCell13,
         this.xrDiscount});
     this.xrTableRow4.Name = "xrTableRow4";
     this.xrTableRow4.Weight = 1D;
     //
     // xrTableCell18
     //
     this.xrTableCell18.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrTableCell18.Name = "xrTableCell18";
     this.xrTableCell18.StylePriority.UseFont = false;
     this.xrTableCell18.Text = "Chiết khấu:";
     this.xrTableCell18.Weight = 4.7784974502941386D;
     //
     // xrPercent
     //
     this.xrPercent.Font = new System.Drawing.Font("Times New Roman", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
     this.xrPercent.Name = "xrPercent";
     this.xrPercent.StylePriority.UseFont = false;
     this.xrPercent.StylePriority.UseTextAlignment = false;
     this.xrPercent.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrPercent.Weight = 0.855243157122188D;
     this.xrPercent.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrPercent_BeforePrint);
     //
     // xrTableCell13
     //
     this.xrTableCell13.Name = "xrTableCell13";
     this.xrTableCell13.Weight = 0.89610592194689409D;
     //
     // xrDiscount
     //
     this.xrDiscount.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.Discount", "{0:n0}")});
     this.xrDiscount.Font = new System.Drawing.Font("Times New Roman", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
     this.xrDiscount.Name = "xrDiscount";
     this.xrDiscount.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     this.xrDiscount.StylePriority.UseFont = false;
     this.xrDiscount.StylePriority.UsePadding = false;
     this.xrDiscount.StylePriority.UseTextAlignment = false;
     this.xrDiscount.Text = "xrDiscount";
     this.xrDiscount.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrDiscount.Weight = 1.0076553016914669D;
     //
     // xrTableRow5
     //
     this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell32,
         this.xrTableCell36,
         this.xrTableCell34,
         this.xrPayment});
     this.xrTableRow5.Name = "xrTableRow5";
     this.xrTableRow5.Weight = 1D;
     //
     // xrTableCell32
     //
     this.xrTableCell32.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrTableCell32.Name = "xrTableCell32";
     this.xrTableCell32.StylePriority.UseFont = false;
     this.xrTableCell32.Text = "Số tiền phải thanh toán:";
     this.xrTableCell32.Weight = 4.7784974502941386D;
     //
     // xrTableCell36
     //
     this.xrTableCell36.Name = "xrTableCell36";
     this.xrTableCell36.Weight = 0.85524315712218835D;
     //
     // xrTableCell34
     //
     this.xrTableCell34.Name = "xrTableCell34";
     this.xrTableCell34.Weight = 0.89610592533963673D;
     //
     // xrPayment
     //
     this.xrPayment.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.Payment", "{0:n0}")});
     this.xrPayment.Font = new System.Drawing.Font("Times New Roman", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
     this.xrPayment.Name = "xrPayment";
     this.xrPayment.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     this.xrPayment.StylePriority.UseFont = false;
     this.xrPayment.StylePriority.UsePadding = false;
     this.xrPayment.StylePriority.UseTextAlignment = false;
     this.xrPayment.Text = "[InvoicesSelectByWhere.Payment]";
     this.xrPayment.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrPayment.Weight = 1.0076552982987241D;
     //
     // xrLabel20
     //
     this.xrLabel20.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(592.0837F, 132.7916F);
     this.xrLabel20.Name = "xrLabel20";
     this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel20.SizeF = new System.Drawing.SizeF(130F, 16F);
     this.xrLabel20.StylePriority.UseFont = false;
     this.xrLabel20.StylePriority.UseTextAlignment = false;
     this.xrLabel20.Text = "Nhân viên bán hàng";
     this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel17
     //
     this.xrLabel17.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(8.208816F, 91.79157F);
     this.xrLabel17.Name = "xrLabel17";
     this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel17.SizeF = new System.Drawing.SizeF(64.58333F, 16.00001F);
     this.xrLabel17.StylePriority.UseFont = false;
     this.xrLabel17.Text = "Ghi chú: ";
     //
     // xrLabel5
     //
     this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.Seller")});
     this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(592.0837F, 192.5001F);
     this.xrLabel5.Name = "xrLabel5";
     this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel5.SizeF = new System.Drawing.SizeF(130F, 16.00002F);
     this.xrLabel5.StylePriority.UseFont = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text = "xrLabel5";
     this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel3
     //
     this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.SellerPhone")});
     this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(593.0836F, 208.5001F);
     this.xrLabel3.Name = "xrLabel3";
     this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.SizeF = new System.Drawing.SizeF(129.0001F, 16F);
     this.xrLabel3.StylePriority.UseFont = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text = "xrLabel3";
     this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrTable6
     //
     this.xrTable6.Borders = DevExpress.XtraPrinting.BorderSide.None;
     this.xrTable6.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 60.00001F);
     this.xrTable6.Name = "xrTable6";
     this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow6});
     this.xrTable6.SizeF = new System.Drawing.SizeF(750F, 20F);
     this.xrTable6.StylePriority.UseBorders = false;
     this.xrTable6.StylePriority.UseFont = false;
     this.xrTable6.StylePriority.UseTextAlignment = false;
     this.xrTable6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableRow6
     //
     this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell8,
         this.xrTableCell9});
     this.xrTableRow6.Name = "xrTableRow6";
     this.xrTableRow6.Weight = 1D;
     //
     // xrTableCell8
     //
     this.xrTableCell8.Font = new System.Drawing.Font("Times New Roman", 9F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))));
     this.xrTableCell8.Name = "xrTableCell8";
     this.xrTableCell8.StylePriority.UseFont = false;
     this.xrTableCell8.StylePriority.UseTextAlignment = false;
     this.xrTableCell8.Text = "Tổng tiền (bằng chữ):";
     this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrTableCell8.Weight = 1.0847216847737626D;
     //
     // xrTableCell9
     //
     this.xrTableCell9.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.lbchu});
     this.xrTableCell9.Font = new System.Drawing.Font("Times New Roman", 9F);
     this.xrTableCell9.Name = "xrTableCell9";
     this.xrTableCell9.StylePriority.UseFont = false;
     this.xrTableCell9.StylePriority.UseTextAlignment = false;
     xrSummary3.FormatString = "{0:0.00 VND}";
     this.xrTableCell9.Summary = xrSummary3;
     this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrTableCell9.Weight = 5.4152783152262369D;
     //
     // lbchu
     //
     this.lbchu.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.lbchu.Name = "lbchu";
     this.lbchu.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.lbchu.SizeF = new System.Drawing.SizeF(623.7981F, 20F);
     this.lbchu.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.lbchu_BeforePrint);
     //
     // GroupFooter2
     //
     this.GroupFooter2.HeightF = 20.45835F;
     this.GroupFooter2.Name = "GroupFooter2";
     //
     // xrLabel6
     //
     this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(312.1668F, 132.7916F);
     this.xrLabel6.Name = "xrLabel6";
     this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF = new System.Drawing.SizeF(130F, 16F);
     this.xrLabel6.StylePriority.UseFont = false;
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     this.xrLabel6.Text = "Nhân viên giao hàng";
     this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel8
     //
     this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sale_InvoiceToPrint.DeliverPhone")});
     this.xrLabel8.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(312.1668F, 208.5001F);
     this.xrLabel8.Name = "xrLabel8";
     this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel8.SizeF = new System.Drawing.SizeF(130F, 16F);
     this.xrLabel8.StylePriority.UseFont = false;
     this.xrLabel8.StylePriority.UseTextAlignment = false;
     this.xrLabel8.Text = "xrLabel8";
     this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel7
     //
     this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sale_InvoiceToPrint.Deliver")});
     this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(312.1668F, 192.5001F);
     this.xrLabel7.Name = "xrLabel7";
     this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.SizeF = new System.Drawing.SizeF(130F, 16F);
     this.xrLabel7.StylePriority.UseFont = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text = "xrLabel7";
     this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel1
     //
     this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Italic);
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(72.79218F, 91.79156F);
     this.xrLabel1.Name = "xrLabel1";
     this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF = new System.Drawing.SizeF(514.6667F, 16F);
     this.xrLabel1.StylePriority.UseFont = false;
     this.xrLabel1.Text = "- Vui lòng kiểm tra kỹ hàng trước khi nhận. Nhân viên bán hàng không được nhận ti" +
         "ền và hàng hóa.";
     //
     // xrPageBreak1
     //
     this.xrPageBreak1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 238F);
     this.xrPageBreak1.Name = "xrPageBreak1";
     //
     // xrLabel9
     //
     this.xrLabel9.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(86.0417F, 132.7916F);
     this.xrLabel9.Name = "xrLabel9";
     this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel9.SizeF = new System.Drawing.SizeF(130F, 16F);
     this.xrLabel9.StylePriority.UseFont = false;
     this.xrLabel9.StylePriority.UseTextAlignment = false;
     this.xrLabel9.Text = "Khách hàng";
     this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrLabel11
     //
     this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.Customer")});
     this.xrLabel11.Font = new System.Drawing.Font("Times New Roman", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(86.0417F, 208.5001F);
     this.xrLabel11.Name = "xrLabel11";
     this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel11.SizeF = new System.Drawing.SizeF(130F, 16F);
     this.xrLabel11.StylePriority.UseFont = false;
     this.xrLabel11.StylePriority.UseTextAlignment = false;
     this.xrLabel11.Text = "xrLabel11";
     this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // dsMultiInvoicesToPrint1
     //
     this.dsMultiInvoicesToPrint1.DataSetName = "dsMultiInvoicesToPrint";
     this.dsMultiInvoicesToPrint1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // DetailReport
     //
     this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail1,
         this.GroupHeader2,
         this.GroupFooter3});
     this.DetailReport.DataMember = "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere";
     this.DetailReport.DataSource = this.dsMultiInvoicesToPrint1;
     this.DetailReport.Level = 0;
     this.DetailReport.Name = "DetailReport";
     //
     // Detail1
     //
     this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2});
     this.Detail1.HeightF = 20F;
     this.Detail1.Name = "Detail1";
     //
     // GroupHeader2
     //
     this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1});
     this.GroupHeader2.HeightF = 25F;
     this.GroupHeader2.Name = "GroupHeader2";
     //
     // GroupFooter3
     //
     this.GroupFooter3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable6,
         this.xrLabel17,
         this.xrLabel4,
         this.xrTable3,
         this.xrLabel20,
         this.xrLabel3,
         this.xrLabel5,
         this.xrPageBreak1,
         this.xrLabel1,
         this.xrLabel7,
         this.xrLabel8,
         this.xrLabel6,
         this.xrLabel9,
         this.xrLabel11});
     this.GroupFooter3.HeightF = 250F;
     this.GroupFooter3.Name = "GroupFooter3";
     //
     // xrTableCell17
     //
     this.xrTableCell17.Name = "xrTableCell17";
     this.xrTableCell17.Text = "CK(%)";
     this.xrTableCell17.Weight = 0.44682014695324773D;
     //
     // xrTableCell35
     //
     this.xrTableCell35.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoicesSelectByWhere.InvoicesSelectByWhere_ProductsInInvoicesSelectByWhere.Disco" +
                 "unt", "{0:n2}")});
     this.xrTableCell35.Name = "xrTableCell35";
     this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 5, 0, 0, 100F);
     this.xrTableCell35.StylePriority.UsePadding = false;
     this.xrTableCell35.StylePriority.UseTextAlignment = false;
     this.xrTableCell35.Text = "xrTableCell35";
     this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrTableCell35.Weight = 0.4455766067495005D;
     //
     // invoicesSelectByWhereTableAdapter1
     //
     this.invoicesSelectByWhereTableAdapter1.ClearBeforeFill = true;
     //
     // productsInInvoicesSelectByWhereTableAdapter1
     //
     this.productsInInvoicesSelectByWhereTableAdapter1.ClearBeforeFill = true;
     //
     // rptMultiInvoicesToPrint
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.PageHeader,
         this.GroupFooter2,
         this.DetailReport});
     this.DataAdapter = this.productsInInvoicesSelectByWhereTableAdapter1;
     this.DataMember = "InvoicesSelectByWhere";
     this.DataSource = this.dsMultiInvoicesToPrint1;
     this.Margins = new System.Drawing.Printing.Margins(49, 50, 20, 0);
     this.Version = "11.1";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsMultiInvoicesToPrint1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #48
0
        public void ShowReport()
        {
            #region "create_band"
            TopMarginBand    TopMargin    = new TopMarginBand();
            BottomMarginBand BottomMargin = new BottomMarginBand();
            DetailBand       Detail       = new DetailBand();       // noi dung lap lai
            ReportHeaderBand ReportHeader = new ReportHeaderBand(); // khong lap lai lam ten report
            PageHeaderBand   PageHeader   = new PageHeaderBand();   // lap lai tieu de
            ReportFooterBand ReportFooter = new ReportFooterBand(); // khong lap lai de lay chu ky
            #endregion

            #region "TopMargin"
            TopMargin.HeightF       = 100F;
            TopMargin.Name          = "TopMargin";
            TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            #endregion

            #region "ReportHeader"
            XRLabel xrLbl_BOT    = new XRLabel();
            XRLabel xrLblCongHoa = new XRLabel();
            XRLabel xrLblDocLap  = new XRLabel();
            XRLabel xrLblMau     = new XRLabel();
            XRLabel xrLblBaoCao  = new XRLabel();

            ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                xrLbl_BOT,
                xrLblCongHoa,
                xrLblDocLap,
                xrLblMau,
                xrLblBaoCao
            });
            ReportHeader.HeightF = 185.9375F;
            ReportHeader.Name    = "ReportHeader";

            //
            // xrLbl_BOT
            //
            xrLbl_BOT.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrLbl_BOT.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 0F);
            xrLbl_BOT.Multiline                      = true;
            xrLbl_BOT.Name                           = "xrLbl_BOT";
            xrLbl_BOT.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            xrLbl_BOT.SizeF                          = new System.Drawing.SizeF(227.6882F, 47.19355F);
            xrLbl_BOT.StylePriority.UseFont          = false;
            xrLbl_BOT.StylePriority.UseTextAlignment = false;
            xrLbl_BOT.Text                           = "TRẠM THU PHÍ BOT \r\nCẦU BẠCH ĐĂNG";
            xrLbl_BOT.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLblCongHoa
            //
            xrLblCongHoa.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrLblCongHoa.LocationFloat                  = new DevExpress.Utils.PointFloat(401.8818F, 0F);
            xrLblCongHoa.Multiline                      = true;
            xrLblCongHoa.Name                           = "xrLblCongHoa";
            xrLblCongHoa.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            xrLblCongHoa.SizeF                          = new System.Drawing.SizeF(567.1182F, 32.4086F);
            xrLblCongHoa.StylePriority.UseFont          = false;
            xrLblCongHoa.StylePriority.UseTextAlignment = false;
            xrLblCongHoa.Text                           = "CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM ";
            xrLblCongHoa.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLblDocLap
            //
            xrLblDocLap.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrLblDocLap.LocationFloat                  = new DevExpress.Utils.PointFloat(401.8818F, 32.4086F);
            xrLblDocLap.Multiline                      = true;
            xrLblDocLap.Name                           = "xrLblDocLap";
            xrLblDocLap.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            xrLblDocLap.SizeF                          = new System.Drawing.SizeF(567.1182F, 32.4086F);
            xrLblDocLap.StylePriority.UseFont          = false;
            xrLblDocLap.StylePriority.UseTextAlignment = false;
            xrLblDocLap.Text                           = "Độc lâp - Tự do - Hạnh phúc ";
            xrLblDocLap.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLblMau
            //
            xrLblMau.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrLblMau.LocationFloat                  = new DevExpress.Utils.PointFloat(401.8818F, 78.10752F);
            xrLblMau.Multiline                      = true;
            xrLblMau.Name                           = "xrLblMau";
            xrLblMau.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            xrLblMau.SizeF                          = new System.Drawing.SizeF(567.1182F, 32.4086F);
            xrLblMau.StylePriority.UseFont          = false;
            xrLblMau.StylePriority.UseTextAlignment = false;
            xrLblMau.Text                           = "Mẫu: PN KT-001\r\n";
            xrLblMau.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
            //
            // xrLblBaoCao
            //
            xrLblBaoCao.Font                           = new System.Drawing.Font("Times New Roman", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrLblBaoCao.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 123.6559F);
            xrLblBaoCao.Multiline                      = true;
            xrLblBaoCao.Name                           = "xrLblBaoCao";
            xrLblBaoCao.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            xrLblBaoCao.SizeF                          = new System.Drawing.SizeF(968.9999F, 40.47312F);
            xrLblBaoCao.StylePriority.UseFont          = false;
            xrLblBaoCao.StylePriority.UseTextAlignment = false;
            xrLblBaoCao.Text                           = "BÁO CÁO NHẬP KHO VÉ\r\n";
            xrLblBaoCao.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;

            #endregion

            #region "PageHeader"
            XRTable     xrTable_Title         = new XRTable();
            XRTableRow  xrTableRow1           = new XRTableRow();
            XRTableCell xrTableCell_STT       = new XRTableCell();
            XRTableCell xrTableCell_LoaiVe    = new XRTableCell();
            XRTableCell xrTableCell_DonGia    = new XRTableCell();
            XRTableCell xrTableCell_SoLuong   = new XRTableCell();
            XRTableCell xrTableCell_SoSerie   = new XRTableCell();
            XRTableCell xrTableCell_ThanhTien = new XRTableCell();

            PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                xrTable_Title
            });
            PageHeader.HeightF = 35.7527F;
            PageHeader.Name    = "PageHeader";

            xrTable_Title.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                            | DevExpress.XtraPrinting.BorderSide.Right)
                                                                           | DevExpress.XtraPrinting.BorderSide.Bottom)));
            xrTable_Title.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrTable_Title.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            xrTable_Title.Name          = "xrTable_Title";
            xrTable_Title.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                xrTableRow1
            });
            xrTable_Title.SizeF = new System.Drawing.SizeF(968.9999F, 35.7527F);
            xrTable_Title.StylePriority.UseBorders       = false;
            xrTable_Title.StylePriority.UseFont          = false;
            xrTable_Title.StylePriority.UseTextAlignment = false;
            xrTable_Title.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrTableRow1
            //
            xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                xrTableCell_STT,
                xrTableCell_LoaiVe,
                xrTableCell_DonGia,
                xrTableCell_SoLuong,
                xrTableCell_SoSerie,
                xrTableCell_ThanhTien
            });
            xrTableRow1.Name   = "xrTableRow1";
            xrTableRow1.Weight = 1D;
            //
            // xrTableCell_STT
            //
            xrTableCell_STT.Name   = "xrTableCell_STT";
            xrTableCell_STT.Text   = "STT";
            xrTableCell_STT.Weight = 0.55645156860351563D;
            //
            // xrTableCell_LoaiVe
            //
            xrTableCell_LoaiVe.Name   = "xrTableCell_LoaiVe";
            xrTableCell_LoaiVe.Text   = "Loại vé";
            xrTableCell_LoaiVe.Weight = 3.2123664541018107D;
            //
            // xrTableCell_DonGia
            //
            xrTableCell_DonGia.Name   = "xrTableCell_DonGia";
            xrTableCell_DonGia.Text   = "Đơn giá";
            xrTableCell_DonGia.Weight = 0.95161227514623636D;
            //
            // xrTableCell_SoLuong
            //
            xrTableCell_SoLuong.Name   = "xrTableCell_SoLuong";
            xrTableCell_SoLuong.Text   = "Số lượng";
            xrTableCell_SoLuong.Weight = 0.63216863614925811D;
            //
            // xrTableCell_SoSerie
            //
            xrTableCell_SoSerie.Name   = "xrTableCell_SoSerie";
            xrTableCell_SoSerie.Text   = "Số serie nhập";
            xrTableCell_SoSerie.Weight = 3.0255367900463437D;
            //
            // xrTableCell_ThanhTien
            //
            xrTableCell_ThanhTien.Name   = "xrTableCell_ThanhTien";
            xrTableCell_ThanhTien.Text   = "Thành tiền";
            xrTableCell_ThanhTien.Weight = 1.3118642759528358D;

            #endregion

            #region "Detail"

            List <RptTicketStoreModel> lst = new List <RptTicketStoreModel>();
            #region "Create_Data"
            // L1
            lst.Add(new RptTicketStoreModel()
            {
                STT          = 1,
                LOAIVE       = "Vé lượt < 12 chỗ ngồi",
                DONGIA       = 35000,
                SOLUONGTONG  = 30,
                SOLUONGSERIE = 10,
                SOSERIE      = "VL/18P02110000001=>VL/18P02110000010;",
                TTIEN        = 1050000
            });
            lst.Add(new RptTicketStoreModel()
            {
                STT          = -1,
                LOAIVE       = "",
                DONGIA       = -1,
                SOLUONGTONG  = -1,
                SOLUONGSERIE = 15,
                SOSERIE      = "VL/18P021100000011=>VL/18P02110000025;",
                TTIEN        = -1
            });
            lst.Add(new RptTicketStoreModel()
            {
                STT          = -1,
                LOAIVE       = "",
                DONGIA       = -1,
                SOLUONGTONG  = -1,
                SOLUONGSERIE = 5,
                SOSERIE      = "VL/18P021100000026=>VL/18P02110000030;",
                TTIEN        = -1
            });
            // L2
            lst.Add(new RptTicketStoreModel()
            {
                STT          = 2,
                LOAIVE       = "Vé lượt xe từ 12 ghế đến 30 ghế",
                DONGIA       = 50000,
                SOLUONGTONG  = 10,
                SOLUONGSERIE = 3,
                SOSERIE      = "VL/18P02120000001=>VL/18P0212000003;",
                TTIEN        = 150000
            });
            lst.Add(new RptTicketStoreModel()
            {
                STT          = -1,
                LOAIVE       = "",
                DONGIA       = -1,
                SOLUONGTONG  = -1,
                SOLUONGSERIE = 4,
                SOSERIE      = "VL/18P02120000004=>VL/18P0212000007;",
                TTIEN        = -1
            });
            lst.Add(new RptTicketStoreModel()
            {
                STT          = -1,
                LOAIVE       = "",
                DONGIA       = -1,
                SOLUONGTONG  = -1,
                SOLUONGSERIE = 3,
                SOSERIE      = "VL/18P02120000008=>VL/18P02120000010;",
                TTIEN        = -1
            });

            // L3
            lst.Add(new RptTicketStoreModel()
            {
                STT          = 3,
                LOAIVE       = "Vé lượt xe từ 31 ghế trở lên",
                DONGIA       = 60000,
                SOLUONGTONG  = 5,
                SOLUONGSERIE = 5,
                SOSERIE      = "VL/18P02130000001=>VL/18P0213000005;",
                TTIEN        = 300000
            });
            #endregion

            XRTable    xrTable_Detail = new XRTable();
            XRTableRow xrTableRow2;

            XRTableCell xrTableCell_STT_;
            XRTableCell xrTableCell_LoaiVe_;
            XRTableCell xrTableCell_DonGia_;
            XRTableCell xrTableCell_SoLuong_;
            XRTableCell xrTableCell_SoLuongSerie;
            XRTableCell xrTableCell_Serie_;
            XRTableCell xrTableCell_ThanhTien_;


            int     tmpSL = 0;
            decimal tmpTT = 0;

            foreach (RptTicketStoreModel item in _lstRptTicketStoreModel)
            {
                xrTableRow2              = new XRTableRow();
                xrTableCell_STT_         = new XRTableCell();
                xrTableCell_LoaiVe_      = new XRTableCell();
                xrTableCell_DonGia_      = new XRTableCell();
                xrTableCell_SoLuong_     = new XRTableCell();
                xrTableCell_SoLuongSerie = new XRTableCell();
                xrTableCell_Serie_       = new XRTableCell();
                xrTableCell_ThanhTien_   = new XRTableCell();

                #region "format_cell"
                //
                // xrTableCell_STT_
                //
                xrTableCell_STT_.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
                xrTableCell_STT_.Name    = "xrTableCell_STT_";
                //xrTableCell_STT_.Text = "STT";
                xrTableCell_STT_.Weight = 0.55645156860351563D;
                //
                // xrTableCell_LoaiVe_
                //
                xrTableCell_LoaiVe_.Name          = "xrTableCell_LoaiVe_";
                xrTableCell_LoaiVe_.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
                xrTableCell_LoaiVe_.Weight        = 3.2123664541018107D;
                xrTableCell_LoaiVe_.Borders       = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
                //
                // xrTableCell_DonGia_
                //
                xrTableCell_DonGia_.Name    = "xrTableCell_DonGia_";
                xrTableCell_DonGia_.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
                xrTableCell_DonGia_.Weight  = 0.95161227514623636D;
                //
                // xrTableCell_SoLuong_
                //
                xrTableCell_SoLuong_.Name    = "xrTableCell_SoLuong_";
                xrTableCell_SoLuong_.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
                xrTableCell_SoLuong_.Weight  = 0.63216863614925807D;
                //
                // xrTableCell_Serie_
                //
                xrTableCell_Serie_.Name    = "xrTableCell_Serie_";
                xrTableCell_Serie_.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
                xrTableCell_Serie_.Weight  = 2.393366452796194D;
                //
                // xrTableCell_ThanhTien_
                //
                xrTableCell_ThanhTien_.Name    = "xrTableCell_ThanhTien_";
                xrTableCell_ThanhTien_.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
                xrTableCell_ThanhTien_.Weight  = 1.3118641235159838D;
                //
                // xrTableCell_SoLuongSerie
                //
                xrTableCell_SoLuongSerie.Name    = "xrTableCell_SoLuongSerie";
                xrTableCell_SoLuongSerie.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
                xrTableCell_SoLuongSerie.Weight  = 0.63216863614925811D;


                #endregion

                #region "Binding_data_to_cell"
                xrTableCell_STT_.Text         = "" + item.STT;
                xrTableCell_LoaiVe_.Text      = "  " + item.LOAIVE;
                xrTableCell_DonGia_.Text      = string.Format("{0:0,0}", item.DONGIA);
                xrTableCell_SoLuong_.Text     = "" + item.SOLUONGTONG;
                xrTableCell_SoLuongSerie.Text = "" + item.SOLUONGSERIE;
                xrTableCell_Serie_.Text       = item.SOSERIE;
                xrTableCell_ThanhTien_.Text   = string.Format("{0:0,0}", item.TTIEN);

                if (item.STT != -1)
                {
                    tmpSL += item.SOLUONGTONG;
                    tmpTT += item.TTIEN;
                }

                if (item.STT == -1)
                {
                    xrTableCell_STT_.Text         = "";
                    xrTableCell_LoaiVe_.Text      = "";
                    xrTableCell_DonGia_.Text      = "";
                    xrTableCell_SoLuong_.Text     = "";
                    xrTableCell_SoLuongSerie.Text = "" + item.SOLUONGSERIE;
                    xrTableCell_Serie_.Text       = item.SOSERIE;
                    xrTableCell_ThanhTien_.Text   = "";

                    xrTableCell_STT_.Borders       = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
                    xrTableCell_LoaiVe_.Borders    = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
                    xrTableCell_DonGia_.Borders    = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
                    xrTableCell_SoLuong_.Borders   = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
                    xrTableCell_ThanhTien_.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
                }

                if (item.STT > 1)
                {
                    xrTableCell_STT_.Borders         = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
                    xrTableCell_LoaiVe_.Borders      = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
                    xrTableCell_DonGia_.Borders      = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
                    xrTableCell_SoLuong_.Borders     = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
                    xrTableCell_SoLuongSerie.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
                    xrTableCell_Serie_.Borders       = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
                    xrTableCell_ThanhTien_.Borders   = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom)));
                }


                #endregion

                #region "Add_Cell_To_xrTableRows"
                //
                // xrTableRow2
                //
                xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                    xrTableCell_STT_,
                    xrTableCell_LoaiVe_,
                    xrTableCell_DonGia_,
                    xrTableCell_SoLuong_,
                    xrTableCell_SoLuongSerie,
                    xrTableCell_Serie_,
                    xrTableCell_ThanhTien_
                });
                xrTableRow2.Name   = "xrTableRow2";
                xrTableRow2.Weight = 1D;

                #endregion

                #region "Add_Row_To_xrTable"
                //
                // xrTable_Detail.
                //
                //xrTable_Detail.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                //| DevExpress.XtraPrinting.BorderSide.Bottom)));
                xrTable_Detail.Borders                        = DevExpress.XtraPrinting.BorderSide.None;
                xrTable_Detail.Font                           = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
                xrTable_Detail.LocationFloat                  = new DevExpress.Utils.PointFloat(0.0001390775F, 0F);
                xrTable_Detail.Name                           = "xrTable_Detail";
                xrTable_Detail.SizeF                          = new System.Drawing.SizeF(968.9997F, 35.7527F);
                xrTable_Detail.StylePriority.UseBorders       = false;
                xrTable_Detail.StylePriority.UseFont          = false;
                xrTable_Detail.StylePriority.UseTextAlignment = false;
                xrTable_Detail.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
                xrTable_Detail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                    xrTableRow2
                });
                #endregion
            }

            // add table to Band_Detail
            Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                xrTable_Detail
            });
            Detail.HeightF       = 35.7527F;
            Detail.Name          = "Detail";
            Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;

            #endregion

            #region "ReportFooter"
            XRTable     xrTable_footer         = new XRTable();
            XRTableRow  xrTableRow3            = new XRTableRow();
            XRTableCell xrTableCell_Tong       = new XRTableCell();
            XRTableCell xrTableCell_SoLuongSum = new XRTableCell();
            XRTableCell xrTableCell_TTSum      = new XRTableCell();
            //
            // xrTable_footer
            //
            xrTable_footer.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                            | DevExpress.XtraPrinting.BorderSide.Bottom | DevExpress.XtraPrinting.BorderSide.Top)));
            xrTable_footer.Font          = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrTable_footer.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            xrTable_footer.Name          = "xrTable_footer";
            xrTable_footer.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                xrTableRow3
            });
            xrTable_footer.SizeF = new System.Drawing.SizeF(968.9995F, 35.7527F);
            xrTable_footer.StylePriority.UseBorders       = false;
            xrTable_footer.StylePriority.UseFont          = false;
            xrTable_footer.StylePriority.UseTextAlignment = false;
            xrTable_footer.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrTableRow3
            //
            xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                xrTableCell_Tong,
                xrTableCell_SoLuongSum,
                xrTableCell_TTSum
            });
            xrTableRow3.Name   = "xrTableRow3";
            xrTableRow3.Weight = 1D;
            //
            // xrTableCell_Tong
            //
            //xrTableCell_Tong.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top)
            //| DevExpress.XtraPrinting.BorderSide.Bottom)));
            xrTableCell_Tong.Name = "xrTableCell_Tong";
            xrTableCell_Tong.StylePriority.UseBorders = false;
            xrTableCell_Tong.Text   = "TỔNG";
            xrTableCell_Tong.Weight = 4.7204276039877069D;
            //
            // xrTableCell_SoLuongSum
            //
            //xrTableCell_SoLuongSum.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Top)
            //| DevExpress.XtraPrinting.BorderSide.Bottom)));
            xrTableCell_SoLuongSum.Name = "xrTableCell_SoLuongSum";
            xrTableCell_SoLuongSum.StylePriority.UseBorders = false;
            xrTableCell_SoLuongSum.Text   = "" + tmpSL;// "000";
            xrTableCell_SoLuongSum.Weight = 0.6321689989974304D;
            //
            // xrTableCell_TTSum
            //
            xrTableCell_TTSum.Name = "xrTableCell_TTSum";
            xrTableCell_TTSum.StylePriority.UseTextAlignment = false;
            xrTableCell_TTSum.Text          = string.Format("{0:0,0}", tmpTT);//"000.000.000.000  ";
            xrTableCell_TTSum.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
            xrTableCell_TTSum.Weight        = 4.3373998019691911D;
            //
            // xrLbl_NguoiLap
            //
            XRLabel xrLbl_NguoiLap = new XRLabel();
            xrLbl_NguoiLap.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrLbl_NguoiLap.LocationFloat                  = new DevExpress.Utils.PointFloat(777.0834F, 78.34375F);
            xrLbl_NguoiLap.Name                           = "xrLbl_NguoiLap";
            xrLbl_NguoiLap.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F);
            xrLbl_NguoiLap.SizeF                          = new System.Drawing.SizeF(100F, 23F);
            xrLbl_NguoiLap.StylePriority.UseFont          = false;
            xrLbl_NguoiLap.StylePriority.UseTextAlignment = false;
            xrLbl_NguoiLap.Text                           = "NGƯỜI LẬP";
            xrLbl_NguoiLap.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;

            //
            // xrLblNgayThang
            //
            XRLabel xrLblNgayThang = new DevExpress.XtraReports.UI.XRLabel();
            xrLblNgayThang.Font                           = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrLblNgayThang.LocationFloat                  = new DevExpress.Utils.PointFloat(677.0834F, 55.34375F);
            xrLblNgayThang.Name                           = "xrLblNgayThang";
            xrLblNgayThang.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            xrLblNgayThang.SizeF                          = new System.Drawing.SizeF(291.9162F, 23F);
            xrLblNgayThang.StylePriority.UseFont          = false;
            xrLblNgayThang.StylePriority.UseTextAlignment = false;
            xrLblNgayThang.Text                           = ",ngày    tháng    năm";
            xrLblNgayThang.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;

            ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                xrTable_footer,
                xrLblNgayThang,
                xrLbl_NguoiLap
            });
            ReportFooter.HeightF = 217.1875F;
            ReportFooter.Name    = "ReportFooter";

            #endregion

            #region "BottomMargin"

            XRPageInfo xrPageInfo1 = new XRPageInfo();

            //
            // xrPageInfo1
            //
            xrPageInfo1.Font                           = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            xrPageInfo1.Format                         = "Page{0}/{1}";
            xrPageInfo1.LocationFloat                  = new DevExpress.Utils.PointFloat(859F, 0F);
            xrPageInfo1.Name                           = "xrPageInfo1";
            xrPageInfo1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            xrPageInfo1.SizeF                          = new System.Drawing.SizeF(100F, 23F);
            xrPageInfo1.StylePriority.UseFont          = false;
            xrPageInfo1.StylePriority.UseTextAlignment = false;
            xrPageInfo1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;


            BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                xrPageInfo1
            });
            BottomMargin.HeightF       = 83.07291F;
            BottomMargin.Name          = "BottomMargin";
            BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;

            #endregion

            #region "create_report"
            XtraReport rpt = new XtraReport();
            rpt.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
                Detail,
                TopMargin,
                BottomMargin,
                ReportHeader,
                PageHeader,
                ReportFooter
            });
            rpt.Margins    = new System.Drawing.Printing.Margins(100, 100, 100, 100); // can le. left - right - top - bottom
            rpt.Landscape  = true;                                                    // giay ngang
            rpt.PageHeight = 827;                                                     // kich thuoc trang xoay ngang
            rpt.PageWidth  = 1169;                                                    // doi height va width se la A4 doc
            rpt.PaperKind  = System.Drawing.Printing.PaperKind.A4;                    // set giay A4
            rpt.Version    = "17.1";
            #endregion

            #region "show_report"
            ReportPrintTool reportPrintTool = new ReportPrintTool(rpt);
            reportPrintTool.ShowPreviewDialog();
            #endregion
        }
コード例 #49
0
        public static XRTable CreateLastSUMTable(XtraReport _XtraReport, List<structColumn> ListColumns, int pageWidth, int colWidth, Boolean HaveGroup, int GroupColumnLength)
        {
            if (ListColumns.Where(item => item.IsNumber == true).ToList().Count > 0)
            {
                XRTable XRTable_Sum = new XRTable();
                XRTableRow XRTableRow_Sum = new XRTableRow();

                if (HaveGroup && GroupColumnLength > 0)
                {
                    XRTableCell XRTableCell_CellFirst = new XRTableCell();
                    XRTableCell_CellFirst.Width = GroupColumnLength;
                    XRTableCell_CellFirst.Text = "";

                    XRTableRow_Sum.Cells.Add(XRTableCell_CellFirst);
                }

                for (int i = 0; i < ListColumns.Count; i++)
                {
                    XRTableCell XRTableCell_Cell = new XRTableCell();
                    XRTableCell_Cell.Width = (int)colWidth;

                    if (ListColumns[i].IsNumber)
                    {
                        XRTableCell_Cell.DataBindings.Add("Text", _XtraReport.DataSource, ListColumns[i].FieldName);
                        XRTableCell_Cell.Summary.IgnoreNullValues = true;
                        XRTableCell_Cell.Summary.Func = SummaryFunc.Sum;
                        XRTableCell_Cell.Summary.Running = SummaryRunning.Report;
                        XRTableCell_Cell.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
                    }
                    else
                    {
                        XRTableCell_Cell.Text = "";
                    }

                    XRTableRow_Sum.Cells.Add(XRTableCell_Cell);
                }
                XRTable_Sum.Rows.Add(XRTableRow_Sum);
                //XRTable_Sum.Width = pageWidth;
                //XRTable_Sum.LocationF = new DevExpress.Utils.PointFloat(0F, 0F);

                return XRTable_Sum;
            }
            return null;
        }
コード例 #50
0
ファイル: StepReport.cs プロジェクト: Solnake/kayflow
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     string resourceFileName = "StepReport.resx";
         this.components = new System.ComponentModel.Container();
         this.Detail = new DevExpress.XtraReports.UI.DetailBand();
         this.tblActs = new DevExpress.XtraReports.UI.XRTable();
         this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
         this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
         this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
         this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand();
         this.srcActs = new System.Windows.Forms.BindingSource(this.components);
         this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
         this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
         this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
         this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
         this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
         this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell55 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell();
         this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
         this.detailSteps = new DevExpress.XtraReports.UI.DetailBand();
         this.tblSteps = new DevExpress.XtraReports.UI.XRTable();
         this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
         this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
         this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
         this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
         this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
         this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
         this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
         this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
         this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
         this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
         this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell();
         ((System.ComponentModel.ISupportInitialize)(this.tblActs)).BeginInit();
         ((System.ComponentModel.ISupportInitialize)(this.srcActs)).BeginInit();
         ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
         ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
         ((System.ComponentModel.ISupportInitialize)(this.tblSteps)).BeginInit();
         ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
         ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
         ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
         //
         // Detail
         //
         this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.tblActs});
         this.Detail.HeightF = 15F;
         this.Detail.Name = "Detail";
         this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
         this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
         this.Detail.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.Detail_BeforePrint);
         //
         // tblActs
         //
         this.tblActs.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.tblActs.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
         this.tblActs.Name = "tblActs";
         this.tblActs.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1});
         this.tblActs.SizeF = new System.Drawing.SizeF(1069F, 15F);
         this.tblActs.StylePriority.UseBorders = false;
         //
         // xrTableRow1
         //
         this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell14,
         this.xrTableCell15,
         this.xrTableCell1,
         this.xrTableCell7,
         this.xrTableCell8,
         this.xrTableCell9,
         this.xrTableCell2,
         this.xrTableCell10,
         this.xrTableCell3,
         this.xrTableCell12,
         this.xrTableCell13,
         this.xrTableCell11});
         this.xrTableRow1.Name = "xrTableRow1";
         this.xrTableRow1.Weight = 1D;
         //
         // xrTableCell14
         //
         this.xrTableCell14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "MeteringDate", "{0:dd.MM.yyyy}")});
         this.xrTableCell14.Name = "xrTableCell14";
         this.xrTableCell14.StylePriority.UseBorders = false;
         this.xrTableCell14.StylePriority.UseTextAlignment = false;
         this.xrTableCell14.Text = "xrTableCell14";
         this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell14.Weight = 0.091450357298137608D;
         //
         // xrTableCell15
         //
         this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "StateName")});
         this.xrTableCell15.Name = "xrTableCell15";
         this.xrTableCell15.StylePriority.UseBorders = false;
         this.xrTableCell15.StylePriority.UseTextAlignment = false;
         this.xrTableCell15.Text = "xrTableCell15";
         this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell15.Weight = 0.10669208251214116D;
         //
         // xrTableCell1
         //
         this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeName")});
         this.xrTableCell1.Name = "xrTableCell1";
         this.xrTableCell1.StylePriority.UseBorders = false;
         this.xrTableCell1.StylePriority.UseTextAlignment = false;
         this.xrTableCell1.Text = "xrTableCell1";
         this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
         this.xrTableCell1.Weight = 0.27435106813559013D;
         //
         // xrTableCell7
         //
         this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "UnitName")});
         this.xrTableCell7.Name = "xrTableCell7";
         this.xrTableCell7.StylePriority.UseBorders = false;
         this.xrTableCell7.StylePriority.UseTextAlignment = false;
         this.xrTableCell7.Text = "xrTableCell7";
         this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
         this.xrTableCell7.Weight = 0.18290071309274597D;
         //
         // xrTableCell8
         //
         this.xrTableCell8.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "Address")});
         this.xrTableCell8.Name = "xrTableCell8";
         this.xrTableCell8.StylePriority.UseBorders = false;
         this.xrTableCell8.StylePriority.UseTextAlignment = false;
         this.xrTableCell8.Text = "xrTableCell8";
         this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
         this.xrTableCell8.Weight = 0.22862589249357956D;
         //
         // xrTableCell9
         //
         this.xrTableCell9.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerName")});
         this.xrTableCell9.Font = new System.Drawing.Font("Times New Roman", 8F, System.Drawing.FontStyle.Bold);
         this.xrTableCell9.Name = "xrTableCell9";
         this.xrTableCell9.StylePriority.UseBorders = false;
         this.xrTableCell9.StylePriority.UseFont = false;
         this.xrTableCell9.StylePriority.UseTextAlignment = false;
         this.xrTableCell9.Text = "xrTableCell9";
         this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
         this.xrTableCell9.Weight = 0.18290070970980582D;
         //
         // xrTableCell2
         //
         this.xrTableCell2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerPhone")});
         this.xrTableCell2.Name = "xrTableCell2";
         this.xrTableCell2.StylePriority.UseBorders = false;
         this.xrTableCell2.StylePriority.UseTextAlignment = false;
         this.xrTableCell2.Text = "xrTableCell2";
         this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell2.Weight = 0.10669207988096552D;
         //
         // xrTableCell10
         //
         this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "AreaAmount")});
         this.xrTableCell10.Name = "xrTableCell10";
         this.xrTableCell10.StylePriority.UseBorders = false;
         this.xrTableCell10.StylePriority.UseTextAlignment = false;
         this.xrTableCell10.Text = "xrTableCell10";
         this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell10.Weight = 0.076208630856557685D;
         //
         // xrTableCell3
         //
         this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "ActAmount")});
         this.xrTableCell3.Name = "xrTableCell3";
         this.xrTableCell3.StylePriority.UseBorders = false;
         this.xrTableCell3.StylePriority.UseTextAlignment = false;
         this.xrTableCell3.Text = "xrTableCell3";
         this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell3.Weight = 0.076208628889134711D;
         //
         // xrTableCell12
         //
         this.xrTableCell12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "CategoryName")});
         this.xrTableCell12.Name = "xrTableCell12";
         this.xrTableCell12.StylePriority.UseBorders = false;
         this.xrTableCell12.StylePriority.UseTextAlignment = false;
         this.xrTableCell12.Text = "xrTableCell12";
         this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell12.Weight = 0.10669208419765233D;
         //
         // xrTableCell13
         //
         this.xrTableCell13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "ActDate", "{0:dd.MM.yyyy}")});
         this.xrTableCell13.Name = "xrTableCell13";
         this.xrTableCell13.StylePriority.UseBorders = false;
         this.xrTableCell13.StylePriority.UseTextAlignment = false;
         this.xrTableCell13.Text = "xrTableCell13";
         this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell13.Weight = 0.091450355559682034D;
         //
         // xrTableCell11
         //
         this.xrTableCell11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "ActNum")});
         this.xrTableCell11.Name = "xrTableCell11";
         this.xrTableCell11.StylePriority.UseBorders = false;
         this.xrTableCell11.StylePriority.UseTextAlignment = false;
         this.xrTableCell11.Text = "xrTableCell11";
         this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell11.Weight = 0.10516790311461627D;
         //
         // TopMargin
         //
         this.TopMargin.HeightF = 51F;
         this.TopMargin.Name = "TopMargin";
         this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
         this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
         //
         // BottomMargin
         //
         this.BottomMargin.HeightF = 50F;
         this.BottomMargin.Name = "BottomMargin";
         this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
         this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
         //
         // srcActs
         //
         this.srcActs.DataSource = typeof(Kayflow.Reports.ActCollection);
         //
         // ReportHeader
         //
         this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1,
         this.xrTable5});
         this.ReportHeader.HeightF = 43.25F;
         this.ReportHeader.Name = "ReportHeader";
         //
         // xrTable1
         //
         this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)));
         this.xrTable1.Font = new System.Drawing.Font("Times New Roman", 8F, System.Drawing.FontStyle.Bold);
         this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(3.178914E-05F, 0F);
         this.xrTable1.Name = "xrTable1";
         this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow3});
         this.xrTable1.SizeF = new System.Drawing.SizeF(1069F, 27.49999F);
         this.xrTable1.StylePriority.UseBorders = false;
         this.xrTable1.StylePriority.UseFont = false;
         this.xrTable1.StylePriority.UseTextAlignment = false;
         this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         //
         // xrTableRow3
         //
         this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell22,
         this.xrTableCell19,
         this.xrTableCell23,
         this.xrTableCell16,
         this.xrTableCell24,
         this.xrTableCell20,
         this.xrTableCell25,
         this.xrTableCell17,
         this.xrTableCell26,
         this.xrTableCell21,
         this.xrTableCell27,
         this.xrTableCell18});
         this.xrTableRow3.Name = "xrTableRow3";
         this.xrTableRow3.Weight = 1D;
         //
         // xrTableCell22
         //
         this.xrTableCell22.Multiline = true;
         this.xrTableCell22.Name = "xrTableCell22";
         this.xrTableCell22.StylePriority.UseTextAlignment = false;
         this.xrTableCell22.Text = "Дата\r\nзаміру";
         this.xrTableCell22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell22.Weight = 0.16838166867604984D;
         //
         // xrTableCell19
         //
         this.xrTableCell19.Name = "xrTableCell19";
         this.xrTableCell19.Text = "Статус";
         this.xrTableCell19.Weight = 0.19644527952731267D;
         //
         // xrTableCell23
         //
         this.xrTableCell23.Name = "xrTableCell23";
         this.xrTableCell23.Text = "Працівник";
         this.xrTableCell23.Weight = 0.50514498818578624D;
         //
         // xrTableCell16
         //
         this.xrTableCell16.Name = "xrTableCell16";
         this.xrTableCell16.Text = "Населений пункт";
         this.xrTableCell16.Weight = 0.336763323078209D;
         //
         // xrTableCell24
         //
         this.xrTableCell24.Name = "xrTableCell24";
         this.xrTableCell24.Text = "Адреса";
         this.xrTableCell24.Weight = 0.42095415563199762D;
         //
         // xrTableCell20
         //
         this.xrTableCell20.Name = "xrTableCell20";
         this.xrTableCell20.Text = "Замовник";
         this.xrTableCell20.Weight = 0.33676332307820905D;
         //
         // xrTableCell25
         //
         this.xrTableCell25.Name = "xrTableCell25";
         this.xrTableCell25.Text = "№ телефону";
         this.xrTableCell25.Weight = 0.19644527952731264D;
         //
         // xrTableCell17
         //
         this.xrTableCell17.Font = new System.Drawing.Font("Times New Roman", 8F, System.Drawing.FontStyle.Bold);
         this.xrTableCell17.Multiline = true;
         this.xrTableCell17.Name = "xrTableCell17";
         this.xrTableCell17.StylePriority.UseFont = false;
         this.xrTableCell17.Text = "К-сть\r\n ділянок";
         this.xrTableCell17.Weight = 0.14031805247207801D;
         //
         // xrTableCell26
         //
         this.xrTableCell26.Multiline = true;
         this.xrTableCell26.Name = "xrTableCell26";
         this.xrTableCell26.Text = "К-сть\r\nактів";
         this.xrTableCell26.Weight = 0.14031805247207793D;
         //
         // xrTableCell21
         //
         this.xrTableCell21.Name = "xrTableCell21";
         this.xrTableCell21.Text = "Категорія";
         this.xrTableCell21.Weight = 0.19644527952731267D;
         //
         // xrTableCell27
         //
         this.xrTableCell27.Multiline = true;
         this.xrTableCell27.Name = "xrTableCell27";
         this.xrTableCell27.Text = "Дата\r\nдоговору";
         this.xrTableCell27.Weight = 0.16838166867604984D;
         //
         // xrTableCell18
         //
         this.xrTableCell18.Name = "xrTableCell18";
         this.xrTableCell18.Text = "№ договору";
         this.xrTableCell18.Weight = 0.19363892914760436D;
         //
         // xrTable5
         //
         this.xrTable5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTable5.Font = new System.Drawing.Font("Times New Roman", 8F, System.Drawing.FontStyle.Bold);
         this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.25F);
         this.xrTable5.Name = "xrTable5";
         this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow6});
         this.xrTable5.SizeF = new System.Drawing.SizeF(1069F, 15F);
         this.xrTable5.StylePriority.UseBorders = false;
         this.xrTable5.StylePriority.UseFont = false;
         this.xrTable5.StylePriority.UseTextAlignment = false;
         this.xrTable5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         //
         // xrTableRow6
         //
         this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell45,
         this.xrTableCell46,
         this.xrTableCell47,
         this.xrTableCell48,
         this.xrTableCell49,
         this.xrTableCell50,
         this.xrTableCell51,
         this.xrTableCell52,
         this.xrTableCell53,
         this.xrTableCell54,
         this.xrTableCell55,
         this.xrTableCell56});
         this.xrTableRow6.Name = "xrTableRow6";
         this.xrTableRow6.Weight = 1D;
         //
         // xrTableCell45
         //
         this.xrTableCell45.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell45.Multiline = true;
         this.xrTableCell45.Name = "xrTableCell45";
         this.xrTableCell45.StylePriority.UseBorders = false;
         this.xrTableCell45.StylePriority.UseTextAlignment = false;
         this.xrTableCell45.Text = "1";
         this.xrTableCell45.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell45.Weight = 0.16838166867604984D;
         //
         // xrTableCell46
         //
         this.xrTableCell46.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell46.Name = "xrTableCell46";
         this.xrTableCell46.StylePriority.UseBorders = false;
         this.xrTableCell46.Text = "2";
         this.xrTableCell46.Weight = 0.19644527952731267D;
         //
         // xrTableCell47
         //
         this.xrTableCell47.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell47.Name = "xrTableCell47";
         this.xrTableCell47.StylePriority.UseBorders = false;
         this.xrTableCell47.Text = "3";
         this.xrTableCell47.Weight = 0.50514498818578624D;
         //
         // xrTableCell48
         //
         this.xrTableCell48.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell48.Name = "xrTableCell48";
         this.xrTableCell48.StylePriority.UseBorders = false;
         this.xrTableCell48.Text = "4";
         this.xrTableCell48.Weight = 0.336763323078209D;
         //
         // xrTableCell49
         //
         this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell49.Name = "xrTableCell49";
         this.xrTableCell49.StylePriority.UseBorders = false;
         this.xrTableCell49.Text = "5";
         this.xrTableCell49.Weight = 0.42095415563199762D;
         //
         // xrTableCell50
         //
         this.xrTableCell50.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell50.Name = "xrTableCell50";
         this.xrTableCell50.StylePriority.UseBorders = false;
         this.xrTableCell50.Text = "6";
         this.xrTableCell50.Weight = 0.33676332307820905D;
         //
         // xrTableCell51
         //
         this.xrTableCell51.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell51.Name = "xrTableCell51";
         this.xrTableCell51.StylePriority.UseBorders = false;
         this.xrTableCell51.Text = "7";
         this.xrTableCell51.Weight = 0.19644527952731264D;
         //
         // xrTableCell52
         //
         this.xrTableCell52.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell52.Font = new System.Drawing.Font("Times New Roman", 8F, System.Drawing.FontStyle.Bold);
         this.xrTableCell52.Multiline = true;
         this.xrTableCell52.Name = "xrTableCell52";
         this.xrTableCell52.StylePriority.UseBorders = false;
         this.xrTableCell52.StylePriority.UseFont = false;
         this.xrTableCell52.Text = "8";
         this.xrTableCell52.Weight = 0.14031805247207801D;
         //
         // xrTableCell53
         //
         this.xrTableCell53.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell53.Multiline = true;
         this.xrTableCell53.Name = "xrTableCell53";
         this.xrTableCell53.StylePriority.UseBorders = false;
         this.xrTableCell53.Text = "9";
         this.xrTableCell53.Weight = 0.14031805247207793D;
         //
         // xrTableCell54
         //
         this.xrTableCell54.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell54.Name = "xrTableCell54";
         this.xrTableCell54.StylePriority.UseBorders = false;
         this.xrTableCell54.Text = "10";
         this.xrTableCell54.Weight = 0.19644527952731267D;
         //
         // xrTableCell55
         //
         this.xrTableCell55.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell55.Multiline = true;
         this.xrTableCell55.Name = "xrTableCell55";
         this.xrTableCell55.StylePriority.UseBorders = false;
         this.xrTableCell55.Text = "11";
         this.xrTableCell55.Weight = 0.16838166867604984D;
         //
         // xrTableCell56
         //
         this.xrTableCell56.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell56.Name = "xrTableCell56";
         this.xrTableCell56.StylePriority.UseBorders = false;
         this.xrTableCell56.Text = "12";
         this.xrTableCell56.Weight = 0.19363892914760436D;
         //
         // DetailReport
         //
         this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.detailSteps,
         this.GroupHeader1,
         this.GroupFooter1});
         this.DetailReport.DataMember = "Steps";
         this.DetailReport.DataSource = this.srcActs;
         this.DetailReport.Level = 0;
         this.DetailReport.Name = "DetailReport";
         //
         // detailSteps
         //
         this.detailSteps.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.tblSteps});
         this.detailSteps.HeightF = 15F;
         this.detailSteps.KeepTogether = true;
         this.detailSteps.Name = "detailSteps";
         this.detailSteps.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.detailSteps_BeforePrint);
         //
         // tblSteps
         //
         this.tblSteps.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.tblSteps.Font = new System.Drawing.Font("Times New Roman", 8F);
         this.tblSteps.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
         this.tblSteps.Name = "tblSteps";
         this.tblSteps.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2});
         this.tblSteps.SizeF = new System.Drawing.SizeF(430F, 15F);
         this.tblSteps.StylePriority.UseBorders = false;
         this.tblSteps.StylePriority.UseFont = false;
         //
         // xrTableRow2
         //
         this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell32,
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell6});
         this.xrTableRow2.Name = "xrTableRow2";
         this.xrTableRow2.Weight = 1D;
         //
         // xrTableCell32
         //
         this.xrTableCell32.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell32.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "Steps.OrdNum")});
         this.xrTableCell32.Name = "xrTableCell32";
         this.xrTableCell32.StylePriority.UseBorders = false;
         this.xrTableCell32.StylePriority.UseTextAlignment = false;
         this.xrTableCell32.Text = "xrTableCell32";
         this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell32.Weight = 0.18575856007409755D;
         //
         // xrTableCell4
         //
         this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "Steps.ActionName")});
         this.xrTableCell4.Name = "xrTableCell4";
         this.xrTableCell4.StylePriority.UseBorders = false;
         this.xrTableCell4.StylePriority.UseTextAlignment = false;
         this.xrTableCell4.Text = "xrTableCell4";
         this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
         this.xrTableCell4.Weight = 0.650154799860234D;
         //
         // xrTableCell5
         //
         this.xrTableCell5.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "Steps.Delivered", "{0:dd.MM.yyyy}")});
         this.xrTableCell5.Name = "xrTableCell5";
         this.xrTableCell5.StylePriority.UseBorders = false;
         this.xrTableCell5.StylePriority.UseTextAlignment = false;
         this.xrTableCell5.Text = "xrTableCell5";
         this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell5.Weight = 0.24767801857585131D;
         //
         // xrTableCell6
         //
         this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "Steps.Received", "{0:dd.MM.yyyy}")});
         this.xrTableCell6.Name = "xrTableCell6";
         this.xrTableCell6.StylePriority.UseBorders = false;
         this.xrTableCell6.StylePriority.UseTextAlignment = false;
         this.xrTableCell6.Text = "xrTableCell6";
         this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell6.Weight = 0.24767801857585131D;
         //
         // GroupHeader1
         //
         this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable3});
         this.GroupHeader1.HeightF = 15F;
         this.GroupHeader1.Name = "GroupHeader1";
         this.GroupHeader1.RepeatEveryPage = true;
         //
         // xrTable3
         //
         this.xrTable3.BackColor = System.Drawing.Color.Gainsboro;
         this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTable3.Font = new System.Drawing.Font("Times New Roman", 8F, System.Drawing.FontStyle.Bold);
         this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
         this.xrTable3.Name = "xrTable3";
         this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow4});
         this.xrTable3.SizeF = new System.Drawing.SizeF(430F, 15F);
         this.xrTable3.StylePriority.UseBackColor = false;
         this.xrTable3.StylePriority.UseBorders = false;
         this.xrTable3.StylePriority.UseFont = false;
         this.xrTable3.StylePriority.UseTextAlignment = false;
         this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         //
         // xrTableRow4
         //
         this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell31,
         this.xrTableCell28,
         this.xrTableCell29,
         this.xrTableCell30});
         this.xrTableRow4.Name = "xrTableRow4";
         this.xrTableRow4.Weight = 1D;
         //
         // xrTableCell31
         //
         this.xrTableCell31.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell31.Name = "xrTableCell31";
         this.xrTableCell31.StylePriority.UseBorders = false;
         this.xrTableCell31.Text = "№ п/п";
         this.xrTableCell31.Weight = 0.59999996430703428D;
         //
         // xrTableCell28
         //
         this.xrTableCell28.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell28.Name = "xrTableCell28";
         this.xrTableCell28.StylePriority.UseBorders = false;
         this.xrTableCell28.Text = "Назва етапу";
         this.xrTableCell28.Weight = 2.0999996549191584D;
         //
         // xrTableCell29
         //
         this.xrTableCell29.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell29.Name = "xrTableCell29";
         this.xrTableCell29.StylePriority.UseBorders = false;
         this.xrTableCell29.Text = "Передали";
         this.xrTableCell29.Weight = 0.80000030517577592D;
         //
         // xrTableCell30
         //
         this.xrTableCell30.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell30.Name = "xrTableCell30";
         this.xrTableCell30.StylePriority.UseBorders = false;
         this.xrTableCell30.Text = "Отримали";
         this.xrTableCell30.Weight = 0.80000030517577592D;
         //
         // GroupFooter1
         //
         this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable4});
         this.GroupFooter1.GroupUnion = DevExpress.XtraReports.UI.GroupFooterUnion.WithLastDetail;
         this.GroupFooter1.HeightF = 15F;
         this.GroupFooter1.Name = "GroupFooter1";
         this.GroupFooter1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.GroupFooter1_BeforePrint);
         //
         // xrTable4
         //
         this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTable4.Font = new System.Drawing.Font("Times New Roman", 8F, System.Drawing.FontStyle.Bold);
         this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
         this.xrTable4.Name = "xrTable4";
         this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow5});
         this.xrTable4.SizeF = new System.Drawing.SizeF(1069F, 15F);
         this.xrTable4.StylePriority.UseBorders = false;
         this.xrTable4.StylePriority.UseFont = false;
         this.xrTable4.StylePriority.UseTextAlignment = false;
         this.xrTable4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         //
         // xrTableRow5
         //
         this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell33,
         this.xrTableCell34,
         this.xrTableCell35,
         this.xrTableCell36,
         this.xrTableCell37,
         this.xrTableCell38,
         this.xrTableCell39,
         this.xrTableCell40,
         this.xrTableCell41,
         this.xrTableCell42,
         this.xrTableCell43,
         this.xrTableCell44});
         this.xrTableRow5.Name = "xrTableRow5";
         this.xrTableRow5.Weight = 1D;
         //
         // xrTableCell33
         //
         this.xrTableCell33.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell33.Multiline = true;
         this.xrTableCell33.Name = "xrTableCell33";
         this.xrTableCell33.StylePriority.UseBorders = false;
         this.xrTableCell33.StylePriority.UseTextAlignment = false;
         this.xrTableCell33.Text = "1";
         this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
         this.xrTableCell33.Weight = 0.16838166867604984D;
         //
         // xrTableCell34
         //
         this.xrTableCell34.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell34.Name = "xrTableCell34";
         this.xrTableCell34.StylePriority.UseBorders = false;
         this.xrTableCell34.Text = "2";
         this.xrTableCell34.Weight = 0.19644527952731267D;
         //
         // xrTableCell35
         //
         this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell35.Name = "xrTableCell35";
         this.xrTableCell35.StylePriority.UseBorders = false;
         this.xrTableCell35.Text = "3";
         this.xrTableCell35.Weight = 0.50514498818578624D;
         //
         // xrTableCell36
         //
         this.xrTableCell36.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
         | DevExpress.XtraPrinting.BorderSide.Right)
         | DevExpress.XtraPrinting.BorderSide.Bottom)));
         this.xrTableCell36.Name = "xrTableCell36";
         this.xrTableCell36.StylePriority.UseBorders = false;
         this.xrTableCell36.Text = "4";
         this.xrTableCell36.Weight = 0.336763323078209D;
         //
         // xrTableCell37
         //
         this.xrTableCell37.Name = "xrTableCell37";
         this.xrTableCell37.Text = "5";
         this.xrTableCell37.Weight = 0.42095415563199762D;
         //
         // xrTableCell38
         //
         this.xrTableCell38.Name = "xrTableCell38";
         this.xrTableCell38.Text = "6";
         this.xrTableCell38.Weight = 0.33676332307820905D;
         //
         // xrTableCell39
         //
         this.xrTableCell39.Name = "xrTableCell39";
         this.xrTableCell39.Text = "7";
         this.xrTableCell39.Weight = 0.19644527952731264D;
         //
         // xrTableCell40
         //
         this.xrTableCell40.Font = new System.Drawing.Font("Times New Roman", 8F, System.Drawing.FontStyle.Bold);
         this.xrTableCell40.Multiline = true;
         this.xrTableCell40.Name = "xrTableCell40";
         this.xrTableCell40.StylePriority.UseFont = false;
         this.xrTableCell40.Text = "8";
         this.xrTableCell40.Weight = 0.14031805247207801D;
         //
         // xrTableCell41
         //
         this.xrTableCell41.Multiline = true;
         this.xrTableCell41.Name = "xrTableCell41";
         this.xrTableCell41.Text = "9";
         this.xrTableCell41.Weight = 0.14031805247207793D;
         //
         // xrTableCell42
         //
         this.xrTableCell42.Name = "xrTableCell42";
         this.xrTableCell42.Text = "10";
         this.xrTableCell42.Weight = 0.19644527952731267D;
         //
         // xrTableCell43
         //
         this.xrTableCell43.Multiline = true;
         this.xrTableCell43.Name = "xrTableCell43";
         this.xrTableCell43.Text = "11";
         this.xrTableCell43.Weight = 0.16838166867604984D;
         //
         // xrTableCell44
         //
         this.xrTableCell44.Name = "xrTableCell44";
         this.xrTableCell44.Text = "12";
         this.xrTableCell44.Weight = 0.19363892914760436D;
         //
         // StepReport
         //
         this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.ReportHeader,
         this.DetailReport});
         this.DataSource = this.srcActs;
         this.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
         this.Landscape = true;
         this.Margins = new System.Drawing.Printing.Margins(50, 50, 51, 50);
         this.PageHeight = 827;
         this.PageWidth = 1169;
         this.PaperKind = System.Drawing.Printing.PaperKind.A4;
         this.Version = "15.1";
         ((System.ComponentModel.ISupportInitialize)(this.tblActs)).EndInit();
         ((System.ComponentModel.ISupportInitialize)(this.srcActs)).EndInit();
         ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
         ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
         ((System.ComponentModel.ISupportInitialize)(this.tblSteps)).EndInit();
         ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
         ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
         ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #51
0
        private void Build()
        {
            this.PaperKind = PaperKind.A4;
            try
            {
                var query = _reportData[0].Values.Keys.First();
                xrLabel2.Text = query.content.StartsWith("@") ? "Паспорт" : query.form.name;
            }
            catch { }
            var headerTable = new XRTable
            {
                Borders = BorderSide.Left | BorderSide.Right,
                BorderColor = Color.FromArgb(245, 245, 245),
                Font = new Font("Segoe UI", 9),
                BackColor = Color.FromArgb(37, 116, 169),
                ForeColor = Color.FromArgb(245, 245, 245),
                LocationF = new PointFloat(0F, 0F),
                WidthF = this.PageWidth - this.Margins.Left - this.Margins.Right
            };
            var headerRow = new XRTableRow
            {
                HeightF = 64
            };
            var fstCell = new XRTableCell
            {
                Text = "Образовательная орг.",
                TextAlignment = TextAlignment.MiddleCenter
            };
            headerRow.Cells.Add(fstCell);

            foreach (var pair in _reportData[0].Values) //шапка таблицы с заголовками запросов
            {
                var cell = new XRTableCell();
                cell.Text = pair.Key.title;
                cell.TextAlignment = TextAlignment.MiddleCenter;
                headerRow.Cells.Add(cell);
            }
            headerTable.Rows.Add(headerRow);

            if (headerTable.Rows.FirstRow.Cells[0].WidthF <= 100)
            {
                this.Landscape = true;
                headerTable.WidthF = this.PageWidth - Margins.Left - Margins.Right;
            }

            this.PageHeader.Controls.Add(headerTable);

            var table = new XRTable
            {
                Borders = BorderSide.All,
                ForeColor = Color.FromArgb(59, 59, 59),
                BorderColor = Color.FromArgb(37, 116, 169),
                LocationF = new PointFloat(0F, 0F),
                WidthF = this.PageWidth - this.Margins.Left - this.Margins.Right
            };
            table.BeginInit();

            var summaryRow = new XRTableRow
            {
                BackColor = Color.FromArgb(37, 116, 169),
                ForeColor = Color.FromArgb(245, 245, 245),
                Font = new Font("Segoe UI", 9)
            };
            var sumFstCell = new XRTableCell
            {
                Text = "Итого",
                TextAlignment = TextAlignment.MiddleLeft
            };
            summaryRow.Cells.Add(sumFstCell);

            for (var i = 0; i < _reportData[0].Values.Count; i++) //считается итого
            {
                var sum = 0;
                for (var j = 0; j < _reportData.Count; j++)
                {
                    var arr = new object[_reportData[j].Values.Values.Count];
                    _reportData[j].Values.Values.CopyTo(arr, 0);
                    var strVal = (string)arr[i];
                    int intVal;
                    sum += Int32.TryParse(strVal, out intVal) ? intVal : 0;
                }
                var cell = new XRTableCell
                {
                    Text = sum.ToString(),
                    TextAlignment = TextAlignment.MiddleCenter
                };
                summaryRow.Cells.Add(cell);
            }
            var grouped = _reportData.GroupBy(t => t.GroupHead);
            foreach (var group in grouped)
            {
                if (!string.IsNullOrEmpty(group.Key))
                {
                    var groupRow = new XRTableRow() { HeightF = 32 };
                    var cell = new XRTableCell
                    {
                        Text = group.Key,
                        TextAlignment = TextAlignment.MiddleCenter
                    };
                    groupRow.Cells.Add(cell);
                    table.Rows.Add(groupRow);
                }
                foreach (var data in group)
                {
                    var row = new XRTableRow { HeightF = 32 };
                    var cell1 = new XRTableCell
                    {
                        Text = data.Head,
                        TextAlignment = TextAlignment.MiddleLeft
                    };
                    row.Cells.Add(cell1);

                    foreach (var pair in data.Values)
                    {
                        var cell3 = new XRTableCell
                        {
                            Text = (string)pair.Value,
                            TextAlignment = TextAlignment.MiddleCenter
                        };
                        row.Cells.Add(cell3);
                    }
                    table.Rows.Add(row);
                }
            }
            table.Rows.Add(summaryRow);
            table.EndInit();
            this.Detail.Controls.Add(table);
        }
コード例 #52
0
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InitializeComponent()
    {
        string resourceFileName = "XRDoanhSo.resx";

        System.Resources.ResourceManager    resources  = global::Resources.XRDoanhSo.ResourceManager;
        DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
        DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
        this.Detail                  = new DevExpress.XtraReports.UI.DetailBand();
        this.TopMargin               = new DevExpress.XtraReports.UI.TopMarginBand();
        this.xrTable1                = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow1             = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell1            = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell13           = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell11           = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell2            = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell4            = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrLabel5                = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel6                = new DevExpress.XtraReports.UI.XRLabel();
        this.xrPictureBox1           = new DevExpress.XtraReports.UI.XRPictureBox();
        this.xrLabel1                = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel2                = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel4                = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel3                = new DevExpress.XtraReports.UI.XRLabel();
        this.xrTable3                = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow3             = new DevExpress.XtraReports.UI.XRTableRow();
        this.lblngayds               = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell12           = new DevExpress.XtraReports.UI.XRTableCell();
        this.BottomMargin            = new DevExpress.XtraReports.UI.BottomMarginBand();
        this.xrLabel8                = new DevExpress.XtraReports.UI.XRLabel();
        this.xrLabel7                = new DevExpress.XtraReports.UI.XRLabel();
        this.r_hoadon1               = new r_hoadon();
        this.r_DoanhThuTableAdapter1 = new r_hoadonTableAdapters.R_DoanhThuTableAdapter();
        this.ngay          = new DevExpress.XtraReports.UI.CalculatedField();
        this.nam           = new DevExpress.XtraReports.UI.CalculatedField();
        this.GroupHeader2  = new DevExpress.XtraReports.UI.GroupHeaderBand();
        this.xrTable2      = new DevExpress.XtraReports.UI.XRTable();
        this.xrTableRow2   = new DevExpress.XtraReports.UI.XRTableRow();
        this.xrTableCell6  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell5  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell7  = new DevExpress.XtraReports.UI.XRTableCell();
        this.xrTableCell9  = new DevExpress.XtraReports.UI.XRTableCell();
        this.ngayin        = new DevExpress.XtraReports.UI.CalculatedField();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.r_hoadon1)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
        ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
        //
        // Detail
        //
        this.Detail.Dpi           = 100F;
        this.Detail.HeightF       = 0F;
        this.Detail.Name          = "Detail";
        this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // TopMargin
        //
        this.TopMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable1,
            this.xrLabel5,
            this.xrLabel6,
            this.xrPictureBox1,
            this.xrLabel1,
            this.xrLabel2,
            this.xrLabel4,
            this.xrLabel3,
            this.xrTable3
        });
        this.TopMargin.Dpi           = 100F;
        this.TopMargin.HeightF       = 435.4167F;
        this.TopMargin.Name          = "TopMargin";
        this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrTable1
        //
        this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable1.Dpi           = 100F;
        this.xrTable1.Font          = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
        this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(80.22974F, 388.5417F);
        this.xrTable1.Name          = "xrTable1";
        this.xrTable1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 5, 5, 100F);
        this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow1
        });
        this.xrTable1.SizeF = new System.Drawing.SizeF(569.4493F, 46.875F);
        this.xrTable1.StylePriority.UseBorders       = false;
        this.xrTable1.StylePriority.UseFont          = false;
        this.xrTable1.StylePriority.UsePadding       = false;
        this.xrTable1.StylePriority.UseTextAlignment = false;
        this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        //
        // xrTableRow1
        //
        this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell1,
            this.xrTableCell13,
            this.xrTableCell11,
            this.xrTableCell2,
            this.xrTableCell4
        });
        this.xrTableRow1.Dpi    = 100F;
        this.xrTableRow1.Name   = "xrTableRow1";
        this.xrTableRow1.Weight = 11.5D;
        //
        // xrTableCell1
        //
        this.xrTableCell1.Dpi    = 100F;
        this.xrTableCell1.Name   = "xrTableCell1";
        this.xrTableCell1.Text   = "Ngày";
        this.xrTableCell1.Weight = 0.27223814213752479D;
        //
        // xrTableCell13
        //
        this.xrTableCell13.Dpi    = 100F;
        this.xrTableCell13.Name   = "xrTableCell13";
        this.xrTableCell13.Text   = "Mã KH";
        this.xrTableCell13.Weight = 0.24142566544866345D;
        //
        // xrTableCell11
        //
        this.xrTableCell11.Dpi    = 100F;
        this.xrTableCell11.Name   = "xrTableCell11";
        this.xrTableCell11.Text   = "Mã SP";
        this.xrTableCell11.Weight = 0.23224512072061709D;
        //
        // xrTableCell2
        //
        this.xrTableCell2.Dpi    = 100F;
        this.xrTableCell2.Name   = "xrTableCell2";
        this.xrTableCell2.Text   = "Tên sản phẩm";
        this.xrTableCell2.Weight = 0.59154911486645678D;
        //
        // xrTableCell4
        //
        this.xrTableCell4.Dpi  = 100F;
        this.xrTableCell4.Name = "xrTableCell4";
        this.xrTableCell4.StylePriority.UseTextAlignment = false;
        this.xrTableCell4.Text          = "Số lượng";
        this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell4.Weight        = 0.31786569496735123D;
        //
        // xrLabel5
        //
        this.xrLabel5.Dpi           = 100F;
        this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(250.2501F, 0F);
        this.xrLabel5.Name          = "xrLabel5";
        this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel5.SizeF         = new System.Drawing.SizeF(100F, 77.16667F);
        //
        // xrLabel6
        //
        this.xrLabel6.Dpi                            = 100F;
        this.xrLabel6.Font                           = new System.Drawing.Font("Tahoma", 20F, System.Drawing.FontStyle.Bold);
        this.xrLabel6.LocationFloat                  = new DevExpress.Utils.PointFloat(40.4061F, 284.75F);
        this.xrLabel6.Name                           = "xrLabel6";
        this.xrLabel6.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel6.SizeF                          = new System.Drawing.SizeF(644.7917F, 30F);
        this.xrLabel6.StylePriority.UseFont          = false;
        this.xrLabel6.StylePriority.UseTextAlignment = false;
        this.xrLabel6.Text                           = "BÁO CÁO DOANH SỐ";
        this.xrLabel6.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopCenter;
        //
        // xrPictureBox1
        //
        this.xrPictureBox1.Dpi           = 100F;
        this.xrPictureBox1.Image         = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
        this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(40.4061F, 72.75F);
        this.xrPictureBox1.Name          = "xrPictureBox1";
        this.xrPictureBox1.SizeF         = new System.Drawing.SizeF(160.3345F, 158.9984F);
        //
        // xrLabel1
        //
        this.xrLabel1.Dpi                            = 100F;
        this.xrLabel1.Font                           = new System.Drawing.Font("Tahoma", 17F, System.Drawing.FontStyle.Bold);
        this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(203.0105F, 95.16672F);
        this.xrLabel1.Name                           = "xrLabel1";
        this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel1.SizeF                          = new System.Drawing.SizeF(339.5833F, 30F);
        this.xrLabel1.StylePriority.UseFont          = false;
        this.xrLabel1.StylePriority.UseTextAlignment = false;
        this.xrLabel1.Text                           = "SIÊU THỊ ABC";
        this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        //
        // xrLabel2
        //
        this.xrLabel2.Dpi                            = 100F;
        this.xrLabel2.Font                           = new System.Drawing.Font("Tahoma", 10.5F);
        this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(203.0105F, 138.5817F);
        this.xrLabel2.Name                           = "xrLabel2";
        this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel2.SizeF                          = new System.Drawing.SizeF(497.4168F, 20.29166F);
        this.xrLabel2.StylePriority.UseFont          = false;
        this.xrLabel2.StylePriority.UseTextAlignment = false;
        this.xrLabel2.Text                           = "Địa chỉ: 983 - Đại lộ Bình Dương - Hiệp An - TP Thủ Dầu Một - Bình Dương";
        this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        //
        // xrLabel4
        //
        this.xrLabel4.Dpi                            = 100F;
        this.xrLabel4.Font                           = new System.Drawing.Font("Tahoma", 10.5F);
        this.xrLabel4.LocationFloat                  = new DevExpress.Utils.PointFloat(203.0105F, 179.165F);
        this.xrLabel4.Name                           = "xrLabel4";
        this.xrLabel4.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel4.SizeF                          = new System.Drawing.SizeF(497.4168F, 20.29166F);
        this.xrLabel4.StylePriority.UseFont          = false;
        this.xrLabel4.StylePriority.UseTextAlignment = false;
        this.xrLabel4.Text                           = "Email: [email protected]";
        this.xrLabel4.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        //
        // xrLabel3
        //
        this.xrLabel3.Dpi                            = 100F;
        this.xrLabel3.Font                           = new System.Drawing.Font("Tahoma", 10.5F);
        this.xrLabel3.LocationFloat                  = new DevExpress.Utils.PointFloat(203.0105F, 158.8734F);
        this.xrLabel3.Name                           = "xrLabel3";
        this.xrLabel3.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel3.SizeF                          = new System.Drawing.SizeF(497.4168F, 20.29164F);
        this.xrLabel3.StylePriority.UseFont          = false;
        this.xrLabel3.StylePriority.UseTextAlignment = false;
        this.xrLabel3.Text                           = "Điện thoại: 0983 404 817 - Hotline: 0123 555 777";
        this.xrLabel3.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        //
        // xrTable3
        //
        this.xrTable3.Dpi           = 100F;
        this.xrTable3.Font          = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold);
        this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(96.04168F, 363.5417F);
        this.xrTable3.Name          = "xrTable3";
        this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow3
        });
        this.xrTable3.SizeF = new System.Drawing.SizeF(553.6373F, 25F);
        this.xrTable3.StylePriority.UseFont = false;
        //
        // xrTableRow3
        //
        this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.lblngayds,
            this.xrTableCell12
        });
        this.xrTableRow3.Dpi    = 100F;
        this.xrTableRow3.Name   = "xrTableRow3";
        this.xrTableRow3.Weight = 11.5D;
        //
        // lblngayds
        //
        this.lblngayds.Dpi    = 100F;
        this.lblngayds.Name   = "lblngayds";
        this.lblngayds.Weight = 0.29331571224121183D;
        //
        // xrTableCell12
        //
        this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "R_DoanhThu.SoLuong")
        });
        this.xrTableCell12.Dpi  = 100F;
        this.xrTableCell12.Name = "xrTableCell12";
        this.xrTableCell12.StylePriority.UseTextAlignment = false;
        xrSummary1.FormatString          = "{0:#,##0}";
        xrSummary1.Running               = DevExpress.XtraReports.UI.SummaryRunning.Report;
        this.xrTableCell12.Summary       = xrSummary1;
        this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
        this.xrTableCell12.Weight        = 0.10784877909846288D;
        //
        // BottomMargin
        //
        this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrLabel8,
            this.xrLabel7
        });
        this.BottomMargin.Dpi           = 100F;
        this.BottomMargin.HeightF       = 100F;
        this.BottomMargin.Name          = "BottomMargin";
        this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
        this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
        //
        // xrLabel8
        //
        this.xrLabel8.Dpi                   = 100F;
        this.xrLabel8.Font                  = new System.Drawing.Font("Tahoma", 9.75F);
        this.xrLabel8.LocationFloat         = new DevExpress.Utils.PointFloat(11.54168F, 76.99998F);
        this.xrLabel8.Name                  = "xrLabel8";
        this.xrLabel8.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel8.SizeF                 = new System.Drawing.SizeF(58.37503F, 23F);
        this.xrLabel8.StylePriority.UseFont = false;
        this.xrLabel8.Text                  = "Ngày in:";
        //
        // xrLabel7
        //
        this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "R_DoanhThu.ngayin")
        });
        this.xrLabel7.Dpi                   = 100F;
        this.xrLabel7.Font                  = new System.Drawing.Font("Tahoma", 9.75F);
        this.xrLabel7.LocationFloat         = new DevExpress.Utils.PointFloat(69.91666F, 76.99998F);
        this.xrLabel7.Name                  = "xrLabel7";
        this.xrLabel7.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
        this.xrLabel7.SizeF                 = new System.Drawing.SizeF(239.5833F, 23F);
        this.xrLabel7.StylePriority.UseFont = false;
        this.xrLabel7.Text                  = "xrLabel7";
        //
        // r_hoadon1
        //
        this.r_hoadon1.DataSetName             = "r_hoadon";
        this.r_hoadon1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
        //
        // r_DoanhThuTableAdapter1
        //
        this.r_DoanhThuTableAdapter1.ClearBeforeFill = true;
        //
        // ngay
        //
        this.ngay.DataMember = "R_DoanhThu";
        this.ngay.Expression = "GetDate([NgayBan])";
        this.ngay.Name       = "ngay";
        //
        // nam
        //
        this.nam.DataMember = "R_DoanhThu";
        this.nam.Expression = "GetYear([NgayBan])";
        this.nam.Name       = "nam";
        //
        // GroupHeader2
        //
        this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
            this.xrTable2
        });
        this.GroupHeader2.Dpi = 100F;
        this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
            new DevExpress.XtraReports.UI.GroupField("ngay", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending),
            new DevExpress.XtraReports.UI.GroupField("MaKH", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending),
            new DevExpress.XtraReports.UI.GroupField("MaSP", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
        });
        this.GroupHeader2.HeightF = 27.5F;
        this.GroupHeader2.Name    = "GroupHeader2";
        //
        // xrTable2
        //
        this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                        | DevExpress.XtraPrinting.BorderSide.Right)
                                                                       | DevExpress.XtraPrinting.BorderSide.Bottom)));
        this.xrTable2.Dpi           = 100F;
        this.xrTable2.Font          = new System.Drawing.Font("Tahoma", 10F);
        this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(80.22973F, 0F);
        this.xrTable2.Name          = "xrTable2";
        this.xrTable2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 5, 5, 100F);
        this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
            this.xrTableRow2
        });
        this.xrTable2.SizeF = new System.Drawing.SizeF(569.5326F, 27.5F);
        this.xrTable2.StylePriority.UseBorders       = false;
        this.xrTable2.StylePriority.UseFont          = false;
        this.xrTable2.StylePriority.UsePadding       = false;
        this.xrTable2.StylePriority.UseTextAlignment = false;
        this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
        //
        // xrTableRow2
        //
        this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
            this.xrTableCell6,
            this.xrTableCell14,
            this.xrTableCell5,
            this.xrTableCell7,
            this.xrTableCell9
        });
        this.xrTableRow2.Dpi    = 100F;
        this.xrTableRow2.Name   = "xrTableRow2";
        this.xrTableRow2.Weight = 11.5D;
        //
        // xrTableCell6
        //
        this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "R_DoanhThu.NgayBan", "{0:dd/MM/yyyy}")
        });
        this.xrTableCell6.Dpi    = 100F;
        this.xrTableCell6.Name   = "xrTableCell6";
        this.xrTableCell6.Text   = "xrTableCell1";
        this.xrTableCell6.Weight = 0.25367782469665923D;
        //
        // xrTableCell14
        //
        this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "R_DoanhThu.MaKH")
        });
        this.xrTableCell14.Dpi    = 100F;
        this.xrTableCell14.Name   = "xrTableCell14";
        this.xrTableCell14.Weight = 0.22516661927830695D;
        //
        // xrTableCell5
        //
        this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "R_DoanhThu.MaSP")
        });
        this.xrTableCell5.Dpi    = 100F;
        this.xrTableCell5.Name   = "xrTableCell5";
        this.xrTableCell5.Weight = 0.21660448402195232D;
        //
        // xrTableCell7
        //
        this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "R_DoanhThu.TenSP")
        });
        this.xrTableCell7.Dpi    = 100F;
        this.xrTableCell7.Name   = "xrTableCell7";
        this.xrTableCell7.Text   = "xrTableCell2";
        this.xrTableCell7.Weight = 0.551936086948804D;
        //
        // xrTableCell9
        //
        this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
            new DevExpress.XtraReports.UI.XRBinding("Text", null, "R_DoanhThu.SoLuong")
        });
        this.xrTableCell9.Dpi  = 100F;
        this.xrTableCell9.Name = "xrTableCell9";
        this.xrTableCell9.StylePriority.UseTextAlignment = false;
        xrSummary2.Running              = DevExpress.XtraReports.UI.SummaryRunning.Group;
        this.xrTableCell9.Summary       = xrSummary2;
        this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
        this.xrTableCell9.Weight        = 0.29668443308023373D;
        //
        // ngayin
        //
        this.ngayin.DataMember = "R_DoanhThu";
        this.ngayin.Expression = "LocalDateTimeNow()";
        this.ngayin.Name       = "ngayin";
        //
        // XRDoanhSo
        //
        this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
            this.Detail,
            this.TopMargin,
            this.BottomMargin,
            this.GroupHeader2
        });
        this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
            this.ngay,
            this.nam,
            this.ngayin
        });
        this.DataAdapter = this.r_DoanhThuTableAdapter1;
        this.DataMember  = "R_DoanhThu";
        this.DataSource  = this.r_hoadon1;
        this.Margins     = new System.Drawing.Printing.Margins(52, 49, 435, 100);
        this.Version     = "16.1";
        ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.r_hoadon1)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
        ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
    }
コード例 #53
0
        private void addRowHeader(XRTable table)
        {
            // ================================
            // Header Row
            // ================================
            var headerRow = new XRTableRow();
            headerRow.Borders = BorderSide.All;
            if (_impostazioniReport.HeaderRowHeight != null)
                headerRow.HeightF = _impostazioniReport.HeaderRowHeight.Value;

            var headerFont = GetFont(_impostazioniReport.FontName, _impostazioniReport.FontSize, getFontStyle(_impostazioniReport.FontStyle));
            if (!string.IsNullOrEmpty(_impostazioniReport.HeaderFontStyle) && !string.IsNullOrEmpty(_impostazioniReport.HeaderFontName) && _impostazioniReport.HeaderFontSize != null)
                headerFont = GetFont(_impostazioniReport.HeaderFontName, _impostazioniReport.HeaderFontSize.Value, getFontStyle(_impostazioniReport.HeaderFontStyle));

            var headerAlignment = TextAlignment.TopCenter;
            if (_impostazioniReport.HeaderAlignment != null)
                headerAlignment = GetTextAlignment(_impostazioniReport.HeaderAlignment);

            var columns = _pianoRatealeHelper.GetColumnList(_report, null, _parameters, _numeroPagina);
            foreach (var tableColumn in columns)
            {
                if (!tableColumn.Hidden && (tableColumn.Order != 9997 || _numeroPagina == null || tableColumn.PrintPage == _numeroPagina))
                {
                    var cell = new XRTableCell
                    {
                        Font = headerFont,
                        Text = tableColumn.Description,
                        TextAlignment = headerAlignment,
                        WidthF = tableColumn.Width
                    };

                    if (tableColumn.ColumnType == ColumnTypeEnum.Conto)
                        cell.BackColor = ColorTranslator.FromHtml(_impostazioniReport.HeaderBackColor);

                    cell.Padding = getPaddingInfo();

                    headerRow.Cells.Add(cell);
                }

            }

            table.Rows.Add(headerRow);
        }
コード例 #54
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.DataAccess.Sql.CustomSqlQuery       customSqlQuery1 = new DevExpress.DataAccess.Sql.CustomSqlQuery();
     System.ComponentModel.ComponentResourceManager resources       = new System.ComponentModel.ComponentResourceManager(typeof(rep_pro_7CS_Analysis));
     DevExpress.XtraReports.Parameters.DynamicListLookUpSettings dynamicListLookUpSettings1 = new DevExpress.XtraReports.Parameters.DynamicListLookUpSettings();
     this.Detail            = new DevExpress.XtraReports.UI.DetailBand();
     this.TopMargin         = new DevExpress.XtraReports.UI.TopMarginBand();
     this.BottomMargin      = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.PageFooter        = new DevExpress.XtraReports.UI.PageFooterBand();
     this.xrLabel8          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrPageInfo2       = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrLabel7          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrPageInfo1       = new DevExpress.XtraReports.UI.XRPageInfo();
     this.PageHeader        = new DevExpress.XtraReports.UI.PageHeaderBand();
     this.xrLabel1          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel10         = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel9          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTable1          = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow1       = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell2      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell3      = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell37     = new DevExpress.XtraReports.UI.XRTableCell();
     this.sqlDataSource1    = new DevExpress.DataAccess.Sql.SqlDataSource(this.components);
     this.GroupHeader1      = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.add_space_pgbreak = new DevExpress.XtraReports.UI.GroupFooterBand();
     this.xrPanel1          = new DevExpress.XtraReports.UI.XRPanel();
     this.GroupHeader2      = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel2          = new DevExpress.XtraReports.UI.XRLabel();
     this.xrTableCell1      = new DevExpress.XtraReports.UI.XRTableCell();
     this.calculatedField1  = new DevExpress.XtraReports.UI.CalculatedField();
     this.Project           = new DevExpress.XtraReports.Parameters.Parameter();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.Detail.HeightF       = 25F;
     this.Detail.Name          = "Detail";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // TopMargin
     //
     this.TopMargin.HeightF       = 25.81452F;
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // BottomMargin
     //
     this.BottomMargin.HeightF       = 25.60486F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // PageFooter
     //
     this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel8,
         this.xrPageInfo2,
         this.xrLabel7,
         this.xrPageInfo1
     });
     this.PageFooter.HeightF = 59.63536F;
     this.PageFooter.Name    = "PageFooter";
     //
     // xrLabel8
     //
     this.xrLabel8.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel8.LocationFloat                  = new DevExpress.Utils.PointFloat(835.5444F, 0F);
     this.xrLabel8.Name                           = "xrLabel8";
     this.xrLabel8.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel8.SizeF                          = new System.Drawing.SizeF(128.6458F, 35.50002F);
     this.xrLabel8.StylePriority.UseFont          = false;
     this.xrLabel8.StylePriority.UseTextAlignment = false;
     this.xrLabel8.Text                           = "page";
     this.xrLabel8.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     this.xrLabel8.TextTrimming                   = System.Drawing.StringTrimming.None;
     //
     // xrPageInfo2
     //
     this.xrPageInfo2.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrPageInfo2.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 23.09367F);
     this.xrPageInfo2.Name                           = "xrPageInfo2";
     this.xrPageInfo2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo2.PageInfo                       = DevExpress.XtraPrinting.PageInfo.DateTime;
     this.xrPageInfo2.SizeF                          = new System.Drawing.SizeF(269.2708F, 36.54169F);
     this.xrPageInfo2.StylePriority.UseFont          = false;
     this.xrPageInfo2.StylePriority.UseTextAlignment = false;
     this.xrPageInfo2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel7
     //
     this.xrLabel7.Font                           = new System.Drawing.Font("Segoe UI", 10.125F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel7.LocationFloat                  = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel7.Name                           = "xrLabel7";
     this.xrLabel7.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.SizeF                          = new System.Drawing.SizeF(197.2917F, 23.09373F);
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text                           = "Generated by ReadyCert® on:";
     this.xrLabel7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.Font                           = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrPageInfo1.LocationFloat                  = new DevExpress.Utils.PointFloat(964.1902F, 0F);
     this.xrPageInfo1.Name                           = "xrPageInfo1";
     this.xrPageInfo1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo1.SizeF                          = new System.Drawing.SizeF(87.80969F, 35.50002F);
     this.xrPageInfo1.StylePriority.UseFont          = false;
     this.xrPageInfo1.StylePriority.UseTextAlignment = false;
     this.xrPageInfo1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
     //
     // PageHeader
     //
     this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel1
     });
     this.PageHeader.HeightF = 40.03378F;
     this.PageHeader.Name    = "PageHeader";
     //
     // xrLabel1
     //
     this.xrLabel1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[pro_name]")
     });
     this.xrLabel1.Font                  = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel1.LocationFloat         = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel1.Name                  = "xrLabel1";
     this.xrLabel1.Padding               = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF                 = new System.Drawing.SizeF(1052F, 40.03378F);
     this.xrLabel1.StylePriority.UseFont = false;
     this.xrLabel1.Text                  = "PROJECT NAME FIELD";
     //
     // xrLabel4
     //
     this.xrLabel4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(180)))), ((int)(((byte)(255)))));
     this.xrLabel4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[area_name]")
     });
     this.xrLabel4.Font          = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(85.41666F, 0F);
     this.xrLabel4.Name          = "xrLabel4";
     this.xrLabel4.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF         = new System.Drawing.SizeF(966.5834F, 38.79168F);
     this.xrLabel4.StylePriority.UseBackColor     = false;
     this.xrLabel4.StylePriority.UseFont          = false;
     this.xrLabel4.StylePriority.UseTextAlignment = false;
     this.xrLabel4.Text          = "Business Area Name";
     this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel5
     //
     this.xrLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(140)))), ((int)(((byte)(180)))), ((int)(((byte)(255)))));
     this.xrLabel5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[area_identifier]")
     });
     this.xrLabel5.Font          = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel5.Name          = "xrLabel5";
     this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel5.SizeF         = new System.Drawing.SizeF(85.41656F, 38.79165F);
     this.xrLabel5.StylePriority.UseBackColor     = false;
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text          = "BA ID";
     this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel3
     //
     this.xrLabel3.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel3.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 22.99999F);
     this.xrLabel3.Name          = "xrLabel3";
     this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.SizeF         = new System.Drawing.SizeF(506.0001F, 44.5F);
     this.xrLabel3.StylePriority.UseBackColor     = false;
     this.xrLabel3.StylePriority.UseFont          = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text          = "Standard Area";
     this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel10
     //
     this.xrLabel10.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel10.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(686.0001F, 22.99999F);
     this.xrLabel10.Multiline     = true;
     this.xrLabel10.Name          = "xrLabel10";
     this.xrLabel10.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel10.SizeF         = new System.Drawing.SizeF(183F, 44.5F);
     this.xrLabel10.StylePriority.UseBackColor     = false;
     this.xrLabel10.StylePriority.UseFont          = false;
     this.xrLabel10.StylePriority.UseTextAlignment = false;
     this.xrLabel10.Text          = "To-Be Level of \r\nStandard Area";
     this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel9
     //
     this.xrLabel9.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel9.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(506.0001F, 22.99999F);
     this.xrLabel9.Multiline     = true;
     this.xrLabel9.Name          = "xrLabel9";
     this.xrLabel9.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel9.SizeF         = new System.Drawing.SizeF(180F, 44.5F);
     this.xrLabel9.StylePriority.UseBackColor     = false;
     this.xrLabel9.StylePriority.UseFont          = false;
     this.xrLabel9.StylePriority.UseTextAlignment = false;
     this.xrLabel9.Text          = "As-Is Level of \r\nStandard Area";
     this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel6
     //
     this.xrLabel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[card_name]")
     });
     this.xrLabel6.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrLabel6.Name          = "xrLabel6";
     this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF         = new System.Drawing.SizeF(1052F, 23F);
     this.xrLabel6.StylePriority.UseBackColor     = false;
     this.xrLabel6.StylePriority.UseFont          = false;
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     this.xrLabel6.Text          = "Information Architecture Scorecard";
     this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     //
     // xrTable1
     //
     this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                     | DevExpress.XtraPrinting.BorderSide.Right)
                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF = new System.Drawing.SizeF(1052F, 25F);
     this.xrTable1.StylePriority.UseBorders = false;
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell2,
         this.xrTableCell3,
         this.xrTableCell37,
         this.xrTableCell1
     });
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell2
     //
     this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(180)))));
     this.xrTableCell2.Borders   = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                           | DevExpress.XtraPrinting.BorderSide.Right)
                                                                          | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[stan_standard]")
     });
     this.xrTableCell2.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell2.ForeColor = System.Drawing.Color.SteelBlue;
     this.xrTableCell2.Name      = "xrTableCell2";
     this.xrTableCell2.Padding   = new DevExpress.XtraPrinting.PaddingInfo(8, 3, 0, 0, 100F);
     this.xrTableCell2.StylePriority.UseBackColor     = false;
     this.xrTableCell2.StylePriority.UseBorders       = false;
     this.xrTableCell2.StylePriority.UseFont          = false;
     this.xrTableCell2.StylePriority.UseForeColor     = false;
     this.xrTableCell2.StylePriority.UsePadding       = false;
     this.xrTableCell2.StylePriority.UseTextAlignment = false;
     this.xrTableCell2.Text          = "Data Management";
     this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrTableCell2.Weight        = 5.0790706773249674D;
     //
     // xrTableCell3
     //
     this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[score_col1]")
     });
     this.xrTableCell3.Font    = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell3.Name    = "xrTableCell3";
     this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell3.StylePriority.UseBorders       = false;
     this.xrTableCell3.StylePriority.UseFont          = false;
     this.xrTableCell3.StylePriority.UsePadding       = false;
     this.xrTableCell3.StylePriority.UseTextAlignment = false;
     this.xrTableCell3.Text          = "BP As-Is > DM> \"Level 1\", etc. ";
     this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell3.Weight        = 1.8067844904988037D;
     //
     // xrTableCell37
     //
     this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                         | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell37.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[score_col2]")
     });
     this.xrTableCell37.Font    = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell37.Name    = "xrTableCell37";
     this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell37.StylePriority.UseBorders       = false;
     this.xrTableCell37.StylePriority.UseFont          = false;
     this.xrTableCell37.StylePriority.UsePadding       = false;
     this.xrTableCell37.StylePriority.UseTextAlignment = false;
     this.xrTableCell37.Text          = "BP To-Be > DM> \"Level 1\", etc.";
     this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell37.Weight        = 1.8368963667476175D;
     //
     // sqlDataSource1
     //
     this.sqlDataSource1.ConnectionName = "OhioDB";
     this.sqlDataSource1.Name           = "sqlDataSource1";
     customSqlQuery1.Name = "Query";
     customSqlQuery1.Sql  = resources.GetString("customSqlQuery1.Sql");
     this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] {
         customSqlQuery1
     });
     this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable");
     //
     // GroupHeader1
     //
     this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel4,
         this.xrLabel5
     });
     this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("area_name", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader1.HeightF         = 38.79168F;
     this.GroupHeader1.Level           = 1;
     this.GroupHeader1.Name            = "GroupHeader1";
     this.GroupHeader1.RepeatEveryPage = true;
     //
     // add_space_pgbreak
     //
     this.add_space_pgbreak.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrPanel1
     });
     this.add_space_pgbreak.HeightF   = 30.20833F;
     this.add_space_pgbreak.Level     = 1;
     this.add_space_pgbreak.Name      = "add_space_pgbreak";
     this.add_space_pgbreak.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBandExceptLastEntry;
     //
     // xrPanel1
     //
     this.xrPanel1.BackColor     = System.Drawing.Color.White;
     this.xrPanel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
     this.xrPanel1.Name          = "xrPanel1";
     this.xrPanel1.SizeF         = new System.Drawing.SizeF(1052F, 30.20833F);
     this.xrPanel1.StylePriority.UseBackColor = false;
     //
     // GroupHeader2
     //
     this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel2,
         this.xrLabel10,
         this.xrLabel9,
         this.xrLabel3,
         this.xrLabel6
     });
     this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("card_name", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader2.HeightF         = 67.49998F;
     this.GroupHeader2.Name            = "GroupHeader2";
     this.GroupHeader2.RepeatEveryPage = true;
     //
     // xrLabel2
     //
     this.xrLabel2.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(205)))), ((int)(((byte)(0)))));
     this.xrLabel2.Font          = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(869.0001F, 22.99999F);
     this.xrLabel2.Multiline     = true;
     this.xrLabel2.Name          = "xrLabel2";
     this.xrLabel2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel2.SizeF         = new System.Drawing.SizeF(183F, 44.5F);
     this.xrLabel2.StylePriority.UseBackColor     = false;
     this.xrLabel2.StylePriority.UseFont          = false;
     this.xrLabel2.StylePriority.UseTextAlignment = false;
     this.xrLabel2.Text          = "Project Impact";
     this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrTableCell1
     //
     this.xrTableCell1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
                                                                        | DevExpress.XtraPrinting.BorderSide.Bottom)));
     this.xrTableCell1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] {
         new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[calculatedField1]")
     });
     this.xrTableCell1.Font                           = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold);
     this.xrTableCell1.Name                           = "xrTableCell1";
     this.xrTableCell1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(5, 3, 3, 3, 100F);
     this.xrTableCell1.Scripts.OnDraw                 = "xrTableCell1_Draw";
     this.xrTableCell1.StylePriority.UseBorders       = false;
     this.xrTableCell1.StylePriority.UseFont          = false;
     this.xrTableCell1.StylePriority.UsePadding       = false;
     this.xrTableCell1.StylePriority.UseTextAlignment = false;
     this.xrTableCell1.Text                           = "xrTableCell1";
     this.xrTableCell1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell1.Weight                         = 1.8368963667476175D;
     //
     // calculatedField1
     //
     this.calculatedField1.DataMember  = "Query";
     this.calculatedField1.DisplayName = "score2-score1";
     this.calculatedField1.Expression  = "[score_col2] - [score_col1]";
     this.calculatedField1.Name        = "calculatedField1";
     //
     // Project
     //
     this.Project.Description = "Select a Project";
     dynamicListLookUpSettings1.DataAdapter   = null;
     dynamicListLookUpSettings1.DataMember    = "Query";
     dynamicListLookUpSettings1.DataSource    = this.sqlDataSource1;
     dynamicListLookUpSettings1.DisplayMember = "pro_name";
     dynamicListLookUpSettings1.ValueMember   = "pro_name";
     this.Project.LookUpSettings = dynamicListLookUpSettings1;
     this.Project.MultiValue     = true;
     this.Project.Name           = "Project";
     //
     // rep_pro_7CS_Analysis
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.PageFooter,
         this.PageHeader,
         this.GroupHeader1,
         this.add_space_pgbreak,
         this.GroupHeader2
     });
     this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
         this.calculatedField1
     });
     this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
         this.sqlDataSource1
     });
     this.DataMember   = "Query";
     this.DataSource   = this.sqlDataSource1;
     this.FilterString = "[pro_name] In (?Project) And Contains([card_name], \'Standards and Conditions\')";
     this.Font         = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Margins      = new System.Drawing.Printing.Margins(24, 24, 26, 26);
     this.PageHeight   = 850;
     this.PageWidth    = 1100;
     this.PaperKind    = System.Drawing.Printing.PaperKind.LetterRotated;
     this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
         this.Project
     });
     this.ScriptsSource = "\r\nprivate void xrTableCell1_Draw(object sender, DevExpress.XtraReports.UI.DrawEve" +
                          "ntArgs e) {\r\n\r\n}\r\n";
     this.Version = "17.2";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #55
0
/*
        void table_Draw(object sender, DrawEventArgs e)
        {
            // Set the value to be added to the width of the table's border.
            var dx = GraphicsUnitConverter.Convert(5, GraphicsUnit.Pixel, e.UniGraphics.PageUnit);

            // Get the object's current bounds and increase them.
            var rect = e.Bounds;
            rect.Inflate(dx / 2, dx / 2);
            
            // Store the old clip region.
            var oldBounds = e.UniGraphics.ClipBounds;
            
            // Set the new clip region and draw the borders' rectangle.
            e.UniGraphics.ClipBounds = rect;
            e.UniGraphics.DrawRectangle(new Pen(Brushes.Black, dx), rect);
            
            // Restore the old clip region.
            e.UniGraphics.ClipBounds = oldBounds;
        } 
*/

        private void addRowTotale(XRTable table, int? id, TipoTotale tipoTotale, string descrizione = null)
        {
            // ================================
            // Creazione tabella
            // ================================
            if(descrizione == null)
                table.BeginInit();

            var totaleRow = new XRTableRow { Width = table.Width };
            if (!string.IsNullOrEmpty(_impostazioniReport.BorderColor))
                totaleRow.BorderColor = ColorTranslator.FromHtml(_impostazioniReport.BorderColor);

            if (_impostazioniReport.TotaleRowHeight != null)
                totaleRow.HeightF = _impostazioniReport.TotaleRowHeight.Value;
            table.Rows.Add(totaleRow);

            var totaleFont = GetFont(_impostazioniReport.FontName, _impostazioniReport.FontSize, getFontStyle(_impostazioniReport.FontStyle));
            if (!string.IsNullOrEmpty(_impostazioniReport.TotaleFontStyle) && !string.IsNullOrEmpty(_impostazioniReport.TotaleFontName) && _impostazioniReport.TotaleFontSize != null)
                totaleFont = GetFont(_impostazioniReport.TotaleFontName, _impostazioniReport.TotaleFontSize.Value, getFontStyle(_impostazioniReport.TotaleFontStyle));

            const TextAlignment footerAlignment = TextAlignment.MiddleRight;

            var dataSource = _dataSource;
            var labelPrompt = "Totale Generale";
            if (tipoTotale == TipoTotale.Stabile)
            {
                dataSource = _dataSource.Where(item => item.IdStabile == id).ToList();
                var dataSourceLabel = dataSource.FirstOrDefault();
                if(dataSourceLabel != null)
                    labelPrompt = dataSourceLabel.DescrizioneStabile;
            }
            else if (tipoTotale == TipoTotale.Scala)
            {
                dataSource = _dataSource.Where(item => item.IdGruppoStabile == id).ToList();
                var dataSourceLabel = dataSource.FirstOrDefault();
                if (dataSourceLabel != null)
                    labelPrompt = dataSourceLabel.DescrizioneGruppoStabile;
            }
            else if (tipoTotale == TipoTotale.Nominativo)
            {
                dataSource = _dataSource.Where(item => item.IdPersona == id).ToList();
                labelPrompt = "Totale nominativo";
                if (!string.IsNullOrEmpty(descrizione))
                    labelPrompt = string.Format("Totale {0}", descrizione);
            }
            else if (tipoTotale == TipoTotale.SenzaArrotondamenti)
            {
                dataSource = _dataSource.Where(item => item.OrdineUnitaImmobiliare != int.MaxValue).ToList();
                labelPrompt = "Totale senza arrotondamenti";
            }

            var columns = _pianoRatealeHelper.GetColumnList(_report, null, _parameters, _numeroPagina);

            var cellPrompt = new XRTableCell();
            totaleRow.Cells.Add(cellPrompt);

            cellPrompt.Text = labelPrompt;
            cellPrompt.TextAlignment = footerAlignment;
            cellPrompt.Padding = getPaddingInfo();
            cellPrompt.WidthF = _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.OrdineUnita) +
                          _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.Nominativo) +
                          _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.ProprietaConduzione) +
                          _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.Interno) +
                          _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.Piano) +
                          _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.TipoUnita) +
                          _pianoRatealeHelper.GetColumnWidth(columns, ColumnTypeEnum.Subalterno);

            cellPrompt.BackColor = ColorTranslator.FromHtml(_impostazioniReport.TotaleBackColor);
            cellPrompt.Font = totaleFont;

            foreach (var tableColumn in columns.Where(item => item.ColumnType == ColumnTypeEnum.Conto))
            {
                if (!tableColumn.Hidden && (_numeroPagina == null || tableColumn.PrintPage == _numeroPagina))
                {
                    var cell = new XRTableCell
                    {
                        BackColor = ColorTranslator.FromHtml(_impostazioniReport.TotaleBackColor),
                        Font = totaleFont,
                        WidthF = tableColumn.Width,
                        CanGrow = true
                    };

                    cell.TextAlignment = TextAlignment.MiddleRight;
                    cell.Padding = getPaddingInfo();

                    var importo = dataSource.Where(item => item.NumeroRata == tableColumn.Order).Sum(item => item.Importo);
                    if (importo != 0)
                        cell.Text = importo.ToString("c");

                    totaleRow.Cells.Add(cell); 
                }

            }

            if (descrizione == null)
            {
                table.AdjustSize();
                table.EndInit();
            }
        }
コード例 #56
0
        void InitDetailsAndPageHeader(MVCxGridViewState gridViewState)
        {
            GridViewDataColumnStateCollection groupedColumns = gridViewState.GroupedColumns;

            int pagewidth = (report.PageWidth - (report.Margins.Left + report.Margins.Right)) - groupedColumns.Count * subGroupOffset;
            List <MVCxColumnInfo> columns = GetColumnsInfo(gridViewState, pagewidth);

            CustomizeColumnsCollection(report, new ColumnsCreationEventArgs(pagewidth)
            {
                ColumnsInfo = columns
            });

            report.Bands.Add(new DetailBand()
            {
                HeightF = bandHeight
            });
            report.Bands.Add(new PageHeaderBand()
            {
                HeightF = bandHeight
            });

            XRTable    headerTable = new XRTable();
            XRTableRow row         = new XRTableRow();
            XRTable    detailTable = new XRTable();
            XRTableRow row2        = new XRTableRow();

            for (int i = 0; i < columns.Count; i++)
            {
                if (columns[i].IsVisible)
                {
                    XRTableCell cell = new XRTableCell();
                    cell.Width = columns[i].ColumnWidth;
                    cell.Text  = columns[i].FieldName;
                    row.Cells.Add(cell);

                    XRTableCell cell2 = new XRTableCell();
                    cell2.Width = columns[i].ColumnWidth;
                    ControlCustomizationEventArgs cc = new ControlCustomizationEventArgs()
                    {
                        FieldName  = columns[i].FieldName,
                        IsModified = false,
                        Owner      = cell2
                    };
                    CustomizeColumn(report, cc);
                    if (cc.IsModified == false)
                    {
                        cell2.DataBindings.Add("Text", null, columns[i].FieldName);
                    }
                    detailsInfo.Add(columns[i].GridViewColumn, cell2);
                    row2.Cells.Add(cell2);
                }
            }
            headerTable.Rows.Add(row);
            headerTable.Width     = pagewidth;
            headerTable.LocationF = new PointF(groupedColumns.Count * subGroupOffset, 0);
            headerTable.Borders   = BorderSide.Bottom;

            detailTable.Rows.Add(row2);
            detailTable.LocationF = new PointF(groupedColumns.Count * subGroupOffset, 0);
            detailTable.Width     = pagewidth;

            report.Bands[BandKind.PageHeader].Controls.Add(headerTable);
            report.Bands[BandKind.Detail].Controls.Add(detailTable);
        }
コード例 #57
0
ファイル: RipartoSinglePage.cs プロジェクト: gipasoft/Sfera
/*
        void table_Draw(object sender, DrawEventArgs e)
        {
            // Set the value to be added to the width of the table's border.
            var dx = GraphicsUnitConverter.Convert(5, GraphicsUnit.Pixel, e.UniGraphics.PageUnit);

            // Get the object's current bounds and increase them.
            var rect = e.Bounds;
            rect.Inflate(dx / 2, dx / 2);
            
            // Store the old clip region.
            var oldBounds = e.UniGraphics.ClipBounds;
            
            // Set the new clip region and draw the borders' rectangle.
            e.UniGraphics.ClipBounds = rect;
            e.UniGraphics.DrawRectangle(new Pen(Brushes.Black, dx), rect);
            
            // Restore the old clip region.
            e.UniGraphics.ClipBounds = oldBounds;
        } 
*/

        private void addRowTotale(XRTable table, int? id, TipoTotale tipoTotale, string descrizione = null)
        {
            // ================================
            // Creazione tabella
            // ================================
            if(descrizione == null)
                table.BeginInit();

            var totaleRow = new XRTableRow { Width = table.Width };
            if (!string.IsNullOrEmpty(_impostazioniReport.BorderColor))
                totaleRow.BorderColor = ColorTranslator.FromHtml(_impostazioniReport.BorderColor);

            if (_impostazioniReport.TotaleRowHeight != null)
                totaleRow.HeightF = _impostazioniReport.TotaleRowHeight.Value;
            table.Rows.Add(totaleRow);

            var totaleFont = GetFont(_impostazioniReport.FontName, _impostazioniReport.FontSize, getFontStyle(_impostazioniReport.FontStyle));
            if (!string.IsNullOrEmpty(_impostazioniReport.TotaleFontStyle) && !string.IsNullOrEmpty(_impostazioniReport.TotaleFontName) && _impostazioniReport.TotaleFontSize != null)
                totaleFont = GetFont(_impostazioniReport.TotaleFontName, _impostazioniReport.TotaleFontSize.Value, getFontStyle(_impostazioniReport.TotaleFontStyle));

            const TextAlignment footerAlignment = TextAlignment.MiddleRight;

            var dataSource = _dataSource;
            var labelPrompt = "Totale Generale";
            if (tipoTotale == TipoTotale.Stabile)
            {
                dataSource = _dataSource.Where(item => item.IdStabile == id).ToList();
                var dataSourceLabel = dataSource.FirstOrDefault();
                if(dataSourceLabel != null)
                    labelPrompt = dataSourceLabel.DescrizioneStabile;
            }
            else if (tipoTotale == TipoTotale.Scala)
            {
                dataSource = _dataSource.Where(item => item.IdGruppoStabile == id).ToList();
                var dataSourceLabel = dataSource.FirstOrDefault();
                if (dataSourceLabel != null)
                    labelPrompt = dataSourceLabel.DescrizioneGruppoStabile;
            }
            else if (tipoTotale == TipoTotale.Nominativo)
            {
                dataSource = _dataSource.Where(item => item.IdPersona == id).ToList();
                labelPrompt = "Totale nominativo";
                if (!string.IsNullOrEmpty(descrizione))
                    labelPrompt = $"Totale {descrizione}";
            }
            else if (tipoTotale == TipoTotale.SenzaArrotondamenti)
            {
                dataSource = _dataSource.Where(item => item.OrdineUnitaImmobiliare != int.MaxValue).ToList();
                labelPrompt = "Totale senza arrotondamenti";
            }

            var columns = _ripartoHelper.GetColumnList(_report, null, _parameters, _numeroPagina, _parameters.StampaMillesimi.GetValueOrDefault());

            var cellPrompt = new XRTableCell();
            totaleRow.Cells.Add(cellPrompt);

            cellPrompt.Text = labelPrompt;
            cellPrompt.TextAlignment = footerAlignment;
            cellPrompt.Padding = getPaddingInfo();
            cellPrompt.WidthF = _ripartoHelper.GetColumnWidth(columns, ColumnTypeEnum.OrdineUnita) +
                          _ripartoHelper.GetColumnWidth(columns, ColumnTypeEnum.Nominativo) +
                          _ripartoHelper.GetColumnWidth(columns, ColumnTypeEnum.ProprietaConduzione) +
                          _ripartoHelper.GetColumnWidth(columns, ColumnTypeEnum.Interno) +
                          _ripartoHelper.GetColumnWidth(columns, ColumnTypeEnum.Piano) +
                          _ripartoHelper.GetColumnWidth(columns, ColumnTypeEnum.TipoUnita) +
                          _ripartoHelper.GetColumnWidth(columns, ColumnTypeEnum.Subalterno);

            cellPrompt.BackColor = ColorTranslator.FromHtml(_impostazioniReport.TotaleBackColor);
            cellPrompt.Font = totaleFont;

            foreach (var tableColumn in columns.Where(item => item.ColumnType == ColumnTypeEnum.Conto))
            {
                if (!tableColumn.Hidden && (_numeroPagina == null || tableColumn.PrintPage == _numeroPagina))
                {
                    var cell = new XRTableCell
                    {
                        BackColor = ColorTranslator.FromHtml(_impostazioniReport.TotaleBackColor),
                        Font = totaleFont,
                        WidthF = tableColumn.Width,
                        CanGrow = true
                    };

                    if (_parameters.StampaMillesimi.GetValueOrDefault() && !tableColumn.HideMillesimi)
                    {
                        var tableMillesimi = new XRTable { Borders = BorderSide.None };
                        var row = new XRTableRow();
                        tableMillesimi.BeginInit();

                        // Cell MILLESIMO
                        // -------------
                        var cellMillesimo = new XRTableCell
                        {
                            BackColor = ColorTranslator.FromHtml(_impostazioniReport.TotaleBackColor),
                            Font = totaleFont,
                            WidthF = tableColumn.Width
                        };

                        var millesimo = dataSource.Where(item => item.OrdineConto == tableColumn.Order).Sum(item => item.Millesimi).GetValueOrDefault();
                        if (millesimo != 0)
                            cellMillesimo.Text = (millesimo * 1000).ToString("#0,000");

                        cellMillesimo.Borders = BorderSide.Right;
                        cellMillesimo.TextAlignment = TextAlignment.MiddleRight;
                        cellMillesimo.Padding = getPaddingInfo();
                        row.Cells.Add(cellMillesimo);

                        // Cell IMPORTO
                        // -------------
                        var cellImporto = new XRTableCell
                        {
                            Borders = BorderSide.None,
                            BackColor = ColorTranslator.FromHtml(_impostazioniReport.TotaleBackColor),
                            Font = totaleFont,
                            WidthF = tableColumn.Width
                        };

                        var importo = dataSource.Where(item => item.OrdineConto == tableColumn.Order).Sum(item => item.Importo.GetValueOrDefault());
                        if (importo != 0)
                            cellImporto.Text = importo.ToString("c");

                        cellImporto.TextAlignment = TextAlignment.MiddleRight;
                        cellImporto.Padding = getPaddingInfo();
                        row.Cells.Add(cellImporto);

                        // Add ROW
                        // -------------
                        tableMillesimi.Rows.Add(row);

                        cell.Text = string.Empty;
                        cell.Padding = new PaddingInfo(0, 0, 0, 0);

                        cellMillesimo.WidthF = tableColumn.WidthMillesimi.GetValueOrDefault();
                        cellImporto.WidthF = tableColumn.Width;
                        cell.WidthF = tableColumn.Width + tableColumn.WidthMillesimi.GetValueOrDefault();

                        tableMillesimi.Width = cell.Width;
                        cell.Controls.Add(tableMillesimi);

                        tableMillesimi.AdjustSize();
                        tableMillesimi.EndInit();
                    }
                    else
                    {
                        cell.TextAlignment = TextAlignment.MiddleRight;
                        cell.Padding = getPaddingInfo();

                        decimal importo;
                        if(tableColumn.Order != 9997)
                            importo = dataSource.Where(item => item.OrdineConto == tableColumn.Order).Sum(item => item.Importo.GetValueOrDefault());
                        else
                        {
                            importo = dataSource.Where(item => item.OrdineConto == 9994).Sum(item => item.Importo.GetValueOrDefault()) +
                                                dataSource.Where(item => item.OrdineConto == 9993).Sum(item => item.Importo.GetValueOrDefault());
                        }
                        if (importo != 0)
                            cell.Text = importo.ToString("c");

                    }

                    totaleRow.Cells.Add(cell); 
                }

            }

            if (descrizione == null)
            {
                table.AdjustSize();
                table.EndInit();
            }
        }
コード例 #58
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            string resourceFileName = "rp_SalaryByMonth.resx";

            this.Detail                       = new DevExpress.XtraReports.UI.DetailBand();
            this.TopMargin                    = new DevExpress.XtraReports.UI.TopMarginBand();
            this.BottomMargin                 = new DevExpress.XtraReports.UI.BottomMarginBand();
            this.ReportHeader                 = new DevExpress.XtraReports.UI.ReportHeaderBand();
            this.xrTable2                     = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow2                  = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell12                = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableRow3                  = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell13                = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell14                = new DevExpress.XtraReports.UI.XRTableCell();
            this.tblReportHeader              = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow19                 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrCellTenBieuMau             = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableRow4                  = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell11                = new DevExpress.XtraReports.UI.XRTableCell();
            this.PageHeader                   = new DevExpress.XtraReports.UI.PageHeaderBand();
            this.tblPageHeader                = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow11                 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell241               = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell10                = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell242               = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell16                = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell1                 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell2                 = new DevExpress.XtraReports.UI.XRTableCell();
            this.formattingRule1              = new DevExpress.XtraReports.UI.FormattingRule();
            this.ReportFooter                 = new DevExpress.XtraReports.UI.ReportFooterBand();
            this.xrTable5                     = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow7                  = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell18                = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCell19                = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTable4                     = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow6                  = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell15                = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCellTotal             = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTable3                     = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow5                  = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCell8                 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCellText              = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrLabel2                     = new DevExpress.XtraReports.UI.XRLabel();
            this.xrLabel1                     = new DevExpress.XtraReports.UI.XRLabel();
            this.lblReportDate                = new DevExpress.XtraReports.UI.XRLabel();
            this.xrTable1                     = new DevExpress.XtraReports.UI.XRTable();
            this.xrTableRow1                  = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTextTongSo                 = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCellTotalWagesMonth   = new DevExpress.XtraReports.UI.XRTableCell();
            this.lblThuTruong                 = new DevExpress.XtraReports.UI.XRLabel();
            this.tblDetail                    = new DevExpress.XtraReports.UI.XRTable();
            this.xrDetailRow1                 = new DevExpress.XtraReports.UI.XRTableRow();
            this.xrTableCellTotalWages        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCellTotalIncome       = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCellInsurrance        = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCellPersonalIncomeTax = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCellOtherIncome       = new DevExpress.XtraReports.UI.XRTableCell();
            this.xrTableCellTheWorkCost       = new DevExpress.XtraReports.UI.XRTableCell();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblReportHeader)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblPageHeader)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblDetail)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
            //
            // Detail
            //
            this.Detail.HeightF = 25F;
            this.Detail.Name    = "Detail";
            this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.Detail.StylePriority.UseBorders = false;
            this.Detail.TextAlignment            = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            //
            // TopMargin
            //
            this.TopMargin.HeightF       = 15F;
            this.TopMargin.Name          = "TopMargin";
            this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            //
            // BottomMargin
            //
            this.BottomMargin.HeightF       = 0F;
            this.BottomMargin.Name          = "BottomMargin";
            this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            //
            // ReportHeader
            //
            this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrTable2,
                this.tblReportHeader
            });
            this.ReportHeader.HeightF = 86F;
            this.ReportHeader.Name    = "ReportHeader";
            //
            // xrTable2
            //
            this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 42.00001F);
            this.xrTable2.Name          = "xrTable2";
            this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow2,
                this.xrTableRow3
            });
            this.xrTable2.SizeF = new System.Drawing.SizeF(761.3389F, 34F);
            //
            // xrTableRow2
            //
            this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell12
            });
            this.xrTableRow2.Name   = "xrTableRow2";
            this.xrTableRow2.Weight = 0.79999990231146945D;
            //
            // xrTableCell12
            //
            this.xrTableCell12.Font = new System.Drawing.Font("Times New Roman", 7F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(1)), true);
            this.xrTableCell12.Name = "xrTableCell12";
            this.xrTableCell12.StylePriority.UseFont = false;
            this.xrTableCell12.Text   = "BẢNG TỔNG HỢP  LƯƠNG THÁNG 9 / 2017";
            this.xrTableCell12.Weight = 3.9966622210905545D;
            //
            // xrTableRow3
            //
            this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell13,
                this.xrTableCell14
            });
            this.xrTableRow3.Name   = "xrTableRow3";
            this.xrTableRow3.Weight = 0.33333324536656561D;
            //
            // xrTableCell13
            //
            this.xrTableCell13.Name    = "xrTableCell13";
            this.xrTableCell13.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
            this.xrTableCell13.StylePriority.UsePadding = false;
            this.xrTableCell13.Weight = 1.5748560433256003D;
            //
            // xrTableCell14
            //
            this.xrTableCell14.Name   = "xrTableCell14";
            this.xrTableCell14.Weight = 2.4218061963804294D;
            //
            // tblReportHeader
            //
            this.tblReportHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.tblReportHeader.Name          = "tblReportHeader";
            this.tblReportHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow19,
                this.xrTableRow4
            });
            this.tblReportHeader.SizeF = new System.Drawing.SizeF(761.3389F, 34F);
            //
            // xrTableRow19
            //
            this.xrTableRow19.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrCellTenBieuMau
            });
            this.xrTableRow19.Name   = "xrTableRow19";
            this.xrTableRow19.Weight = 0.41805549924192159D;
            //
            // xrCellTenBieuMau
            //
            this.xrCellTenBieuMau.Font = new System.Drawing.Font("Times New Roman", 5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(1)), true);
            this.xrCellTenBieuMau.Name = "xrCellTenBieuMau";
            this.xrCellTenBieuMau.StylePriority.UseFont          = false;
            this.xrCellTenBieuMau.StylePriority.UseTextAlignment = false;
            this.xrCellTenBieuMau.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrCellTenBieuMau.Weight        = 3.9966622210905545D;
            //
            // xrTableRow4
            //
            this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell11
            });
            this.xrTableRow4.Name   = "xrTableRow4";
            this.xrTableRow4.Weight = 0.71527764843611341D;
            //
            // xrTableCell11
            //
            this.xrTableCell11.Name = "xrTableCell11";
            this.xrTableCell11.StylePriority.UseTextAlignment = false;
            this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
            this.xrTableCell11.Weight        = 3.99666223970603D;
            //
            // PageHeader
            //
            this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.tblPageHeader
            });
            this.PageHeader.HeightF = 155.0595F;
            this.PageHeader.Name    = "PageHeader";
            //
            // tblPageHeader
            //
            this.tblPageHeader.Borders       = DevExpress.XtraPrinting.BorderSide.None;
            this.tblPageHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 55.05952F);
            this.tblPageHeader.Name          = "tblPageHeader";
            this.tblPageHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow11
            });
            this.tblPageHeader.SizeF = new System.Drawing.SizeF(803.0001F, 100F);
            this.tblPageHeader.StylePriority.UseBorders = false;
            //
            // xrTableRow11
            //
            this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell241,
                this.xrTableCell10,
                this.xrTableCell242,
                this.xrTableCell16,
                this.xrTableCell1,
                this.xrTableCell2
            });
            this.xrTableRow11.Name   = "xrTableRow11";
            this.xrTableRow11.Weight = 9.2D;
            //
            // xrTableCell241
            //
            this.xrTableCell241.BorderColor = System.Drawing.Color.DarkGray;
            this.xrTableCell241.Borders     = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell241.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell241.Name = "xrTableCell241";
            this.xrTableCell241.StylePriority.UseBorderColor = false;
            this.xrTableCell241.StylePriority.UseBorders     = false;
            this.xrTableCell241.StylePriority.UseFont        = false;
            this.xrTableCell241.Text   = "Tổng tiền lương";
            this.xrTableCell241.Weight = 0.47482605866316707D;
            //
            // xrTableCell10
            //
            this.xrTableCell10.BorderColor = System.Drawing.Color.DarkGray;
            this.xrTableCell10.Borders     = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell10.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell10.Name = "xrTableCell10";
            this.xrTableCell10.StylePriority.UseBorderColor = false;
            this.xrTableCell10.StylePriority.UseBorders     = false;
            this.xrTableCell10.StylePriority.UseFont        = false;
            this.xrTableCell10.Text   = "Tổng thu nhập";
            this.xrTableCell10.Weight = 0.4635389334915101D;
            //
            // xrTableCell242
            //
            this.xrTableCell242.BorderColor = System.Drawing.Color.DarkGray;
            this.xrTableCell242.Borders     = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                                     | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell242.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell242.Name = "xrTableCell242";
            this.xrTableCell242.StylePriority.UseBorderColor = false;
            this.xrTableCell242.StylePriority.UseBorders     = false;
            this.xrTableCell242.StylePriority.UseFont        = false;
            this.xrTableCell242.Text   = "BHXH,BHYT,BHTN";
            this.xrTableCell242.Weight = 0.67302614653114712D;
            //
            // xrTableCell16
            //
            this.xrTableCell16.BorderColor = System.Drawing.Color.DarkGray;
            this.xrTableCell16.Borders     = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                                    | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell16.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell16.Name = "xrTableCell16";
            this.xrTableCell16.StylePriority.UseBorderColor = false;
            this.xrTableCell16.StylePriority.UseBorders     = false;
            this.xrTableCell16.StylePriority.UseFont        = false;
            this.xrTableCell16.Text   = "Thuế thu nhập cá nhân";
            this.xrTableCell16.Weight = 0.72445911061355661D;
            //
            // xrTableCell1
            //
            this.xrTableCell1.BorderColor = System.Drawing.Color.DarkGray;
            this.xrTableCell1.Borders     = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                                   | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell1.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell1.Name = "xrTableCell1";
            this.xrTableCell1.StylePriority.UseBorderColor = false;
            this.xrTableCell1.StylePriority.UseBorders     = false;
            this.xrTableCell1.StylePriority.UseFont        = false;
            this.xrTableCell1.Text   = "Thu khác";
            this.xrTableCell1.Weight = 0.54480146016993436D;
            //
            // xrTableCell2
            //
            this.xrTableCell2.BorderColor = System.Drawing.Color.DarkGray;
            this.xrTableCell2.Borders     = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                                    | DevExpress.XtraPrinting.BorderSide.Right)
                                                                                   | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCell2.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold);
            this.xrTableCell2.Name = "xrTableCell2";
            this.xrTableCell2.StylePriority.UseBorderColor = false;
            this.xrTableCell2.StylePriority.UseBorders     = false;
            this.xrTableCell2.StylePriority.UseFont        = false;
            this.xrTableCell2.Text   = "Công tác phí";
            this.xrTableCell2.Weight = 0.54114028991361063D;
            //
            // formattingRule1
            //
            this.formattingRule1.Name = "formattingRule1";
            //
            // ReportFooter
            //
            this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
                this.xrTable5,
                this.xrTable4,
                this.xrTable3,
                this.xrLabel2,
                this.xrLabel1,
                this.lblReportDate,
                this.xrTable1,
                this.lblThuTruong,
                this.tblDetail
            });
            this.ReportFooter.HeightF = 252.1667F;
            this.ReportFooter.Name    = "ReportFooter";
            //
            // xrTable5
            //
            this.xrTable5.Borders       = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 93.15472F);
            this.xrTable5.Name          = "xrTable5";
            this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow7
            });
            this.xrTable5.SizeF = new System.Drawing.SizeF(378.149F, 25F);
            this.xrTable5.StylePriority.UseBorders = false;
            //
            // xrTableRow7
            //
            this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell18,
                this.xrTableCell19
            });
            this.xrTableRow7.Name   = "xrTableRow7";
            this.xrTableRow7.Weight = 1D;
            //
            // xrTableCell18
            //
            this.xrTableCell18.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTableCell18.Name    = "xrTableCell18";
            this.xrTableCell18.StylePriority.UseBorders       = false;
            this.xrTableCell18.StylePriority.UseTextAlignment = false;
            this.xrTableCell18.Text          = "Trong đó";
            this.xrTableCell18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrTableCell18.Weight        = 0.54932342646152388D;
            //
            // xrTableCell19
            //
            this.xrTableCell19.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTableCell19.Name    = "xrTableCell19";
            this.xrTableCell19.StylePriority.UseBorders       = false;
            this.xrTableCell19.StylePriority.UseTextAlignment = false;
            this.xrTableCell19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCell19.Weight        = 1.3148848042021257D;
            //
            // xrTable4
            //
            this.xrTable4.Borders       = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 118.1547F);
            this.xrTable4.Name          = "xrTable4";
            this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow6
            });
            this.xrTable4.SizeF = new System.Drawing.SizeF(378.149F, 25F);
            this.xrTable4.StylePriority.UseBorders = false;
            //
            // xrTableRow6
            //
            this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell15,
                this.xrTableCellTotal
            });
            this.xrTableRow6.Name   = "xrTableRow6";
            this.xrTableRow6.Weight = 1D;
            //
            // xrTableCell15
            //
            this.xrTableCell15.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTableCell15.Name    = "xrTableCell15";
            this.xrTableCell15.StylePriority.UseBorders       = false;
            this.xrTableCell15.StylePriority.UseTextAlignment = false;
            this.xrTableCell15.Text          = "TỔNG CỘNG";
            this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrTableCell15.Weight        = 0.54932342646152388D;
            //
            // xrTableCellTotal
            //
            this.xrTableCellTotal.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTableCellTotal.Name    = "xrTableCellTotal";
            this.xrTableCellTotal.StylePriority.UseBorders       = false;
            this.xrTableCellTotal.StylePriority.UseTextAlignment = false;
            this.xrTableCellTotal.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellTotal.Weight        = 1.3148848042021257D;
            //
            // xrTable3
            //
            this.xrTable3.Borders       = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.15474F);
            this.xrTable3.Name          = "xrTable3";
            this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow5
            });
            this.xrTable3.SizeF = new System.Drawing.SizeF(378.149F, 25F);
            this.xrTable3.StylePriority.UseBorders = false;
            //
            // xrTableRow5
            //
            this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCell8,
                this.xrTableCellText
            });
            this.xrTableRow5.Name   = "xrTableRow5";
            this.xrTableRow5.Weight = 1D;
            //
            // xrTableCell8
            //
            this.xrTableCell8.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTableCell8.Name    = "xrTableCell8";
            this.xrTableCell8.StylePriority.UseBorders       = false;
            this.xrTableCell8.StylePriority.UseTextAlignment = false;
            this.xrTableCell8.Text          = "Bằng chữ";
            this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrTableCell8.Weight        = 0.54932342646152388D;
            //
            // xrTableCellText
            //
            this.xrTableCellText.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTableCellText.Name    = "xrTableCellText";
            this.xrTableCellText.StylePriority.UseBorders       = false;
            this.xrTableCellText.StylePriority.UseTextAlignment = false;
            this.xrTableCellText.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellText.Weight        = 1.3148848042021257D;
            //
            // xrLabel2
            //
            this.xrLabel2.Font                           = new System.Drawing.Font("Times New Roman", 6F, System.Drawing.FontStyle.Bold);
            this.xrLabel2.LocationFloat                  = new DevExpress.Utils.PointFloat(83.53977F, 194.7619F);
            this.xrLabel2.Name                           = "xrLabel2";
            this.xrLabel2.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel2.SizeF                          = new System.Drawing.SizeF(121.7877F, 25.00001F);
            this.xrLabel2.StylePriority.UseFont          = false;
            this.xrLabel2.StylePriority.UseTextAlignment = false;
            this.xrLabel2.Text                           = "TỔNG GIÁM ĐỐC";
            this.xrLabel2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrLabel1
            //
            this.xrLabel1.Font                           = new System.Drawing.Font("Times New Roman", 6F, System.Drawing.FontStyle.Bold);
            this.xrLabel1.LocationFloat                  = new DevExpress.Utils.PointFloat(322.6191F, 195.8333F);
            this.xrLabel1.Name                           = "xrLabel1";
            this.xrLabel1.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.xrLabel1.SizeF                          = new System.Drawing.SizeF(121.7877F, 25.00001F);
            this.xrLabel1.StylePriority.UseFont          = false;
            this.xrLabel1.StylePriority.UseTextAlignment = false;
            this.xrLabel1.Text                           = "PHÒNG KẾ TOÁN";
            this.xrLabel1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // lblReportDate
            //
            this.lblReportDate.Font                           = new System.Drawing.Font("Times New Roman", 7F, System.Drawing.FontStyle.Italic);
            this.lblReportDate.LocationFloat                  = new DevExpress.Utils.PointFloat(599.8099F, 165.625F);
            this.lblReportDate.Name                           = "lblReportDate";
            this.lblReportDate.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.lblReportDate.SizeF                          = new System.Drawing.SizeF(175.3329F, 15F);
            this.lblReportDate.StylePriority.UseFont          = false;
            this.lblReportDate.StylePriority.UseTextAlignment = false;
            this.lblReportDate.Text                           = "{0}, ngày {1} tháng {2} năm {3}";
            this.lblReportDate.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // xrTable1
            //
            this.xrTable1.Borders       = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 43.15476F);
            this.xrTable1.Name          = "xrTable1";
            this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrTableRow1
            });
            this.xrTable1.SizeF = new System.Drawing.SizeF(378.149F, 25F);
            this.xrTable1.StylePriority.UseBorders = false;
            //
            // xrTableRow1
            //
            this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTextTongSo,
                this.xrTableCellTotalWagesMonth
            });
            this.xrTableRow1.Name   = "xrTableRow1";
            this.xrTableRow1.Weight = 1D;
            //
            // xrTextTongSo
            //
            this.xrTextTongSo.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTextTongSo.Name    = "xrTextTongSo";
            this.xrTextTongSo.StylePriority.UseBorders       = false;
            this.xrTextTongSo.StylePriority.UseTextAlignment = false;
            this.xrTextTongSo.Text          = "TỔNG TIỀN LƯƠNG THÁNG 9/2017";
            this.xrTextTongSo.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
            this.xrTextTongSo.Weight        = 1.0855889282205971D;
            //
            // xrTableCellTotalWagesMonth
            //
            this.xrTableCellTotalWagesMonth.Borders = DevExpress.XtraPrinting.BorderSide.None;
            this.xrTableCellTotalWagesMonth.Name    = "xrTableCellTotalWagesMonth";
            this.xrTableCellTotalWagesMonth.StylePriority.UseBorders       = false;
            this.xrTableCellTotalWagesMonth.StylePriority.UseTextAlignment = false;
            this.xrTableCellTotalWagesMonth.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellTotalWagesMonth.Weight        = 0.77861930244305255D;
            //
            // lblThuTruong
            //
            this.lblThuTruong.Font                           = new System.Drawing.Font("Times New Roman", 6F, System.Drawing.FontStyle.Bold);
            this.lblThuTruong.LocationFloat                  = new DevExpress.Utils.PointFloat(624.6703F, 194.7619F);
            this.lblThuTruong.Name                           = "lblThuTruong";
            this.lblThuTruong.Padding                        = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
            this.lblThuTruong.SizeF                          = new System.Drawing.SizeF(121.7877F, 25.00001F);
            this.lblThuTruong.StylePriority.UseFont          = false;
            this.lblThuTruong.StylePriority.UseTextAlignment = false;
            this.lblThuTruong.Text                           = "CHỦ TÀI KHOẢN";
            this.lblThuTruong.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            //
            // tblDetail
            //
            this.tblDetail.Borders       = DevExpress.XtraPrinting.BorderSide.None;
            this.tblDetail.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
            this.tblDetail.Name          = "tblDetail";
            this.tblDetail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
                this.xrDetailRow1
            });
            this.tblDetail.SizeF = new System.Drawing.SizeF(803F, 25F);
            this.tblDetail.StylePriority.UseBorders = false;
            //
            // xrDetailRow1
            //
            this.xrDetailRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
                this.xrTableCellTotalWages,
                this.xrTableCellTotalIncome,
                this.xrTableCellInsurrance,
                this.xrTableCellPersonalIncomeTax,
                this.xrTableCellOtherIncome,
                this.xrTableCellTheWorkCost
            });
            this.xrDetailRow1.Name   = "xrDetailRow1";
            this.xrDetailRow1.Weight = 1D;
            //
            // xrTableCellTotalWages
            //
            this.xrTableCellTotalWages.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCellTotalWages.Name    = "xrTableCellTotalWages";
            this.xrTableCellTotalWages.StylePriority.UseBorders       = false;
            this.xrTableCellTotalWages.StylePriority.UseFont          = false;
            this.xrTableCellTotalWages.StylePriority.UseTextAlignment = false;
            this.xrTableCellTotalWages.Text          = " ";
            this.xrTableCellTotalWages.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellTotalWages.Weight        = 0.39584745643453212D;
            //
            // xrTableCellTotalIncome
            //
            this.xrTableCellTotalIncome.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCellTotalIncome.Name    = "xrTableCellTotalIncome";
            this.xrTableCellTotalIncome.StylePriority.UseBorders       = false;
            this.xrTableCellTotalIncome.StylePriority.UseTextAlignment = false;
            this.xrTableCellTotalIncome.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellTotalIncome.Weight        = 0.38643787207413272D;
            //
            // xrTableCellInsurrance
            //
            this.xrTableCellInsurrance.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCellInsurrance.Name    = "xrTableCellInsurrance";
            this.xrTableCellInsurrance.StylePriority.UseBorders       = false;
            this.xrTableCellInsurrance.StylePriority.UseTextAlignment = false;
            this.xrTableCellInsurrance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellInsurrance.Weight        = 0.56108069673743777D;
            //
            // xrTableCellPersonalIncomeTax
            //
            this.xrTableCellPersonalIncomeTax.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCellPersonalIncomeTax.Name    = "xrTableCellPersonalIncomeTax";
            this.xrTableCellPersonalIncomeTax.StylePriority.UseBorders       = false;
            this.xrTableCellPersonalIncomeTax.StylePriority.UseTextAlignment = false;
            this.xrTableCellPersonalIncomeTax.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellPersonalIncomeTax.Weight        = 0.60395891750561881D;
            //
            // xrTableCellOtherIncome
            //
            this.xrTableCellOtherIncome.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCellOtherIncome.Name    = "xrTableCellOtherIncome";
            this.xrTableCellOtherIncome.StylePriority.UseBorders       = false;
            this.xrTableCellOtherIncome.StylePriority.UseTextAlignment = false;
            this.xrTableCellOtherIncome.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellOtherIncome.Weight        = 0.45418327938471686D;
            //
            // xrTableCellTheWorkCost
            //
            this.xrTableCellTheWorkCost.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
                                                                                         | DevExpress.XtraPrinting.BorderSide.Bottom)));
            this.xrTableCellTheWorkCost.Name = "xrTableCellTheWorkCost";
            this.xrTableCellTheWorkCost.StylePriority.UseBorders       = false;
            this.xrTableCellTheWorkCost.StylePriority.UseTextAlignment = false;
            this.xrTableCellTheWorkCost.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.xrTableCellTheWorkCost.Weight        = 0.45113177779529157D;
            //
            // rp_SalaryByMonth
            //
            this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
                this.Detail,
                this.TopMargin,
                this.BottomMargin,
                this.ReportHeader,
                this.PageHeader,
                this.ReportFooter
            });
            this.BorderColor = System.Drawing.Color.DarkGray;
            this.Font        = new System.Drawing.Font("Times New Roman", 5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(1)), true);
            this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
                this.formattingRule1
            });
            this.Margins       = new System.Drawing.Printing.Margins(12, 12, 15, 0);
            this.PageHeight    = 1169;
            this.PageWidth     = 827;
            this.PaperKind     = System.Drawing.Printing.PaperKind.A4;
            this.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
            this.Version       = "15.1";
            ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblReportHeader)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblPageHeader)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tblDetail)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
        }
コード例 #59
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
     DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
     this.TableHeader    = new DevExpress.XtraReports.UI.XRControlStyle();
     this.xrTableCell5   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTable2       = new DevExpress.XtraReports.UI.XRTable();
     this.xrTableRow2    = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell4   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell8   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell13  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell15  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell2   = new DevExpress.XtraReports.UI.XRTableCell();
     this.BottomMargin   = new DevExpress.XtraReports.UI.BottomMarginBand();
     this.xrTableCell1   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableRow1    = new DevExpress.XtraReports.UI.XRTableRow();
     this.xrTableCell7   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell9   = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTableCell11  = new DevExpress.XtraReports.UI.XRTableCell();
     this.xrTable1       = new DevExpress.XtraReports.UI.XRTable();
     this.xrPageInfo1    = new DevExpress.XtraReports.UI.XRPageInfo();
     this.GroupHeader1   = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.Detail         = new DevExpress.XtraReports.UI.DetailBand();
     this.FooterLine     = new DevExpress.XtraReports.UI.XRControlStyle();
     this.xrLine2        = new DevExpress.XtraReports.UI.XRLine();
     this.Lines          = new DevExpress.XtraReports.UI.XRControlStyle();
     this.Header         = new DevExpress.XtraReports.UI.XRControlStyle();
     this.TopMargin      = new DevExpress.XtraReports.UI.TopMarginBand();
     this.xrPageInfo3    = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrPageInfo2    = new DevExpress.XtraReports.UI.XRPageInfo();
     this.xrLabel22      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel23      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel20      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel21      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel18      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel17      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel3       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel4       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel5       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel6       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel7       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel1       = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel13      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel14      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel19      = new DevExpress.XtraReports.UI.XRLabel();
     this.xrLabel16      = new DevExpress.XtraReports.UI.XRLabel();
     this.OddStyle       = new DevExpress.XtraReports.UI.XRControlStyle();
     this.PageFooter     = new DevExpress.XtraReports.UI.PageFooterBand();
     this.EvenStyle      = new DevExpress.XtraReports.UI.XRControlStyle();
     this.GroupHeader2   = new DevExpress.XtraReports.UI.GroupHeaderBand();
     this.xrLabel11      = new DevExpress.XtraReports.UI.XRLabel();
     this.ReportFooter   = new DevExpress.XtraReports.UI.ReportFooterBand();
     this.xrLabel15      = new DevExpress.XtraReports.UI.XRLabel();
     this.dsNHIFReturns1 = new Master.Class.DataSet.dsNHIFReturns();
     this.sprptNHIFReturnsTableAdapter = new Master.Class.DataSet.dsNHIFReturnsTableAdapters.sprptNHIFReturnsTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsNHIFReturns1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     //
     // TableHeader
     //
     this.TableHeader.BackColor     = System.Drawing.Color.White;
     this.TableHeader.Font          = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Bold);
     this.TableHeader.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(98)))), ((int)(((byte)(107)))), ((int)(((byte)(115)))));
     this.TableHeader.Name          = "TableHeader";
     this.TableHeader.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TableHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrTableCell5
     //
     this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.EmpName")
     });
     this.xrTableCell5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell5.Name = "xrTableCell5";
     this.xrTableCell5.StylePriority.UseFont          = false;
     this.xrTableCell5.StylePriority.UseTextAlignment = false;
     this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableCell5.Weight        = 1.68126807426127D;
     this.xrTableCell5.WordWrap      = false;
     //
     // xrTable2
     //
     this.xrTable2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                    | DevExpress.XtraPrinting.BorderSide.Right)));
     this.xrTable2.EvenStyleName = "EvenStyle";
     this.xrTable2.Font          = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 0F);
     this.xrTable2.Name          = "xrTable2";
     this.xrTable2.OddStyleName  = "OddStyle";
     this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow2
     });
     this.xrTable2.SizeF = new System.Drawing.SizeF(673.9998F, 16.66667F);
     this.xrTable2.StylePriority.UseBorders = false;
     this.xrTable2.StylePriority.UseFont    = false;
     //
     // xrTableRow2
     //
     this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell4,
         this.xrTableCell5,
         this.xrTableCell8,
         this.xrTableCell13,
         this.xrTableCell15
     });
     this.xrTableRow2.Name   = "xrTableRow2";
     this.xrTableRow2.Weight = 1D;
     //
     // xrTableCell4
     //
     this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.PayrollNo")
     });
     this.xrTableCell4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell4.Name = "xrTableCell4";
     this.xrTableCell4.StylePriority.UseFont          = false;
     this.xrTableCell4.StylePriority.UseTextAlignment = false;
     this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableCell4.Weight        = 0.7867089598285D;
     //
     // xrTableCell8
     //
     this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.IDNo")
     });
     this.xrTableCell8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell8.Name = "xrTableCell8";
     this.xrTableCell8.StylePriority.UseFont          = false;
     this.xrTableCell8.StylePriority.UseTextAlignment = false;
     this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableCell8.Weight        = 0.589282076774097D;
     this.xrTableCell8.WordWrap      = false;
     //
     // xrTableCell13
     //
     this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.NHIFNo")
     });
     this.xrTableCell13.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell13.Name = "xrTableCell13";
     this.xrTableCell13.StylePriority.UseFont          = false;
     this.xrTableCell13.StylePriority.UseTextAlignment = false;
     this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableCell13.Weight        = 0.547682829149039D;
     this.xrTableCell13.WordWrap      = false;
     //
     // xrTableCell15
     //
     this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.Amount", "{0:n2}")
     });
     this.xrTableCell15.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell15.Name = "xrTableCell15";
     this.xrTableCell15.StylePriority.UseFont          = false;
     this.xrTableCell15.StylePriority.UseTextAlignment = false;
     xrSummary1.FormatString          = "{0:#}";
     this.xrTableCell15.Summary       = xrSummary1;
     this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
     this.xrTableCell15.Weight        = 0.855616091483507D;
     this.xrTableCell15.WordWrap      = false;
     //
     // xrTableCell2
     //
     this.xrTableCell2.Font                           = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell2.ForeColor                      = System.Drawing.Color.Black;
     this.xrTableCell2.Name                           = "xrTableCell2";
     this.xrTableCell2.StylePriority.UseFont          = false;
     this.xrTableCell2.StylePriority.UseForeColor     = false;
     this.xrTableCell2.StylePriority.UseTextAlignment = false;
     this.xrTableCell2.Text                           = "NAMES";
     this.xrTableCell2.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell2.Weight                         = 1.17070303076375D;
     //
     // BottomMargin
     //
     this.BottomMargin.HeightF       = 0F;
     this.BottomMargin.Name          = "BottomMargin";
     this.BottomMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrTableCell1
     //
     this.xrTableCell1.Font                           = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell1.ForeColor                      = System.Drawing.Color.Black;
     this.xrTableCell1.Name                           = "xrTableCell1";
     this.xrTableCell1.StylePriority.UseFont          = false;
     this.xrTableCell1.StylePriority.UseForeColor     = false;
     this.xrTableCell1.StylePriority.UseTextAlignment = false;
     this.xrTableCell1.Text                           = "PAYROLLNO";
     this.xrTableCell1.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell1.Weight                         = 0.547802522655179D;
     //
     // xrTableRow1
     //
     this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
         this.xrTableCell1,
         this.xrTableCell2,
         this.xrTableCell7,
         this.xrTableCell9,
         this.xrTableCell11
     });
     this.xrTableRow1.Name   = "xrTableRow1";
     this.xrTableRow1.Weight = 1D;
     //
     // xrTableCell7
     //
     this.xrTableCell7.Font                           = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell7.ForeColor                      = System.Drawing.Color.Black;
     this.xrTableCell7.Name                           = "xrTableCell7";
     this.xrTableCell7.StylePriority.UseFont          = false;
     this.xrTableCell7.StylePriority.UseForeColor     = false;
     this.xrTableCell7.StylePriority.UseTextAlignment = false;
     this.xrTableCell7.Text                           = "IDNO";
     this.xrTableCell7.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell7.Weight                         = 0.410329859845624D;
     //
     // xrTableCell9
     //
     this.xrTableCell9.Font                           = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell9.ForeColor                      = System.Drawing.Color.Black;
     this.xrTableCell9.Name                           = "xrTableCell9";
     this.xrTableCell9.StylePriority.UseFont          = false;
     this.xrTableCell9.StylePriority.UseForeColor     = false;
     this.xrTableCell9.StylePriority.UseTextAlignment = false;
     this.xrTableCell9.Text                           = "NHIF NO";
     this.xrTableCell9.TextAlignment                  = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell9.Weight                         = 0.38136368102811D;
     //
     // xrTableCell11
     //
     this.xrTableCell11.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTableCell11.Name = "xrTableCell11";
     this.xrTableCell11.StylePriority.UseFont          = false;
     this.xrTableCell11.StylePriority.UseTextAlignment = false;
     this.xrTableCell11.Text          = "AMOUNT";
     this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     this.xrTableCell11.Weight        = 0.59578392275037D;
     //
     // xrTable1
     //
     this.xrTable1.BackColor = System.Drawing.Color.White;
     this.xrTable1.Borders   = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
                                                                      | DevExpress.XtraPrinting.BorderSide.Right)));
     this.xrTable1.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrTable1.ForeColor     = System.Drawing.Color.Black;
     this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 0F);
     this.xrTable1.Name          = "xrTable1";
     this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
         this.xrTableRow1
     });
     this.xrTable1.SizeF     = new System.Drawing.SizeF(673.9998F, 25F);
     this.xrTable1.StyleName = "TableHeader";
     this.xrTable1.StylePriority.UseBorders   = false;
     this.xrTable1.StylePriority.UseFont      = false;
     this.xrTable1.StylePriority.UseForeColor = false;
     //
     // xrPageInfo1
     //
     this.xrPageInfo1.Format        = "Page {0} of {1}";
     this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0.0001220703F, 2.333242F);
     this.xrPageInfo1.Name          = "xrPageInfo1";
     this.xrPageInfo1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo1.SizeF         = new System.Drawing.SizeF(673.9999F, 23F);
     this.xrPageInfo1.StyleName     = "EvenStyle";
     this.xrPageInfo1.StylePriority.UseTextAlignment = false;
     this.xrPageInfo1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // GroupHeader1
     //
     this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable1
     });
     this.GroupHeader1.HeightF         = 25F;
     this.GroupHeader1.KeepTogether    = true;
     this.GroupHeader1.Level           = 1;
     this.GroupHeader1.Name            = "GroupHeader1";
     this.GroupHeader1.RepeatEveryPage = true;
     //
     // Detail
     //
     this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrTable2
     });
     this.Detail.EvenStyleName = "EvenStyle";
     this.Detail.HeightF       = 16.66667F;
     this.Detail.Name          = "Detail";
     this.Detail.OddStyleName  = "OddStyle";
     this.Detail.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // FooterLine
     //
     this.FooterLine.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(43)))), ((int)(((byte)(24)))));
     this.FooterLine.Name      = "FooterLine";
     this.FooterLine.Padding   = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     //
     // xrLine2
     //
     this.xrLine2.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 0F);
     this.xrLine2.Name          = "xrLine2";
     this.xrLine2.SizeF         = new System.Drawing.SizeF(673.9999F, 2.333242F);
     this.xrLine2.StyleName     = "FooterLine";
     //
     // Lines
     //
     this.Lines.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(43)))), ((int)(((byte)(24)))));
     this.Lines.Name      = "Lines";
     this.Lines.Padding   = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     //
     // Header
     //
     this.Header.Font          = new System.Drawing.Font("Microsoft Sans Serif", 48F);
     this.Header.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(173)))), ((int)(((byte)(191)))));
     this.Header.Name          = "Header";
     this.Header.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.Header.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // TopMargin
     //
     this.TopMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrPageInfo3,
         this.xrPageInfo2,
         this.xrLabel22,
         this.xrLabel23,
         this.xrLabel20,
         this.xrLabel21,
         this.xrLabel18,
         this.xrLabel17,
         this.xrLabel3,
         this.xrLabel4,
         this.xrLabel5,
         this.xrLabel6,
         this.xrLabel7,
         this.xrLabel1,
         this.xrLabel13,
         this.xrLabel14,
         this.xrLabel19,
         this.xrLabel16
     });
     this.TopMargin.HeightF       = 255.9167F;
     this.TopMargin.Name          = "TopMargin";
     this.TopMargin.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
     //
     // xrPageInfo3
     //
     this.xrPageInfo3.Format        = "{0:dddd, MMMM d, yyyy hh:mm:ss tt}";
     this.xrPageInfo3.LocationFloat = new DevExpress.Utils.PointFloat(393.8748F, 10.00001F);
     this.xrPageInfo3.Name          = "xrPageInfo3";
     this.xrPageInfo3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo3.PageInfo      = DevExpress.XtraPrinting.PageInfo.DateTime;
     this.xrPageInfo3.SizeF         = new System.Drawing.SizeF(280.1252F, 23F);
     this.xrPageInfo3.StylePriority.UseTextAlignment = false;
     this.xrPageInfo3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
     //
     // xrPageInfo2
     //
     this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 10.00001F);
     this.xrPageInfo2.Name          = "xrPageInfo2";
     this.xrPageInfo2.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrPageInfo2.PageInfo      = DevExpress.XtraPrinting.PageInfo.UserName;
     this.xrPageInfo2.SizeF         = new System.Drawing.SizeF(289.5833F, 23F);
     //
     // xrLabel22
     //
     this.xrLabel22.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel22.Font          = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel22.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(444.2501F, 94.45817F);
     this.xrLabel22.Name          = "xrLabel22";
     this.xrLabel22.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel22.SizeF         = new System.Drawing.SizeF(229.7499F, 30.29169F);
     this.xrLabel22.StyleName     = "Header";
     this.xrLabel22.StylePriority.UseBackColor     = false;
     this.xrLabel22.StylePriority.UseFont          = false;
     this.xrLabel22.StylePriority.UseForeColor     = false;
     this.xrLabel22.StylePriority.UseTextAlignment = false;
     this.xrLabel22.Text          = "N.H.I.F. Pyrall";
     this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel23
     //
     this.xrLabel23.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel23.Font          = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel23.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(444.2501F, 124.7499F);
     this.xrLabel23.Name          = "xrLabel23";
     this.xrLabel23.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel23.SizeF         = new System.Drawing.SizeF(229.7498F, 30.29167F);
     this.xrLabel23.StyleName     = "Header";
     this.xrLabel23.StylePriority.UseBackColor     = false;
     this.xrLabel23.StylePriority.UseFont          = false;
     this.xrLabel23.StylePriority.UseForeColor     = false;
     this.xrLabel23.StylePriority.UseTextAlignment = false;
     this.xrLabel23.Text          = "Deductions Summary";
     this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel20
     //
     this.xrLabel20.BackColor = System.Drawing.Color.Transparent;
     this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.Pmonth", "{0:MMMM}")
     });
     this.xrLabel20.Font          = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel20.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(444.2501F, 225.6249F);
     this.xrLabel20.Name          = "xrLabel20";
     this.xrLabel20.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel20.SizeF         = new System.Drawing.SizeF(84.4581F, 30.29169F);
     this.xrLabel20.StyleName     = "Header";
     this.xrLabel20.StylePriority.UseBackColor     = false;
     this.xrLabel20.StylePriority.UseFont          = false;
     this.xrLabel20.StylePriority.UseForeColor     = false;
     this.xrLabel20.StylePriority.UseTextAlignment = false;
     this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel21
     //
     this.xrLabel21.BackColor = System.Drawing.Color.Transparent;
     this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.Pmonth", "{0:yyyy}")
     });
     this.xrLabel21.Font          = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel21.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(558.2085F, 225.6249F);
     this.xrLabel21.Name          = "xrLabel21";
     this.xrLabel21.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel21.SizeF         = new System.Drawing.SizeF(115.7914F, 30.29169F);
     this.xrLabel21.StyleName     = "Header";
     this.xrLabel21.StylePriority.UseBackColor     = false;
     this.xrLabel21.StylePriority.UseFont          = false;
     this.xrLabel21.StylePriority.UseForeColor     = false;
     this.xrLabel21.StylePriority.UseTextAlignment = false;
     this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel18
     //
     this.xrLabel18.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel18.Font          = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel18.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(444.2501F, 195.3333F);
     this.xrLabel18.Name          = "xrLabel18";
     this.xrLabel18.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel18.SizeF         = new System.Drawing.SizeF(84.45813F, 30.29169F);
     this.xrLabel18.StyleName     = "Header";
     this.xrLabel18.StylePriority.UseBackColor     = false;
     this.xrLabel18.StylePriority.UseFont          = false;
     this.xrLabel18.StylePriority.UseForeColor     = false;
     this.xrLabel18.StylePriority.UseTextAlignment = false;
     this.xrLabel18.Text          = "Month";
     this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel17
     //
     this.xrLabel17.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel17.Font          = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel17.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(558.2085F, 195.3333F);
     this.xrLabel17.Name          = "xrLabel17";
     this.xrLabel17.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel17.SizeF         = new System.Drawing.SizeF(115.7915F, 30.29169F);
     this.xrLabel17.StyleName     = "Header";
     this.xrLabel17.StylePriority.UseBackColor     = false;
     this.xrLabel17.StylePriority.UseFont          = false;
     this.xrLabel17.StylePriority.UseForeColor     = false;
     this.xrLabel17.StylePriority.UseTextAlignment = false;
     this.xrLabel17.Text          = "YEAR";
     this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // xrLabel3
     //
     this.xrLabel3.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel3.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel3.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 94.45818F);
     this.xrLabel3.Name          = "xrLabel3";
     this.xrLabel3.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel3.SizeF         = new System.Drawing.SizeF(152.0417F, 30.29169F);
     this.xrLabel3.StyleName     = "Header";
     this.xrLabel3.StylePriority.UseBackColor     = false;
     this.xrLabel3.StylePriority.UseFont          = false;
     this.xrLabel3.StylePriority.UseForeColor     = false;
     this.xrLabel3.StylePriority.UseTextAlignment = false;
     this.xrLabel3.Text          = "EMPLOYER KRA PIN:";
     this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel4
     //
     this.xrLabel4.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel4.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel4.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 124.7499F);
     this.xrLabel4.Name          = "xrLabel4";
     this.xrLabel4.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel4.SizeF         = new System.Drawing.SizeF(152.0417F, 30.29167F);
     this.xrLabel4.StyleName     = "Header";
     this.xrLabel4.StylePriority.UseBackColor     = false;
     this.xrLabel4.StylePriority.UseFont          = false;
     this.xrLabel4.StylePriority.UseForeColor     = false;
     this.xrLabel4.StylePriority.UseTextAlignment = false;
     this.xrLabel4.Text          = "EMPLOYER NHIF NO:";
     this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel5
     //
     this.xrLabel5.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel5.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel5.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 155.0415F);
     this.xrLabel5.Name          = "xrLabel5";
     this.xrLabel5.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel5.SizeF         = new System.Drawing.SizeF(152.0417F, 30.29168F);
     this.xrLabel5.StyleName     = "Header";
     this.xrLabel5.StylePriority.UseBackColor     = false;
     this.xrLabel5.StylePriority.UseFont          = false;
     this.xrLabel5.StylePriority.UseForeColor     = false;
     this.xrLabel5.StylePriority.UseTextAlignment = false;
     this.xrLabel5.Text          = "EMPLOYER  NAME:";
     this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel6
     //
     this.xrLabel6.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel6.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel6.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 185.3332F);
     this.xrLabel6.Name          = "xrLabel6";
     this.xrLabel6.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel6.SizeF         = new System.Drawing.SizeF(149.1248F, 30.2917F);
     this.xrLabel6.StyleName     = "Header";
     this.xrLabel6.StylePriority.UseBackColor     = false;
     this.xrLabel6.StylePriority.UseFont          = false;
     this.xrLabel6.StylePriority.UseForeColor     = false;
     this.xrLabel6.StylePriority.UseTextAlignment = false;
     this.xrLabel6.Text          = "TOTAL  INCOME:";
     this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel7
     //
     this.xrLabel7.BackColor     = System.Drawing.Color.Transparent;
     this.xrLabel7.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold);
     this.xrLabel7.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0.0001271566F, 215.625F);
     this.xrLabel7.Name          = "xrLabel7";
     this.xrLabel7.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel7.SizeF         = new System.Drawing.SizeF(149.1246F, 30.2917F);
     this.xrLabel7.StyleName     = "Header";
     this.xrLabel7.StylePriority.UseBackColor     = false;
     this.xrLabel7.StylePriority.UseFont          = false;
     this.xrLabel7.StylePriority.UseForeColor     = false;
     this.xrLabel7.StylePriority.UseTextAlignment = false;
     this.xrLabel7.Text          = "TOTAL  AMOUNT:";
     this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel1
     //
     this.xrLabel1.BackColor = System.Drawing.Color.Transparent;
     this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.TotalAmount", "{0:#}")
     });
     this.xrLabel1.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel1.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(152.0417F, 215.625F);
     this.xrLabel1.Name          = "xrLabel1";
     this.xrLabel1.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel1.SizeF         = new System.Drawing.SizeF(259.4582F, 30.2917F);
     this.xrLabel1.StyleName     = "Header";
     this.xrLabel1.StylePriority.UseBackColor     = false;
     this.xrLabel1.StylePriority.UseFont          = false;
     this.xrLabel1.StylePriority.UseForeColor     = false;
     this.xrLabel1.StylePriority.UseTextAlignment = false;
     this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel13
     //
     this.xrLabel13.BackColor = System.Drawing.Color.Transparent;
     this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.CompKRAPin")
     });
     this.xrLabel13.Font          = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel13.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(152.0419F, 94.45818F);
     this.xrLabel13.Name          = "xrLabel13";
     this.xrLabel13.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel13.SizeF         = new System.Drawing.SizeF(259.4581F, 30.29169F);
     this.xrLabel13.StyleName     = "Header";
     this.xrLabel13.StylePriority.UseBackColor     = false;
     this.xrLabel13.StylePriority.UseFont          = false;
     this.xrLabel13.StylePriority.UseForeColor     = false;
     this.xrLabel13.StylePriority.UseTextAlignment = false;
     this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel14
     //
     this.xrLabel14.BackColor = System.Drawing.Color.Transparent;
     this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.CompNHIFNo")
     });
     this.xrLabel14.Font          = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel14.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(152.0419F, 124.7499F);
     this.xrLabel14.Name          = "xrLabel14";
     this.xrLabel14.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel14.SizeF         = new System.Drawing.SizeF(259.4581F, 30.29167F);
     this.xrLabel14.StyleName     = "Header";
     this.xrLabel14.StylePriority.UseBackColor     = false;
     this.xrLabel14.StylePriority.UseFont          = false;
     this.xrLabel14.StylePriority.UseForeColor     = false;
     this.xrLabel14.StylePriority.UseTextAlignment = false;
     this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel19
     //
     this.xrLabel19.BackColor = System.Drawing.Color.Transparent;
     this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.CompName")
     });
     this.xrLabel19.Font          = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel19.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(152.0419F, 155.0415F);
     this.xrLabel19.Name          = "xrLabel19";
     this.xrLabel19.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel19.SizeF         = new System.Drawing.SizeF(259.4581F, 30.29169F);
     this.xrLabel19.StyleName     = "Header";
     this.xrLabel19.StylePriority.UseBackColor     = false;
     this.xrLabel19.StylePriority.UseFont          = false;
     this.xrLabel19.StylePriority.UseForeColor     = false;
     this.xrLabel19.StylePriority.UseTextAlignment = false;
     this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // xrLabel16
     //
     this.xrLabel16.BackColor = System.Drawing.Color.Transparent;
     this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.TotalIncome", "{0:#}")
     });
     this.xrLabel16.Font          = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel16.ForeColor     = System.Drawing.Color.Black;
     this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(152.0419F, 185.3333F);
     this.xrLabel16.Name          = "xrLabel16";
     this.xrLabel16.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel16.SizeF         = new System.Drawing.SizeF(259.4581F, 30.29169F);
     this.xrLabel16.StyleName     = "Header";
     this.xrLabel16.StylePriority.UseBackColor     = false;
     this.xrLabel16.StylePriority.UseFont          = false;
     this.xrLabel16.StylePriority.UseForeColor     = false;
     this.xrLabel16.StylePriority.UseTextAlignment = false;
     this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // OddStyle
     //
     this.OddStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(232)))), ((int)(((byte)(242)))));
     this.OddStyle.Font          = new System.Drawing.Font("Calibri", 9.75F);
     this.OddStyle.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
     this.OddStyle.Name          = "OddStyle";
     this.OddStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.OddStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // PageFooter
     //
     this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLine2,
         this.xrPageInfo1
     });
     this.PageFooter.HeightF = 52.08333F;
     this.PageFooter.Name    = "PageFooter";
     //
     // EvenStyle
     //
     this.EvenStyle.BackColor     = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.EvenStyle.Font          = new System.Drawing.Font("Calibri", 9.75F);
     this.EvenStyle.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
     this.EvenStyle.Name          = "EvenStyle";
     this.EvenStyle.Padding       = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
     this.EvenStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     //
     // GroupHeader2
     //
     this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel11
     });
     this.GroupHeader2.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
         new DevExpress.XtraReports.UI.GroupField("ContrPeriod", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)
     });
     this.GroupHeader2.HeightF = 15.625F;
     this.GroupHeader2.Name    = "GroupHeader2";
     //
     // xrLabel11
     //
     this.xrLabel11.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
     this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.ContrPeriod", "{0:#}"),
         new DevExpress.XtraReports.UI.XRBinding("Bookmark", null, "sprptNHIFReturns.ContrPeriod")
     });
     this.xrLabel11.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.xrLabel11.ForeColor     = System.Drawing.Color.White;
     this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0.0001220703F, 0F);
     this.xrLabel11.Name          = "xrLabel11";
     this.xrLabel11.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel11.SizeF         = new System.Drawing.SizeF(673.9999F, 13.95833F);
     this.xrLabel11.StyleName     = "Header";
     this.xrLabel11.StylePriority.UseBackColor     = false;
     this.xrLabel11.StylePriority.UseFont          = false;
     this.xrLabel11.StylePriority.UseForeColor     = false;
     this.xrLabel11.StylePriority.UseTextAlignment = false;
     this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
     this.xrLabel11.Visible       = false;
     //
     // ReportFooter
     //
     this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
         this.xrLabel15
     });
     this.ReportFooter.HeightF = 25F;
     this.ReportFooter.Name    = "ReportFooter";
     //
     // xrLabel15
     //
     this.xrLabel15.BackColor = System.Drawing.Color.Transparent;
     this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
         new DevExpress.XtraReports.UI.XRBinding("Text", null, "sprptNHIFReturns.Amount")
     });
     this.xrLabel15.Font          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Underline);
     this.xrLabel15.ForeColor     = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
     this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(544.7145F, 0F);
     this.xrLabel15.Name          = "xrLabel15";
     this.xrLabel15.Padding       = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
     this.xrLabel15.SizeF         = new System.Drawing.SizeF(129.2855F, 20.91672F);
     this.xrLabel15.StyleName     = "Header";
     this.xrLabel15.StylePriority.UseBackColor     = false;
     this.xrLabel15.StylePriority.UseFont          = false;
     this.xrLabel15.StylePriority.UseForeColor     = false;
     this.xrLabel15.StylePriority.UseTextAlignment = false;
     xrSummary2.FormatString      = "{0:n2}";
     xrSummary2.Running           = DevExpress.XtraReports.UI.SummaryRunning.Report;
     this.xrLabel15.Summary       = xrSummary2;
     this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
     //
     // dsNHIFReturns1
     //
     this.dsNHIFReturns1.DataSetName             = "dsNHIFReturns";
     this.dsNHIFReturns1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // sprptNHIFReturnsTableAdapter
     //
     this.sprptNHIFReturnsTableAdapter.ClearBeforeFill = true;
     //
     // rptNHIFReturns
     //
     this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
         this.Detail,
         this.TopMargin,
         this.BottomMargin,
         this.PageFooter,
         this.GroupHeader1,
         this.GroupHeader2,
         this.ReportFooter
     });
     this.DataAdapter = this.sprptNHIFReturnsTableAdapter;
     this.DataMember  = "sprptNHIFReturns";
     this.DataSource  = this.dsNHIFReturns1;
     this.Margins     = new System.Drawing.Printing.Margins(68, 85, 256, 0);
     this.PageHeight  = 1169;
     this.PageWidth   = 827;
     this.PaperKind   = System.Drawing.Printing.PaperKind.A4;
     this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
         this.Header,
         this.TableHeader,
         this.OddStyle,
         this.EvenStyle,
         this.Lines,
         this.FooterLine
     });
     this.Version = "15.1";
     ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsNHIFReturns1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
 }
コード例 #60
0
 private List<XRControl> VisitTableRowChildren(XRTableRow row)
 {
     // XRTableCells
     return row.Cells.Cast<XRControl>().ToList();
 }