public XtraReportSubReport() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.collectionDataSource1 = new DevExpress.Persistent.Base.ReportsV2.CollectionDataSource(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.collectionDataSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel1, this.xrLabel2 }); this.collectionDataSource1.Name = "collectionDataSource1"; this.collectionDataSource1.ObjectTypeName = "ReportV2Demo.Module.BusinessObjects.Company"; this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name") }); this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 10.00001F); this.xrLabel2.SizeF = new System.Drawing.SizeF(268.125F, 23F); this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "City") }); this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(371.875F, 10.00001F); this.xrLabel1.SizeF = new System.Drawing.SizeF(268.125F, 23F); this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail }); this.ComponentStorage.Add(this.collectionDataSource1); this.DataSource = this.collectionDataSource1; this.Version = AssemblyInfo.VersionShort; ((System.ComponentModel.ISupportInitialize)(this.collectionDataSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPictureBox1, this.xrLabel1}); this.Detail.Name = "Detail"; // // PageHeader // this.PageHeader.Height = 30; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 30; this.PageFooter.Name = "PageFooter"; // // xrLabel1 // this.xrLabel1.Location = new System.Drawing.Point(92, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Size = new System.Drawing.Size(100, 25); this.xrLabel1.Text = "xrLabel1"; // // xrPictureBox1 // this.xrPictureBox1.Location = new System.Drawing.Point(92, 42); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.Size = new System.Drawing.Size(100, 25); // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1}); this.DetailReport.Name = "DetailReport"; // // Detail1 // this.Detail1.Name = "Detail1"; // // XtraReport1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.DetailReport}); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
public static XtraReportDefault3 CreateXtraReport(DataSet dataset) { var xtrareport = new XtraReportDefault3(); var accountBand = xtrareport.detailBand1; var xrLine1 = new DevExpress.XtraReports.UI.XRLine(); accountBand.HeightF = 116.6667F; accountBand.Name = "Detail"; accountBand.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); accountBand.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLine1 // xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); xrLine1.Name = "xrLine1"; xrLine1.SizeF = new System.Drawing.SizeF(650F, 23F); //accountBand.Controls.Add(xrLine1); var columns = dataset.Tables["Account"].Columns; float height = 35; foreach (DataColumn column in columns) { if (column.ColumnName == "Id") continue; var xrLabelName = new DevExpress.XtraReports.UI.XRLabel(); xrLabelName.LocationFloat = new DevExpress.Utils.PointFloat(33.75017F, height); xrLabelName.Name = "xrLabel13"; xrLabelName.SizeF = new System.Drawing.SizeF(200F, 23F); xrLabelName.StylePriority.UseTextAlignment = false; xrLabelName.Text = column.ColumnName; xrLabelName.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; var xrLabelValues = new DevExpress.XtraReports.UI.XRLabel(); xrLabelValues.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Account."+column.ColumnName)}); xrLabelValues.LocationFloat = new DevExpress.Utils.PointFloat(243.7502F, height); xrLabelValues.Name = "xrLabel49"; xrLabelValues.CanShrink = true; xrLabelValues.CanGrow = true; xrLabelValues.Multiline = true; xrLabelValues.SizeF = new System.Drawing.SizeF(350F, 23F); xrLabelValues.Text = "xrLabel49"; height += 35; accountBand.Controls.Add(xrLabelName); accountBand.Controls.Add(xrLabelValues); } var xrPageBreak2 = new DevExpress.XtraReports.UI.XRPageBreak(); xrPageBreak2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); xrPageBreak2.Name = "xrPageBreak2"; accountBand.Controls.Add(xrPageBreak2); xtrareport.Bands.Add(accountBand); return xtrareport; }
/// <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.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel1}); this.Detail.Name = "Detail"; // // xrLabel1 // this.xrLabel1.Location = new System.Drawing.Point(17, 17); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.Size = new System.Drawing.Size(125, 25); this.xrLabel1.Text = "xrLabel1"; // // PageHeader // this.PageHeader.Height = 30; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 30; this.PageFooter.Name = "PageFooter"; // // XtraReport1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter}); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.ThuETime = new DevExpress.XtraReports.UI.XRLabel(); this.SunETime = new DevExpress.XtraReports.UI.XRLabel(); this.TueETime = new DevExpress.XtraReports.UI.XRLabel(); this.SatETime = new DevExpress.XtraReports.UI.XRLabel(); this.FriETime = new DevExpress.XtraReports.UI.XRLabel(); this.WedETime = new DevExpress.XtraReports.UI.XRLabel(); this.MonETime = new DevExpress.XtraReports.UI.XRLabel(); this.lblEmpDept = new DevExpress.XtraReports.UI.XRLabel(); this.lblEmpName = new DevExpress.XtraReports.UI.XRLabel(); this.lblEmpID = new DevExpress.XtraReports.UI.XRLabel(); this.SunSTime = new DevExpress.XtraReports.UI.XRLabel(); this.ThuSTime = new DevExpress.XtraReports.UI.XRLabel(); this.TotalHourWrk = new DevExpress.XtraReports.UI.XRLabel(); this.WedSTime = new DevExpress.XtraReports.UI.XRLabel(); this.FriSTime = new DevExpress.XtraReports.UI.XRLabel(); this.SatSTime = new DevExpress.XtraReports.UI.XRLabel(); this.TueSTime = new DevExpress.XtraReports.UI.XRLabel(); this.MonSTime = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.txtSunDate = new DevExpress.XtraReports.UI.XRLabel(); this.txtSatDate = new DevExpress.XtraReports.UI.XRLabel(); this.txtFriDate = new DevExpress.XtraReports.UI.XRLabel(); this.txtThuDate = new DevExpress.XtraReports.UI.XRLabel(); this.txtWedDate = new DevExpress.XtraReports.UI.XRLabel(); this.txtTueDate = 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.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.txtMonDate = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.WedETime, this.ThuETime, this.SunETime, this.TueETime, this.SatETime, this.FriETime, this.MonETime, this.lblEmpDept, this.lblEmpName, this.lblEmpID, this.SunSTime, this.ThuSTime, this.TotalHourWrk, this.WedSTime, this.FriSTime, this.SatSTime, this.TueSTime, this.MonSTime}); this.Detail.Height = 50; this.Detail.Name = "Detail"; this.Detail.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.Detail_BeforePrint); // // ThuETime // this.ThuETime.BackColor = System.Drawing.Color.WhiteSmoke; this.ThuETime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.ThuETime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.ThuETime.Location = new System.Drawing.Point(371, 25); this.ThuETime.Name = "ThuETime"; this.ThuETime.ParentStyleUsing.UseBackColor = false; this.ThuETime.ParentStyleUsing.UseBorders = false; this.ThuETime.ParentStyleUsing.UseFont = false; this.ThuETime.Size = new System.Drawing.Size(72, 25); this.ThuETime.Text = "THUR"; this.ThuETime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // SunETime // this.SunETime.BackColor = System.Drawing.Color.WhiteSmoke; this.SunETime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.SunETime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.SunETime.Location = new System.Drawing.Point(583, 25); this.SunETime.Name = "SunETime"; this.SunETime.ParentStyleUsing.UseBackColor = false; this.SunETime.ParentStyleUsing.UseBorders = false; this.SunETime.ParentStyleUsing.UseFont = false; this.SunETime.Size = new System.Drawing.Size(72, 25); this.SunETime.Text = "SUN"; this.SunETime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // TueETime // this.TueETime.BackColor = System.Drawing.Color.WhiteSmoke; this.TueETime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.TueETime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.TueETime.Location = new System.Drawing.Point(230, 25); this.TueETime.Name = "TueETime"; this.TueETime.ParentStyleUsing.UseBackColor = false; this.TueETime.ParentStyleUsing.UseBorders = false; this.TueETime.ParentStyleUsing.UseFont = false; this.TueETime.Size = new System.Drawing.Size(72, 25); this.TueETime.Text = "22-02-2006"; this.TueETime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // SatETime // this.SatETime.BackColor = System.Drawing.Color.WhiteSmoke; this.SatETime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.SatETime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.SatETime.Location = new System.Drawing.Point(514, 25); this.SatETime.Name = "SatETime"; this.SatETime.ParentStyleUsing.UseBackColor = false; this.SatETime.ParentStyleUsing.UseBorders = false; this.SatETime.ParentStyleUsing.UseFont = false; this.SatETime.Size = new System.Drawing.Size(72, 25); this.SatETime.Text = "SAT"; this.SatETime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // FriETime // this.FriETime.BackColor = System.Drawing.Color.WhiteSmoke; this.FriETime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.FriETime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.FriETime.Location = new System.Drawing.Point(442, 25); this.FriETime.Name = "FriETime"; this.FriETime.ParentStyleUsing.UseBackColor = false; this.FriETime.ParentStyleUsing.UseBorders = false; this.FriETime.ParentStyleUsing.UseFont = false; this.FriETime.Size = new System.Drawing.Size(72, 25); this.FriETime.Text = "FRI"; this.FriETime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // WedETime // this.WedETime.BackColor = System.Drawing.Color.WhiteSmoke; this.WedETime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.WedETime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.WedETime.Location = new System.Drawing.Point(300, 25); this.WedETime.Name = "WedETime"; this.WedETime.ParentStyleUsing.UseBackColor = false; this.WedETime.ParentStyleUsing.UseBorders = false; this.WedETime.ParentStyleUsing.UseFont = false; this.WedETime.Size = new System.Drawing.Size(72, 25); this.WedETime.Text = "WED"; this.WedETime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // MonETime // this.MonETime.BackColor = System.Drawing.Color.WhiteSmoke; this.MonETime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.MonETime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.MonETime.Location = new System.Drawing.Point(158, 25); this.MonETime.Name = "MonETime"; this.MonETime.ParentStyleUsing.UseBackColor = false; this.MonETime.ParentStyleUsing.UseBorders = false; this.MonETime.ParentStyleUsing.UseFont = false; this.MonETime.Size = new System.Drawing.Size(72, 25); this.MonETime.Text = "MON"; this.MonETime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // lblEmpDept // this.lblEmpDept.BackColor = System.Drawing.Color.WhiteSmoke; this.lblEmpDept.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.lblEmpDept.CanGrow = false; this.lblEmpDept.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.lblEmpDept.Location = new System.Drawing.Point(8, 33); this.lblEmpDept.Name = "lblEmpDept"; this.lblEmpDept.ParentStyleUsing.UseBackColor = false; this.lblEmpDept.ParentStyleUsing.UseBorders = false; this.lblEmpDept.ParentStyleUsing.UseFont = false; this.lblEmpDept.Size = new System.Drawing.Size(150, 17); this.lblEmpDept.Text = "MON"; this.lblEmpDept.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // lblEmpName // this.lblEmpName.BackColor = System.Drawing.Color.WhiteSmoke; this.lblEmpName.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); this.lblEmpName.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.lblEmpName.Location = new System.Drawing.Point(8, 17); this.lblEmpName.Name = "lblEmpName"; this.lblEmpName.ParentStyleUsing.UseBackColor = false; this.lblEmpName.ParentStyleUsing.UseBorders = false; this.lblEmpName.ParentStyleUsing.UseFont = false; this.lblEmpName.Size = new System.Drawing.Size(150, 17); this.lblEmpName.Text = "KONG "; this.lblEmpName.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // lblEmpID // this.lblEmpID.BackColor = System.Drawing.Color.WhiteSmoke; this.lblEmpID.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.lblEmpID.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.lblEmpID.Location = new System.Drawing.Point(8, 0); this.lblEmpID.Name = "lblEmpID"; this.lblEmpID.ParentStyleUsing.UseBackColor = false; this.lblEmpID.ParentStyleUsing.UseBorders = false; this.lblEmpID.ParentStyleUsing.UseFont = false; this.lblEmpID.Size = new System.Drawing.Size(150, 17); this.lblEmpID.Text = "102"; this.lblEmpID.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // SunSTime // this.SunSTime.BackColor = System.Drawing.Color.WhiteSmoke; this.SunSTime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.SunSTime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.SunSTime.Location = new System.Drawing.Point(583, 0); this.SunSTime.Name = "SunSTime"; this.SunSTime.ParentStyleUsing.UseBackColor = false; this.SunSTime.ParentStyleUsing.UseBorders = false; this.SunSTime.ParentStyleUsing.UseFont = false; this.SunSTime.Size = new System.Drawing.Size(72, 25); this.SunSTime.Text = "SUN"; this.SunSTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // ThuSTime // this.ThuSTime.BackColor = System.Drawing.Color.WhiteSmoke; this.ThuSTime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.ThuSTime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.ThuSTime.Location = new System.Drawing.Point(371, 0); this.ThuSTime.Name = "ThuSTime"; this.ThuSTime.ParentStyleUsing.UseBackColor = false; this.ThuSTime.ParentStyleUsing.UseBorders = false; this.ThuSTime.ParentStyleUsing.UseFont = false; this.ThuSTime.Size = new System.Drawing.Size(72, 25); this.ThuSTime.Text = "THUR"; this.ThuSTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // TotalHourWrk // this.TotalHourWrk.BackColor = System.Drawing.Color.WhiteSmoke; this.TotalHourWrk.Borders = DevExpress.XtraPrinting.BorderSide.All; this.TotalHourWrk.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.TotalHourWrk.Location = new System.Drawing.Point(655, 0); this.TotalHourWrk.Name = "TotalHourWrk"; this.TotalHourWrk.ParentStyleUsing.UseBackColor = false; this.TotalHourWrk.ParentStyleUsing.UseBorders = false; this.TotalHourWrk.ParentStyleUsing.UseFont = false; this.TotalHourWrk.Size = new System.Drawing.Size(72, 50); this.TotalHourWrk.Text = "TOTAL HOUR"; this.TotalHourWrk.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // WedSTime // this.WedSTime.BackColor = System.Drawing.Color.WhiteSmoke; this.WedSTime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.WedSTime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.WedSTime.Location = new System.Drawing.Point(300, 0); this.WedSTime.Name = "WedSTime"; this.WedSTime.ParentStyleUsing.UseBackColor = false; this.WedSTime.ParentStyleUsing.UseBorders = false; this.WedSTime.ParentStyleUsing.UseFont = false; this.WedSTime.Size = new System.Drawing.Size(72, 25); this.WedSTime.Text = "WED"; this.WedSTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // FriSTime // this.FriSTime.BackColor = System.Drawing.Color.WhiteSmoke; this.FriSTime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.FriSTime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.FriSTime.Location = new System.Drawing.Point(442, 0); this.FriSTime.Name = "FriSTime"; this.FriSTime.ParentStyleUsing.UseBackColor = false; this.FriSTime.ParentStyleUsing.UseBorders = false; this.FriSTime.ParentStyleUsing.UseFont = false; this.FriSTime.Size = new System.Drawing.Size(72, 25); this.FriSTime.Text = "FRI"; this.FriSTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // SatSTime // this.SatSTime.BackColor = System.Drawing.Color.WhiteSmoke; this.SatSTime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.SatSTime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.SatSTime.Location = new System.Drawing.Point(514, 0); this.SatSTime.Name = "SatSTime"; this.SatSTime.ParentStyleUsing.UseBackColor = false; this.SatSTime.ParentStyleUsing.UseBorders = false; this.SatSTime.ParentStyleUsing.UseFont = false; this.SatSTime.Size = new System.Drawing.Size(72, 25); this.SatSTime.Text = "SAT"; this.SatSTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // TueSTime // this.TueSTime.BackColor = System.Drawing.Color.WhiteSmoke; this.TueSTime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.TueSTime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.TueSTime.Location = new System.Drawing.Point(230, 0); this.TueSTime.Name = "TueSTime"; this.TueSTime.ParentStyleUsing.UseBackColor = false; this.TueSTime.ParentStyleUsing.UseBorders = false; this.TueSTime.ParentStyleUsing.UseFont = false; this.TueSTime.Size = new System.Drawing.Size(72, 25); this.TueSTime.Text = "22-02-2006"; this.TueSTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // MonSTime // this.MonSTime.BackColor = System.Drawing.Color.WhiteSmoke; this.MonSTime.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.MonSTime.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.MonSTime.Location = new System.Drawing.Point(158, 0); this.MonSTime.Name = "MonSTime"; this.MonSTime.ParentStyleUsing.UseBackColor = false; this.MonSTime.ParentStyleUsing.UseBorders = false; this.MonSTime.ParentStyleUsing.UseFont = false; this.MonSTime.Size = new System.Drawing.Size(72, 25); this.MonSTime.Text = "MON"; this.MonSTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.txtSunDate, this.txtSatDate, this.txtFriDate, this.txtThuDate, this.txtWedDate, this.txtTueDate, this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.txtMonDate, this.xrLabel2, this.xrLabel1}); this.PageHeader.Height = 33; this.PageHeader.Name = "PageHeader"; // // txtSunDate // this.txtSunDate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtSunDate.Borders = DevExpress.XtraPrinting.BorderSide.All; this.txtSunDate.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.txtSunDate.Location = new System.Drawing.Point(583, 17); this.txtSunDate.Name = "txtSunDate"; this.txtSunDate.ParentStyleUsing.UseBackColor = false; this.txtSunDate.ParentStyleUsing.UseBorders = false; this.txtSunDate.ParentStyleUsing.UseFont = false; this.txtSunDate.Size = new System.Drawing.Size(72, 16); this.txtSunDate.Text = "SUN"; this.txtSunDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // txtSatDate // this.txtSatDate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtSatDate.Borders = DevExpress.XtraPrinting.BorderSide.All; this.txtSatDate.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.txtSatDate.Location = new System.Drawing.Point(514, 17); this.txtSatDate.Name = "txtSatDate"; this.txtSatDate.ParentStyleUsing.UseBackColor = false; this.txtSatDate.ParentStyleUsing.UseBorders = false; this.txtSatDate.ParentStyleUsing.UseFont = false; this.txtSatDate.Size = new System.Drawing.Size(72, 16); this.txtSatDate.Text = "SAT"; this.txtSatDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // txtFriDate // this.txtFriDate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtFriDate.Borders = DevExpress.XtraPrinting.BorderSide.All; this.txtFriDate.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.txtFriDate.Location = new System.Drawing.Point(442, 17); this.txtFriDate.Name = "txtFriDate"; this.txtFriDate.ParentStyleUsing.UseBackColor = false; this.txtFriDate.ParentStyleUsing.UseBorders = false; this.txtFriDate.ParentStyleUsing.UseFont = false; this.txtFriDate.Size = new System.Drawing.Size(72, 16); this.txtFriDate.Text = "FRI"; this.txtFriDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // txtThuDate // this.txtThuDate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtThuDate.Borders = DevExpress.XtraPrinting.BorderSide.All; this.txtThuDate.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.txtThuDate.Location = new System.Drawing.Point(371, 17); this.txtThuDate.Name = "txtThuDate"; this.txtThuDate.ParentStyleUsing.UseBackColor = false; this.txtThuDate.ParentStyleUsing.UseBorders = false; this.txtThuDate.ParentStyleUsing.UseFont = false; this.txtThuDate.Size = new System.Drawing.Size(72, 16); this.txtThuDate.Text = "THUR"; this.txtThuDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // txtWedDate // this.txtWedDate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtWedDate.Borders = DevExpress.XtraPrinting.BorderSide.All; this.txtWedDate.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.txtWedDate.Location = new System.Drawing.Point(300, 17); this.txtWedDate.Name = "txtWedDate"; this.txtWedDate.ParentStyleUsing.UseBackColor = false; this.txtWedDate.ParentStyleUsing.UseBorders = false; this.txtWedDate.ParentStyleUsing.UseFont = false; this.txtWedDate.Size = new System.Drawing.Size(72, 16); this.txtWedDate.Text = "WED"; this.txtWedDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // txtTueDate // this.txtTueDate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtTueDate.Borders = DevExpress.XtraPrinting.BorderSide.All; this.txtTueDate.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.txtTueDate.Location = new System.Drawing.Point(230, 17); this.txtTueDate.Name = "txtTueDate"; this.txtTueDate.ParentStyleUsing.UseBackColor = false; this.txtTueDate.ParentStyleUsing.UseBorders = false; this.txtTueDate.ParentStyleUsing.UseFont = false; this.txtTueDate.Size = new System.Drawing.Size(72, 16); this.txtTueDate.Text = "22-02-2006"; this.txtTueDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel10 // this.xrLabel10.BackColor = System.Drawing.Color.WhiteSmoke; this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.All; this.xrLabel10.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel10.Location = new System.Drawing.Point(655, 0); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseBackColor = false; this.xrLabel10.ParentStyleUsing.UseBorders = false; this.xrLabel10.ParentStyleUsing.UseFont = false; this.xrLabel10.Size = new System.Drawing.Size(72, 33); this.xrLabel10.Text = "TOTAL HOUR"; this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel9 // this.xrLabel9.BackColor = System.Drawing.Color.WhiteSmoke; this.xrLabel9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel9.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel9.Location = new System.Drawing.Point(583, 0); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseBackColor = false; this.xrLabel9.ParentStyleUsing.UseBorders = false; this.xrLabel9.ParentStyleUsing.UseFont = false; this.xrLabel9.Size = new System.Drawing.Size(72, 17); this.xrLabel9.Text = "SUN"; this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel8 // this.xrLabel8.BackColor = System.Drawing.Color.WhiteSmoke; this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel8.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel8.Location = new System.Drawing.Point(514, 0); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseBackColor = false; this.xrLabel8.ParentStyleUsing.UseBorders = false; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(72, 17); this.xrLabel8.Text = "SAT"; this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel7 // this.xrLabel7.BackColor = System.Drawing.Color.WhiteSmoke; this.xrLabel7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel7.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel7.Location = new System.Drawing.Point(442, 0); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseBackColor = false; this.xrLabel7.ParentStyleUsing.UseBorders = false; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(72, 17); this.xrLabel7.Text = "FRI"; this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel6 // this.xrLabel6.BackColor = System.Drawing.Color.WhiteSmoke; this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel6.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(371, 0); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseBackColor = false; this.xrLabel6.ParentStyleUsing.UseBorders = false; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(72, 17); this.xrLabel6.Text = "THU"; this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel5 // this.xrLabel5.BackColor = System.Drawing.Color.WhiteSmoke; this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel5.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel5.Location = new System.Drawing.Point(300, 0); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseBackColor = false; this.xrLabel5.ParentStyleUsing.UseBorders = false; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(72, 17); this.xrLabel5.Text = "WED"; this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel4 // this.xrLabel4.BackColor = System.Drawing.Color.WhiteSmoke; this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel4.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel4.Location = new System.Drawing.Point(230, 0); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseBackColor = false; this.xrLabel4.ParentStyleUsing.UseBorders = false; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(72, 17); this.xrLabel4.Text = "TUE"; this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // txtMonDate // this.txtMonDate.BackColor = System.Drawing.Color.WhiteSmoke; this.txtMonDate.Borders = DevExpress.XtraPrinting.BorderSide.All; this.txtMonDate.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.txtMonDate.Location = new System.Drawing.Point(158, 17); this.txtMonDate.Name = "txtMonDate"; this.txtMonDate.ParentStyleUsing.UseBackColor = false; this.txtMonDate.ParentStyleUsing.UseBorders = false; this.txtMonDate.ParentStyleUsing.UseFont = false; this.txtMonDate.Size = new System.Drawing.Size(72, 16); this.txtMonDate.Text = "MON"; this.txtMonDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel2 // this.xrLabel2.BackColor = System.Drawing.Color.WhiteSmoke; this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right))); this.xrLabel2.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel2.Location = new System.Drawing.Point(158, 0); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseBackColor = false; this.xrLabel2.ParentStyleUsing.UseBorders = false; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(72, 17); this.xrLabel2.Text = "MON"; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel1 // this.xrLabel1.BackColor = System.Drawing.SystemColors.Control; this.xrLabel1.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(8, 0); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseBackColor = false; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(150, 33); this.xrLabel1.Text = "STAFF NAME / DATE"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // PageFooter // this.PageFooter.Height = 1; this.PageFooter.Name = "PageFooter"; // // rptRoster // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter}); this.Margins = new System.Drawing.Printing.Margins(50, 50, 100, 10); this.PageHeight = 1169; this.PageWidth = 827; this.PaperKind = System.Drawing.Printing.PaperKind.A4; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
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 }
/// <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.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMemberIDList = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblVerified = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblStanding = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblIntructor = 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.xrlblClassCode = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblClassTime = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblClassDate = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblBranchCode = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel3, this.xrlblMemberIDList, this.xrlblVerified, this.xrlblStanding, this.xrlblIntructor, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrlblClassCode, this.xrlblClassTime, this.xrlblClassDate, this.xrlblBranchCode, this.xrLabel2, this.xrLabel1 }); this.Detail.Height = 273; this.Detail.Name = "Detail"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel3.Location = new System.Drawing.Point(12, 146); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(326, 16); this.xrLabel3.Text = "PLEASE FILE ATTENDANCE FOR A WEEK"; // // xrlblMemberIDList // this.xrlblMemberIDList.CanShrink = true; this.xrlblMemberIDList.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrlblMemberIDList.KeepTogether = true; this.xrlblMemberIDList.Location = new System.Drawing.Point(12, 167); this.xrlblMemberIDList.Multiline = true; this.xrlblMemberIDList.Name = "xrlblMemberIDList"; this.xrlblMemberIDList.ParentStyleUsing.UseFont = false; this.xrlblMemberIDList.Size = new System.Drawing.Size(371, 87); this.xrlblMemberIDList.Text = "xrLabel3"; // // xrlblVerified // this.xrlblVerified.Font = new System.Drawing.Font("Arial", 8F); this.xrlblVerified.Location = new System.Drawing.Point(121, 112); this.xrlblVerified.Name = "xrlblVerified"; this.xrlblVerified.ParentStyleUsing.UseFont = false; this.xrlblVerified.Size = new System.Drawing.Size(262, 26); // // xrlblStanding // this.xrlblStanding.Font = new System.Drawing.Font("Arial", 8F); this.xrlblStanding.Location = new System.Drawing.Point(121, 88); this.xrlblStanding.Name = "xrlblStanding"; this.xrlblStanding.ParentStyleUsing.UseFont = false; this.xrlblStanding.Size = new System.Drawing.Size(262, 24); // // xrlblIntructor // this.xrlblIntructor.Font = new System.Drawing.Font("Arial", 8F); this.xrlblIntructor.Location = new System.Drawing.Point(121, 62); this.xrlblIntructor.Name = "xrlblIntructor"; this.xrlblIntructor.ParentStyleUsing.UseFont = false; this.xrlblIntructor.Size = new System.Drawing.Size(262, 26); // // xrLabel9 // this.xrLabel9.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel9.Location = new System.Drawing.Point(12, 112); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseFont = false; this.xrLabel9.Size = new System.Drawing.Size(100, 25); this.xrLabel9.Text = "VERIFIED BY:"; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel8.Location = new System.Drawing.Point(12, 88); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(100, 25); this.xrLabel8.Text = "STANDING:"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel7.Location = new System.Drawing.Point(12, 62); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(100, 25); this.xrLabel7.Text = "INSTRUCTOR: "; // // xrlblClassCode // this.xrlblClassCode.Font = new System.Drawing.Font("Arial", 8F); this.xrlblClassCode.Location = new System.Drawing.Point(288, 33); this.xrlblClassCode.Name = "xrlblClassCode"; this.xrlblClassCode.ParentStyleUsing.UseFont = false; this.xrlblClassCode.Size = new System.Drawing.Size(96, 26); // // xrlblClassTime // this.xrlblClassTime.Font = new System.Drawing.Font("Arial", 8F); this.xrlblClassTime.Location = new System.Drawing.Point(225, 33); this.xrlblClassTime.Name = "xrlblClassTime"; this.xrlblClassTime.ParentStyleUsing.UseFont = false; this.xrlblClassTime.Size = new System.Drawing.Size(59, 25); // // xrlblClassDate // this.xrlblClassDate.Font = new System.Drawing.Font("Arial", 8F); this.xrlblClassDate.Location = new System.Drawing.Point(150, 33); this.xrlblClassDate.Name = "xrlblClassDate"; this.xrlblClassDate.ParentStyleUsing.UseFont = false; this.xrlblClassDate.Size = new System.Drawing.Size(71, 25); // // xrlblBranchCode // this.xrlblBranchCode.Font = new System.Drawing.Font("Arial", 8F); this.xrlblBranchCode.Location = new System.Drawing.Point(92, 33); this.xrlblBranchCode.Name = "xrlblBranchCode"; this.xrlblBranchCode.ParentStyleUsing.UseFont = false; this.xrlblBranchCode.Size = new System.Drawing.Size(54, 25); // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel2.Location = new System.Drawing.Point(12, 33); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(76, 25); this.xrLabel2.Text = "BRANCH: "; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(12, 4); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(371, 21); this.xrLabel1.Text = "CLASS ATTENDANCE"; // // ClassAttendanceReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail }); this.Margins = new System.Drawing.Printing.Margins(0, 21, 10, 10); this.PageHeight = 583; this.PageWidth = 405; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel1 = 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.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.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCellDate = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellStartTime = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellEndTime = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellOrganization = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellContact = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellAppointmentType = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellRemarks = new DevExpress.XtraReports.UI.XRTableCell(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabelName = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabelID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrTable2}); this.Detail.Height = 46; this.Detail.Name = "Detail"; // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel3, this.xrLabelID, this.xrLabelName, this.xrLabel2, this.xrTable1, this.xrLabel1}); this.PageHeader.Height = 138; this.PageHeader.Name = "PageHeader"; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(275, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(375, 25); this.xrLabel1.Text = "Appointment Listing"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrTable1 // this.xrTable1.Location = new System.Drawing.Point(17, 108); this.xrTable1.Name = "xrTable1"; this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow1}); this.xrTable1.Size = new System.Drawing.Size(866, 25); // // xrTableRow1 // this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell7, this.xrTableCell1, this.xrTableCell6, this.xrTableCell2, this.xrTableCell3, this.xrTableCell5, this.xrTableCell4}); this.xrTableRow1.Name = "xrTableRow1"; this.xrTableRow1.Size = new System.Drawing.Size(866, 25); // // xrTableCell1 // this.xrTableCell1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell1.Location = new System.Drawing.Point(133, 0); this.xrTableCell1.Name = "xrTableCell1"; this.xrTableCell1.ParentStyleUsing.UseFont = false; this.xrTableCell1.Size = new System.Drawing.Size(86, 25); this.xrTableCell1.Text = "Start Time"; // // xrTableCell2 // this.xrTableCell2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell2.Location = new System.Drawing.Point(310, 0); this.xrTableCell2.Name = "xrTableCell2"; this.xrTableCell2.ParentStyleUsing.UseFont = false; this.xrTableCell2.Size = new System.Drawing.Size(225, 25); this.xrTableCell2.Text = "Organization / Place of Appointment"; // // xrTableCell4 // this.xrTableCell4.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell4.Location = new System.Drawing.Point(786, 0); this.xrTableCell4.Name = "xrTableCell4"; this.xrTableCell4.ParentStyleUsing.UseFont = false; this.xrTableCell4.Size = new System.Drawing.Size(80, 25); this.xrTableCell4.Text = "Remarks"; // // xrTableCell3 // this.xrTableCell3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell3.Location = new System.Drawing.Point(535, 0); this.xrTableCell3.Name = "xrTableCell3"; this.xrTableCell3.ParentStyleUsing.UseFont = false; this.xrTableCell3.Size = new System.Drawing.Size(135, 25); this.xrTableCell3.Text = "Contact"; // // xrTableCell5 // this.xrTableCell5.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell5.Location = new System.Drawing.Point(670, 0); this.xrTableCell5.Name = "xrTableCell5"; this.xrTableCell5.ParentStyleUsing.UseFont = false; this.xrTableCell5.Size = new System.Drawing.Size(116, 25); this.xrTableCell5.Text = "Appointment Type"; // // xrTableCell6 // this.xrTableCell6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell6.Location = new System.Drawing.Point(219, 0); this.xrTableCell6.Name = "xrTableCell6"; this.xrTableCell6.ParentStyleUsing.UseFont = false; this.xrTableCell6.Size = new System.Drawing.Size(91, 25); this.xrTableCell6.Text = "End Time"; // // xrTableCell7 // this.xrTableCell7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell7.Location = new System.Drawing.Point(0, 0); this.xrTableCell7.Name = "xrTableCell7"; this.xrTableCell7.ParentStyleUsing.UseFont = false; this.xrTableCell7.Size = new System.Drawing.Size(133, 25); this.xrTableCell7.Text = "Date"; // // xrTable2 // this.xrTable2.Location = new System.Drawing.Point(17, 8); this.xrTable2.Name = "xrTable2"; this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2}); this.xrTable2.Size = new System.Drawing.Size(866, 25); // // xrTableRow2 // this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCellDate, this.xrTableCellStartTime, this.xrTableCellEndTime, this.xrTableCellOrganization, this.xrTableCellContact, this.xrTableCellAppointmentType, this.xrTableCellRemarks}); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Size = new System.Drawing.Size(866, 25); // // xrTableCellDate // this.xrTableCellDate.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellDate.Location = new System.Drawing.Point(0, 0); this.xrTableCellDate.Name = "xrTableCellDate"; this.xrTableCellDate.ParentStyleUsing.UseFont = false; this.xrTableCellDate.Size = new System.Drawing.Size(133, 25); this.xrTableCellDate.Text = "Date"; // // xrTableCellStartTime // this.xrTableCellStartTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellStartTime.Location = new System.Drawing.Point(133, 0); this.xrTableCellStartTime.Name = "xrTableCellStartTime"; this.xrTableCellStartTime.ParentStyleUsing.UseFont = false; this.xrTableCellStartTime.Size = new System.Drawing.Size(86, 25); this.xrTableCellStartTime.Text = "Start Time"; // // xrTableCellEndTime // this.xrTableCellEndTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellEndTime.Location = new System.Drawing.Point(219, 0); this.xrTableCellEndTime.Name = "xrTableCellEndTime"; this.xrTableCellEndTime.ParentStyleUsing.UseFont = false; this.xrTableCellEndTime.Size = new System.Drawing.Size(91, 25); this.xrTableCellEndTime.Text = "End Time"; // // xrTableCellOrganization // this.xrTableCellOrganization.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellOrganization.Location = new System.Drawing.Point(310, 0); this.xrTableCellOrganization.Name = "xrTableCellOrganization"; this.xrTableCellOrganization.ParentStyleUsing.UseFont = false; this.xrTableCellOrganization.Size = new System.Drawing.Size(225, 25); this.xrTableCellOrganization.Text = "Organization / Place of Appointment"; // // xrTableCellContact // this.xrTableCellContact.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellContact.Location = new System.Drawing.Point(535, 0); this.xrTableCellContact.Name = "xrTableCellContact"; this.xrTableCellContact.ParentStyleUsing.UseFont = false; this.xrTableCellContact.Size = new System.Drawing.Size(135, 25); this.xrTableCellContact.Text = "Contact"; // // xrTableCellAppointmentType // this.xrTableCellAppointmentType.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellAppointmentType.Location = new System.Drawing.Point(670, 0); this.xrTableCellAppointmentType.Name = "xrTableCellAppointmentType"; this.xrTableCellAppointmentType.ParentStyleUsing.UseFont = false; this.xrTableCellAppointmentType.Size = new System.Drawing.Size(116, 25); this.xrTableCellAppointmentType.Text = "Appointment Type"; // // xrTableCellRemarks // this.xrTableCellRemarks.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellRemarks.Location = new System.Drawing.Point(786, 0); this.xrTableCellRemarks.Name = "xrTableCellRemarks"; this.xrTableCellRemarks.ParentStyleUsing.UseFont = false; this.xrTableCellRemarks.Size = new System.Drawing.Size(80, 25); this.xrTableCellRemarks.Text = "Remarks"; // // BottomMargin // this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1}); this.BottomMargin.Height = 34; this.BottomMargin.Name = "BottomMargin"; // // xrPageInfo1 // this.xrPageInfo1.Format = "Page : {0 } / {1}"; this.xrPageInfo1.Location = new System.Drawing.Point(783, 0); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Size = new System.Drawing.Size(100, 25); // // xrLabel2 // this.xrLabel2.Location = new System.Drawing.Point(17, 50); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "Employee ID:"; // // xrLabelName // this.xrLabelName.Location = new System.Drawing.Point(117, 75); this.xrLabelName.Name = "xrLabelName"; this.xrLabelName.Size = new System.Drawing.Size(550, 25); this.xrLabelName.Text = "xrLabelName"; // // xrLabelID // this.xrLabelID.Location = new System.Drawing.Point(117, 50); this.xrLabelID.Name = "xrLabelID"; this.xrLabelID.Size = new System.Drawing.Size(283, 25); this.xrLabelID.Text = "xrLabelID"; // // xrLabel3 // this.xrLabel3.Location = new System.Drawing.Point(17, 75); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Size = new System.Drawing.Size(100, 25); this.xrLabel3.Text = "Employee Name:"; // // ReportAppointment // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.BottomMargin}); this.Landscape = true; this.Margins = new System.Drawing.Printing.Margins(100, 100, 100, 34); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = 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.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel11 = 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.xrLabel12 = 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.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLine4 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine3 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel23, this.xrLabel22, this.xrLabel21, this.xrLabel14, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.xrLine1 }); this.Detail.Height = 25; this.Detail.Name = "Detail"; // // xrLabel23 // this.xrLabel23.Location = new System.Drawing.Point(208, 0); this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.Size = new System.Drawing.Size(100, 17); this.xrLabel23.Text = "STYLE"; // // xrLabel22 // this.xrLabel22.Location = new System.Drawing.Point(108, 0); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.Size = new System.Drawing.Size(100, 17); this.xrLabel22.Text = "BRAND"; // // xrLabel21 // this.xrLabel21.Location = new System.Drawing.Point(8, 0); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.Size = new System.Drawing.Size(100, 17); this.xrLabel21.Text = "ITEMCODE"; // // xrLabel14 // this.xrLabel14.Location = new System.Drawing.Point(308, 0); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Size = new System.Drawing.Size(100, 17); this.xrLabel14.Text = "COLOR"; // // xrLabel6 // this.xrLabel6.Location = new System.Drawing.Point(592, 0); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Size = new System.Drawing.Size(58, 17); this.xrLabel6.Text = "QTY"; // // xrLabel5 // this.xrLabel5.Location = new System.Drawing.Point(467, 0); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Size = new System.Drawing.Size(125, 17); this.xrLabel5.Text = "DESCRIPTION"; // // xrLabel4 // this.xrLabel4.Location = new System.Drawing.Point(408, 0); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Size = new System.Drawing.Size(59, 17); this.xrLabel4.Text = "SIZE"; // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(8, 17); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(642, 8); // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel13, this.xrLabel11, this.xrLabel3, this.xrLabel2, this.xrLabel1, this.xrLabel12, this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLabel19 }); this.PageHeader.Height = 155; this.PageHeader.Name = "PageHeader"; // // xrLabel13 // this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.RequestedBy", "") }); this.xrLabel13.Location = new System.Drawing.Point(67, 125); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Size = new System.Drawing.Size(583, 25); this.xrLabel13.Text = "xrLabel13"; // // xrLabel11 // this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.ToBranch", "") }); this.xrLabel11.Location = new System.Drawing.Point(350, 100); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Size = new System.Drawing.Size(100, 25); this.xrLabel11.Text = "xrLabel11"; // // xrLabel3 // this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.FromBranch", "") }); this.xrLabel3.Location = new System.Drawing.Point(67, 100); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Size = new System.Drawing.Size(100, 25); this.xrLabel3.Text = "xrLabel3"; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.nIBTNo", "") }); this.xrLabel2.Location = new System.Drawing.Point(67, 42); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "xrLabel2"; // // xrLabel1 // this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.Date", "{0:dd/MM/yyyy}") }); this.xrLabel1.Location = new System.Drawing.Point(67, 67); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Size = new System.Drawing.Size(208, 25); this.xrLabel1.Text = "xrLabel1"; // // xrLabel12 // this.xrLabel12.Location = new System.Drawing.Point(8, 42); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Size = new System.Drawing.Size(59, 25); this.xrLabel12.Text = "No:"; // // xrLabel10 // this.xrLabel10.Location = new System.Drawing.Point(8, 67); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Size = new System.Drawing.Size(59, 25); this.xrLabel10.Text = "Date:"; // // xrLabel9 // this.xrLabel9.Location = new System.Drawing.Point(8, 125); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Size = new System.Drawing.Size(59, 25); this.xrLabel9.Text = "By:"; // // xrLabel8 // this.xrLabel8.Location = new System.Drawing.Point(292, 100); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Size = new System.Drawing.Size(59, 25); this.xrLabel8.Text = "To:"; // // xrLabel7 // this.xrLabel7.Location = new System.Drawing.Point(8, 100); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Size = new System.Drawing.Size(59, 25); this.xrLabel7.Text = "From:"; // // xrLabel19 // this.xrLabel19.Font = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold); this.xrLabel19.Location = new System.Drawing.Point(8, 8); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.ParentStyleUsing.UseFont = false; this.xrLabel19.Size = new System.Drawing.Size(317, 25); this.xrLabel19.Text = "INTER BRANCH TRANSFER"; // // PageFooter // this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1 }); this.PageFooter.Height = 30; this.PageFooter.Name = "PageFooter"; // // xrPageInfo1 // this.xrPageInfo1.Format = "Page : {0 } / {1}"; this.xrPageInfo1.Location = new System.Drawing.Point(550, 0); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Size = new System.Drawing.Size(100, 25); // // GroupFooter1 // this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine4, this.xrLine3, this.xrLine2, this.xrLabel30, this.xrLabel29, this.xrLabel28, this.xrLabel27, this.xrLabel15 }); this.GroupFooter1.Height = 158; this.GroupFooter1.Name = "GroupFooter1"; // // xrLine4 // this.xrLine4.Location = new System.Drawing.Point(125, 133); this.xrLine4.Name = "xrLine4"; this.xrLine4.Size = new System.Drawing.Size(250, 25); // // xrLine3 // this.xrLine3.Location = new System.Drawing.Point(125, 92); this.xrLine3.Name = "xrLine3"; this.xrLine3.Size = new System.Drawing.Size(250, 25); // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(125, 50); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(250, 25); // // xrLabel30 // this.xrLabel30.Location = new System.Drawing.Point(8, 133); this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.Size = new System.Drawing.Size(117, 25); this.xrLabel30.Text = "Received By"; // // xrLabel29 // this.xrLabel29.Location = new System.Drawing.Point(8, 92); this.xrLabel29.Name = "xrLabel29"; this.xrLabel29.Size = new System.Drawing.Size(117, 25); this.xrLabel29.Text = "Delivery Personnel"; // // xrLabel28 // this.xrLabel28.Location = new System.Drawing.Point(8, 50); this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.Size = new System.Drawing.Size(117, 25); this.xrLabel28.Text = "Sent By "; // // xrLabel27 // this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.Remark", "") }); this.xrLabel27.Location = new System.Drawing.Point(67, 0); this.xrLabel27.Name = "xrLabel27"; this.xrLabel27.Size = new System.Drawing.Size(583, 25); this.xrLabel27.Text = "xrLabel27"; // // xrLabel15 // this.xrLabel15.Location = new System.Drawing.Point(8, 0); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Size = new System.Drawing.Size(59, 25); this.xrLabel15.Text = "Remark:"; // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1 }); this.DetailReport.DataMember = "IBTEntries"; this.DetailReport.Name = "DetailReport"; // // Detail1 // this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel26, this.xrLabel25, this.xrLabel24, this.xrLabel20, this.xrLabel18, this.xrLabel17, this.xrLabel16 }); this.Detail1.Height = 25; this.Detail1.Name = "Detail1"; // // xrLabel26 // this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Quantity", "") }); this.xrLabel26.Location = new System.Drawing.Point(600, 0); this.xrLabel26.Name = "xrLabel26"; this.xrLabel26.Size = new System.Drawing.Size(50, 25); this.xrLabel26.Text = "xrLabel26"; // // xrLabel25 // this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Description", "") }); this.xrLabel25.Location = new System.Drawing.Point(467, 0); this.xrLabel25.Name = "xrLabel25"; this.xrLabel25.Size = new System.Drawing.Size(125, 25); this.xrLabel25.Text = "xrLabel25"; // // xrLabel24 // this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Size", "") }); this.xrLabel24.Location = new System.Drawing.Point(408, 0); this.xrLabel24.Name = "xrLabel24"; this.xrLabel24.Size = new System.Drawing.Size(58, 25); this.xrLabel24.Text = "xrLabel24"; // // xrLabel20 // this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Color", "") }); this.xrLabel20.Location = new System.Drawing.Point(308, 0); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.Size = new System.Drawing.Size(100, 25); this.xrLabel20.Text = "xrLabel20"; // // xrLabel18 // this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Style", "") }); this.xrLabel18.Location = new System.Drawing.Point(208, 0); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.Size = new System.Drawing.Size(100, 25); this.xrLabel18.Text = "xrLabel18"; // // xrLabel17 // this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Brand", "") }); this.xrLabel17.Location = new System.Drawing.Point(108, 0); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.Size = new System.Drawing.Size(100, 25); this.xrLabel17.Text = "xrLabel17"; // // xrLabel16 // this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.ItemCode", "") }); this.xrLabel16.Location = new System.Drawing.Point(8, 0); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Size = new System.Drawing.Size(100, 25); this.xrLabel16.Text = "xrLabel16"; // // rptIBT // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.GroupFooter1, this.DetailReport }); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
public void GetCellStamp(DevExpress.XtraReports.UI.XRTableCell cell, DataRow dr, int cellWidth, int cellHeight) { int h = GetHeightPos(); //int startleft = left; //int starttop = top; //int startleft = (this.widthStamp - this.widthBarcode) / 2; //int starttop = (this.heightStamp - h) / 2; int startleft = Math.Abs((cellWidth - this.widthStamp) / 2); int starttop = Math.Abs((cellHeight - this.heightStamp) / 2); for (int i = 0; i < 4; i++) { if (this.pos[i] == StyleLabelBarcode.Unit) { DevExpress.XtraReports.UI.XRLabel lbUnit = new DevExpress.XtraReports.UI.XRLabel(); //lbUnit.Text = dr[this.fieldUnit].ToString(); lbUnit.Text = this.barcode_param; lbUnit.TextAlignment = this.alight[i]; lbUnit.Font = fontUnit; lbUnit.Location = new Point(startleft, starttop); lbUnit.SizeF = new SizeF(this.widthBarcode, this.heightUnit); lbUnit.BorderWidth = 0; starttop += heightUnit - delta; cell.Controls.Add(lbUnit); } else if (this.pos[i] == StyleLabelBarcode.Name) { DevExpress.XtraReports.UI.XRLabel lbName = new DevExpress.XtraReports.UI.XRLabel(); lbName.Text = dr[this.fieldName].ToString(); lbName.TextAlignment = this.alight[i]; lbName.Font = fontName; lbName.BorderWidth = 0; lbName.Location = new Point(startleft, starttop); lbName.SizeF = new SizeF(this.widthBarcode, this.heightName); starttop += heightName - delta; cell.Controls.Add(lbName); } else if (this.pos[i] == StyleLabelBarcode.Barcode) { DevExpress.XtraReports.UI.XRBarCode bcode = new DevExpress.XtraReports.UI.XRBarCode(); bcode.Alignment = this.alight[i]; bcode.BorderWidth = 0; bcode.Location = new System.Drawing.Point(startleft, starttop); bcode.Module = this.moduleBarcode; bcode.SizeF = new System.Drawing.SizeF(this.widthBarcode, this.heightBarcode); bcode.Symbology = GetBCSymbology(this.symBC); //bcode.Text = this.idCountry + this.idProvider + dr[this.fieldId].ToString(); //if (this.symBC == BarCodeType.EAN13)// DevExpress.XtraReports.UI.BarCode.XRBarCodeSymbology.EAN13 // bcode.Text = this.idCountry + this.idProvider + dr[this.fieldId].ToString(); //else bcode.Text = dr[this.fieldId].ToString(); bcode.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; starttop += this.heightBarcode - delta; cell.Controls.Add(bcode); } else if (this.pos[i] == StyleLabelBarcode.Price) { DevExpress.XtraReports.UI.XRLabel lbPrice = new DevExpress.XtraReports.UI.XRLabel(); lbPrice.Text = dr[this.fieldPrice].ToString(); lbPrice.TextAlignment = this.alight[i]; lbPrice.Font = fontPrice; lbPrice.BorderWidth = 0; lbPrice.Location = new Point(startleft, starttop); lbPrice.SizeF = new SizeF(this.widthBarcode, this.heightPrice); starttop += heightPrice - delta; cell.Controls.Add(lbPrice); } } }
private void xrLabel42_BeforePrint(object sender, PrintEventArgs e) { XRLabel lbDataExt = new DevExpress.XtraReports.UI.XRLabel(); xrLabel42.Text = xrLabel42.Text + " "+ xrLabel43.Text ; }
/// <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(); 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(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.fAmount = new DevExpress.XtraReports.UI.XRLabel(); this.fPaymentMode = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.fTime = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.fTitle = new DevExpress.XtraReports.UI.XRLabel(); this.fDate = new DevExpress.XtraReports.UI.XRLabel(); this.fBranch = new DevExpress.XtraReports.UI.XRLabel(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); this.fFreebieQty = new DevExpress.XtraReports.UI.XRLabel(); this.fFreebie = new DevExpress.XtraReports.UI.XRLabel(); this.fTotDisc = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.fNoVoid = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.fVoidAmt = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.fTotTrans = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.fClosingStaff = new DevExpress.XtraReports.UI.XRLabel(); this.fLCKBalance = new DevExpress.XtraReports.UI.XRLabel(); this.fMWBalance = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.fVerifyStaff = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fAmount, this.fPaymentMode }); this.Detail.Height = 20; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fAmount // this.fAmount.Font = new System.Drawing.Font("Arial", 8F); this.fAmount.Location = new System.Drawing.Point(197, 0); this.fAmount.Name = "fAmount"; this.fAmount.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fAmount.Size = new System.Drawing.Size(77, 17); xrSummary1.FormatString = "{0:$0.00}"; this.fAmount.Summary = xrSummary1; this.fAmount.Text = "xrLabel1"; this.fAmount.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fPaymentMode // this.fPaymentMode.Font = new System.Drawing.Font("Arial", 8F); this.fPaymentMode.Location = new System.Drawing.Point(22, 0); this.fPaymentMode.Name = "fPaymentMode"; this.fPaymentMode.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fPaymentMode.Size = new System.Drawing.Size(175, 17); this.fPaymentMode.Text = "fPaymentMode"; this.fPaymentMode.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; this.PageHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.PageHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // PageFooter // this.PageFooter.Height = 0; this.PageFooter.Name = "PageFooter"; this.PageFooter.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.PageFooter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fTime, this.xrLabel6, this.xrLabel1, this.xrLabel7, this.fTitle, this.fDate, this.fBranch }); this.ReportHeader.Font = new System.Drawing.Font("Times New Roman", 9.75F); this.ReportHeader.Height = 77; this.ReportHeader.Name = "ReportHeader"; this.ReportHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.ReportHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fTime // this.fTime.Font = new System.Drawing.Font("Arial", 8F); this.fTime.Location = new System.Drawing.Point(183, 42); this.fTime.Name = "fTime"; this.fTime.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fTime.Size = new System.Drawing.Size(61, 17); xrSummary2.FormatString = "{0:hh:mm tt}"; this.fTime.Summary = xrSummary2; this.fTime.Text = "09:00 AM"; this.fTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel6.Location = new System.Drawing.Point(15, 27); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel6.Size = new System.Drawing.Size(234, 17); this.xrLabel6.Text = "SHIFT SETTLEMENT REPORT"; this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel1.Location = new System.Drawing.Point(140, 42); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.Size = new System.Drawing.Size(42, 17); this.xrLabel1.Text = "TIME:"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel7.Location = new System.Drawing.Point(15, 42); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel7.Size = new System.Drawing.Size(42, 17); this.xrLabel7.Text = "DATE :"; this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fTitle // this.fTitle.Font = new System.Drawing.Font("Arial", 8F); this.fTitle.Location = new System.Drawing.Point(15, 58); this.fTitle.Name = "fTitle"; this.fTitle.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fTitle.Size = new System.Drawing.Size(234, 17); this.fTitle.Text = "SHIFT 1. T1 REPORT"; this.fTitle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fDate // this.fDate.Font = new System.Drawing.Font("Arial", 8F); this.fDate.Location = new System.Drawing.Point(56, 42); this.fDate.Name = "fDate"; this.fDate.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fDate.Size = new System.Drawing.Size(83, 17); xrSummary3.FormatString = "{0:dd/MM/yyyy}"; this.fDate.Summary = xrSummary3; this.fDate.Text = "11/02/2006"; this.fDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fBranch // this.fBranch.Font = new System.Drawing.Font("Arial", 8F); this.fBranch.Location = new System.Drawing.Point(15, 8); this.fBranch.Name = "fBranch"; this.fBranch.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fBranch.Size = new System.Drawing.Size(232, 17); this.fBranch.Text = "AMORE FITNESS BRANCH HQ"; this.fBranch.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fFreebieQty, this.fFreebie, this.fTotDisc, this.xrLabel14, this.fNoVoid, this.xrLabel12, this.fVoidAmt, this.xrLabel10, this.fTotTrans, this.xrLabel8, this.fClosingStaff, this.fLCKBalance, this.fMWBalance, this.xrLabel4, this.xrLabel2, this.xrLabel3, this.xrLabel5, this.fVerifyStaff, this.xrLine2, this.xrLine1 }); this.ReportFooter.Height = 359; this.ReportFooter.Name = "ReportFooter"; this.ReportFooter.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.ReportFooter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fFreebieQty // this.fFreebieQty.Font = new System.Drawing.Font("Arial", 8F); this.fFreebieQty.Location = new System.Drawing.Point(218, 125); this.fFreebieQty.Multiline = true; this.fFreebieQty.Name = "fFreebieQty"; this.fFreebieQty.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fFreebieQty.Size = new System.Drawing.Size(55, 17); xrSummary4.FormatString = "{0:$0.00}"; this.fFreebieQty.Summary = xrSummary4; this.fFreebieQty.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fFreebie // this.fFreebie.Font = new System.Drawing.Font("Arial", 8F); this.fFreebie.Location = new System.Drawing.Point(26, 125); this.fFreebie.Multiline = true; this.fFreebie.Name = "fFreebie"; this.fFreebie.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fFreebie.Size = new System.Drawing.Size(192, 17); this.fFreebie.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fTotDisc // this.fTotDisc.Font = new System.Drawing.Font("Arial", 8F); this.fTotDisc.Location = new System.Drawing.Point(197, 100); this.fTotDisc.Name = "fTotDisc"; this.fTotDisc.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fTotDisc.Size = new System.Drawing.Size(77, 17); xrSummary5.FormatString = "{0:$0.00}"; this.fTotDisc.Summary = xrSummary5; this.fTotDisc.Text = "0"; this.fTotDisc.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel14 // this.xrLabel14.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel14.Location = new System.Drawing.Point(22, 100); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel14.Size = new System.Drawing.Size(175, 17); this.xrLabel14.Text = "TOTAL DISCOUNT GIVEN"; this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fNoVoid // this.fNoVoid.Font = new System.Drawing.Font("Arial", 8F); this.fNoVoid.Location = new System.Drawing.Point(197, 83); this.fNoVoid.Name = "fNoVoid"; this.fNoVoid.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fNoVoid.Size = new System.Drawing.Size(77, 17); xrSummary6.FormatString = "{0:$0.00}"; this.fNoVoid.Summary = xrSummary6; this.fNoVoid.Text = "0"; this.fNoVoid.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel12 // this.xrLabel12.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel12.Location = new System.Drawing.Point(22, 83); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel12.Size = new System.Drawing.Size(175, 17); this.xrLabel12.Text = "NO. OF RECEIPT VOID"; this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fVoidAmt // this.fVoidAmt.Font = new System.Drawing.Font("Arial", 8F); this.fVoidAmt.Location = new System.Drawing.Point(197, 67); this.fVoidAmt.Name = "fVoidAmt"; this.fVoidAmt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fVoidAmt.Size = new System.Drawing.Size(77, 17); xrSummary7.FormatString = "{0:$0.00}"; this.fVoidAmt.Summary = xrSummary7; this.fVoidAmt.Text = "0"; this.fVoidAmt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel10 // this.xrLabel10.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel10.Location = new System.Drawing.Point(22, 67); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel10.Size = new System.Drawing.Size(175, 17); this.xrLabel10.Text = "VOID AMOUNT"; this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fTotTrans // this.fTotTrans.Font = new System.Drawing.Font("Arial", 8F); this.fTotTrans.Location = new System.Drawing.Point(197, 50); this.fTotTrans.Name = "fTotTrans"; this.fTotTrans.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fTotTrans.Size = new System.Drawing.Size(77, 17); xrSummary8.FormatString = "{0:$0.00}"; this.fTotTrans.Summary = xrSummary8; this.fTotTrans.Text = "0"; this.fTotTrans.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel8.Location = new System.Drawing.Point(22, 50); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel8.Size = new System.Drawing.Size(175, 17); this.xrLabel8.Text = "TOTAL TRANSACTION"; this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fClosingStaff // this.fClosingStaff.Font = new System.Drawing.Font("Arial", 8F); this.fClosingStaff.Location = new System.Drawing.Point(17, 242); this.fClosingStaff.Name = "fClosingStaff"; this.fClosingStaff.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fClosingStaff.Size = new System.Drawing.Size(275, 17); this.fClosingStaff.Text = "xxxxxx"; this.fClosingStaff.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fLCKBalance // this.fLCKBalance.Font = new System.Drawing.Font("Arial", 8F); this.fLCKBalance.Location = new System.Drawing.Point(197, 25); this.fLCKBalance.Name = "fLCKBalance"; this.fLCKBalance.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fLCKBalance.Size = new System.Drawing.Size(77, 17); xrSummary9.FormatString = "{0:$0.00}"; this.fLCKBalance.Summary = xrSummary9; this.fLCKBalance.Text = "0"; this.fLCKBalance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fMWBalance // this.fMWBalance.Font = new System.Drawing.Font("Arial", 8F); this.fMWBalance.Location = new System.Drawing.Point(197, 8); this.fMWBalance.Name = "fMWBalance"; this.fMWBalance.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fMWBalance.Size = new System.Drawing.Size(77, 17); xrSummary10.FormatString = "{0:$0.00}"; this.fMWBalance.Summary = xrSummary10; this.fMWBalance.Text = "0"; this.fMWBalance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel4.Location = new System.Drawing.Point(22, 25); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel4.Size = new System.Drawing.Size(175, 17); this.xrLabel4.Text = "BALANCE OF LOCKER"; this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel2.Location = new System.Drawing.Point(22, 8); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel2.Size = new System.Drawing.Size(175, 17); this.xrLabel2.Text = "BALANCE OF MINERAL WATER"; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel3.Location = new System.Drawing.Point(17, 225); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel3.Size = new System.Drawing.Size(175, 17); this.xrLabel3.Text = "MONEY DEPOSITED BY"; this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel5.Location = new System.Drawing.Point(17, 308); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel5.Size = new System.Drawing.Size(175, 17); this.xrLabel5.Text = "VERIFIED BY"; this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fVerifyStaff // this.fVerifyStaff.Font = new System.Drawing.Font("Arial", 8F); this.fVerifyStaff.Location = new System.Drawing.Point(17, 325); this.fVerifyStaff.Name = "fVerifyStaff"; this.fVerifyStaff.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fVerifyStaff.Size = new System.Drawing.Size(275, 17); this.fVerifyStaff.Text = "XXX"; this.fVerifyStaff.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(17, 300); this.xrLine2.Name = "xrLine2"; this.xrLine2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLine2.Size = new System.Drawing.Size(175, 8); // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(17, 208); this.xrLine1.Name = "xrLine1"; this.xrLine1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLine1.Size = new System.Drawing.Size(175, 8); // // rptShiftSettlement // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.ReportHeader, this.ReportFooter }); this.Margins = new System.Drawing.Printing.Margins(0, 10, 10, 10); this.PageHeight = 1169; this.PageWidth = 310; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; this.Version = "8.3"; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); this.pageHeaderBand1 = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel45 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel44 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel43 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel42 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel41 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel40 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); 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.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel39 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel38 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel37 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel36 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel32 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.xrLine3 = new DevExpress.XtraReports.UI.XRLine(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detailBand1 // this.detailBand1.Height = 0; this.detailBand1.Name = "detailBand1"; // // pageHeaderBand1 // this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel45, this.xrLabel44, this.xrLabel43, this.xrLabel42, this.xrLabel41, this.xrLabel40, this.xrLabel29, this.xrLabel28, this.xrLabel27, this.xrLabel26, this.xrLabel25, this.xrLabel24, this.xrLabel23, this.xrLabel22, this.xrLabel21, this.xrLabel20, this.xrLabel19, this.xrLabel18, this.xrLabel17, this.xrLabel16, this.xrLabel15, this.xrLabel14, this.xrLabel13, this.xrLabel12, this.xrLabel11, this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.xrLabel2, this.xrLabel3, this.xrLabel1}); this.pageHeaderBand1.Height = 388; this.pageHeaderBand1.Name = "pageHeaderBand1"; // // xrLabel45 // this.xrLabel45.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strDetails", "")}); this.xrLabel45.Location = new System.Drawing.Point(117, 358); this.xrLabel45.Name = "xrLabel45"; this.xrLabel45.Size = new System.Drawing.Size(533, 25); this.xrLabel45.Text = "xrLabel45"; // // xrLabel44 // this.xrLabel44.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel44.Location = new System.Drawing.Point(8, 358); this.xrLabel44.Name = "xrLabel44"; this.xrLabel44.ParentStyleUsing.UseFont = false; this.xrLabel44.Size = new System.Drawing.Size(109, 25); this.xrLabel44.Text = "Summary of CV:"; // // xrLabel43 // this.xrLabel43.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strContactNumber", "")}); this.xrLabel43.Location = new System.Drawing.Point(117, 117); this.xrLabel43.Name = "xrLabel43"; this.xrLabel43.Size = new System.Drawing.Size(191, 25); this.xrLabel43.Text = "xrLabel43"; // // xrLabel42 // this.xrLabel42.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strEmailAddress", "")}); this.xrLabel42.Location = new System.Drawing.Point(442, 117); this.xrLabel42.Name = "xrLabel42"; this.xrLabel42.Size = new System.Drawing.Size(208, 25); this.xrLabel42.Text = "xrLabel42"; // // xrLabel41 // this.xrLabel41.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel41.Location = new System.Drawing.Point(317, 117); this.xrLabel41.Name = "xrLabel41"; this.xrLabel41.ParentStyleUsing.UseFont = false; this.xrLabel41.Size = new System.Drawing.Size(125, 25); this.xrLabel41.Text = "Email Address:"; // // xrLabel40 // this.xrLabel40.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel40.Location = new System.Drawing.Point(8, 117); this.xrLabel40.Name = "xrLabel40"; this.xrLabel40.ParentStyleUsing.UseFont = false; this.xrLabel40.Size = new System.Drawing.Size(109, 25); this.xrLabel40.Text = "Contact No:"; // // xrLabel29 // this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strStatus", "")}); this.xrLabel29.Location = new System.Drawing.Point(117, 333); this.xrLabel29.Name = "xrLabel29"; this.xrLabel29.Size = new System.Drawing.Size(400, 25); this.xrLabel29.Text = "xrLabel29"; // // xrLabel28 // this.xrLabel28.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel28.Location = new System.Drawing.Point(8, 333); this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.ParentStyleUsing.UseFont = false; this.xrLabel28.Size = new System.Drawing.Size(109, 25); this.xrLabel28.Text = "Status:"; // // xrLabel27 // this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.dtLastEditDate", "")}); this.xrLabel27.Location = new System.Drawing.Point(117, 308); this.xrLabel27.Name = "xrLabel27"; this.xrLabel27.Size = new System.Drawing.Size(400, 25); this.xrLabel27.Text = "xrLabel27"; // // xrLabel26 // this.xrLabel26.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel26.Location = new System.Drawing.Point(8, 308); this.xrLabel26.Name = "xrLabel26"; this.xrLabel26.ParentStyleUsing.UseFont = false; this.xrLabel26.Size = new System.Drawing.Size(109, 25); this.xrLabel26.Text = "Last update:"; // // xrLabel25 // this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strDepartmentAssignedTo", "")}); this.xrLabel25.Location = new System.Drawing.Point(117, 275); this.xrLabel25.Name = "xrLabel25"; this.xrLabel25.Size = new System.Drawing.Size(533, 25); this.xrLabel25.Text = "xrLabel25"; // // xrLabel24 // this.xrLabel24.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel24.Location = new System.Drawing.Point(8, 275); this.xrLabel24.Name = "xrLabel24"; this.xrLabel24.ParentStyleUsing.UseFont = false; this.xrLabel24.Size = new System.Drawing.Size(109, 33); this.xrLabel24.Text = "Department Assigned To:"; // // xrLabel23 // this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strSubmittedBy", "")}); this.xrLabel23.Location = new System.Drawing.Point(117, 250); this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.Size = new System.Drawing.Size(533, 25); this.xrLabel23.Text = "xrLabel23"; // // xrLabel22 // this.xrLabel22.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel22.Location = new System.Drawing.Point(8, 250); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.ParentStyleUsing.UseFont = false; this.xrLabel22.Size = new System.Drawing.Size(109, 25); this.xrLabel22.Text = "Submitted By:"; // // xrLabel21 // this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.nStaffID", "")}); this.xrLabel21.Location = new System.Drawing.Point(117, 225); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.Size = new System.Drawing.Size(191, 25); this.xrLabel21.Text = "xrLabel21"; // // xrLabel20 // this.xrLabel20.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel20.Location = new System.Drawing.Point(8, 225); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.ParentStyleUsing.UseFont = false; this.xrLabel20.Size = new System.Drawing.Size(109, 25); this.xrLabel20.Text = "Staff ID:"; // // xrLabel19 // this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strSubject", "")}); this.xrLabel19.Location = new System.Drawing.Point(117, 200); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.Size = new System.Drawing.Size(533, 25); this.xrLabel19.Text = "xrLabel19"; // // xrLabel18 // this.xrLabel18.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel18.Location = new System.Drawing.Point(8, 200); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.ParentStyleUsing.UseFont = false; this.xrLabel18.Size = new System.Drawing.Size(109, 25); this.xrLabel18.Text = "Subject:"; // // xrLabel17 // this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strCaseCategoryDescription", "")}); this.xrLabel17.Location = new System.Drawing.Point(117, 175); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.Size = new System.Drawing.Size(191, 25); this.xrLabel17.Text = "xrLabel17"; // // xrLabel16 // this.xrLabel16.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel16.Location = new System.Drawing.Point(8, 175); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.ParentStyleUsing.UseFont = false; this.xrLabel16.Size = new System.Drawing.Size(109, 25); this.xrLabel16.Text = "Category:"; // // xrLabel15 // this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strCaseTypeDescription", "")}); this.xrLabel15.Location = new System.Drawing.Point(442, 150); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Size = new System.Drawing.Size(208, 25); this.xrLabel15.Text = "xrLabel15"; // // xrLabel14 // this.xrLabel14.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel14.Location = new System.Drawing.Point(317, 150); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.ParentStyleUsing.UseFont = false; this.xrLabel14.Size = new System.Drawing.Size(126, 25); this.xrLabel14.Text = "Type:"; // // xrLabel13 // this.xrLabel13.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel13.Location = new System.Drawing.Point(8, 150); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.ParentStyleUsing.UseFont = false; this.xrLabel13.Size = new System.Drawing.Size(109, 25); this.xrLabel13.Text = "Department:"; // // xrLabel12 // this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strDepartmentDescription", "")}); this.xrLabel12.Location = new System.Drawing.Point(117, 150); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Size = new System.Drawing.Size(191, 25); this.xrLabel12.Text = "xrLabel12"; // // xrLabel11 // this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strMembershipName", "")}); this.xrLabel11.Location = new System.Drawing.Point(442, 92); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Size = new System.Drawing.Size(208, 25); this.xrLabel11.Text = "xrLabel11"; // // xrLabel10 // this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel10.Location = new System.Drawing.Point(317, 92); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseFont = false; this.xrLabel10.Size = new System.Drawing.Size(126, 25); this.xrLabel10.Text = "Membership Name:"; // // xrLabel9 // this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strMembershipID", "")}); this.xrLabel9.Location = new System.Drawing.Point(117, 92); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Size = new System.Drawing.Size(117, 25); this.xrLabel9.Text = "xrLabel9"; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel8.Location = new System.Drawing.Point(8, 92); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(109, 25); this.xrLabel8.Text = "Membership ID:"; // // xrLabel7 // this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strBranchCode", "")}); this.xrLabel7.Location = new System.Drawing.Point(117, 67); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Size = new System.Drawing.Size(100, 25); this.xrLabel7.Text = "xrLabel7"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(8, 67); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(92, 25); this.xrLabel6.Text = "Branch:"; // // xrLabel5 // this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.dtDate", "")}); this.xrLabel5.Location = new System.Drawing.Point(417, 42); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Size = new System.Drawing.Size(233, 25); this.xrLabel5.Text = "xrLabel5"; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel4.Location = new System.Drawing.Point(317, 42); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(92, 25); this.xrLabel4.Text = "Date Received:"; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.nCaseID", "")}); this.xrLabel2.Location = new System.Drawing.Point(117, 42); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "xrLabel2"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel3.Location = new System.Drawing.Point(8, 42); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(59, 25); this.xrLabel3.Text = "Ref No:"; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(250, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(183, 25); this.xrLabel1.Text = "Customer Voice"; // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.ReportHeader}); this.DetailReport.DataMember = "CVACTION"; this.DetailReport.Name = "DetailReport"; // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine3, this.xrLabel39, this.xrLabel38, this.xrLabel37, this.xrLabel36, this.xrLabel35}); this.Detail.Height = 75; this.Detail.Name = "Detail"; // // xrLabel39 // this.xrLabel39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.strActionDetails", "")}); this.xrLabel39.Location = new System.Drawing.Point(8, 33); this.xrLabel39.Name = "xrLabel39"; this.xrLabel39.Size = new System.Drawing.Size(634, 25); this.xrLabel39.Text = "xrLabel39"; // // xrLabel38 // this.xrLabel38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.strActionTakenBy", "")}); this.xrLabel38.Location = new System.Drawing.Point(408, 0); this.xrLabel38.Name = "xrLabel38"; this.xrLabel38.Size = new System.Drawing.Size(234, 25); this.xrLabel38.Text = "xrLabel38"; // // xrLabel37 // this.xrLabel37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.strMode", "")}); this.xrLabel37.Location = new System.Drawing.Point(292, 0); this.xrLabel37.Name = "xrLabel37"; this.xrLabel37.Size = new System.Drawing.Size(108, 25); this.xrLabel37.Text = "xrLabel37"; // // xrLabel36 // this.xrLabel36.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.dtDate", "")}); this.xrLabel36.Location = new System.Drawing.Point(108, 0); this.xrLabel36.Name = "xrLabel36"; this.xrLabel36.Size = new System.Drawing.Size(175, 25); this.xrLabel36.Text = "xrLabel36"; // // xrLabel35 // this.xrLabel35.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.nActionID", "")}); this.xrLabel35.Location = new System.Drawing.Point(8, 0); this.xrLabel35.Name = "xrLabel35"; this.xrLabel35.Size = new System.Drawing.Size(92, 25); this.xrLabel35.Text = "xrLabel35"; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine2, this.xrLabel34, this.xrLabel33, this.xrLabel32, this.xrLabel31, this.xrLabel30, this.xrLine1}); this.ReportHeader.Height = 67; this.ReportHeader.Name = "ReportHeader"; // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(0, 58); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(650, 8); // // xrLabel34 // this.xrLabel34.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel34.Location = new System.Drawing.Point(8, 33); this.xrLabel34.Name = "xrLabel34"; this.xrLabel34.ParentStyleUsing.UseFont = false; this.xrLabel34.Size = new System.Drawing.Size(642, 25); this.xrLabel34.Text = "Action Taken"; this.xrLabel34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrLabel33 // this.xrLabel33.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel33.Location = new System.Drawing.Point(408, 8); this.xrLabel33.Name = "xrLabel33"; this.xrLabel33.ParentStyleUsing.UseFont = false; this.xrLabel33.Size = new System.Drawing.Size(234, 25); this.xrLabel33.Text = "Action Taken By"; // // xrLabel32 // this.xrLabel32.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel32.Location = new System.Drawing.Point(292, 8); this.xrLabel32.Name = "xrLabel32"; this.xrLabel32.ParentStyleUsing.UseFont = false; this.xrLabel32.Size = new System.Drawing.Size(108, 25); this.xrLabel32.Text = "Mode"; // // xrLabel31 // this.xrLabel31.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel31.Location = new System.Drawing.Point(108, 8); this.xrLabel31.Name = "xrLabel31"; this.xrLabel31.ParentStyleUsing.UseFont = false; this.xrLabel31.Size = new System.Drawing.Size(175, 25); this.xrLabel31.Text = "Action Date Time"; // // xrLabel30 // this.xrLabel30.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel30.Location = new System.Drawing.Point(8, 8); this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.ParentStyleUsing.UseFont = false; this.xrLabel30.Size = new System.Drawing.Size(92, 25); this.xrLabel30.Text = "ID"; // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(0, 0); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(650, 8); // // BottomMargin // this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1}); this.BottomMargin.Height = 36; this.BottomMargin.Name = "BottomMargin"; // // xrPageInfo1 // this.xrPageInfo1.Format = "Page : {0 } / {1}"; this.xrPageInfo1.Location = new System.Drawing.Point(550, 0); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Size = new System.Drawing.Size(100, 25); // // xrLine3 // this.xrLine3.Location = new System.Drawing.Point(0, 67); this.xrLine3.Name = "xrLine3"; this.xrLine3.Size = new System.Drawing.Size(650, 8); // // ReportCV // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.detailBand1, this.pageHeaderBand1, this.DetailReport, this.BottomMargin}); this.Margins = new System.Drawing.Printing.Margins(100, 100, 100, 36); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel1 = 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.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.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCellDate = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellStartTime = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellEndTime = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellOrganization = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellContact = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellAppointmentType = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCellRemarks = new DevExpress.XtraReports.UI.XRTableCell(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabelName = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabelID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrTable2 }); this.Detail.Height = 46; this.Detail.Name = "Detail"; // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel3, this.xrLabelID, this.xrLabelName, this.xrLabel2, this.xrTable1, this.xrLabel1 }); this.PageHeader.Height = 138; this.PageHeader.Name = "PageHeader"; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(275, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(375, 25); this.xrLabel1.Text = "Appointment Listing"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrTable1 // this.xrTable1.Location = new System.Drawing.Point(17, 108); this.xrTable1.Name = "xrTable1"; this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow1 }); this.xrTable1.Size = new System.Drawing.Size(866, 25); // // xrTableRow1 // this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell7, this.xrTableCell1, this.xrTableCell6, this.xrTableCell2, this.xrTableCell3, this.xrTableCell5, this.xrTableCell4 }); this.xrTableRow1.Name = "xrTableRow1"; this.xrTableRow1.Size = new System.Drawing.Size(866, 25); // // xrTableCell1 // this.xrTableCell1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell1.Location = new System.Drawing.Point(133, 0); this.xrTableCell1.Name = "xrTableCell1"; this.xrTableCell1.ParentStyleUsing.UseFont = false; this.xrTableCell1.Size = new System.Drawing.Size(86, 25); this.xrTableCell1.Text = "Start Time"; // // xrTableCell2 // this.xrTableCell2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell2.Location = new System.Drawing.Point(310, 0); this.xrTableCell2.Name = "xrTableCell2"; this.xrTableCell2.ParentStyleUsing.UseFont = false; this.xrTableCell2.Size = new System.Drawing.Size(225, 25); this.xrTableCell2.Text = "Organization / Place of Appointment"; // // xrTableCell4 // this.xrTableCell4.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell4.Location = new System.Drawing.Point(786, 0); this.xrTableCell4.Name = "xrTableCell4"; this.xrTableCell4.ParentStyleUsing.UseFont = false; this.xrTableCell4.Size = new System.Drawing.Size(80, 25); this.xrTableCell4.Text = "Remarks"; // // xrTableCell3 // this.xrTableCell3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell3.Location = new System.Drawing.Point(535, 0); this.xrTableCell3.Name = "xrTableCell3"; this.xrTableCell3.ParentStyleUsing.UseFont = false; this.xrTableCell3.Size = new System.Drawing.Size(135, 25); this.xrTableCell3.Text = "Contact"; // // xrTableCell5 // this.xrTableCell5.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell5.Location = new System.Drawing.Point(670, 0); this.xrTableCell5.Name = "xrTableCell5"; this.xrTableCell5.ParentStyleUsing.UseFont = false; this.xrTableCell5.Size = new System.Drawing.Size(116, 25); this.xrTableCell5.Text = "Appointment Type"; // // xrTableCell6 // this.xrTableCell6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell6.Location = new System.Drawing.Point(219, 0); this.xrTableCell6.Name = "xrTableCell6"; this.xrTableCell6.ParentStyleUsing.UseFont = false; this.xrTableCell6.Size = new System.Drawing.Size(91, 25); this.xrTableCell6.Text = "End Time"; // // xrTableCell7 // this.xrTableCell7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCell7.Location = new System.Drawing.Point(0, 0); this.xrTableCell7.Name = "xrTableCell7"; this.xrTableCell7.ParentStyleUsing.UseFont = false; this.xrTableCell7.Size = new System.Drawing.Size(133, 25); this.xrTableCell7.Text = "Date"; // // xrTable2 // this.xrTable2.Location = new System.Drawing.Point(17, 8); this.xrTable2.Name = "xrTable2"; this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2 }); this.xrTable2.Size = new System.Drawing.Size(866, 25); // // xrTableRow2 // this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCellDate, this.xrTableCellStartTime, this.xrTableCellEndTime, this.xrTableCellOrganization, this.xrTableCellContact, this.xrTableCellAppointmentType, this.xrTableCellRemarks }); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Size = new System.Drawing.Size(866, 25); // // xrTableCellDate // this.xrTableCellDate.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellDate.Location = new System.Drawing.Point(0, 0); this.xrTableCellDate.Name = "xrTableCellDate"; this.xrTableCellDate.ParentStyleUsing.UseFont = false; this.xrTableCellDate.Size = new System.Drawing.Size(133, 25); this.xrTableCellDate.Text = "Date"; // // xrTableCellStartTime // this.xrTableCellStartTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellStartTime.Location = new System.Drawing.Point(133, 0); this.xrTableCellStartTime.Name = "xrTableCellStartTime"; this.xrTableCellStartTime.ParentStyleUsing.UseFont = false; this.xrTableCellStartTime.Size = new System.Drawing.Size(86, 25); this.xrTableCellStartTime.Text = "Start Time"; // // xrTableCellEndTime // this.xrTableCellEndTime.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellEndTime.Location = new System.Drawing.Point(219, 0); this.xrTableCellEndTime.Name = "xrTableCellEndTime"; this.xrTableCellEndTime.ParentStyleUsing.UseFont = false; this.xrTableCellEndTime.Size = new System.Drawing.Size(91, 25); this.xrTableCellEndTime.Text = "End Time"; // // xrTableCellOrganization // this.xrTableCellOrganization.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellOrganization.Location = new System.Drawing.Point(310, 0); this.xrTableCellOrganization.Name = "xrTableCellOrganization"; this.xrTableCellOrganization.ParentStyleUsing.UseFont = false; this.xrTableCellOrganization.Size = new System.Drawing.Size(225, 25); this.xrTableCellOrganization.Text = "Organization / Place of Appointment"; // // xrTableCellContact // this.xrTableCellContact.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellContact.Location = new System.Drawing.Point(535, 0); this.xrTableCellContact.Name = "xrTableCellContact"; this.xrTableCellContact.ParentStyleUsing.UseFont = false; this.xrTableCellContact.Size = new System.Drawing.Size(135, 25); this.xrTableCellContact.Text = "Contact"; // // xrTableCellAppointmentType // this.xrTableCellAppointmentType.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellAppointmentType.Location = new System.Drawing.Point(670, 0); this.xrTableCellAppointmentType.Name = "xrTableCellAppointmentType"; this.xrTableCellAppointmentType.ParentStyleUsing.UseFont = false; this.xrTableCellAppointmentType.Size = new System.Drawing.Size(116, 25); this.xrTableCellAppointmentType.Text = "Appointment Type"; // // xrTableCellRemarks // this.xrTableCellRemarks.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrTableCellRemarks.Location = new System.Drawing.Point(786, 0); this.xrTableCellRemarks.Name = "xrTableCellRemarks"; this.xrTableCellRemarks.ParentStyleUsing.UseFont = false; this.xrTableCellRemarks.Size = new System.Drawing.Size(80, 25); this.xrTableCellRemarks.Text = "Remarks"; // // BottomMargin // this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1 }); this.BottomMargin.Height = 34; this.BottomMargin.Name = "BottomMargin"; // // xrPageInfo1 // this.xrPageInfo1.Format = "Page : {0 } / {1}"; this.xrPageInfo1.Location = new System.Drawing.Point(783, 0); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Size = new System.Drawing.Size(100, 25); // // xrLabel2 // this.xrLabel2.Location = new System.Drawing.Point(17, 50); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "Employee ID:"; // // xrLabelName // this.xrLabelName.Location = new System.Drawing.Point(117, 75); this.xrLabelName.Name = "xrLabelName"; this.xrLabelName.Size = new System.Drawing.Size(550, 25); this.xrLabelName.Text = "xrLabelName"; // // xrLabelID // this.xrLabelID.Location = new System.Drawing.Point(117, 50); this.xrLabelID.Name = "xrLabelID"; this.xrLabelID.Size = new System.Drawing.Size(283, 25); this.xrLabelID.Text = "xrLabelID"; // // xrLabel3 // this.xrLabel3.Location = new System.Drawing.Point(17, 75); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Size = new System.Drawing.Size(100, 25); this.xrLabel3.Text = "Employee Name:"; // // ReportAppointment // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.BottomMargin }); this.Landscape = true; this.Margins = new System.Drawing.Printing.Margins(100, 100, 100, 34); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraReports.UI.BarCode.XRCode128Generator xrCode128Generator1 = new DevExpress.XtraReports.UI.BarCode.XRCode128Generator(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrBarCode2 = new DevExpress.XtraReports.UI.XRBarCode(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrBarCode2, this.xrLabel3, this.xrLabel2, this.xrPictureBox1, this.xrLabel1}); this.Detail.Height = 349; this.Detail.Name = "Detail"; this.Detail.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBand; this.Detail.ParentStyleUsing.UseBackColor = false; // // xrBarCode2 // this.xrBarCode2.Alignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; this.xrBarCode2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "strMembershipID", "")}); this.xrBarCode2.Font = new System.Drawing.Font("Times New Roman", 8F); this.xrBarCode2.Location = new System.Drawing.Point(50, 227); this.xrBarCode2.Module = 1F; this.xrBarCode2.Name = "xrBarCode2"; this.xrBarCode2.ParentStyleUsing.UseFont = false; this.xrBarCode2.Size = new System.Drawing.Size(233, 42); this.xrBarCode2.Symbology = xrCode128Generator1; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Verdana", 8.25F); this.xrLabel3.Location = new System.Drawing.Point(0, 142); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(17, 17); this.xrLabel3.Text = "."; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "strCardName", "")}); this.xrLabel2.Font = new System.Drawing.Font("Arial", 9F); this.xrLabel2.Location = new System.Drawing.Point(11, 177); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(209, 19); this.xrLabel2.Text = "xrLabel2"; // // xrPictureBox1 // this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Image", null, "imgPhoto", "")}); this.xrPictureBox1.Location = new System.Drawing.Point(22, 19); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.Size = new System.Drawing.Size(99, 119); this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage; // // xrLabel1 // this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "strMembershipID", "")}); this.xrLabel1.Font = new System.Drawing.Font("Verdana", 8.25F); this.xrLabel1.Location = new System.Drawing.Point(11, 162); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(209, 19); this.xrLabel1.Text = "xrLabel1"; // // XtraReportMemberCard // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail}); this.Landscape = true; this.Margins = new System.Drawing.Printing.Margins(0, 0, 1, 0); this.PageHeight = 353; this.PageWidth = 214; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; this.PaperName = "CR-79"; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel32 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); this.dsincome1 = new CMSM.Report.dsincome(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); 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.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand2 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); ((System.ComponentModel.ISupportInitialize)(this.dsincome1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel32, this.xrLabel30, this.xrLine2, this.xrLabel29, this.xrLabel28, this.xrLabel27, this.xrLabel26, this.xrLabel25, this.xrLabel24, this.xrLabel23, this.xrLabel22, this.xrLabel21, this.xrLabel20, this.xrLabel19, this.xrLabel18, this.xrLabel17, this.xrLabel16, this.xrLabel15, this.xrLabel14, this.xrLabel13, this.xrLabel12, this.xrLabel10, this.xrLabel11, this.xrLabel9, this.xrLabel8, this.xrLabel33 }); this.Detail.Height = 190; this.Detail.Name = "Detail"; // // xrLabel32 // this.xrLabel32.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel32.Location = new System.Drawing.Point(0, 67); this.xrLabel32.Name = "xrLabel32"; this.xrLabel32.ParentStyleUsing.UseFont = false; this.xrLabel32.Size = new System.Drawing.Size(90, 16); this.xrLabel32.Text = "银联卡充值:"; this.xrLabel32.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel30 // this.xrLabel30.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel30.Location = new System.Drawing.Point(159, 67); this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.ParentStyleUsing.UseFont = false; this.xrLabel30.Size = new System.Drawing.Size(20, 16); this.xrLabel30.Text = "元"; this.xrLabel30.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(0, 152); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(180, 8); // // xrLabel29 // this.xrLabel29.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel29.Location = new System.Drawing.Point(159, 162); this.xrLabel29.Name = "xrLabel29"; this.xrLabel29.ParentStyleUsing.UseFont = false; this.xrLabel29.Size = new System.Drawing.Size(20, 16); this.xrLabel29.Text = "元"; this.xrLabel29.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel28 // this.xrLabel28.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel28.Location = new System.Drawing.Point(159, 135); this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.ParentStyleUsing.UseFont = false; this.xrLabel28.Size = new System.Drawing.Size(20, 16); this.xrLabel28.Text = "元"; this.xrLabel28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel27 // this.xrLabel27.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel27.Location = new System.Drawing.Point(160, 103); this.xrLabel27.Name = "xrLabel27"; this.xrLabel27.ParentStyleUsing.UseFont = false; this.xrLabel27.Size = new System.Drawing.Size(20, 16); this.xrLabel27.Text = "元"; this.xrLabel27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel26 // this.xrLabel26.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel26.Location = new System.Drawing.Point(160, 48); this.xrLabel26.Name = "xrLabel26"; this.xrLabel26.ParentStyleUsing.UseFont = false; this.xrLabel26.Size = new System.Drawing.Size(20, 16); this.xrLabel26.Text = "元"; this.xrLabel26.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel25 // this.xrLabel25.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel25.Location = new System.Drawing.Point(0, 162); this.xrLabel25.Name = "xrLabel25"; this.xrLabel25.ParentStyleUsing.UseFont = false; this.xrLabel25.Size = new System.Drawing.Size(90, 16); this.xrLabel25.Text = "现金总额:"; this.xrLabel25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel24 // this.xrLabel24.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.现金总额", "")); this.xrLabel24.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel24.Location = new System.Drawing.Point(90, 162); this.xrLabel24.Name = "xrLabel24"; this.xrLabel24.ParentStyleUsing.UseFont = false; this.xrLabel24.Size = new System.Drawing.Size(70, 16); this.xrLabel24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // dsincome1 // this.dsincome1.DataSetName = "dsincome"; this.dsincome1.Locale = new System.Globalization.CultureInfo("zh-CN"); // // xrLabel23 // this.xrLabel23.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel23.Location = new System.Drawing.Point(0, 135); this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.ParentStyleUsing.UseFont = false; this.xrLabel23.Size = new System.Drawing.Size(90, 16); this.xrLabel23.Text = "零售金额:"; this.xrLabel23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel22 // this.xrLabel22.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.零售金额", "")); this.xrLabel22.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel22.Location = new System.Drawing.Point(90, 135); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.ParentStyleUsing.UseFont = false; this.xrLabel22.Size = new System.Drawing.Size(70, 16); this.xrLabel22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel21 // this.xrLabel21.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel21.Location = new System.Drawing.Point(0, 119); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.ParentStyleUsing.UseFont = false; this.xrLabel21.Size = new System.Drawing.Size(90, 16); this.xrLabel21.Text = "零售次数:"; this.xrLabel21.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel20 // this.xrLabel20.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.零售次数", "")); this.xrLabel20.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel20.Location = new System.Drawing.Point(90, 119); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.ParentStyleUsing.UseFont = false; this.xrLabel20.Size = new System.Drawing.Size(70, 16); this.xrLabel20.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel19 // this.xrLabel19.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel19.Location = new System.Drawing.Point(0, 103); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.ParentStyleUsing.UseFont = false; this.xrLabel19.Size = new System.Drawing.Size(90, 16); this.xrLabel19.Text = "会员消费金额:"; this.xrLabel19.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel18 // this.xrLabel18.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.会员消费金额", "")); this.xrLabel18.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel18.Location = new System.Drawing.Point(90, 103); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.ParentStyleUsing.UseFont = false; this.xrLabel18.Size = new System.Drawing.Size(70, 16); this.xrLabel18.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel17 // this.xrLabel17.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel17.Location = new System.Drawing.Point(0, 86); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.ParentStyleUsing.UseFont = false; this.xrLabel17.Size = new System.Drawing.Size(90, 16); this.xrLabel17.Text = "会员消费次数:"; this.xrLabel17.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel16 // this.xrLabel16.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.会员消费次数", "")); this.xrLabel16.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel16.Location = new System.Drawing.Point(90, 86); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.ParentStyleUsing.UseFont = false; this.xrLabel16.Size = new System.Drawing.Size(70, 16); this.xrLabel16.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel15 // this.xrLabel15.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel15.Location = new System.Drawing.Point(0, 48); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.ParentStyleUsing.UseFont = false; this.xrLabel15.Size = new System.Drawing.Size(90, 16); this.xrLabel15.Text = "充值金额:"; this.xrLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel14 // this.xrLabel14.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.充值金额", "")); this.xrLabel14.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel14.Location = new System.Drawing.Point(90, 48); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.ParentStyleUsing.UseFont = false; this.xrLabel14.Size = new System.Drawing.Size(70, 16); this.xrLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel13 // this.xrLabel13.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel13.Location = new System.Drawing.Point(0, 32); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.ParentStyleUsing.UseFont = false; this.xrLabel13.Size = new System.Drawing.Size(90, 16); this.xrLabel13.Text = "充值次数:"; this.xrLabel13.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel12 // this.xrLabel12.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.充值次数", "")); this.xrLabel12.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel12.Location = new System.Drawing.Point(90, 32); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.ParentStyleUsing.UseFont = false; this.xrLabel12.Size = new System.Drawing.Size(70, 16); this.xrLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel10 // this.xrLabel10.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.挂失会员数", "")); this.xrLabel10.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel10.Location = new System.Drawing.Point(90, 16); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseFont = false; this.xrLabel10.Size = new System.Drawing.Size(70, 16); this.xrLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel11 // this.xrLabel11.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel11.Location = new System.Drawing.Point(0, 16); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.ParentStyleUsing.UseFont = false; this.xrLabel11.Size = new System.Drawing.Size(90, 16); this.xrLabel11.Text = "挂失会员数:"; this.xrLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel9 // this.xrLabel9.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.新增会员数", "")); this.xrLabel9.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel9.Location = new System.Drawing.Point(90, 0); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseFont = false; this.xrLabel9.Size = new System.Drawing.Size(70, 16); this.xrLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel8.Location = new System.Drawing.Point(0, 0); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(90, 16); this.xrLabel8.Text = "新增会员数:"; this.xrLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel33 // this.xrLabel33.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.dsincome1, "Table.银联卡充值", "")); this.xrLabel33.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel33.Location = new System.Drawing.Point(90, 66); this.xrLabel33.Name = "xrLabel33"; this.xrLabel33.ParentStyleUsing.UseFont = false; this.xrLabel33.Size = new System.Drawing.Size(70, 16); // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine1, this.xrLabel7, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.xrLabel3, this.xrLabel2, this.xrLabel1 }); this.PageHeader.Height = 88; this.PageHeader.Name = "PageHeader"; // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(0, 79); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(180, 9); // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel7.Location = new System.Drawing.Point(64, 64); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(116, 16); this.xrLabel7.Text = "2008年4月1日"; this.xrLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel6.Location = new System.Drawing.Point(0, 64); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(64, 16); this.xrLabel6.Text = "结束时间:"; this.xrLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel5.Location = new System.Drawing.Point(0, 46); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(64, 16); this.xrLabel5.Text = "起始时间:"; this.xrLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel4.Location = new System.Drawing.Point(64, 46); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(116, 16); this.xrLabel4.Text = "2008年4月1日"; this.xrLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel3.Location = new System.Drawing.Point(48, 29); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(133, 16); this.xrLabel3.Text = "湖畔"; this.xrLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel2.Location = new System.Drawing.Point(0, 29); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(52, 16); this.xrLabel2.Text = "门店:"; this.xrLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel1.Location = new System.Drawing.Point(32, 3); this.xrLabel1.Multiline = true; this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(110, 19); this.xrLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // sqlDataAdapter1 // this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand2; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "Table", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("新增会员数", "新增会员数"), new System.Data.Common.DataColumnMapping("挂失会员数", "挂失会员数"), new System.Data.Common.DataColumnMapping("充值次数", "充值次数"), new System.Data.Common.DataColumnMapping("充值金额", "充值金额"), new System.Data.Common.DataColumnMapping("银联卡充值", "银联卡充值"), new System.Data.Common.DataColumnMapping("会员消费次数", "会员消费次数"), new System.Data.Common.DataColumnMapping("会员消费金额", "会员消费金额"), new System.Data.Common.DataColumnMapping("零售次数", "零售次数"), new System.Data.Common.DataColumnMapping("零售金额", "零售金额"), new System.Data.Common.DataColumnMapping("现金总额", "现金总额") }) }); // // sqlSelectCommand2 // this.sqlSelectCommand2.CommandText = @"SELECT (SELECT REP1 FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type = 'NewAss') AS 新增会员数, (SELECT REP1 FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type = 'LostAss') AS 挂失会员数, (SELECT REP6 FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type = 'FillFee') AS 充值次数, (SELECT REP4 FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type = 'FillFee') AS 充值金额, (SELECT REP4 FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type = 'BankFillFee') AS 银联卡充值, (SELECT SUM(REP6) FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type IN ('AssCons' , 'PromCons')) AS 会员消费次数, (SELECT SUM(REP4) FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type IN ('AssCons' , 'PromCons')) AS 会员消费金额, (SELECT REP6 FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type = 'Retail') AS 零售次数, (SELECT REP4 FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type = 'Retail') AS 零售金额, (SELECT REP4 FROM tbBusiIncomeReport WHERE vcDateZoom = '2008040120080503' AND Type = 'Total') AS 现金总额"; this.sqlSelectCommand2.Connection = this.sqlConnection1; // // sqlConnection1 // this.sqlConnection1.ConnectionString = "workstation id=\"KMDX-Z9E5N5MK76\";packet size=4096;user id=sa;data source=\"192.168" + ".1.5\";persist security info=False;initial catalog=AMSCM_XG_MD_Test"; // // busiIncome // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader }); this.DataAdapter = this.sqlDataAdapter1; this.DataSource = this.dsincome1; this.Margins = new System.Drawing.Printing.Margins(100, 556, 100, 100); ((System.ComponentModel.ISupportInitialize)(this.dsincome1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.goodsNew1 = new CMSM.Report.GoodsNew(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.GroupHeader0 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); ((System.ComponentModel.ISupportInitialize)(this.goodsNew1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2, this.xrLabel3 }); this.Detail.Height = 16; this.Detail.Name = "Detail"; // // xrLabel2 // this.xrLabel2.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.goodsNew1, "tbGoods.vcGoodsName", "")); this.xrLabel2.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel2.Location = new System.Drawing.Point(0, 0); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(100, 16); // // goodsNew1 // this.goodsNew1.DataSetName = "GoodsNew"; this.goodsNew1.Locale = new System.Globalization.CultureInfo("zh-CN"); // // xrLabel3 // this.xrLabel3.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.goodsNew1, "tbGoods.nPrice", "")); this.xrLabel3.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel3.Location = new System.Drawing.Point(125, 0); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(56, 16); // // sqlDataAdapter1 // this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "tbGoods", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("vcGoodsName", "vcGoodsName"), new System.Data.Common.DataColumnMapping("nPrice", "nPrice") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "SELECT vcGoodsName, nPrice FROM tbGoods WHERE (cNewFlag = \'1\')"; this.sqlSelectCommand1.Connection = this.sqlConnection1; // // sqlConnection1 // this.sqlConnection1.ConnectionString = "workstation id=KLONG;packet size=4096;user id=sa;data source=klong;persist securi" + "ty info=False;initial catalog=AMSCM"; // // ReportHeader // this.ReportHeader.Height = 0; this.ReportHeader.Name = "ReportHeader"; // // GroupHeader0 // this.GroupHeader0.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel7, this.xrLabel8, this.xrLabel23 }); this.GroupHeader0.Height = 29; this.GroupHeader0.Name = "GroupHeader0"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel7.Location = new System.Drawing.Point(0, 17); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(83, 12); this.xrLabel7.Text = "商品名称"; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel8.Location = new System.Drawing.Point(123, 17); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(34, 12); this.xrLabel8.Text = "单价"; this.xrLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel23 // this.xrLabel23.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel23.Location = new System.Drawing.Point(0, 0); this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.ParentStyleUsing.UseFont = false; this.xrLabel23.Size = new System.Drawing.Size(117, 17); // // GroupHeader1 // this.GroupHeader1.Height = 0; this.GroupHeader1.Level = 1; this.GroupHeader1.Name = "GroupHeader1"; // // ADNew // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.ReportHeader, this.GroupHeader0, this.GroupHeader1 }); this.DataAdapter = this.sqlDataAdapter1; this.DataSource = this.goodsNew1; this.Margins = new System.Drawing.Printing.Margins(10, 10, 10, 10); ((System.ComponentModel.ISupportInitialize)(this.goodsNew1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// InitComponent /// </summary> public void InitComponent(EntityQnRecord qnRecordVo) { try { List <EntityDicQnSetting> lstTopic = null; List <EntityDicQnSetting> lstItems = null; using (ProxyHms svc = new ProxyHms()) { svc.Service.GetQnCustom(qnRecordVo.qnId, out lstTopic, out lstItems); } int intY = 10; Dictionary <string, string> dicData = Function.ReadXmlNodes(qnRecordVo.xmlData, "FormData"); this.Sex.Text = dicData["Sex"]; this.ClientName.Text = dicData["ClientName"]; this.ClientNo.Text = dicData["clientNo"]; this.QuestionDate.Text = dicData["QuestionDate"]; this.Birthday.Text = dicData["Birthday"]; if (lstTopic != null && lstTopic.Count > 0) { qnName.Text = qnRecordVo.qnName; EntityDicQnSetting item = null; EntityDicQnSetting item2 = null; for (int i = 0; i < lstTopic.Count; i++) { item = lstTopic[i]; DevExpress.XtraReports.UI.XRLabel lblTopic = new DevExpress.XtraReports.UI.XRLabel(); lblTopic.Name = item.fieldId; lblTopic.Text = Convert.ToString(i + 1) + "、" + item.fieldName; lblTopic.WidthF = lblTopic.Text.Length + 120; lblTopic.Font = new System.Drawing.Font("宋体", 9.5F); lblTopic.Location = new Point(44, intY); this.Detail.Controls.Add(lblTopic); List <EntityDicQnSetting> lstCtrls = lstItems.FindAll(t => t.parentFieldId == item.fieldId); if (lstCtrls != null && lstCtrls.Count > 0) { intY += 40; int tmpX = 0; int tmpY = intY; for (int j = 0; j < lstCtrls.Count; j++) { tmpY = intY + 30 * (j / 5); tmpX = 44 + (j % 5) * 130; item2 = lstCtrls[j]; if (item2.typeId == "3") { DevExpress.XtraReports.UI.XRLabel lblAns = new XRLabel(); lblAns.Location = new Point(44, intY); lblAns.Font = new System.Drawing.Font("宋体", 9.5F); if (dicData.ContainsKey(item2.fieldId)) { lblAns.Text = dicData[item2.fieldId]; } lblAns.Width = lblAns.Text.Length + 120; this.Detail.Controls.Add(lblAns); } else { DevExpress.XtraReports.UI.XRCheckBox chkAns = new XRCheckBox(); chkAns.Name = item2.fieldId; chkAns.Text = item2.fieldName; chkAns.Font = new System.Drawing.Font("宋体", 9.5F); chkAns.Width = item2.fieldName.Length + 85; if (dicData.ContainsKey(item2.fieldId)) { chkAns.Checked = dicData[item2.fieldId] == "1" ? true : false; } chkAns.Location = new Point(tmpX, tmpY); this.Detail.Controls.Add(chkAns); } } intY = tmpY; intY += 60; } else { if (item.typeId == "3") { intY += 30; DevExpress.XtraReports.UI.XRLabel lblAns = new XRLabel(); lblAns.Location = new Point(44, intY); lblAns.Font = new System.Drawing.Font("宋体", 9.5F); if (dicData.ContainsKey(item2.fieldId)) { lblAns.Text = dicData[item2.fieldId]; } lblAns.Width = lblAns.Text.Length + 120; this.Detail.Controls.Add(lblAns); } else { intY += 60; } } } } } catch (Exception ex) { DialogBox.Msg(ex.Message); } finally { } }
/// <summary> /// AddQuestCtrl /// </summary> void AddQuestCtrl(EntityQnRecord qnRecord) { try { if (qnRecord != null) { if (!string.IsNullOrEmpty(qnRecord.xmlData)) { XmlDocument document = new XmlDocument(); document.LoadXml(qnRecord.xmlData); XmlNodeList list = document["FormData"].ChildNodes; xmlData = list[1].OuterXml; dicData = Function.ReadXML(xmlData); } } using (ProxyHms proxy = new ProxyHms()) { lstCtrlLocation = proxy.Service.GetQnCtrlLocation(lstQuest[0], qnRecord.qnId); } using (ProxyHms proxy = new ProxyHms()) { lstTopic = new List <EntityDicQnSetting>(); lstItems = new List <EntityDicQnSetting>(); proxy.Service.GetQnCustom(1, out lstTopic, out lstItems); } int locationX = 0; int locationY = 0; if (lstCtrlLocation != null && lstCtrlLocation.Count > 0) { foreach (var clVo in lstCtrlLocation) { if (clVo.name.Contains("FT")) { DevExpress.XtraReports.UI.XRLabel lblTopic = new DevExpress.XtraReports.UI.XRLabel(); lblTopic.Name = clVo.name; lblTopic.Text = clVo.text; lblTopic.Font = new System.Drawing.Font("宋体", 9.5F); locationX = clVo.locationX; locationY = clVo.locationY; lblTopic.LocationFloat = new DevExpress.Utils.PointFloat(locationX, locationY); this.Detail.Controls.Add(lblTopic); } if (clVo.name.Contains("FM")) { DevExpress.XtraReports.UI.XRLabel lblTopic = new DevExpress.XtraReports.UI.XRLabel(); lblTopic.Name = clVo.name; lblTopic.Text = clVo.text; lblTopic.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Bold); locationX = clVo.locationX; locationY = clVo.locationY; lblTopic.LocationFloat = new DevExpress.Utils.PointFloat(locationX, locationY); this.Detail.Controls.Add(lblTopic); } } } int parentCount = 0; List <EntityDicQnSetting> lstChildSettings = new List <EntityDicQnSetting>(); if (lstTopic != null && lstTopic.Count > 0) { for (int i = 0; i < lstTopic.Count; i++) { EntityDicQnSetting item = lstTopic[i]; if (item.questName == lstQuest[0]) { if (string.IsNullOrEmpty(item.parentFieldId)) { DevExpress.XtraReports.UI.XRLabel lblTopic = new DevExpress.XtraReports.UI.XRLabel(); lblTopic.Name = item.fieldId; lblTopic.Text = lstTopic.Find(r => r.fieldId == item.fieldId).fieldName; lblTopic.Font = new System.Drawing.Font("宋体", 9.5F); EntityCtrlLocation ctrLocat = lstCtrlLocation.FindAll(r => r.type == 1)[parentCount]; locationX = ctrLocat.locationX; locationY = ctrLocat.locationY; lblTopic.LocationFloat = new DevExpress.Utils.PointFloat(locationX, locationY); this.Detail.Controls.Add(lblTopic); lstChildSettings = lstTopic.FindAll(r => r.parentFieldId == item.fieldId); if (lstChildSettings.Count > 0) { foreach (var childVo in lstChildSettings) { DevExpress.XtraReports.UI.XRCheckBox chkAns = new DevExpress.XtraReports.UI.XRCheckBox(); string strEndWith = childVo.fieldId.Substring(4, 2); chkAns.Text = ""; chkAns.Font = new System.Drawing.Font("宋体", 9.5F); chkAns.Name = childVo.fieldId; EntityCtrlLocation ctrLocatChild = lstCtrlLocation.Find(r => r.name.Contains(ctrLocat.name) && r.type == 2 && r.name.EndsWith(strEndWith)); locationX = ctrLocatChild.locationX; locationY = ctrLocatChild.locationY; chkAns.Dpi = 100F; chkAns.LocationFloat = new DevExpress.Utils.PointFloat(locationX, locationY); chkAns.SizeF = new System.Drawing.SizeF(15.625F, 23F); if (dicData.ContainsKey(childVo.fieldId)) { string value = dicData[childVo.fieldId]; chkAns.Checked = value == "0" ? false : true; } this.Detail.Controls.Add(chkAns); } } parentCount++; } } } } } catch (Exception ex) { ExceptionLog.OutPutException(ex); } finally { } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLine5 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine4 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLine3 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detailBand1 // this.detailBand1.Height = 0; this.detailBand1.Name = "detailBand1"; // // DetailReport1 // this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1, this.ReportHeader}); this.DetailReport1.DataMember = "Recipient"; this.DetailReport1.Name = "DetailReport1"; // // Detail1 // this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2, this.xrLabel1}); this.Detail1.Height = 25; this.Detail1.Name = "Detail1"; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Recipient.Type", "")}); this.xrLabel2.Location = new System.Drawing.Point(8, 0); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(167, 25); this.xrLabel2.Text = "xrLabel2"; // // xrLabel1 // this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Recipient.Receipient", "")}); this.xrLabel1.Location = new System.Drawing.Point(175, 0); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Size = new System.Drawing.Size(475, 25); this.xrLabel1.Text = "xrLabel1"; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine5, this.xrLine4, this.xrLabel5, this.xrLabel6}); this.ReportHeader.Height = 34; this.ReportHeader.Name = "ReportHeader"; // // xrLine5 // this.xrLine5.Location = new System.Drawing.Point(0, 25); this.xrLine5.Name = "xrLine5"; this.xrLine5.Size = new System.Drawing.Size(650, 8); // // xrLine4 // this.xrLine4.Location = new System.Drawing.Point(0, 0); this.xrLine4.Name = "xrLine4"; this.xrLine4.Size = new System.Drawing.Size(650, 8); // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel5.Location = new System.Drawing.Point(8, 8); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(167, 17); this.xrLabel5.Text = "Type (Ind/Group/Branch)"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(175, 8); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(467, 17); this.xrLabel6.Text = "Recipient (Group/Branch/Department/EmployeeID)"; // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.ReportHeader1}); this.DetailReport.DataMember = "Replies"; this.DetailReport.Name = "DetailReport"; // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine2, this.xrLabel10, this.xrLabel4, this.xrLabel3}); this.Detail.Height = 70; this.Detail.Name = "Detail"; // // xrLine2 // this.xrLine2.LineStyle = System.Drawing.Drawing2D.DashStyle.Dash; this.xrLine2.Location = new System.Drawing.Point(0, 50); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(650, 8); // // xrLabel10 // this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Replies.strMessage", "")}); this.xrLabel10.Location = new System.Drawing.Point(8, 25); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Size = new System.Drawing.Size(642, 25); this.xrLabel10.Text = "xrLabel10"; // // xrLabel4 // this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Replies.strEmployeeName", "")}); this.xrLabel4.Location = new System.Drawing.Point(175, 0); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Size = new System.Drawing.Size(475, 25); this.xrLabel4.Text = "xrLabel4"; // // xrLabel3 // this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Replies.dtDate", "")}); this.xrLabel3.Location = new System.Drawing.Point(8, 0); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Size = new System.Drawing.Size(167, 25); this.xrLabel3.Text = "xrLabel3"; // // ReportHeader1 // this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine3, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLine1}); this.ReportHeader1.Height = 50; this.ReportHeader1.Name = "ReportHeader1"; // // xrLine3 // this.xrLine3.Location = new System.Drawing.Point(0, 42); this.xrLine3.Name = "xrLine3"; this.xrLine3.Size = new System.Drawing.Size(650, 8); // // xrLabel9 // this.xrLabel9.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel9.Location = new System.Drawing.Point(8, 25); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseFont = false; this.xrLabel9.Size = new System.Drawing.Size(167, 17); this.xrLabel9.Text = "Message"; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel8.Location = new System.Drawing.Point(175, 8); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(366, 17); this.xrLabel8.Text = "Employee Name"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel7.Location = new System.Drawing.Point(8, 8); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(167, 17); this.xrLabel7.Text = "Date"; // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(0, 1); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(650, 8); // // BottomMargin // this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1}); this.BottomMargin.Height = 27; this.BottomMargin.Name = "BottomMargin"; // // xrPageInfo1 // this.xrPageInfo1.Format = "Page : {0 } / {1}"; this.xrPageInfo1.Location = new System.Drawing.Point(550, 0); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Size = new System.Drawing.Size(100, 25); // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel22, this.xrLabel21, this.xrLabel20, this.xrLabel19, this.xrLabel18, this.xrLabel17, this.xrLabel16, this.xrLabel15, this.xrLabel14, this.xrLabel13, this.xrLabel12, this.xrLabel11}); this.PageHeader.Height = 169; this.PageHeader.Name = "PageHeader"; // // xrLabel22 // this.xrLabel22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.nMemoID", "")}); this.xrLabel22.Font = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold); this.xrLabel22.Location = new System.Drawing.Point(325, 8); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.ParentStyleUsing.UseFont = false; this.xrLabel22.Size = new System.Drawing.Size(142, 25); this.xrLabel22.Text = "xrLabel22"; // // xrLabel21 // this.xrLabel21.Font = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold); this.xrLabel21.Location = new System.Drawing.Point(225, 8); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.ParentStyleUsing.UseFont = false; this.xrLabel21.Size = new System.Drawing.Size(100, 25); this.xrLabel21.Text = "Mail ID:"; // // xrLabel20 // this.xrLabel20.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel20.Location = new System.Drawing.Point(8, 100); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.ParentStyleUsing.UseFont = false; this.xrLabel20.Size = new System.Drawing.Size(50, 17); this.xrLabel20.Text = "Title:"; // // xrLabel19 // this.xrLabel19.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel19.Location = new System.Drawing.Point(8, 75); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.ParentStyleUsing.UseFont = false; this.xrLabel19.Size = new System.Drawing.Size(50, 17); this.xrLabel19.Text = "Status:"; // // xrLabel18 // this.xrLabel18.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel18.Location = new System.Drawing.Point(8, 125); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.ParentStyleUsing.UseFont = false; this.xrLabel18.Size = new System.Drawing.Size(67, 17); this.xrLabel18.Text = "Message:"; // // xrLabel17 // this.xrLabel17.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel17.Location = new System.Drawing.Point(217, 50); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.ParentStyleUsing.UseFont = false; this.xrLabel17.Size = new System.Drawing.Size(108, 17); this.xrLabel17.Text = "Employee Name:"; // // xrLabel16 // this.xrLabel16.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel16.Location = new System.Drawing.Point(8, 50); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.ParentStyleUsing.UseFont = false; this.xrLabel16.Size = new System.Drawing.Size(42, 17); this.xrLabel16.Text = "Date:"; // // xrLabel15 // this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.strMessage", "")}); this.xrLabel15.Location = new System.Drawing.Point(8, 142); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Size = new System.Drawing.Size(642, 25); this.xrLabel15.Text = "xrLabel15"; // // xrLabel14 // this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.strStatus", "")}); this.xrLabel14.Location = new System.Drawing.Point(58, 75); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Size = new System.Drawing.Size(117, 25); this.xrLabel14.Text = "xrLabel14"; // // xrLabel13 // this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.strTitle", "")}); this.xrLabel13.Location = new System.Drawing.Point(58, 100); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Size = new System.Drawing.Size(592, 25); this.xrLabel13.Text = "xrLabel13"; // // xrLabel12 // this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.strEmployeeName", "")}); this.xrLabel12.Location = new System.Drawing.Point(325, 50); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Size = new System.Drawing.Size(325, 25); this.xrLabel12.Text = "xrLabel12"; // // xrLabel11 // this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.dtDate", "")}); this.xrLabel11.Location = new System.Drawing.Point(58, 50); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Size = new System.Drawing.Size(159, 25); this.xrLabel11.Text = "xrLabel11"; // // ReportMemo // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.detailBand1, this.DetailReport1, this.DetailReport, this.BottomMargin, this.PageHeader}); this.Margins = new System.Drawing.Printing.Margins(100, 100, 100, 27); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = 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.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel11 = 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.xrLabel12 = 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.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLine4 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine3 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel23, this.xrLabel22, this.xrLabel21, this.xrLabel14, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.xrLine1}); this.Detail.Height = 25; this.Detail.Name = "Detail"; // // xrLabel23 // this.xrLabel23.Location = new System.Drawing.Point(208, 0); this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.Size = new System.Drawing.Size(100, 17); this.xrLabel23.Text = "STYLE"; // // xrLabel22 // this.xrLabel22.Location = new System.Drawing.Point(108, 0); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.Size = new System.Drawing.Size(100, 17); this.xrLabel22.Text = "BRAND"; // // xrLabel21 // this.xrLabel21.Location = new System.Drawing.Point(8, 0); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.Size = new System.Drawing.Size(100, 17); this.xrLabel21.Text = "ITEMCODE"; // // xrLabel14 // this.xrLabel14.Location = new System.Drawing.Point(308, 0); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Size = new System.Drawing.Size(100, 17); this.xrLabel14.Text = "COLOR"; // // xrLabel6 // this.xrLabel6.Location = new System.Drawing.Point(592, 0); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Size = new System.Drawing.Size(58, 17); this.xrLabel6.Text = "QTY"; // // xrLabel5 // this.xrLabel5.Location = new System.Drawing.Point(467, 0); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Size = new System.Drawing.Size(125, 17); this.xrLabel5.Text = "DESCRIPTION"; // // xrLabel4 // this.xrLabel4.Location = new System.Drawing.Point(408, 0); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Size = new System.Drawing.Size(59, 17); this.xrLabel4.Text = "SIZE"; // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(8, 17); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(642, 8); // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel13, this.xrLabel11, this.xrLabel3, this.xrLabel2, this.xrLabel1, this.xrLabel12, this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLabel19}); this.PageHeader.Height = 155; this.PageHeader.Name = "PageHeader"; // // xrLabel13 // this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.RequestedBy", "")}); this.xrLabel13.Location = new System.Drawing.Point(67, 125); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Size = new System.Drawing.Size(583, 25); this.xrLabel13.Text = "xrLabel13"; // // xrLabel11 // this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.ToBranch", "")}); this.xrLabel11.Location = new System.Drawing.Point(350, 100); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Size = new System.Drawing.Size(100, 25); this.xrLabel11.Text = "xrLabel11"; // // xrLabel3 // this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.FromBranch", "")}); this.xrLabel3.Location = new System.Drawing.Point(67, 100); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Size = new System.Drawing.Size(100, 25); this.xrLabel3.Text = "xrLabel3"; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.nIBTNo", "")}); this.xrLabel2.Location = new System.Drawing.Point(67, 42); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "xrLabel2"; // // xrLabel1 // this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.Date", "{0:dd/MM/yyyy}")}); this.xrLabel1.Location = new System.Drawing.Point(67, 67); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Size = new System.Drawing.Size(208, 25); this.xrLabel1.Text = "xrLabel1"; // // xrLabel12 // this.xrLabel12.Location = new System.Drawing.Point(8, 42); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Size = new System.Drawing.Size(59, 25); this.xrLabel12.Text = "No:"; // // xrLabel10 // this.xrLabel10.Location = new System.Drawing.Point(8, 67); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Size = new System.Drawing.Size(59, 25); this.xrLabel10.Text = "Date:"; // // xrLabel9 // this.xrLabel9.Location = new System.Drawing.Point(8, 125); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Size = new System.Drawing.Size(59, 25); this.xrLabel9.Text = "By:"; // // xrLabel8 // this.xrLabel8.Location = new System.Drawing.Point(292, 100); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Size = new System.Drawing.Size(59, 25); this.xrLabel8.Text = "To:"; // // xrLabel7 // this.xrLabel7.Location = new System.Drawing.Point(8, 100); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Size = new System.Drawing.Size(59, 25); this.xrLabel7.Text = "From:"; // // xrLabel19 // this.xrLabel19.Font = new System.Drawing.Font("Times New Roman", 16F, System.Drawing.FontStyle.Bold); this.xrLabel19.Location = new System.Drawing.Point(8, 8); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.ParentStyleUsing.UseFont = false; this.xrLabel19.Size = new System.Drawing.Size(317, 25); this.xrLabel19.Text = "INTER BRANCH TRANSFER"; // // PageFooter // this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1}); this.PageFooter.Height = 30; this.PageFooter.Name = "PageFooter"; // // xrPageInfo1 // this.xrPageInfo1.Format = "Page : {0 } / {1}"; this.xrPageInfo1.Location = new System.Drawing.Point(550, 0); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Size = new System.Drawing.Size(100, 25); // // GroupFooter1 // this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine4, this.xrLine3, this.xrLine2, this.xrLabel30, this.xrLabel29, this.xrLabel28, this.xrLabel27, this.xrLabel15}); this.GroupFooter1.Height = 158; this.GroupFooter1.Name = "GroupFooter1"; // // xrLine4 // this.xrLine4.Location = new System.Drawing.Point(125, 133); this.xrLine4.Name = "xrLine4"; this.xrLine4.Size = new System.Drawing.Size(250, 25); // // xrLine3 // this.xrLine3.Location = new System.Drawing.Point(125, 92); this.xrLine3.Name = "xrLine3"; this.xrLine3.Size = new System.Drawing.Size(250, 25); // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(125, 50); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(250, 25); // // xrLabel30 // this.xrLabel30.Location = new System.Drawing.Point(8, 133); this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.Size = new System.Drawing.Size(117, 25); this.xrLabel30.Text = "Received By"; // // xrLabel29 // this.xrLabel29.Location = new System.Drawing.Point(8, 92); this.xrLabel29.Name = "xrLabel29"; this.xrLabel29.Size = new System.Drawing.Size(117, 25); this.xrLabel29.Text = "Delivery Personnel"; // // xrLabel28 // this.xrLabel28.Location = new System.Drawing.Point(8, 50); this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.Size = new System.Drawing.Size(117, 25); this.xrLabel28.Text = "Sent By "; // // xrLabel27 // this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBT.Remark", "")}); this.xrLabel27.Location = new System.Drawing.Point(67, 0); this.xrLabel27.Name = "xrLabel27"; this.xrLabel27.Size = new System.Drawing.Size(583, 25); this.xrLabel27.Text = "xrLabel27"; // // xrLabel15 // this.xrLabel15.Location = new System.Drawing.Point(8, 0); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Size = new System.Drawing.Size(59, 25); this.xrLabel15.Text = "Remark:"; // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1}); this.DetailReport.DataMember = "IBTEntries"; this.DetailReport.Name = "DetailReport"; // // Detail1 // this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel26, this.xrLabel25, this.xrLabel24, this.xrLabel20, this.xrLabel18, this.xrLabel17, this.xrLabel16}); this.Detail1.Height = 25; this.Detail1.Name = "Detail1"; // // xrLabel26 // this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Quantity", "")}); this.xrLabel26.Location = new System.Drawing.Point(600, 0); this.xrLabel26.Name = "xrLabel26"; this.xrLabel26.Size = new System.Drawing.Size(50, 25); this.xrLabel26.Text = "xrLabel26"; // // xrLabel25 // this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Description", "")}); this.xrLabel25.Location = new System.Drawing.Point(467, 0); this.xrLabel25.Name = "xrLabel25"; this.xrLabel25.Size = new System.Drawing.Size(125, 25); this.xrLabel25.Text = "xrLabel25"; // // xrLabel24 // this.xrLabel24.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Size", "")}); this.xrLabel24.Location = new System.Drawing.Point(408, 0); this.xrLabel24.Name = "xrLabel24"; this.xrLabel24.Size = new System.Drawing.Size(58, 25); this.xrLabel24.Text = "xrLabel24"; // // xrLabel20 // this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Color", "")}); this.xrLabel20.Location = new System.Drawing.Point(308, 0); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.Size = new System.Drawing.Size(100, 25); this.xrLabel20.Text = "xrLabel20"; // // xrLabel18 // this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Style", "")}); this.xrLabel18.Location = new System.Drawing.Point(208, 0); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.Size = new System.Drawing.Size(100, 25); this.xrLabel18.Text = "xrLabel18"; // // xrLabel17 // this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.Brand", "")}); this.xrLabel17.Location = new System.Drawing.Point(108, 0); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.Size = new System.Drawing.Size(100, 25); this.xrLabel17.Text = "xrLabel17"; // // xrLabel16 // this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "IBTEntries.ItemCode", "")}); this.xrLabel16.Location = new System.Drawing.Point(8, 0); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Size = new System.Drawing.Size(100, 25); this.xrLabel16.Text = "xrLabel16"; // // rptIBT // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.GroupFooter1, this.DetailReport}); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
public void ExecuteGenerateReport() { if (!ValidateBeforeSave()) { if (FirstControl != null && FirstControl.CanFocus) { FirstControl.Focus(); } return; } GenerateReportParameter ReportParas = new GenerateReportParameter(); XtraReport ReportSource = null; GenerateReport(ReportParas, ref ReportSource); if (UseGeneralizeHeader && ReportSource != null) { float FullPageWidth = ReportSource.PageWidth - (ReportSource.Margins.Left + ReportSource.Margins.Right);//(ReportSource.PaperKind == PaperKind.A5 ? (ReportSource.Landscape ? 0f : 533f) : (ReportSource.Landscape ? 0f : 777f)); ///-- Designing generalize header and footer /// ReportHeader = ReportSource.Bands.OfType <DevExpress.XtraReports.UI.ReportHeaderBand>().FirstOrDefault(); if (ReportHeader == null) { ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); ReportSource.Bands.Add(ReportHeader); } PageHeader = ReportSource.Bands.OfType <DevExpress.XtraReports.UI.PageHeaderBand>().FirstOrDefault(); if (PageHeader == null) { PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); ReportSource.Bands.Add(PageHeader); } var ReportFooterBand = ReportSource.Bands.OfType <DevExpress.XtraReports.UI.ReportFooterBand>().FirstOrDefault(); if (ReportFooterBand == null) { ReportFooterBand = new ReportFooterBand();//new DevExpress.XtraReports.UI.PageFooterBand(); ReportSource.Bands.Add(ReportFooterBand); } ReportFooterBand.PrintAtBottom = true; var xrlpfTopLine = new DevExpress.XtraReports.UI.XRLine(); var xrpipfPrintDateTime = new DevExpress.XtraReports.UI.XRPageInfo(); var xrpipfPageNo = new DevExpress.XtraReports.UI.XRPageInfo(); var xrlrhCompanyName = new DevExpress.XtraReports.UI.XRLabel(); var xrlrhCompanyAddress = new DevExpress.XtraReports.UI.XRLabel(); var xrlrhCompanyContactDetails = new DevExpress.XtraReports.UI.XRLabel(); xrlrhReportTitle1 = new DevExpress.XtraReports.UI.XRLabel(); xrlrhReportTitle2 = new DevExpress.XtraReports.UI.XRLabel(); xrlphReportTitle1 = new DevExpress.XtraReports.UI.XRLabel(); xrlphReportTitle2 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(ReportSource)).BeginInit(); // // xrlpfTopLine // xrlpfTopLine.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); xrlpfTopLine.Name = "xrlpfTopLine"; xrlpfTopLine.SizeF = new System.Drawing.SizeF(FullPageWidth, 5F); // // pageFooterBand1 // ReportFooterBand.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { xrpipfPrintDateTime, xrpipfPageNo, xrlpfTopLine }); ReportFooterBand.HeightF = 29F; ReportFooterBand.Name = "pageFooterBand1"; // // xrpipfPrintDateTime // //xrpipfPrintDateTime.Borders = DevExpress.XtraPrinting.BorderSide.All; xrpipfPrintDateTime.Font = new System.Drawing.Font("Arial", 10F); xrpipfPrintDateTime.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7F); xrpipfPrintDateTime.Name = "xrpipfPrintDateTime"; xrpipfPrintDateTime.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); xrpipfPrintDateTime.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime; xrpipfPrintDateTime.SizeF = new System.Drawing.SizeF(200F, 20F); xrpipfPrintDateTime.StyleName = "PageInfo"; // // xrpipfPageNo // //xrpipfPageNo.Borders = DevExpress.XtraPrinting.BorderSide.All; xrpipfPageNo.Font = new System.Drawing.Font("Arial", 10F); xrpipfPageNo.Format = "Page {0} of {1}"; xrpipfPageNo.LocationFloat = new DevExpress.Utils.PointFloat(FullPageWidth - 150, 7F); xrpipfPageNo.Name = "xrpipfPageNo"; xrpipfPageNo.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); xrpipfPageNo.SizeF = new System.Drawing.SizeF(150F, 20F); xrpipfPageNo.StyleName = "PageInfo"; xrpipfPageNo.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; // //Page Header // PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { xrlphReportTitle1, xrlphReportTitle2 }); // // PageHeader // PageHeader.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; PageHeader.HeightF = 55F; PageHeader.Name = "PageHeader"; PageHeader.PrintOn = DevExpress.XtraReports.UI.PrintOnPages.NotWithReportHeader; PageHeader.StylePriority.UseBorders = false; // // xrlphReportTitle // xrlphReportTitle1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); xrlphReportTitle1.CanShrink = true; xrlphReportTitle1.ProcessNullValues = ValueSuppressType.SuppressAndShrink; xrlphReportTitle1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); xrlphReportTitle1.Name = "xrlphReportTitle1"; xrlphReportTitle1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 10, 10, 100F); xrlphReportTitle1.SizeF = new System.Drawing.SizeF(FullPageWidth, 30F); xrlphReportTitle1.StylePriority.UseFont = false; xrlphReportTitle1.StylePriority.UseTextAlignment = false; xrlphReportTitle1.Text = ReportTitle1; xrlphReportTitle1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // xrlphReportTitle // xrlphReportTitle2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold); xrlphReportTitle2.CanShrink = true; xrlphReportTitle2.ProcessNullValues = ValueSuppressType.SuppressAndShrink; xrlphReportTitle2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 30F); xrlphReportTitle2.Name = "xrlphReportTitle2"; xrlphReportTitle2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); xrlphReportTitle2.SizeF = new System.Drawing.SizeF(FullPageWidth, 25F); xrlphReportTitle2.StylePriority.UseFont = false; xrlphReportTitle2.StylePriority.UseTextAlignment = false; xrlphReportTitle2.Text = ReportTitle2; xrlphReportTitle2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // ReportHeader // ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { xrlrhCompanyName, xrlrhCompanyAddress, xrlrhCompanyContactDetails, xrlrhReportTitle1, xrlrhReportTitle2 }); ReportHeader.HeightF = 120f; ReportHeader.Name = "ReportHeader"; // // xrlrhCompanyName // xrlrhCompanyName.CanGrow = false; xrlrhCompanyName.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); xrlrhCompanyName.ForeColor = System.Drawing.Color.Black; xrlrhCompanyName.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); xrlrhCompanyName.Name = "xrlrhCompanyName"; xrlrhCompanyName.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); xrlrhCompanyName.SizeF = new System.Drawing.SizeF(FullPageWidth, 25F); xrlrhCompanyName.StyleName = "Title"; xrlrhCompanyName.StylePriority.UseFont = false; xrlrhCompanyName.StylePriority.UseForeColor = false; xrlrhCompanyName.StylePriority.UseTextAlignment = false; xrlrhCompanyName.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; xrlrhCompanyName.Text = CommonProperties.LoginInfo.LoggedInCompanyReportModel.CompanyName; // // xrlrhCompanyAddress // xrlrhCompanyAddress.Font = new System.Drawing.Font("Arial", 10F); xrlrhCompanyAddress.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F); xrlrhCompanyAddress.Name = "xrlrhCompanyAddress"; xrlrhCompanyAddress.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); xrlrhCompanyAddress.SizeF = new System.Drawing.SizeF(FullPageWidth, 20F); xrlrhCompanyAddress.StylePriority.UseFont = false; xrlrhCompanyAddress.StylePriority.UseTextAlignment = false; xrlrhCompanyAddress.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; xrlrhCompanyAddress.Text = CommonProperties.LoginInfo.LoggedInCompanyReportModel.AddressWithCity; // // xrlrhCompanyContactDetails // //xrlrhCompanyContactDetails.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; xrlrhCompanyContactDetails.Font = new System.Drawing.Font("Arial", 10F); xrlrhCompanyContactDetails.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45F); xrlrhCompanyContactDetails.Name = "xrlrhCompanyContactDetails"; xrlrhCompanyContactDetails.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); xrlrhCompanyContactDetails.SizeF = new System.Drawing.SizeF(FullPageWidth, 20F); xrlrhCompanyContactDetails.StylePriority.UseBorders = false; xrlrhCompanyContactDetails.StylePriority.UseFont = false; xrlrhCompanyContactDetails.StylePriority.UseTextAlignment = false; xrlrhCompanyContactDetails.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; xrlrhCompanyContactDetails.Text = CommonProperties.LoginInfo.LoggedInCompanyReportModel.ContactDetails; // // xrlrhReportTitle // //xrlrhReportTitle1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; xrlrhReportTitle1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); xrlrhReportTitle1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 65F); xrlrhReportTitle1.Name = "xrlrhReportTitle1"; xrlrhReportTitle1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); xrlrhReportTitle1.SizeF = new System.Drawing.SizeF(FullPageWidth, 30F); xrlrhReportTitle1.StylePriority.UseBorders = false; xrlrhReportTitle1.StylePriority.UseFont = false; xrlrhReportTitle1.StylePriority.UseTextAlignment = false; xrlrhReportTitle1.Text = ReportTitle1; xrlrhReportTitle1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // xrlrhReportTitle // xrlrhReportTitle2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; xrlrhReportTitle2.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Bold); xrlrhReportTitle2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95F); xrlrhReportTitle2.Name = "xrlrhReportTitle2"; xrlrhReportTitle2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 2, 2, 100F); xrlrhReportTitle2.SizeF = new System.Drawing.SizeF(FullPageWidth, 25F); xrlrhReportTitle2.StylePriority.UseBorders = false; xrlrhReportTitle2.StylePriority.UseFont = false; xrlrhReportTitle2.StylePriority.UseTextAlignment = false; xrlrhReportTitle2.Text = ReportTitle2; xrlrhReportTitle2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; ((System.ComponentModel.ISupportInitialize)(ReportSource)).EndInit(); } ///-- DocViwer.DocumentSource = ReportSource; if (ReportSource != null) { ReportSource.CreateDocument(true); } ///- AfterGenerateReport(ReportParas); //-- //if (ReportParas.GenerateReportResult != null && ReportParas.GenerateReportResult.ExecutionResult == eExecutionResult.CommitedSucessfuly) //{ // ResetFormView(); //} //FirstControl.Focus(); DocViwer.Focus(); //-- Application.DoEvents(); }
private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.nwindDataSet1 = new MinimalisticReportPreviewDemo.nwindDataSet(); this.productsTableAdapter = new MinimalisticReportPreviewDemo.nwindDataSetTableAdapters.ProductsTableAdapter(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel1 }); this.Detail.HeightF = 33.00001F; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel1 // this.xrLabel1.BookmarkParent = this.xrLabel2; this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Products.ProductName"), new DevExpress.XtraReports.UI.XRBinding("Bookmark", null, "Products.ProductName") }); this.xrLabel1.Font = new System.Drawing.Font("Arial", 9.75F); this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 10.00001F); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.SizeF = new System.Drawing.SizeF(408.3333F, 23F); this.xrLabel1.StylePriority.UseFont = false; this.xrLabel1.StylePriority.UseTextAlignment = false; this.xrLabel1.Text = "xrLabel1"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel2 // this.xrLabel2.Bookmark = "Home"; this.xrLabel2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 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(222.9167F, 23F); this.xrLabel2.StylePriority.UseFont = false; this.xrLabel2.Text = "A sample report"; // // topMarginBand1 // this.topMarginBand1.HeightF = 48F; this.topMarginBand1.Name = "topMarginBand1"; // // bottomMarginBand1 // this.bottomMarginBand1.HeightF = 48F; this.bottomMarginBand1.Name = "bottomMarginBand1"; // // nwindDataSet1 // this.nwindDataSet1.DataSetName = "nwindDataSet"; this.nwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // productsTableAdapter // this.productsTableAdapter.ClearBeforeFill = true; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2 }); this.ReportHeader.HeightF = 47F; this.ReportHeader.Name = "ReportHeader"; // // Report // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.topMarginBand1, this.bottomMarginBand1, this.ReportHeader }); this.Bookmark = "Table of Contents"; this.DataAdapter = this.productsTableAdapter; this.DataMember = "Products"; this.DataSource = this.nwindDataSet1; this.FilterString = "[CategoryID] < 4"; this.Margins = new System.Drawing.Printing.Margins(49, 51, 48, 48); this.Version = "12.2"; ((System.ComponentModel.ISupportInitialize)(this.nwindDataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLine5 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine4 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLine3 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detailBand1 // this.detailBand1.Height = 0; this.detailBand1.Name = "detailBand1"; // // DetailReport1 // this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1, this.ReportHeader }); this.DetailReport1.DataMember = "Recipient"; this.DetailReport1.Name = "DetailReport1"; // // Detail1 // this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2, this.xrLabel1 }); this.Detail1.Height = 25; this.Detail1.Name = "Detail1"; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Recipient.Type", "") }); this.xrLabel2.Location = new System.Drawing.Point(8, 0); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(167, 25); this.xrLabel2.Text = "xrLabel2"; // // xrLabel1 // this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Recipient.Receipient", "") }); this.xrLabel1.Location = new System.Drawing.Point(175, 0); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Size = new System.Drawing.Size(475, 25); this.xrLabel1.Text = "xrLabel1"; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine5, this.xrLine4, this.xrLabel5, this.xrLabel6 }); this.ReportHeader.Height = 34; this.ReportHeader.Name = "ReportHeader"; // // xrLine5 // this.xrLine5.Location = new System.Drawing.Point(0, 25); this.xrLine5.Name = "xrLine5"; this.xrLine5.Size = new System.Drawing.Size(650, 8); // // xrLine4 // this.xrLine4.Location = new System.Drawing.Point(0, 0); this.xrLine4.Name = "xrLine4"; this.xrLine4.Size = new System.Drawing.Size(650, 8); // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel5.Location = new System.Drawing.Point(8, 8); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(167, 17); this.xrLabel5.Text = "Type (Ind/Group/Branch)"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(175, 8); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(467, 17); this.xrLabel6.Text = "Recipient (Group/Branch/Department/EmployeeID)"; // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.ReportHeader1 }); this.DetailReport.DataMember = "Replies"; this.DetailReport.Name = "DetailReport"; // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine2, this.xrLabel10, this.xrLabel4, this.xrLabel3 }); this.Detail.Height = 70; this.Detail.Name = "Detail"; // // xrLine2 // this.xrLine2.LineStyle = System.Drawing.Drawing2D.DashStyle.Dash; this.xrLine2.Location = new System.Drawing.Point(0, 50); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(650, 8); // // xrLabel10 // this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Replies.strMessage", "") }); this.xrLabel10.Location = new System.Drawing.Point(8, 25); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Size = new System.Drawing.Size(642, 25); this.xrLabel10.Text = "xrLabel10"; // // xrLabel4 // this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Replies.strEmployeeName", "") }); this.xrLabel4.Location = new System.Drawing.Point(175, 0); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Size = new System.Drawing.Size(475, 25); this.xrLabel4.Text = "xrLabel4"; // // xrLabel3 // this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Replies.dtDate", "") }); this.xrLabel3.Location = new System.Drawing.Point(8, 0); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Size = new System.Drawing.Size(167, 25); this.xrLabel3.Text = "xrLabel3"; // // ReportHeader1 // this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine3, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLine1 }); this.ReportHeader1.Height = 50; this.ReportHeader1.Name = "ReportHeader1"; // // xrLine3 // this.xrLine3.Location = new System.Drawing.Point(0, 42); this.xrLine3.Name = "xrLine3"; this.xrLine3.Size = new System.Drawing.Size(650, 8); // // xrLabel9 // this.xrLabel9.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel9.Location = new System.Drawing.Point(8, 25); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseFont = false; this.xrLabel9.Size = new System.Drawing.Size(167, 17); this.xrLabel9.Text = "Message"; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel8.Location = new System.Drawing.Point(175, 8); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(366, 17); this.xrLabel8.Text = "Employee Name"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel7.Location = new System.Drawing.Point(8, 8); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(167, 17); this.xrLabel7.Text = "Date"; // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(0, 1); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(650, 8); // // BottomMargin // this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1 }); this.BottomMargin.Height = 27; this.BottomMargin.Name = "BottomMargin"; // // xrPageInfo1 // this.xrPageInfo1.Format = "Page : {0 } / {1}"; this.xrPageInfo1.Location = new System.Drawing.Point(550, 0); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Size = new System.Drawing.Size(100, 25); // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel22, this.xrLabel21, this.xrLabel20, this.xrLabel19, this.xrLabel18, this.xrLabel17, this.xrLabel16, this.xrLabel15, this.xrLabel14, this.xrLabel13, this.xrLabel12, this.xrLabel11 }); this.PageHeader.Height = 169; this.PageHeader.Name = "PageHeader"; // // xrLabel22 // this.xrLabel22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.nMemoID", "") }); this.xrLabel22.Font = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold); this.xrLabel22.Location = new System.Drawing.Point(325, 8); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.ParentStyleUsing.UseFont = false; this.xrLabel22.Size = new System.Drawing.Size(142, 25); this.xrLabel22.Text = "xrLabel22"; // // xrLabel21 // this.xrLabel21.Font = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold); this.xrLabel21.Location = new System.Drawing.Point(225, 8); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.ParentStyleUsing.UseFont = false; this.xrLabel21.Size = new System.Drawing.Size(100, 25); this.xrLabel21.Text = "Mail ID:"; // // xrLabel20 // this.xrLabel20.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel20.Location = new System.Drawing.Point(8, 100); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.ParentStyleUsing.UseFont = false; this.xrLabel20.Size = new System.Drawing.Size(50, 17); this.xrLabel20.Text = "Title:"; // // xrLabel19 // this.xrLabel19.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel19.Location = new System.Drawing.Point(8, 75); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.ParentStyleUsing.UseFont = false; this.xrLabel19.Size = new System.Drawing.Size(50, 17); this.xrLabel19.Text = "Status:"; // // xrLabel18 // this.xrLabel18.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel18.Location = new System.Drawing.Point(8, 125); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.ParentStyleUsing.UseFont = false; this.xrLabel18.Size = new System.Drawing.Size(67, 17); this.xrLabel18.Text = "Message:"; // // xrLabel17 // this.xrLabel17.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel17.Location = new System.Drawing.Point(217, 50); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.ParentStyleUsing.UseFont = false; this.xrLabel17.Size = new System.Drawing.Size(108, 17); this.xrLabel17.Text = "Employee Name:"; // // xrLabel16 // this.xrLabel16.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel16.Location = new System.Drawing.Point(8, 50); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.ParentStyleUsing.UseFont = false; this.xrLabel16.Size = new System.Drawing.Size(42, 17); this.xrLabel16.Text = "Date:"; // // xrLabel15 // this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.strMessage", "") }); this.xrLabel15.Location = new System.Drawing.Point(8, 142); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Size = new System.Drawing.Size(642, 25); this.xrLabel15.Text = "xrLabel15"; // // xrLabel14 // this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.strStatus", "") }); this.xrLabel14.Location = new System.Drawing.Point(58, 75); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Size = new System.Drawing.Size(117, 25); this.xrLabel14.Text = "xrLabel14"; // // xrLabel13 // this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.strTitle", "") }); this.xrLabel13.Location = new System.Drawing.Point(58, 100); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Size = new System.Drawing.Size(592, 25); this.xrLabel13.Text = "xrLabel13"; // // xrLabel12 // this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.strEmployeeName", "") }); this.xrLabel12.Location = new System.Drawing.Point(325, 50); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Size = new System.Drawing.Size(325, 25); this.xrLabel12.Text = "xrLabel12"; // // xrLabel11 // this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Memo.dtDate", "") }); this.xrLabel11.Location = new System.Drawing.Point(58, 50); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Size = new System.Drawing.Size(159, 25); this.xrLabel11.Text = "xrLabel11"; // // ReportMemo // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.detailBand1, this.DetailReport1, this.DetailReport, this.BottomMargin, this.PageHeader }); this.Margins = new System.Drawing.Printing.Margins(100, 100, 100, 27); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); 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.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.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel11, this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.xrLabel3, this.xrLabel2, this.xrLabel1}); this.Detail.Height = 328; this.Detail.Name = "Detail"; // // xrLabel11 // this.xrLabel11.Location = new System.Drawing.Point(175, 183); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.ParentStyleUsing.UseBorders = false; this.xrLabel11.Size = new System.Drawing.Size(442, 142); this.xrLabel11.Text = "xrLabel10"; // // xrLabel10 // this.xrLabel10.Location = new System.Drawing.Point(175, 150); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseBorders = false; this.xrLabel10.Size = new System.Drawing.Size(442, 25); this.xrLabel10.Text = "xrLabel10"; // // xrLabel9 // this.xrLabel9.Location = new System.Drawing.Point(175, 117); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseBorders = false; this.xrLabel9.Size = new System.Drawing.Size(442, 25); this.xrLabel9.Text = "xrLabel9"; // // xrLabel8 // this.xrLabel8.Location = new System.Drawing.Point(175, 83); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseBorders = false; this.xrLabel8.Size = new System.Drawing.Size(233, 25); this.xrLabel8.Text = "xrLabel8"; // // xrLabel7 // this.xrLabel7.Location = new System.Drawing.Point(175, 50); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseBorders = false; this.xrLabel7.Size = new System.Drawing.Size(233, 25); xrSummary1.FormatString = "{0:dd/MM/yyyy hh:mm:ss tt}"; this.xrLabel7.Summary = xrSummary1; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel6.Location = new System.Drawing.Point(58, 183); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(100, 25); this.xrLabel6.Text = "Message"; // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel5.Location = new System.Drawing.Point(58, 150); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(100, 25); this.xrLabel5.Text = "Recipient"; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel4.Location = new System.Drawing.Point(58, 117); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(100, 25); this.xrLabel4.Text = "Subject"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel3.Location = new System.Drawing.Point(58, 83); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(100, 25); this.xrLabel3.Text = "Author"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel2.Location = new System.Drawing.Point(58, 50); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "Date Time"; // // xrLabel1 // this.xrLabel1.BackColor = System.Drawing.SystemColors.Control; this.xrLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel1.Location = new System.Drawing.Point(25, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseBackColor = false; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(617, 25); this.xrLabel1.Text = "Bulletin"; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 3; this.PageFooter.Name = "PageFooter"; // // rptBulletin // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter}); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram(); 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.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel(); DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView(); DevExpress.XtraCharts.KeyColorColorizer keyColorColorizer1 = new DevExpress.XtraCharts.KeyColorColorizer(); DevExpress.XtraReports.UI.XRSummary xrSummary5 = new DevExpress.XtraReports.UI.XRSummary(); DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo objectConstructorInfo1 = new DevExpress.DataAccess.ObjectBinding.ObjectConstructorInfo(); this.ReportFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.ReportDetailBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportOddStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.ReportHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.pageHeaderBand1 = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.reportFooterBand1 = new DevExpress.XtraReports.UI.ReportFooterBand(); this.xrChart1 = new DevExpress.XtraReports.UI.XRChart(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportGroupFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.ReportEvenStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.ReportGroupHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.groupHeaderBand1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.formattingRule1 = new DevExpress.XtraReports.UI.FormattingRule(); this.totalBindingSource = new System.Windows.Forms.BindingSource(this.components); this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components); this.objectDataSource2 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.objectDataSource2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // ReportFooterBandStyle // this.ReportFooterBandStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.ReportFooterBandStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))); this.ReportFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.ReportFooterBandStyle.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold); this.ReportFooterBandStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.ReportFooterBandStyle.Name = "ReportFooterBandStyle"; this.ReportFooterBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportFooterBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ReportDetailBandStyle // this.ReportDetailBandStyle.BackColor = System.Drawing.Color.Transparent; this.ReportDetailBandStyle.Name = "ReportDetailBandStyle"; this.ReportDetailBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportDetailBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // detailBand1 // this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel14, this.xrLabel12, this.xrLabel8, this.xrLabel10 }); this.detailBand1.Dpi = 254F; this.detailBand1.EvenStyleName = "ReportEvenStyle"; this.detailBand1.HeightF = 52.22913F; this.detailBand1.Name = "detailBand1"; this.detailBand1.OddStyleName = "ReportOddStyle"; this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { new DevExpress.XtraReports.UI.GroupField("time_span", DevExpress.XtraReports.UI.XRColumnSortOrder.None) }); this.detailBand1.StyleName = "ReportDetailBandStyle"; // // xrLabel14 // this.xrLabel14.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Top; this.xrLabel14.BackColor = System.Drawing.Color.White; this.xrLabel14.BorderColor = System.Drawing.Color.Black; this.xrLabel14.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "other") }); this.xrLabel14.Dpi = 254F; this.xrLabel14.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(378.7435F, 0F); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 5, 0, 0, 254F); this.xrLabel14.SizeF = new System.Drawing.SizeF(911.8032F, 52.22913F); this.xrLabel14.StylePriority.UseBackColor = false; this.xrLabel14.StylePriority.UseBorderColor = false; this.xrLabel14.StylePriority.UseBorderDashStyle = false; this.xrLabel14.StylePriority.UseBorders = false; this.xrLabel14.StylePriority.UseFont = false; this.xrLabel14.StylePriority.UseForeColor = false; this.xrLabel14.StylePriority.UsePadding = false; this.xrLabel14.StylePriority.UseTextAlignment = false; xrSummary1.FormatString = "{0:}"; xrSummary1.IgnoreNullValues = true; this.xrLabel14.Summary = xrSummary1; this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.xrLabel14.Multiline = true; this.xrLabel14.WordWrap = true; // // xrLabel12 // this.xrLabel12.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Both; this.xrLabel12.BackColor = System.Drawing.Color.White; this.xrLabel12.BorderColor = System.Drawing.Color.Black; this.xrLabel12.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "work") }); this.xrLabel12.Dpi = 254F; this.xrLabel12.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 5, 0, 0, 254F); this.xrLabel12.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge; this.xrLabel12.SizeF = new System.Drawing.SizeF(378.7435F, 52.22913F); this.xrLabel12.StylePriority.UseBackColor = false; this.xrLabel12.StylePriority.UseBorderColor = false; this.xrLabel12.StylePriority.UseBorderDashStyle = false; this.xrLabel12.StylePriority.UseBorders = false; this.xrLabel12.StylePriority.UseFont = false; this.xrLabel12.StylePriority.UseForeColor = false; this.xrLabel12.StylePriority.UsePadding = false; this.xrLabel12.StylePriority.UseTextAlignment = false; xrSummary2.FormatString = "{0:}"; xrSummary2.IgnoreNullValues = true; this.xrLabel12.Summary = xrSummary2; this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; this.xrLabel12.WordWrap = true; this.xrLabel12.Multiline = true; // // xrLabel8 // this.xrLabel14.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Both; this.xrLabel8.BackColor = System.Drawing.Color.White; this.xrLabel8.BorderColor = System.Drawing.Color.Black; this.xrLabel8.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span") }); this.xrLabel8.Dpi = 254F; this.xrLabel8.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(1290.547F, 0F); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel8.SizeF = new System.Drawing.SizeF(270.757F, 52.22913F); this.xrLabel8.StylePriority.UseBackColor = false; this.xrLabel8.StylePriority.UseBorderColor = false; this.xrLabel8.StylePriority.UseBorderDashStyle = false; this.xrLabel8.StylePriority.UseBorders = false; this.xrLabel8.StylePriority.UseFont = false; this.xrLabel8.StylePriority.UseForeColor = false; this.xrLabel8.StylePriority.UsePadding = false; this.xrLabel8.StylePriority.UseTextAlignment = false; this.xrLabel8.Multiline = true; xrSummary3.FormatString = "{0:}"; xrSummary3.IgnoreNullValues = true; this.xrLabel8.Summary = xrSummary3; this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrLabel8.WordWrap = false; // // xrLabel10 // this.xrLabel10.BackColor = System.Drawing.Color.White; this.xrLabel10.BorderColor = System.Drawing.Color.Black; this.xrLabel10.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrLabel10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "work_time_span") }); this.xrLabel10.Dpi = 254F; this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(1561.304F, 0F); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel10.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge; this.xrLabel10.SizeF = new System.Drawing.SizeF(247.696F, 52.22913F); this.xrLabel10.StylePriority.UseBackColor = false; this.xrLabel10.StylePriority.UseBorderColor = false; this.xrLabel10.StylePriority.UseBorderDashStyle = false; this.xrLabel10.StylePriority.UseBorders = false; this.xrLabel10.StylePriority.UseFont = false; this.xrLabel10.StylePriority.UseForeColor = false; this.xrLabel10.StylePriority.UsePadding = false; this.xrLabel10.StylePriority.UseTextAlignment = false; xrSummary4.FormatString = "{0:}"; xrSummary4.IgnoreNullValues = true; this.xrLabel10.Summary = xrSummary4; this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrLabel10.WordWrap = false; // // ReportOddStyle // this.ReportOddStyle.BackColor = System.Drawing.Color.Transparent; this.ReportOddStyle.Name = "ReportOddStyle"; this.ReportOddStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportOddStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ReportHeaderBandStyle // this.ReportHeaderBandStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206))))); this.ReportHeaderBandStyle.Name = "ReportHeaderBandStyle"; this.ReportHeaderBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // bottomMarginBand1 // this.bottomMarginBand1.Dpi = 254F; this.bottomMarginBand1.HeightF = 217F; this.bottomMarginBand1.Name = "bottomMarginBand1"; this.bottomMarginBand1.AfterPrint += new System.EventHandler(this.bottomMarginBand1_AfterPrint); // // pageHeaderBand1 // this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel5, this.xrLabel3, this.xrLabel6, this.xrLabel7 }); this.pageHeaderBand1.Dpi = 254F; this.pageHeaderBand1.HeightF = 71.93747F; this.pageHeaderBand1.Name = "pageHeaderBand1"; this.pageHeaderBand1.StyleName = "ReportHeaderBandStyle"; // // xrLabel5 // this.xrLabel5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251))))); this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel5.Dpi = 254F; this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(1561.304F, 0F); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel5.SizeF = new System.Drawing.SizeF(247.6963F, 71.93747F); this.xrLabel5.StylePriority.UseBackColor = false; this.xrLabel5.StylePriority.UseBorders = false; this.xrLabel5.StylePriority.UseFont = false; this.xrLabel5.StylePriority.UsePadding = false; this.xrLabel5.StylePriority.UseTextAlignment = false; this.xrLabel5.Text = "Итого"; this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel3 // this.xrLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251))))); this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Bottom | DevExpress.XtraPrinting.BorderSide.Top)))); this.xrLabel3.Dpi = 254F; this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(378.7435F, 0F); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel3.SizeF = new System.Drawing.SizeF(911.8033F, 71.93747F); this.xrLabel3.StylePriority.UseBackColor = false; this.xrLabel3.StylePriority.UseBorders = false; this.xrLabel3.StylePriority.UseFont = false; this.xrLabel3.StylePriority.UsePadding = false; this.xrLabel3.StylePriority.UseTextAlignment = false; this.xrLabel3.Text = "Дополнительная информация"; this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel6 // this.xrLabel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251))))); this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel6.Dpi = 254F; this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(1290.547F, 0F); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel6.SizeF = new System.Drawing.SizeF(270.757F, 71.93747F); this.xrLabel6.StylePriority.UseBackColor = false; this.xrLabel6.StylePriority.UseBorders = false; this.xrLabel6.StylePriority.UseFont = false; this.xrLabel6.StylePriority.UsePadding = false; this.xrLabel6.StylePriority.UseTextAlignment = false; this.xrLabel6.Text = "Время"; this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel7 // this.xrLabel7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251))))); this.xrLabel7.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Bottom) | DevExpress.XtraPrinting.BorderSide.Right)); this.xrLabel7.Dpi = 254F; this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel7.SizeF = new System.Drawing.SizeF(378.7435F, 71.93747F); this.xrLabel7.StylePriority.UseBackColor = false; this.xrLabel7.StylePriority.UseBorders = false; this.xrLabel7.StylePriority.UseFont = false; this.xrLabel7.StylePriority.UsePadding = false; this.xrLabel7.StylePriority.UseTextAlignment = false; this.xrLabel7.Text = "Вид работ"; this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // topMarginBand1 // this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2 }); this.topMarginBand1.Dpi = 254F; this.topMarginBand1.HeightF = 323F; this.topMarginBand1.Name = "topMarginBand1"; // // xrLabel2 // this.xrLabel2.Dpi = 254F; this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 16F); this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 109.455F); this.xrLabel2.Multiline = true; this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel2.SizeF = new System.Drawing.SizeF(1809F, 213.3366F); this.xrLabel2.StylePriority.UseFont = false; this.xrLabel2.StylePriority.UseTextAlignment = false; this.xrLabel2.Text = "Отчет по видам работ c "; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // reportFooterBand1 // this.reportFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrChart1, this.xrLabel1, this.xrLabel9 }); this.reportFooterBand1.Dpi = 254F; this.reportFooterBand1.HeightF = 1651.213F; this.reportFooterBand1.Name = "reportFooterBand1"; this.reportFooterBand1.StyleName = "ReportFooterBandStyle"; // // xrChart1 // this.xrChart1.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.xrChart1.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom; this.xrChart1.AppearanceNameSerializable = "Nature Colors"; this.xrChart1.AutoLayout = true; this.xrChart1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.xrChart1.BorderColor = System.Drawing.Color.Black; this.xrChart1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None; simpleDiagram1.LabelsResolveOverlappingMinIndent = 5; this.xrChart1.Diagram = simpleDiagram1; this.xrChart1.Dpi = 254F; 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.Name = "Default Legend"; this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 61.35414F); this.xrChart1.Name = "xrChart1"; this.xrChart1.PaletteName = "Pastel Kit"; sideBySideBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True; sideBySideBarSeriesLabel1.Position = DevExpress.XtraCharts.BarSeriesLabelPosition.BottomInside; series1.Label = sideBySideBarSeriesLabel1; series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False; series1.LegendTextPattern = "{A}"; series1.Name = "Ряд 1"; sideBySideBarSeriesView1.BarWidth = 0.5D; sideBySideBarSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True; sideBySideBarSeriesView1.ColorEach = true; sideBySideBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Hatch; series1.View = sideBySideBarSeriesView1; series1.Visible = false; pieSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True; pieSeriesLabel1.ResolveOverlappingMode = DevExpress.XtraCharts.ResolveOverlappingMode.Default; pieSeriesLabel1.TextPattern = "{A} {VP:0.00%}"; series2.Label = pieSeriesLabel1; series2.LegendTextPattern = "{A}"; series2.Name = "Ряд 2"; pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; pieSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid; pieSeriesView1.Rotation = 270; pieSeriesView1.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Clockwise; series2.View = pieSeriesView1; this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 }; this.xrChart1.SeriesTemplate.Colorizer = keyColorColorizer1; this.xrChart1.SizeF = new System.Drawing.SizeF(1809F, 1585.066F); this.xrChart1.StylePriority.UseBorderDashStyle = false; // // xrLabel1 // this.xrLabel1.BackColor = System.Drawing.Color.White; this.xrLabel1.BorderColor = System.Drawing.Color.Black; this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrLabel1.Dpi = 254F; this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel1.SizeF = new System.Drawing.SizeF(1558.304F, 45.47914F); this.xrLabel1.StylePriority.UseBackColor = false; this.xrLabel1.StylePriority.UseBorderColor = false; this.xrLabel1.StylePriority.UseBorders = false; this.xrLabel1.StylePriority.UseFont = false; this.xrLabel1.StylePriority.UseTextAlignment = false; this.xrLabel1.Text = "Итого:"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel9 // this.xrLabel9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.xrLabel9.BorderColor = System.Drawing.Color.Red; this.xrLabel9.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrLabel9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span") }); this.xrLabel9.Dpi = 254F; this.xrLabel9.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(1558.304F, 0F); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel9.SizeF = new System.Drawing.SizeF(250.696F, 45.47914F); this.xrLabel9.StylePriority.UseBackColor = false; this.xrLabel9.StylePriority.UseBorderColor = false; this.xrLabel9.StylePriority.UseBorderDashStyle = false; this.xrLabel9.StylePriority.UseBorders = false; this.xrLabel9.StylePriority.UseFont = false; this.xrLabel9.StylePriority.UseForeColor = false; this.xrLabel9.StylePriority.UsePadding = false; this.xrLabel9.StylePriority.UseTextAlignment = false; xrSummary5.FormatString = "{0:HH:mm}"; xrSummary5.IgnoreNullValues = true; xrSummary5.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; this.xrLabel9.Summary = xrSummary5; this.xrLabel9.Text = "xrLabel9"; this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrLabel9.WordWrap = false; this.xrLabel9.XlsxFormatString = "[h]:mm"; this.xrLabel9.SummaryGetResult += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel9_SummaryGetResult); this.xrLabel9.SummaryRowChanged += new System.EventHandler(this.xrLabel9_SummaryRowChanged); // // ReportGroupFooterBandStyle // this.ReportGroupFooterBandStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.ReportGroupFooterBandStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))); this.ReportGroupFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.ReportGroupFooterBandStyle.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold); this.ReportGroupFooterBandStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.ReportGroupFooterBandStyle.Name = "ReportGroupFooterBandStyle"; this.ReportGroupFooterBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportGroupFooterBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ReportEvenStyle // this.ReportEvenStyle.BackColor = System.Drawing.Color.Transparent; this.ReportEvenStyle.Name = "ReportEvenStyle"; this.ReportEvenStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportEvenStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ReportGroupHeaderBandStyle // this.ReportGroupHeaderBandStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206))))); this.ReportGroupHeaderBandStyle.Name = "ReportGroupHeaderBandStyle"; this.ReportGroupHeaderBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 254F); this.ReportGroupHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // groupHeaderBand1 // this.groupHeaderBand1.Dpi = 254F; this.groupHeaderBand1.Expanded = false; this.groupHeaderBand1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { new DevExpress.XtraReports.UI.GroupField("work", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending) }); this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail; this.groupHeaderBand1.HeightF = 63.99997F; this.groupHeaderBand1.Name = "groupHeaderBand1"; this.groupHeaderBand1.StyleName = "ReportGroupHeaderBandStyle"; // // formattingRule1 // this.formattingRule1.Name = "formattingRule1"; // // totalBindingSource // this.totalBindingSource.DataMember = "total"; // // objectDataSource1 // this.objectDataSource1.Constructor = objectConstructorInfo1; this.objectDataSource1.DataSource = typeof(formUser); this.objectDataSource1.Name = "objectDataSource1"; // // objectDataSource2 // this.objectDataSource2.DataSource = typeof(formUser); this.objectDataSource2.Name = "objectDataSource2"; // // ReportPrint // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.topMarginBand1, this.pageHeaderBand1, this.groupHeaderBand1, this.detailBand1, this.reportFooterBand1, this.bottomMarginBand1 }); this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] { this.objectDataSource1, this.objectDataSource2 }); this.DataSource = this.totalBindingSource; this.Dpi = 254F; this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] { this.formattingRule1 }); this.Margins = new System.Drawing.Printing.Margins(193, 98, 323, 217); this.PageHeight = 2970; this.PageWidth = 2100; this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.PaperName = "Custom"; this.ReportUnit = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter; this.Scripts.OnDataSourceDemanded = "ReportPrint_DataSourceDemanded"; this.SnapGridSize = 25F; this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { this.ReportHeaderBandStyle, this.ReportGroupHeaderBandStyle, this.ReportDetailBandStyle, this.ReportGroupFooterBandStyle, this.ReportFooterBandStyle, this.ReportOddStyle, this.ReportEvenStyle }); this.Version = "16.2"; this.VerticalContentSplitting = DevExpress.XtraPrinting.VerticalContentSplitting.Smart; this.PrintProgress += new DevExpress.XtraPrinting.PrintProgressEventHandler(this.ReportPrint_PrintProgress); this.DesignerLoaded += new DevExpress.XtraReports.UserDesigner.DesignerLoadedEventHandler(this.ReportPrint_DesignerLoaded); this.DataSourceDemanded += new System.EventHandler <System.EventArgs>(this.ReportPrint_DataSourceDemanded); this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.ReportPrint_BeforePrint); this.AfterPrint += new System.EventHandler(this.ReportPrint_AfterPrint); ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.objectDataSource2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblPackageActivation = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblPackageBalance = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblDaysToExpiry = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblRemainingClasses = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblBirthdayGreet = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMemberName = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMembershipID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel7, this.xrLabel6, this.xrlblPackageActivation, this.xrlblPackageBalance, this.xrlblDaysToExpiry, this.xrlblRemainingClasses, this.xrlblBirthdayGreet, this.xrLabel5, this.xrlblMemberName, this.xrlblMembershipID, this.xrLabel3, this.xrLabel2}); this.Detail.Height = 294; this.Detail.Name = "Detail"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel7.Location = new System.Drawing.Point(8, 138); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(138, 24); this.xrLabel7.Text = "Outstanding Balance:"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(8, 106); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(123, 25); this.xrLabel6.Text = "Remaining Classes:"; // // xrlblPackageActivation // this.xrlblPackageActivation.Location = new System.Drawing.Point(10, 173); this.xrlblPackageActivation.Name = "xrlblPackageActivation"; this.xrlblPackageActivation.Size = new System.Drawing.Size(280, 23); // // xrlblPackageBalance // this.xrlblPackageBalance.Location = new System.Drawing.Point(150, 138); this.xrlblPackageBalance.Name = "xrlblPackageBalance"; this.xrlblPackageBalance.Size = new System.Drawing.Size(150, 23); // // xrlblDaysToExpiry // this.xrlblDaysToExpiry.Location = new System.Drawing.Point(150, 75); this.xrlblDaysToExpiry.Name = "xrlblDaysToExpiry"; this.xrlblDaysToExpiry.Size = new System.Drawing.Size(150, 23); // // xrlblRemainingClasses // this.xrlblRemainingClasses.Location = new System.Drawing.Point(150, 106); this.xrlblRemainingClasses.Name = "xrlblRemainingClasses"; this.xrlblRemainingClasses.Size = new System.Drawing.Size(150, 23); // // xrlblBirthdayGreet // this.xrlblBirthdayGreet.Location = new System.Drawing.Point(10, 200); this.xrlblBirthdayGreet.Name = "xrlblBirthdayGreet"; this.xrlblBirthdayGreet.Size = new System.Drawing.Size(280, 23); // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel5.Location = new System.Drawing.Point(8, 75); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(123, 25); this.xrLabel5.Text = "Expiry Date:"; // // xrlblMemberName // this.xrlblMemberName.Location = new System.Drawing.Point(150, 40); this.xrlblMemberName.Name = "xrlblMemberName"; this.xrlblMemberName.Size = new System.Drawing.Size(150, 23); // // xrlblMembershipID // this.xrlblMembershipID.Location = new System.Drawing.Point(150, 6); this.xrlblMembershipID.Name = "xrlblMembershipID"; this.xrlblMembershipID.Size = new System.Drawing.Size(150, 23); // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel3.Location = new System.Drawing.Point(8, 40); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(123, 25); this.xrLabel3.Text = "Member Name:"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel2.Location = new System.Drawing.Point(8, 6); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(123, 25); this.xrLabel2.Text = "Membership ID:"; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 28; this.PageFooter.Name = "PageFooter"; // // ReportClassAttendanceReminder // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter}); this.Margins = new System.Drawing.Printing.Margins(100, 424, 100, 100); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPictureBox1, this.xrLabel1 }); this.Detail.Name = "Detail"; // // PageHeader // this.PageHeader.Height = 30; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 30; this.PageFooter.Name = "PageFooter"; // // xrLabel1 // this.xrLabel1.Location = new System.Drawing.Point(92, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Size = new System.Drawing.Size(100, 25); this.xrLabel1.Text = "xrLabel1"; // // xrPictureBox1 // this.xrPictureBox1.Location = new System.Drawing.Point(92, 42); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.Size = new System.Drawing.Size(100, 25); // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1 }); this.DetailReport.Name = "DetailReport"; // // Detail1 // this.Detail1.Name = "Detail1"; // // XtraReport1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.DetailReport }); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
public static XtraReportDefault CreateXtraReport(DataSet dataset) { XtraReportDefault xtrareport = new XtraReportDefault(); #region Account Level var accountBand = xtrareport.detailBand1; var xrLine1 = new DevExpress.XtraReports.UI.XRLine(); accountBand.HeightF = 116.6667F; accountBand.Name = "Detail"; accountBand.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); accountBand.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLine1 // xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); xrLine1.Name = "xrLine1"; xrLine1.SizeF = new System.Drawing.SizeF(650F, 23F); //accountBand.Controls.Add(xrLine1); var columns = dataset.Tables["Account"].Columns; float height = 35; foreach (DataColumn column in columns) { if (column.ColumnName == "Id") continue; var xrLabelName = new DevExpress.XtraReports.UI.XRLabel(); xrLabelName.LocationFloat = new DevExpress.Utils.PointFloat(33.75017F, height); xrLabelName.Name = "xrLabel13"; xrLabelName.SizeF = new System.Drawing.SizeF(200F, 23F); xrLabelName.StylePriority.UseTextAlignment = false; xrLabelName.Text = column.ColumnName+":"; xrLabelName.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; var xrLabelValues = new DevExpress.XtraReports.UI.XRLabel(); xrLabelValues.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Account."+column.ColumnName)}); xrLabelValues.LocationFloat = new DevExpress.Utils.PointFloat(243.7502F, height); xrLabelValues.Name = "xrLabel49"; xrLabelValues.CanShrink = true; xrLabelValues.CanGrow = true; xrLabelValues.Multiline = true; xrLabelValues.SizeF = new System.Drawing.SizeF(350F, 23F); xrLabelValues.Text = "xrLabel49"; height += 35; accountBand.Controls.Add(xrLabelName); accountBand.Controls.Add(xrLabelValues); } height += 35; var xrLine4 = new DevExpress.XtraReports.UI.XRLine(); xrLine4.LocationFloat = new DevExpress.Utils.PointFloat(0F, height); xrLine4.Name = "xrLine4"; xrLine4.SizeF = new System.Drawing.SizeF(650F, 23F); accountBand.Controls.Add(xrLine4); var xrPageBreak2 = new DevExpress.XtraReports.UI.XRPageBreak(); xrPageBreak2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); xrPageBreak2.Name = "xrPageBreak2"; accountBand.Controls.Add(xrPageBreak2); #endregion #region Contact level var contactDetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); var contactDetailBand = new DevExpress.XtraReports.UI.DetailBand(); contactDetailBand.HeightF = 116.6667F; contactDetailBand.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); contactDetailBand.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; contactDetailBand.Name = "Detail"; contactDetailReport.DataSource = dataset; contactDetailReport.DataMember = "account.account_contact"; contactDetailReport.Level = 1; contactDetailReport.Name = "DetailReport3"; var cColumns = dataset.Tables["Contact"].Columns; height = 35; foreach (DataColumn column in cColumns) { if (column.ColumnName == "AccountId" || column.ColumnName == "Id") continue; var xrLabelName = new DevExpress.XtraReports.UI.XRLabel(); xrLabelName.LocationFloat = new DevExpress.Utils.PointFloat(33.75017F, height); xrLabelName.Name = "xrLabel13"; xrLabelName.SizeF = new System.Drawing.SizeF(200F, 23F); xrLabelName.StylePriority.UseTextAlignment = false; xrLabelName.Text = column.ColumnName+":"; xrLabelName.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; var xrLabelValues = new DevExpress.XtraReports.UI.XRLabel(); xrLabelValues.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "account.account_contact."+column.ColumnName)}); xrLabelValues.LocationFloat = new DevExpress.Utils.PointFloat(243.7502F, height); xrLabelValues.Name = "xrLabel49"; xrLabelValues.CanShrink = true; xrLabelValues.CanGrow = true; xrLabelValues.Multiline = true; xrLabelValues.SizeF = new System.Drawing.SizeF(350F, 23F); xrLabelValues.Text = "xrLabel49"; height += 35; contactDetailBand.Controls.Add(xrLabelName); contactDetailBand.Controls.Add(xrLabelValues); } height += 35; xrLine4 = new DevExpress.XtraReports.UI.XRLine(); xrLine4.LocationFloat = new DevExpress.Utils.PointFloat(0F, height); xrLine4.Name = "xrLine4"; xrLine4.SizeF = new System.Drawing.SizeF(650F, 23F); contactDetailBand.HeightF = height+35; contactDetailBand.Controls.Add(xrLine4); contactDetailReport.Bands.Add(contactDetailBand); xtrareport.Bands.AddRange(new Band[] { accountBand, contactDetailReport }); //xtrareport.Bands.Add(accountBand); //xtrareport.Bands.Add(contactDetailReport); #endregion xtrareport.DataSource = dataset; return xtrareport; }
/// <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.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.consItem1 = new CMSM.Report.ConsItem(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlCardID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlIg = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlCharge = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); 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.GroupHeader0 = new DevExpress.XtraReports.UI.GroupHeaderBand(); 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.GroupFooter0 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.ndRate = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this.consItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel11, this.xrLabel13, this.xrLabel14, this.xrLabel15 }); this.Detail.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Detail.Height = 16; this.Detail.Name = "Detail"; this.Detail.ParentStyleUsing.UseFont = false; // // xrLabel11 // this.xrLabel11.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.vcGoodsName", "")); this.xrLabel11.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel11.Location = new System.Drawing.Point(0, 0); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.ParentStyleUsing.UseFont = false; this.xrLabel11.Size = new System.Drawing.Size(86, 16); this.xrLabel11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // consItem1 // this.consItem1.DataSetName = "ConsItem"; this.consItem1.Locale = new System.Globalization.CultureInfo("zh-CN"); // // xrLabel13 // this.xrLabel13.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nPrice", "")); this.xrLabel13.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel13.Location = new System.Drawing.Point(86, 0); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.ParentStyleUsing.UseFont = false; this.xrLabel13.Size = new System.Drawing.Size(32, 16); this.xrLabel13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel14 // this.xrLabel14.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.iCount", "")); this.xrLabel14.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel14.Location = new System.Drawing.Point(118, 0); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.ParentStyleUsing.UseFont = false; this.xrLabel14.Size = new System.Drawing.Size(30, 16); this.xrLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel15 // this.xrLabel15.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nFee", "")); this.xrLabel15.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel15.Location = new System.Drawing.Point(148, 0); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.ParentStyleUsing.UseFont = false; this.xrLabel15.Size = new System.Drawing.Size(41, 16); this.xrLabel15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel29, this.xrLabel28, this.xrlCardID, this.xrLabel27, this.xrlIg, this.xrLabel26, this.xrLabel25, this.xrLabel24, this.xrlCharge, this.xrLabel23, this.xrLine1, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.xrLabel3, this.xrLabel2, this.xrLabel1 }); this.PageHeader.Height = 201; this.PageHeader.Name = "PageHeader"; // // xrLabel29 // this.xrLabel29.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel29.Location = new System.Drawing.Point(58, 133); this.xrLabel29.Name = "xrLabel29"; this.xrLabel29.ParentStyleUsing.UseFont = false; this.xrLabel29.Size = new System.Drawing.Size(93, 17); // // xrLabel28 // this.xrLabel28.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel28.Location = new System.Drawing.Point(2, 133); this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.ParentStyleUsing.UseFont = false; this.xrLabel28.Size = new System.Drawing.Size(48, 17); this.xrLabel28.Text = "操作员:"; this.xrLabel28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrlCardID // this.xrlCardID.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrlCardID.Location = new System.Drawing.Point(46, 67); this.xrlCardID.Name = "xrlCardID"; this.xrlCardID.ParentStyleUsing.UseFont = false; this.xrlCardID.Size = new System.Drawing.Size(127, 17); // // xrLabel27 // this.xrLabel27.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel27.Location = new System.Drawing.Point(0, 67); this.xrLabel27.Name = "xrLabel27"; this.xrLabel27.ParentStyleUsing.UseFont = false; this.xrLabel27.Size = new System.Drawing.Size(46, 17); this.xrLabel27.Text = "会员卡:"; this.xrLabel27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrlIg // this.xrlIg.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrlIg.Location = new System.Drawing.Point(73, 117); this.xrlIg.Name = "xrlIg"; this.xrlIg.ParentStyleUsing.UseFont = false; this.xrlIg.Size = new System.Drawing.Size(93, 17); this.xrlIg.Text = "0分"; // // xrLabel26 // this.xrLabel26.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel26.Location = new System.Drawing.Point(0, 117); this.xrLabel26.Name = "xrLabel26"; this.xrLabel26.ParentStyleUsing.UseFont = false; this.xrLabel26.Size = new System.Drawing.Size(73, 16); this.xrLabel26.Text = "会员积分:"; this.xrLabel26.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLabel25 // this.xrLabel25.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel25.Location = new System.Drawing.Point(58, 167); this.xrLabel25.Name = "xrLabel25"; this.xrLabel25.ParentStyleUsing.UseFont = false; this.xrLabel25.Size = new System.Drawing.Size(126, 17); // // xrLabel24 // this.xrLabel24.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel24.Location = new System.Drawing.Point(2, 167); this.xrLabel24.Name = "xrLabel24"; this.xrLabel24.ParentStyleUsing.UseFont = false; this.xrLabel24.Size = new System.Drawing.Size(67, 17); this.xrLabel24.Text = "服务电话:"; this.xrLabel24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrlCharge // this.xrlCharge.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrlCharge.Location = new System.Drawing.Point(57, 83); this.xrlCharge.Name = "xrlCharge"; this.xrlCharge.ParentStyleUsing.UseFont = false; this.xrlCharge.Size = new System.Drawing.Size(119, 16); this.xrlCharge.Text = "0元"; // // xrLabel23 // this.xrLabel23.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel23.Location = new System.Drawing.Point(0, 83); this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.ParentStyleUsing.UseFont = false; this.xrLabel23.Size = new System.Drawing.Size(57, 16); this.xrLabel23.Text = "会员余额:"; this.xrLabel23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // xrLine1 // this.xrLine1.LineStyle = System.Drawing.Drawing2D.DashStyle.DashDot; this.xrLine1.Location = new System.Drawing.Point(0, 175); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(186, 8); // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel6.Location = new System.Drawing.Point(50, 100); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(123, 16); this.xrLabel6.Text = "0"; // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel5.Location = new System.Drawing.Point(3, 100); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(46, 16); this.xrLabel5.Text = "小票号:"; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel4.Location = new System.Drawing.Point(58, 150); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(112, 20); this.xrLabel4.Text = "2007-04-28"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel3.Location = new System.Drawing.Point(2, 150); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(48, 19); this.xrLabel3.Text = "日 期:"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel2.Location = new System.Drawing.Point(0, 33); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(185, 27); this.xrLabel2.Text = "谢谢惠顾!"; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel1.Location = new System.Drawing.Point(50, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(97, 16); // // GroupHeader0 // this.GroupHeader0.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7 }); this.GroupHeader0.Height = 16; this.GroupHeader0.Name = "GroupHeader0"; // // xrLabel10 // this.xrLabel10.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel10.Location = new System.Drawing.Point(148, 0); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseFont = false; this.xrLabel10.Size = new System.Drawing.Size(41, 16); this.xrLabel10.Text = "小计"; this.xrLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel9 // this.xrLabel9.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel9.Location = new System.Drawing.Point(118, 0); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseFont = false; this.xrLabel9.Size = new System.Drawing.Size(30, 16); this.xrLabel9.Text = "数量"; this.xrLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel8.Location = new System.Drawing.Point(86, 0); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(32, 16); this.xrLabel8.Text = "单价"; this.xrLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel7.Location = new System.Drawing.Point(0, 0); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(86, 16); this.xrLabel7.Text = "商品名称"; // // GroupFooter0 // this.GroupFooter0.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.ndRate, this.xrLabel30, this.xrLabel17, this.xrLabel20, this.xrLine2, this.xrLabel12, this.xrLabel16, this.xrLabel18, this.xrLabel19, this.xrLabel21, this.xrLabel22 }); this.GroupFooter0.Height = 88; this.GroupFooter0.Name = "GroupFooter0"; // // ndRate // this.ndRate.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.ndRate.Location = new System.Drawing.Point(133, 16); this.ndRate.Name = "ndRate"; this.ndRate.ParentStyleUsing.UseFont = false; this.ndRate.Size = new System.Drawing.Size(56, 16); this.ndRate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel30 // this.xrLabel30.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel30.Location = new System.Drawing.Point(65, 16); this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.ParentStyleUsing.UseFont = false; this.xrLabel30.Size = new System.Drawing.Size(67, 16); this.xrLabel30.Text = "折扣率:"; this.xrLabel30.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // xrLabel17 // this.xrLabel17.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel17.Location = new System.Drawing.Point(65, 32); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.ParentStyleUsing.UseFont = false; this.xrLabel17.Size = new System.Drawing.Size(67, 16); this.xrLabel17.Text = "折扣合计:"; this.xrLabel17.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // xrLabel20 // this.xrLabel20.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel20.Location = new System.Drawing.Point(65, 64); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.ParentStyleUsing.UseFont = false; this.xrLabel20.Size = new System.Drawing.Size(67, 16); this.xrLabel20.Text = "找零:"; this.xrLabel20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // xrLine2 // this.xrLine2.LineStyle = System.Drawing.Drawing2D.DashStyle.DashDot; this.xrLine2.Location = new System.Drawing.Point(0, 80); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(186, 8); // // xrLabel12 // this.xrLabel12.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel12.Location = new System.Drawing.Point(65, 0); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.ParentStyleUsing.UseFont = false; this.xrLabel12.Size = new System.Drawing.Size(67, 16); this.xrLabel12.Text = "应收合计:"; this.xrLabel12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // xrLabel16 // this.xrLabel16.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nTFee", "")); this.xrLabel16.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel16.Location = new System.Drawing.Point(133, 0); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.ParentStyleUsing.UseFont = false; this.xrLabel16.Size = new System.Drawing.Size(55, 16); this.xrLabel16.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel18 // this.xrLabel18.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nTRate", "")); this.xrLabel18.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel18.Location = new System.Drawing.Point(133, 32); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.ParentStyleUsing.UseFont = false; this.xrLabel18.Size = new System.Drawing.Size(55, 16); this.xrLabel18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel19 // this.xrLabel19.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.vcCommName", "")); this.xrLabel19.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel19.Location = new System.Drawing.Point(65, 48); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.ParentStyleUsing.UseFont = false; this.xrLabel19.Size = new System.Drawing.Size(67, 16); this.xrLabel19.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // xrLabel21 // this.xrLabel21.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nPay", "")); this.xrLabel21.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel21.Location = new System.Drawing.Point(133, 48); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.ParentStyleUsing.UseFont = false; this.xrLabel21.Size = new System.Drawing.Size(55, 16); this.xrLabel21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // xrLabel22 // this.xrLabel22.DataBindings.Add(new DevExpress.XtraReports.UI.XRBinding("Text", this.consItem1, "tbConsItem.nBalance", "")); this.xrLabel22.Font = new System.Drawing.Font("宋体", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.xrLabel22.Location = new System.Drawing.Point(133, 64); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.ParentStyleUsing.UseFont = false; this.xrLabel22.Size = new System.Drawing.Size(55, 16); this.xrLabel22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // sqlDataAdapter1 // this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "tbConsItem", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("vcGoodsName", "vcGoodsName"), new System.Data.Common.DataColumnMapping("nPrice", "nPrice"), new System.Data.Common.DataColumnMapping("iCount", "iCount"), new System.Data.Common.DataColumnMapping("nFee", "nFee"), new System.Data.Common.DataColumnMapping("nTRate", "nTRate"), new System.Data.Common.DataColumnMapping("nTFee", "nTFee"), new System.Data.Common.DataColumnMapping("nPay", "nPay"), new System.Data.Common.DataColumnMapping("nBalance", "nBalance"), new System.Data.Common.DataColumnMapping("vcCommName", "vcCommName") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = @"SELECT tbGoods.vcGoodsName, tbConsItem.vcCardID, tbConsItem.nPrice, tbConsItem.iCount, tbConsItem.nFee, tbBill.nTRate, tbBill.nFee AS nTFee, tbBill.nPay, tbBill.nBalance, tbCommCode.vcCommName, tbConsItem.vcOperName FROM tbConsItem INNER JOIN tbGoods ON tbConsItem.vcGoodsID = tbGoods.vcGoodsID INNER JOIN tbBill ON tbConsItem.iSerial = tbBill.iSerial INNER JOIN tbCommCode ON tbBill.vcConsType = tbCommCode.vcCommCode"; this.sqlSelectCommand1.Connection = this.sqlConnection1; // // sqlConnection1 // this.sqlConnection1.ConnectionString = "workstation id=\"KMDX-Z9E5N5MK76\";packet size=4096;user id=sa;data source=\".\\sqlex" + "press\";persist security info=False;initial catalog=AMSCM_GY"; this.sqlConnection1.InfoMessage += new System.Data.SqlClient.SqlInfoMessageEventHandler(this.sqlConnection1_InfoMessage); // // PageFooter // this.PageFooter.Height = 0; this.PageFooter.Name = "PageFooter"; // // xrConsTiny // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.GroupHeader0, this.GroupFooter0, this.PageFooter }); this.DataAdapter = this.sqlDataAdapter1; this.DataSource = this.consItem1; this.PageWidth = 392; ((System.ComponentModel.ISupportInitialize)(this.consItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); this.pageHeaderBand1 = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel45 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel44 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel43 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel42 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel41 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel40 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); 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.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel39 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel38 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel37 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel36 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel35 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLabel34 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel33 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel32 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.xrLine3 = new DevExpress.XtraReports.UI.XRLine(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detailBand1 // this.detailBand1.Height = 0; this.detailBand1.Name = "detailBand1"; // // pageHeaderBand1 // this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel45, this.xrLabel44, this.xrLabel43, this.xrLabel42, this.xrLabel41, this.xrLabel40, this.xrLabel29, this.xrLabel28, this.xrLabel27, this.xrLabel26, this.xrLabel25, this.xrLabel24, this.xrLabel23, this.xrLabel22, this.xrLabel21, this.xrLabel20, this.xrLabel19, this.xrLabel18, this.xrLabel17, this.xrLabel16, this.xrLabel15, this.xrLabel14, this.xrLabel13, this.xrLabel12, this.xrLabel11, this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.xrLabel2, this.xrLabel3, this.xrLabel1 }); this.pageHeaderBand1.Height = 388; this.pageHeaderBand1.Name = "pageHeaderBand1"; // // xrLabel45 // this.xrLabel45.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strDetails", "") }); this.xrLabel45.Location = new System.Drawing.Point(117, 358); this.xrLabel45.Name = "xrLabel45"; this.xrLabel45.Size = new System.Drawing.Size(533, 25); this.xrLabel45.Text = "xrLabel45"; // // xrLabel44 // this.xrLabel44.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel44.Location = new System.Drawing.Point(8, 358); this.xrLabel44.Name = "xrLabel44"; this.xrLabel44.ParentStyleUsing.UseFont = false; this.xrLabel44.Size = new System.Drawing.Size(109, 25); this.xrLabel44.Text = "Summary of CV:"; // // xrLabel43 // this.xrLabel43.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strContactNumber", "") }); this.xrLabel43.Location = new System.Drawing.Point(117, 117); this.xrLabel43.Name = "xrLabel43"; this.xrLabel43.Size = new System.Drawing.Size(191, 25); this.xrLabel43.Text = "xrLabel43"; // // xrLabel42 // this.xrLabel42.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strEmailAddress", "") }); this.xrLabel42.Location = new System.Drawing.Point(442, 117); this.xrLabel42.Name = "xrLabel42"; this.xrLabel42.Size = new System.Drawing.Size(208, 25); this.xrLabel42.Text = "xrLabel42"; // // xrLabel41 // this.xrLabel41.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel41.Location = new System.Drawing.Point(317, 117); this.xrLabel41.Name = "xrLabel41"; this.xrLabel41.ParentStyleUsing.UseFont = false; this.xrLabel41.Size = new System.Drawing.Size(125, 25); this.xrLabel41.Text = "Email Address:"; // // xrLabel40 // this.xrLabel40.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel40.Location = new System.Drawing.Point(8, 117); this.xrLabel40.Name = "xrLabel40"; this.xrLabel40.ParentStyleUsing.UseFont = false; this.xrLabel40.Size = new System.Drawing.Size(109, 25); this.xrLabel40.Text = "Contact No:"; // // xrLabel29 // this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strStatus", "") }); this.xrLabel29.Location = new System.Drawing.Point(117, 333); this.xrLabel29.Name = "xrLabel29"; this.xrLabel29.Size = new System.Drawing.Size(400, 25); this.xrLabel29.Text = "xrLabel29"; // // xrLabel28 // this.xrLabel28.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel28.Location = new System.Drawing.Point(8, 333); this.xrLabel28.Name = "xrLabel28"; this.xrLabel28.ParentStyleUsing.UseFont = false; this.xrLabel28.Size = new System.Drawing.Size(109, 25); this.xrLabel28.Text = "Status:"; // // xrLabel27 // this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.dtLastEditDate", "") }); this.xrLabel27.Location = new System.Drawing.Point(117, 308); this.xrLabel27.Name = "xrLabel27"; this.xrLabel27.Size = new System.Drawing.Size(400, 25); this.xrLabel27.Text = "xrLabel27"; // // xrLabel26 // this.xrLabel26.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel26.Location = new System.Drawing.Point(8, 308); this.xrLabel26.Name = "xrLabel26"; this.xrLabel26.ParentStyleUsing.UseFont = false; this.xrLabel26.Size = new System.Drawing.Size(109, 25); this.xrLabel26.Text = "Last update:"; // // xrLabel25 // this.xrLabel25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strDepartmentAssignedTo", "") }); this.xrLabel25.Location = new System.Drawing.Point(117, 275); this.xrLabel25.Name = "xrLabel25"; this.xrLabel25.Size = new System.Drawing.Size(533, 25); this.xrLabel25.Text = "xrLabel25"; // // xrLabel24 // this.xrLabel24.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel24.Location = new System.Drawing.Point(8, 275); this.xrLabel24.Name = "xrLabel24"; this.xrLabel24.ParentStyleUsing.UseFont = false; this.xrLabel24.Size = new System.Drawing.Size(109, 33); this.xrLabel24.Text = "Department Assigned To:"; // // xrLabel23 // this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strSubmittedBy", "") }); this.xrLabel23.Location = new System.Drawing.Point(117, 250); this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.Size = new System.Drawing.Size(533, 25); this.xrLabel23.Text = "xrLabel23"; // // xrLabel22 // this.xrLabel22.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel22.Location = new System.Drawing.Point(8, 250); this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.ParentStyleUsing.UseFont = false; this.xrLabel22.Size = new System.Drawing.Size(109, 25); this.xrLabel22.Text = "Submitted By:"; // // xrLabel21 // this.xrLabel21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.nStaffID", "") }); this.xrLabel21.Location = new System.Drawing.Point(117, 225); this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.Size = new System.Drawing.Size(191, 25); this.xrLabel21.Text = "xrLabel21"; // // xrLabel20 // this.xrLabel20.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel20.Location = new System.Drawing.Point(8, 225); this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.ParentStyleUsing.UseFont = false; this.xrLabel20.Size = new System.Drawing.Size(109, 25); this.xrLabel20.Text = "Staff ID:"; // // xrLabel19 // this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strSubject", "") }); this.xrLabel19.Location = new System.Drawing.Point(117, 200); this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.Size = new System.Drawing.Size(533, 25); this.xrLabel19.Text = "xrLabel19"; // // xrLabel18 // this.xrLabel18.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel18.Location = new System.Drawing.Point(8, 200); this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.ParentStyleUsing.UseFont = false; this.xrLabel18.Size = new System.Drawing.Size(109, 25); this.xrLabel18.Text = "Subject:"; // // xrLabel17 // this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strCaseCategoryDescription", "") }); this.xrLabel17.Location = new System.Drawing.Point(117, 175); this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.Size = new System.Drawing.Size(191, 25); this.xrLabel17.Text = "xrLabel17"; // // xrLabel16 // this.xrLabel16.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel16.Location = new System.Drawing.Point(8, 175); this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.ParentStyleUsing.UseFont = false; this.xrLabel16.Size = new System.Drawing.Size(109, 25); this.xrLabel16.Text = "Category:"; // // xrLabel15 // this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strCaseTypeDescription", "") }); this.xrLabel15.Location = new System.Drawing.Point(442, 150); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Size = new System.Drawing.Size(208, 25); this.xrLabel15.Text = "xrLabel15"; // // xrLabel14 // this.xrLabel14.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel14.Location = new System.Drawing.Point(317, 150); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.ParentStyleUsing.UseFont = false; this.xrLabel14.Size = new System.Drawing.Size(126, 25); this.xrLabel14.Text = "Type:"; // // xrLabel13 // this.xrLabel13.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel13.Location = new System.Drawing.Point(8, 150); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.ParentStyleUsing.UseFont = false; this.xrLabel13.Size = new System.Drawing.Size(109, 25); this.xrLabel13.Text = "Department:"; // // xrLabel12 // this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strDepartmentDescription", "") }); this.xrLabel12.Location = new System.Drawing.Point(117, 150); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Size = new System.Drawing.Size(191, 25); this.xrLabel12.Text = "xrLabel12"; // // xrLabel11 // this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strMembershipName", "") }); this.xrLabel11.Location = new System.Drawing.Point(442, 92); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Size = new System.Drawing.Size(208, 25); this.xrLabel11.Text = "xrLabel11"; // // xrLabel10 // this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel10.Location = new System.Drawing.Point(317, 92); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseFont = false; this.xrLabel10.Size = new System.Drawing.Size(126, 25); this.xrLabel10.Text = "Membership Name:"; // // xrLabel9 // this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strMembershipID", "") }); this.xrLabel9.Location = new System.Drawing.Point(117, 92); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Size = new System.Drawing.Size(117, 25); this.xrLabel9.Text = "xrLabel9"; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel8.Location = new System.Drawing.Point(8, 92); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(109, 25); this.xrLabel8.Text = "Membership ID:"; // // xrLabel7 // this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.strBranchCode", "") }); this.xrLabel7.Location = new System.Drawing.Point(117, 67); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Size = new System.Drawing.Size(100, 25); this.xrLabel7.Text = "xrLabel7"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(8, 67); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(92, 25); this.xrLabel6.Text = "Branch:"; // // xrLabel5 // this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.dtDate", "") }); this.xrLabel5.Location = new System.Drawing.Point(417, 42); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Size = new System.Drawing.Size(233, 25); this.xrLabel5.Text = "xrLabel5"; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel4.Location = new System.Drawing.Point(317, 42); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(92, 25); this.xrLabel4.Text = "Date Received:"; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CV.nCaseID", "") }); this.xrLabel2.Location = new System.Drawing.Point(117, 42); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "xrLabel2"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel3.Location = new System.Drawing.Point(8, 42); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(59, 25); this.xrLabel3.Text = "Ref No:"; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 18F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(250, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(183, 25); this.xrLabel1.Text = "Customer Voice"; // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.ReportHeader }); this.DetailReport.DataMember = "CVACTION"; this.DetailReport.Name = "DetailReport"; // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine3, this.xrLabel39, this.xrLabel38, this.xrLabel37, this.xrLabel36, this.xrLabel35 }); this.Detail.Height = 75; this.Detail.Name = "Detail"; // // xrLabel39 // this.xrLabel39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.strActionDetails", "") }); this.xrLabel39.Location = new System.Drawing.Point(8, 33); this.xrLabel39.Name = "xrLabel39"; this.xrLabel39.Size = new System.Drawing.Size(634, 25); this.xrLabel39.Text = "xrLabel39"; // // xrLabel38 // this.xrLabel38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.strActionTakenBy", "") }); this.xrLabel38.Location = new System.Drawing.Point(408, 0); this.xrLabel38.Name = "xrLabel38"; this.xrLabel38.Size = new System.Drawing.Size(234, 25); this.xrLabel38.Text = "xrLabel38"; // // xrLabel37 // this.xrLabel37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.strMode", "") }); this.xrLabel37.Location = new System.Drawing.Point(292, 0); this.xrLabel37.Name = "xrLabel37"; this.xrLabel37.Size = new System.Drawing.Size(108, 25); this.xrLabel37.Text = "xrLabel37"; // // xrLabel36 // this.xrLabel36.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.dtDate", "") }); this.xrLabel36.Location = new System.Drawing.Point(108, 0); this.xrLabel36.Name = "xrLabel36"; this.xrLabel36.Size = new System.Drawing.Size(175, 25); this.xrLabel36.Text = "xrLabel36"; // // xrLabel35 // this.xrLabel35.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "CVACTION.nActionID", "") }); this.xrLabel35.Location = new System.Drawing.Point(8, 0); this.xrLabel35.Name = "xrLabel35"; this.xrLabel35.Size = new System.Drawing.Size(92, 25); this.xrLabel35.Text = "xrLabel35"; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine2, this.xrLabel34, this.xrLabel33, this.xrLabel32, this.xrLabel31, this.xrLabel30, this.xrLine1 }); this.ReportHeader.Height = 67; this.ReportHeader.Name = "ReportHeader"; // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(0, 58); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(650, 8); // // xrLabel34 // this.xrLabel34.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel34.Location = new System.Drawing.Point(8, 33); this.xrLabel34.Name = "xrLabel34"; this.xrLabel34.ParentStyleUsing.UseFont = false; this.xrLabel34.Size = new System.Drawing.Size(642, 25); this.xrLabel34.Text = "Action Taken"; this.xrLabel34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrLabel33 // this.xrLabel33.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel33.Location = new System.Drawing.Point(408, 8); this.xrLabel33.Name = "xrLabel33"; this.xrLabel33.ParentStyleUsing.UseFont = false; this.xrLabel33.Size = new System.Drawing.Size(234, 25); this.xrLabel33.Text = "Action Taken By"; // // xrLabel32 // this.xrLabel32.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel32.Location = new System.Drawing.Point(292, 8); this.xrLabel32.Name = "xrLabel32"; this.xrLabel32.ParentStyleUsing.UseFont = false; this.xrLabel32.Size = new System.Drawing.Size(108, 25); this.xrLabel32.Text = "Mode"; // // xrLabel31 // this.xrLabel31.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel31.Location = new System.Drawing.Point(108, 8); this.xrLabel31.Name = "xrLabel31"; this.xrLabel31.ParentStyleUsing.UseFont = false; this.xrLabel31.Size = new System.Drawing.Size(175, 25); this.xrLabel31.Text = "Action Date Time"; // // xrLabel30 // this.xrLabel30.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel30.Location = new System.Drawing.Point(8, 8); this.xrLabel30.Name = "xrLabel30"; this.xrLabel30.ParentStyleUsing.UseFont = false; this.xrLabel30.Size = new System.Drawing.Size(92, 25); this.xrLabel30.Text = "ID"; // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(0, 0); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(650, 8); // // BottomMargin // this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1 }); this.BottomMargin.Height = 36; this.BottomMargin.Name = "BottomMargin"; // // xrPageInfo1 // this.xrPageInfo1.Format = "Page : {0 } / {1}"; this.xrPageInfo1.Location = new System.Drawing.Point(550, 0); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Size = new System.Drawing.Size(100, 25); // // xrLine3 // this.xrLine3.Location = new System.Drawing.Point(0, 67); this.xrLine3.Name = "xrLine3"; this.xrLine3.Size = new System.Drawing.Size(650, 8); // // ReportCV // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.detailBand1, this.pageHeaderBand1, this.DetailReport, this.BottomMargin }); this.Margins = new System.Drawing.Printing.Margins(100, 100, 100, 36); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary(); DevExpress.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram(); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.RangeBarSeriesLabel rangeBarSeriesLabel1 = new DevExpress.XtraCharts.RangeBarSeriesLabel(); DevExpress.XtraCharts.OverlappedRangeBarSeriesView overlappedRangeBarSeriesView1 = new DevExpress.XtraCharts.OverlappedRangeBarSeriesView(); DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel(); DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView(); DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary(); this.groupFooterBand1 = new DevExpress.XtraReports.UI.GroupFooterBand(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportDetailBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.ReportOddStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.ReportFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.pageHeaderBand1 = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); this.ReportGroupHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.ReportHeaderBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.groupHeaderBand1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.ReportGroupFooterBandStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.ReportEvenStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.totalBindingSource = new System.Windows.Forms.BindingSource(this.components); this.reportFooterBand1 = new DevExpress.XtraReports.UI.ReportFooterBand(); this.xrChart1 = new DevExpress.XtraReports.UI.XRChart(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(rangeBarSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(overlappedRangeBarSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // groupFooterBand1 // this.groupFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel7, this.xrLabel4 }); this.groupFooterBand1.Dpi = 254F; this.groupFooterBand1.HeightF = 52.22913F; this.groupFooterBand1.Name = "groupFooterBand1"; this.groupFooterBand1.StyleName = "ReportGroupFooterBandStyle"; // // xrLabel7 // this.xrLabel7.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left; this.xrLabel7.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Top; this.xrLabel7.BackColor = System.Drawing.Color.Empty; this.xrLabel7.BorderColor = System.Drawing.Color.Black; this.xrLabel7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "work") }); this.xrLabel7.Dpi = 254F; this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0.0003229777F, 0F); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel7.SizeF = new System.Drawing.SizeF(1243.804F, 52.22913F); this.xrLabel7.StylePriority.UseBackColor = false; this.xrLabel7.StylePriority.UseBorderColor = false; this.xrLabel7.StylePriority.UseBorders = false; this.xrLabel7.StylePriority.UseFont = false; this.xrLabel7.StylePriority.UsePadding = false; this.xrLabel7.StylePriority.UseTextAlignment = false; this.xrLabel7.Text = "xrLabel4"; this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel4 // this.xrLabel4.BackColor = System.Drawing.Color.White; this.xrLabel4.BorderColor = System.Drawing.Color.Black; this.xrLabel4.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span") }); this.xrLabel4.Dpi = 254F; this.xrLabel4.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(1243.804F, 0F); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel4.SizeF = new System.Drawing.SizeF(527.1958F, 52.22913F); this.xrLabel4.StylePriority.UseBackColor = false; this.xrLabel4.StylePriority.UseBorderColor = false; this.xrLabel4.StylePriority.UseBorderDashStyle = false; this.xrLabel4.StylePriority.UseBorders = false; this.xrLabel4.StylePriority.UseFont = false; this.xrLabel4.StylePriority.UseForeColor = false; this.xrLabel4.StylePriority.UsePadding = false; this.xrLabel4.StylePriority.UseTextAlignment = false; xrSummary1.FormatString = "{0:}"; xrSummary1.Func = DevExpress.XtraReports.UI.SummaryFunc.Custom; xrSummary1.IgnoreNullValues = true; xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group; this.xrLabel4.Summary = xrSummary1; this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrLabel4.WordWrap = false; this.xrLabel4.SummaryGetResult += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel4_SummaryGetResult); this.xrLabel4.SummaryReset += new System.EventHandler(this.xrLabel4_SummaryReset); this.xrLabel4.SummaryRowChanged += new System.EventHandler(this.xrLabel4_SummaryRowChanged); // // ReportDetailBandStyle // this.ReportDetailBandStyle.BackColor = System.Drawing.Color.Transparent; this.ReportDetailBandStyle.Name = "ReportDetailBandStyle"; this.ReportDetailBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportDetailBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ReportOddStyle // this.ReportOddStyle.BackColor = System.Drawing.Color.Transparent; this.ReportOddStyle.Name = "ReportOddStyle"; this.ReportOddStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportOddStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ReportFooterBandStyle // this.ReportFooterBandStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.ReportFooterBandStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))); this.ReportFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.ReportFooterBandStyle.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold); this.ReportFooterBandStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.ReportFooterBandStyle.Name = "ReportFooterBandStyle"; this.ReportFooterBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportFooterBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // bottomMarginBand1 // this.bottomMarginBand1.Dpi = 254F; this.bottomMarginBand1.HeightF = 254F; this.bottomMarginBand1.Name = "bottomMarginBand1"; // // topMarginBand1 // this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2 }); this.topMarginBand1.Dpi = 254F; this.topMarginBand1.HeightF = 323F; this.topMarginBand1.Name = "topMarginBand1"; // // pageHeaderBand1 // this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel1, this.xrLabel3 }); this.pageHeaderBand1.Dpi = 254F; this.pageHeaderBand1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.pageHeaderBand1.HeightF = 74.58331F; this.pageHeaderBand1.Name = "pageHeaderBand1"; this.pageHeaderBand1.StyleName = "ReportHeaderBandStyle"; this.pageHeaderBand1.StylePriority.UseFont = false; // // xrLabel1 // this.xrLabel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251))))); this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel1.Dpi = 254F; this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel1.SizeF = new System.Drawing.SizeF(1243.804F, 74.58331F); this.xrLabel1.StylePriority.UseBackColor = false; this.xrLabel1.StylePriority.UseBorders = false; this.xrLabel1.StylePriority.UseFont = false; this.xrLabel1.StylePriority.UsePadding = false; this.xrLabel1.StylePriority.UseTextAlignment = false; this.xrLabel1.Text = "Вид работы"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrLabel1.WordWrap = false; // // xrLabel3 // this.xrLabel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(149)))), ((int)(((byte)(218)))), ((int)(((byte)(251))))); this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel3.Dpi = 254F; this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(1243.804F, 0F); this.xrLabel3.Multiline = true; this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel3.SizeF = new System.Drawing.SizeF(527.1958F, 74.58331F); this.xrLabel3.StylePriority.UseBackColor = false; this.xrLabel3.StylePriority.UseBorders = false; this.xrLabel3.StylePriority.UsePadding = false; this.xrLabel3.StylePriority.UseTextAlignment = false; this.xrLabel3.Text = "Время"; this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // detailBand1 // this.detailBand1.Dpi = 254F; this.detailBand1.EvenStyleName = "ReportEvenStyle"; this.detailBand1.HeightF = 0F; this.detailBand1.LockedInUserDesigner = true; this.detailBand1.Name = "detailBand1"; this.detailBand1.OddStyleName = "ReportOddStyle"; this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { new DevExpress.XtraReports.UI.GroupField("time_span", DevExpress.XtraReports.UI.XRColumnSortOrder.None) }); this.detailBand1.StyleName = "ReportDetailBandStyle"; // // ReportGroupHeaderBandStyle // this.ReportGroupHeaderBandStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206))))); this.ReportGroupHeaderBandStyle.Name = "ReportGroupHeaderBandStyle"; this.ReportGroupHeaderBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 254F); this.ReportGroupHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ReportHeaderBandStyle // this.ReportHeaderBandStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206))))); this.ReportHeaderBandStyle.Name = "ReportHeaderBandStyle"; this.ReportHeaderBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportHeaderBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // groupHeaderBand1 // this.groupHeaderBand1.Dpi = 254F; this.groupHeaderBand1.Expanded = false; this.groupHeaderBand1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { new DevExpress.XtraReports.UI.GroupField("work", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending) }); this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail; this.groupHeaderBand1.HeightF = 0F; this.groupHeaderBand1.Name = "groupHeaderBand1"; this.groupHeaderBand1.StyleName = "ReportGroupHeaderBandStyle"; // // ReportGroupFooterBandStyle // this.ReportGroupFooterBandStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.ReportGroupFooterBandStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(191)))), ((int)(((byte)(255))))); this.ReportGroupFooterBandStyle.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.ReportGroupFooterBandStyle.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Bold); this.ReportGroupFooterBandStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.ReportGroupFooterBandStyle.Name = "ReportGroupFooterBandStyle"; this.ReportGroupFooterBandStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportGroupFooterBandStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ReportEvenStyle // this.ReportEvenStyle.BackColor = System.Drawing.Color.Transparent; this.ReportEvenStyle.Name = "ReportEvenStyle"; this.ReportEvenStyle.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 254F); this.ReportEvenStyle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // totalBindingSource // this.totalBindingSource.DataMember = "total"; // // reportFooterBand1 // this.reportFooterBand1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.reportFooterBand1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.reportFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrChart1, this.xrLabel10, this.xrLabel6 }); this.reportFooterBand1.Dpi = 254F; this.reportFooterBand1.HeightF = 1651.213F; this.reportFooterBand1.Name = "reportFooterBand1"; this.reportFooterBand1.StyleName = "ReportFooterBandStyle"; this.reportFooterBand1.StylePriority.UseBackColor = false; this.reportFooterBand1.StylePriority.UseBorderColor = false; // // xrChart1 // this.xrChart1.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.xrChart1.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom; this.xrChart1.AppearanceNameSerializable = "Nature Colors"; this.xrChart1.AutoLayout = true; this.xrChart1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.xrChart1.BorderColor = System.Drawing.Color.Black; this.xrChart1.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None; simpleDiagram1.LabelsResolveOverlappingMinIndent = 5; this.xrChart1.Diagram = simpleDiagram1; this.xrChart1.Dpi = 254F; 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.Name = "Default Legend"; this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(4.037221E-05F, 66.14697F); this.xrChart1.Name = "xrChart1"; this.xrChart1.PaletteName = "Mixed"; rangeBarSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True; series1.Label = rangeBarSeriesLabel1; series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False; series1.LegendTextPattern = "{A}{VP:0.00%}"; series1.Name = "Ряд 1"; overlappedRangeBarSeriesView1.BarWidth = 0.5D; overlappedRangeBarSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True; overlappedRangeBarSeriesView1.ColorEach = true; overlappedRangeBarSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Hatch; series1.View = overlappedRangeBarSeriesView1; series1.Visible = false; pieSeriesLabel1.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True; pieSeriesLabel1.ResolveOverlappingMode = DevExpress.XtraCharts.ResolveOverlappingMode.Default; pieSeriesLabel1.TextPattern = "{A} {VP:0.00%}"; series2.Label = pieSeriesLabel1; series2.LegendName = "Default Legend"; series2.LegendTextPattern = "{A}"; series2.Name = "Ряд 2"; pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.False; pieSeriesView1.FillStyle.FillMode = DevExpress.XtraCharts.FillMode.Solid; pieSeriesView1.Rotation = 270; pieSeriesView1.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Clockwise; series2.View = pieSeriesView1; this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2 }; this.xrChart1.SizeF = new System.Drawing.SizeF(1809F, 1585.066F); this.xrChart1.StylePriority.UseBorderDashStyle = false; // // xrLabel10 // this.xrLabel10.BackColor = System.Drawing.Color.White; this.xrLabel10.BorderColor = System.Drawing.Color.Black; this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrLabel10.Dpi = 254F; this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.0003229777F, 0F); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel10.SizeF = new System.Drawing.SizeF(1243.804F, 45.47914F); this.xrLabel10.StylePriority.UseBackColor = false; this.xrLabel10.StylePriority.UseBorderColor = false; this.xrLabel10.StylePriority.UseBorders = false; this.xrLabel10.StylePriority.UseFont = false; this.xrLabel10.StylePriority.UseTextAlignment = false; this.xrLabel10.Text = "Итого:"; this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel6 // this.xrLabel6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(224)))), ((int)(((byte)(192))))); this.xrLabel6.BorderColor = System.Drawing.Color.Red; this.xrLabel6.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; this.xrLabel6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "time_span") }); this.xrLabel6.Dpi = 254F; this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.xrLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(1243.804F, 0F); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel6.SizeF = new System.Drawing.SizeF(527.1958F, 45.47914F); this.xrLabel6.StylePriority.UseBackColor = false; this.xrLabel6.StylePriority.UseBorderColor = false; this.xrLabel6.StylePriority.UseBorderDashStyle = false; this.xrLabel6.StylePriority.UseBorders = false; this.xrLabel6.StylePriority.UseFont = false; this.xrLabel6.StylePriority.UseForeColor = false; this.xrLabel6.StylePriority.UsePadding = false; this.xrLabel6.StylePriority.UseTextAlignment = false; xrSummary2.FormatString = "{0:HH:mm}"; xrSummary2.IgnoreNullValues = true; xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; this.xrLabel6.Summary = xrSummary2; this.xrLabel6.Text = "xrLabel6"; this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrLabel6.WordWrap = false; this.xrLabel6.XlsxFormatString = "[h]:mm"; this.xrLabel6.SummaryGetResult += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrLabel6_SummaryGetResult); this.xrLabel6.SummaryRowChanged += new System.EventHandler(this.xrLabel6_SummaryRowChanged); // // xrLabel2 // this.xrLabel2.Dpi = 254F; this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 16F); this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 109.455F); this.xrLabel2.Multiline = true; this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 254F); this.xrLabel2.SizeF = new System.Drawing.SizeF(1809F, 213.3366F); this.xrLabel2.StylePriority.UseFont = false; this.xrLabel2.StylePriority.UseTextAlignment = false; this.xrLabel2.Text = "Отчет по видам работ c "; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // month // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.topMarginBand1, this.pageHeaderBand1, this.groupHeaderBand1, this.detailBand1, this.groupFooterBand1, this.reportFooterBand1, this.bottomMarginBand1 }); this.Dpi = 254F; this.Margins = new System.Drawing.Printing.Margins(201, 87, 323, 254); this.PageHeight = 2970; this.PageWidth = 2100; this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.ReportUnit = DevExpress.XtraReports.UI.ReportUnit.TenthsOfAMillimeter; this.SnapGridSize = 25F; this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { this.ReportHeaderBandStyle, this.ReportGroupHeaderBandStyle, this.ReportDetailBandStyle, this.ReportGroupFooterBandStyle, this.ReportFooterBandStyle, this.ReportOddStyle, this.ReportEvenStyle }); this.Version = "18.1"; ((System.ComponentModel.ISupportInitialize)(this.totalBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(rangeBarSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(overlappedRangeBarSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblPackageActivation = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblPackageBalance = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblDaysToExpiry = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblRemainingClasses = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblBirthdayGreet = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMemberName = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMembershipID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel7, this.xrLabel6, this.xrlblPackageActivation, this.xrlblPackageBalance, this.xrlblDaysToExpiry, this.xrlblRemainingClasses, this.xrlblBirthdayGreet, this.xrLabel5, this.xrlblMemberName, this.xrlblMembershipID, this.xrLabel3, this.xrLabel2 }); this.Detail.Height = 294; this.Detail.Name = "Detail"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel7.Location = new System.Drawing.Point(8, 138); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(138, 24); this.xrLabel7.Text = "Outstanding Balance:"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(8, 106); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(123, 25); this.xrLabel6.Text = "Remaining Classes:"; // // xrlblPackageActivation // this.xrlblPackageActivation.Location = new System.Drawing.Point(10, 173); this.xrlblPackageActivation.Name = "xrlblPackageActivation"; this.xrlblPackageActivation.Size = new System.Drawing.Size(280, 23); // // xrlblPackageBalance // this.xrlblPackageBalance.Location = new System.Drawing.Point(150, 138); this.xrlblPackageBalance.Name = "xrlblPackageBalance"; this.xrlblPackageBalance.Size = new System.Drawing.Size(150, 23); // // xrlblDaysToExpiry // this.xrlblDaysToExpiry.Location = new System.Drawing.Point(150, 75); this.xrlblDaysToExpiry.Name = "xrlblDaysToExpiry"; this.xrlblDaysToExpiry.Size = new System.Drawing.Size(150, 23); // // xrlblRemainingClasses // this.xrlblRemainingClasses.Location = new System.Drawing.Point(150, 106); this.xrlblRemainingClasses.Name = "xrlblRemainingClasses"; this.xrlblRemainingClasses.Size = new System.Drawing.Size(150, 23); // // xrlblBirthdayGreet // this.xrlblBirthdayGreet.Location = new System.Drawing.Point(10, 200); this.xrlblBirthdayGreet.Name = "xrlblBirthdayGreet"; this.xrlblBirthdayGreet.Size = new System.Drawing.Size(280, 23); // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel5.Location = new System.Drawing.Point(8, 75); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(123, 25); this.xrLabel5.Text = "Expiry Date:"; // // xrlblMemberName // this.xrlblMemberName.Location = new System.Drawing.Point(150, 40); this.xrlblMemberName.Name = "xrlblMemberName"; this.xrlblMemberName.Size = new System.Drawing.Size(150, 23); // // xrlblMembershipID // this.xrlblMembershipID.Location = new System.Drawing.Point(150, 6); this.xrlblMembershipID.Name = "xrlblMembershipID"; this.xrlblMembershipID.Size = new System.Drawing.Size(150, 23); // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel3.Location = new System.Drawing.Point(8, 40); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(123, 25); this.xrLabel3.Text = "Member Name:"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel2.Location = new System.Drawing.Point(8, 6); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(123, 25); this.xrLabel2.Text = "Membership ID:"; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 28; this.PageFooter.Name = "PageFooter"; // // ReportClassAttendanceReminder // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter }); this.Margins = new System.Drawing.Printing.Margins(100, 424, 100, 100); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); 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.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.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel11, this.xrLabel10, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrLabel6, this.xrLabel5, this.xrLabel4, this.xrLabel3, this.xrLabel2, this.xrLabel1 }); this.Detail.Height = 328; this.Detail.Name = "Detail"; // // xrLabel11 // this.xrLabel11.Location = new System.Drawing.Point(175, 183); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.ParentStyleUsing.UseBorders = false; this.xrLabel11.Size = new System.Drawing.Size(442, 142); this.xrLabel11.Text = "xrLabel10"; // // xrLabel10 // this.xrLabel10.Location = new System.Drawing.Point(175, 150); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseBorders = false; this.xrLabel10.Size = new System.Drawing.Size(442, 25); this.xrLabel10.Text = "xrLabel10"; // // xrLabel9 // this.xrLabel9.Location = new System.Drawing.Point(175, 117); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseBorders = false; this.xrLabel9.Size = new System.Drawing.Size(442, 25); this.xrLabel9.Text = "xrLabel9"; // // xrLabel8 // this.xrLabel8.Location = new System.Drawing.Point(175, 83); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseBorders = false; this.xrLabel8.Size = new System.Drawing.Size(233, 25); this.xrLabel8.Text = "xrLabel8"; // // xrLabel7 // this.xrLabel7.Location = new System.Drawing.Point(175, 50); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseBorders = false; this.xrLabel7.Size = new System.Drawing.Size(233, 25); xrSummary1.FormatString = "{0:dd/MM/yyyy hh:mm:ss tt}"; this.xrLabel7.Summary = xrSummary1; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel6.Location = new System.Drawing.Point(58, 183); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(100, 25); this.xrLabel6.Text = "Message"; // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel5.Location = new System.Drawing.Point(58, 150); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(100, 25); this.xrLabel5.Text = "Recipient"; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel4.Location = new System.Drawing.Point(58, 117); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(100, 25); this.xrLabel4.Text = "Subject"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel3.Location = new System.Drawing.Point(58, 83); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(100, 25); this.xrLabel3.Text = "Author"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel2.Location = new System.Drawing.Point(58, 50); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "Date Time"; // // xrLabel1 // this.xrLabel1.BackColor = System.Drawing.SystemColors.Control; this.xrLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel1.Location = new System.Drawing.Point(25, 8); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseBackColor = false; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(617, 25); this.xrLabel1.Text = "Bulletin"; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 3; this.PageFooter.Name = "PageFooter"; // // rptBulletin // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter }); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2, this.xrLabel1 }); this.Detail.Height = 21; this.Detail.Name = "Detail"; // // PageHeader // this.PageHeader.Height = 30; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 30; this.PageFooter.Name = "PageFooter"; // // xrLabel1 // this.xrLabel1.Location = new System.Drawing.Point(67, 0); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Size = new System.Drawing.Size(100, 20); this.xrLabel1.Text = "xrLabel1"; // // xrLabel2 // this.xrLabel2.Location = new System.Drawing.Point(207, 0); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(100, 20); this.xrLabel2.Text = "xrLabel2"; // // GroupHeader1 // this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel3, this.xrLabel4 }); this.GroupHeader1.Height = 20; this.GroupHeader1.Name = "GroupHeader1"; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel4.Location = new System.Drawing.Point(207, 0); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(100, 20); this.xrLabel4.Text = "xrLabel4"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel3.Location = new System.Drawing.Point(67, 0); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(100, 20); this.xrLabel3.Text = "xrLabel3"; // // XtraReport1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.GroupHeader1 }); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblPackageCode = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblExpiryDate = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblBalance = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblPackageID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMemberName = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMembershipID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel10, this.xrlblPackageCode, this.xrlblExpiryDate, this.xrLabel7, this.xrLabel6, this.xrlblBalance, this.xrlblPackageID, this.xrLabel1, this.xrLabel3, this.xrlblMemberName, this.xrlblMembershipID, this.xrLabel2}); this.Detail.Height = 193; this.Detail.Name = "Detail"; // // xrLabel10 // this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel10.Location = new System.Drawing.Point(17, 92); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseFont = false; this.xrLabel10.Size = new System.Drawing.Size(123, 25); this.xrLabel10.Text = "Credit Package:"; // // xrlblPackageCode // this.xrlblPackageCode.Location = new System.Drawing.Point(158, 92); this.xrlblPackageCode.Name = "xrlblPackageCode"; this.xrlblPackageCode.Size = new System.Drawing.Size(150, 23); // // xrlblExpiryDate // this.xrlblExpiryDate.Location = new System.Drawing.Point(158, 150); this.xrlblExpiryDate.Name = "xrlblExpiryDate"; this.xrlblExpiryDate.Size = new System.Drawing.Size(150, 23); // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel7.Location = new System.Drawing.Point(17, 150); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(123, 25); this.xrLabel7.Text = "Expiry Date:"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(17, 121); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(123, 25); this.xrLabel6.Text = "Balance:"; // // xrlblBalance // this.xrlblBalance.Location = new System.Drawing.Point(158, 121); this.xrlblBalance.Name = "xrlblBalance"; this.xrlblBalance.Size = new System.Drawing.Size(150, 23); // // xrlblPackageID // this.xrlblPackageID.Location = new System.Drawing.Point(158, 62); this.xrlblPackageID.Name = "xrlblPackageID"; this.xrlblPackageID.Size = new System.Drawing.Size(150, 23); // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(17, 62); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(123, 25); this.xrLabel1.Text = "Cr Package ID:"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel3.Location = new System.Drawing.Point(17, 33); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(123, 25); this.xrLabel3.Text = "Member Name:"; // // xrlblMemberName // this.xrlblMemberName.Location = new System.Drawing.Point(158, 33); this.xrlblMemberName.Name = "xrlblMemberName"; this.xrlblMemberName.Size = new System.Drawing.Size(150, 23); this.xrlblMemberName.Text = "xrlblMemberName"; // // xrlblMembershipID // this.xrlblMembershipID.Location = new System.Drawing.Point(158, 4); this.xrlblMembershipID.Name = "xrlblMembershipID"; this.xrlblMembershipID.Size = new System.Drawing.Size(150, 23); this.xrlblMembershipID.Text = "xrlblMembershipID"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel2.Location = new System.Drawing.Point(17, 4); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(123, 25); this.xrLabel2.Text = "Membership ID:"; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 0; this.PageFooter.Name = "PageFooter"; // // MemberPackageExpiryReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter}); this.Margins = new System.Drawing.Printing.Margins(10, 10, 10, 10); this.PageHeight = 500; this.PageWidth = 350; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
private void set_signed_barcode_byid(XtraReport rpt, string orderNo, string id, string httpPath, string filename) { QR q = new QR(); Wilson.ORMapper.OPathQuery query = new Wilson.ORMapper.OPathQuery(typeof(C2.CtmJobDet2), "Id=" + id + ""); C2.CtmJobDet2 job = C2.Manager.ORManager.GetObject(query) as C2.CtmJobDet2; //string text = string.Format(@"JobNo:" + orderNo); Bitmap bt = q.Create_QR(httpPath); string path = MapPath("~/files/barcode/"); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } string fileName = id + ".png"; string filePath = path + fileName; if (File.Exists(filePath)) { File.Delete(filePath); } bt.Save(Server.MapPath("~/files/barcode/") + fileName); DevExpress.XtraReports.UI.XRPictureBox qr_code = rpt.Report.FindControl("barcode", true) as DevExpress.XtraReports.UI.XRPictureBox; if (qr_code != null) { qr_code.ImageUrl = "/files/barcode/" + fileName; } string Signature_Consignee = ""; string Signature_Driver = ""; string signature_time = ""; string signature_time1 = ""; string sql_signature = string.Format(@"select Id,FileType,FileName,FilePath,FileNote,CreateDateTime From CTM_Attachment where FileType='Signature' and RefNo=@RefNo and charindex(@sType, FileNote,0)>0 and TripId=@tripId"); List <ConnectSql_mb.cmdParameters> list = new List <ConnectSql_mb.cmdParameters>(); list.Add(new ConnectSql_mb.cmdParameters("@RefNo", orderNo, SqlDbType.NVarChar, 100)); list.Add(new ConnectSql_mb.cmdParameters("@sType", "Consignee", SqlDbType.NVarChar, 100)); list.Add(new ConnectSql_mb.cmdParameters("@tripId", id, SqlDbType.Int)); DataTable dt = ConnectSql_mb.GetDataTable(sql_signature, list); if (dt.Rows.Count > 0) { if (job.EpodHardCopy == "HardCopy") { Signature_Consignee = dt.Rows[0]["FilePath"].ToString().Replace(@"/500", ""); } else { Signature_Consignee = dt.Rows[0]["FilePath"].ToString(); } signature_time = dt.Rows[0]["CreateDateTime"].ToString(); } list = new List <ConnectSql_mb.cmdParameters>(); list.Add(new ConnectSql_mb.cmdParameters("@RefNo", orderNo, SqlDbType.NVarChar, 100)); list.Add(new ConnectSql_mb.cmdParameters("@sType", "Driver", SqlDbType.NVarChar, 100)); list.Add(new ConnectSql_mb.cmdParameters("@tripId", id, SqlDbType.Int)); dt = ConnectSql_mb.GetDataTable(sql_signature, list); if (dt.Rows.Count > 0) { Signature_Driver = dt.Rows[0]["FilePath"].ToString(); signature_time1 = dt.Rows[0]["CreateDateTime"].ToString(); } DevExpress.XtraReports.UI.XRPictureBox signature = rpt.Report.FindControl("signature", true) as DevExpress.XtraReports.UI.XRPictureBox; if (signature != null) { signature.ImageUrl = Signature_Consignee; } DevExpress.XtraReports.UI.XRLabel time = rpt.Report.FindControl("lbl_time", true) as DevExpress.XtraReports.UI.XRLabel; if (time != null) { time.Text = signature_time; } DevExpress.XtraReports.UI.XRPictureBox signature1 = rpt.Report.FindControl("signature1", true) as DevExpress.XtraReports.UI.XRPictureBox; if (signature1 != null) { signature1.ImageUrl = Signature_Driver; } DevExpress.XtraReports.UI.XRLabel time1 = rpt.Report.FindControl("lbl_time1", true) as DevExpress.XtraReports.UI.XRLabel; if (time1 != null) { time1.Text = signature_time1; } }
/// <summary> /// AddQuestCtrl /// </summary> void AddQuestCtrl(EntityQnRecord qnRecord) { try { if (qnRecord != null) { if (!string.IsNullOrEmpty(qnRecord.xmlData)) { XmlDocument document = new XmlDocument(); document.LoadXml(qnRecord.xmlData); XmlNodeList list = document["FormData"].ChildNodes; xmlData = list[1].OuterXml; dicData = Function.ReadXML(xmlData); } } using (Biz202 biz = new Biz202()) { lstCtrlLocation = biz.GetQnCtrlLocation(lstQuest[1]); } using (Biz209 biz = new Biz209()) { lstTopic = new List <EntityDicQnSetting>(); lstItems = new List <EntityDicQnSetting>(); biz.GetQnCustom(1, out lstTopic, out lstItems); } int locationX = 0; int locationY = 0; int F35Count = 0; int F35Row = (lstTopic.FindAll(r => r.fieldId.Contains("F035")).Count) / 6; int F35Y = 0; List <EntityDicQnSetting> lstChildSettings = new List <EntityDicQnSetting>(); if (lstTopic != null && lstTopic.Count > 0) { for (int i = 0; i < lstTopic.Count; i++) { EntityDicQnSetting item = lstTopic[i]; if (item.questName == lstQuest[1]) { if (item.fieldId.Contains("F035")) { DevExpress.XtraReports.UI.XRCheckBox chkAns = new DevExpress.XtraReports.UI.XRCheckBox(); chkAns.Text = item.fieldName; chkAns.Font = new System.Drawing.Font("宋体", 9.5F); chkAns.Name = item.fieldId; EntityCtrlLocation ctrLocat = lstCtrlLocation.FindAll(r => r.name.Contains("F035"))[F35Count]; locationX = ctrLocat.locationX; locationY = ctrLocat.locationY; F35Y += locationY; chkAns.Width = ctrLocat.width; chkAns.Height = ctrLocat.height; chkAns.Location = new System.Drawing.Point(locationX, locationY); if (dicData.ContainsKey(item.fieldId)) { string value = dicData[item.fieldId]; chkAns.Checked = value == "0" ? false : true; } this.Detail.Controls.Add(chkAns); F35Count++; } } } F35Y -= 80; for (int i2 = 0; i2 < lstTopic.Count; i2++) { EntityDicQnSetting itemVo = lstTopic[i2]; if (itemVo.questName == lstQuest[1]) { if (string.IsNullOrEmpty(itemVo.parentFieldId) && !itemVo.fieldId.Contains("F035")) { DevExpress.XtraReports.UI.XRLabel lblTopic = new DevExpress.XtraReports.UI.XRLabel(); lblTopic.Name = itemVo.fieldId; lblTopic.Text = itemVo.fieldName; lblTopic.Font = new System.Drawing.Font("宋体", 9.5F); EntityCtrlLocation ctrLocat = lstCtrlLocation.Find(r => r.name == itemVo.fieldId); locationX = ctrLocat.locationX; locationY = ctrLocat.locationY - F35Y; lblTopic.Location = new System.Drawing.Point(locationX, locationY); this.Detail.Controls.Add(lblTopic); lstChildSettings = lstTopic.FindAll(r => r.parentFieldId == itemVo.fieldId); if (lstChildSettings.Count > 0) { foreach (var childVo in lstChildSettings) { DevExpress.XtraReports.UI.XRCheckBox chkAns = new DevExpress.XtraReports.UI.XRCheckBox(); string strEndWith = childVo.fieldId.Substring(4, 2); chkAns.Text = childVo.fieldName; chkAns.Font = new System.Drawing.Font("宋体", 9.5F); chkAns.Name = childVo.fieldId; EntityCtrlLocation ctrLocatChild = lstCtrlLocation.Find(r => r.name == childVo.fieldId); locationX = ctrLocatChild.locationX; locationY = ctrLocatChild.locationY - F35Y; chkAns.Width = ctrLocatChild.width; chkAns.Height = ctrLocatChild.height; chkAns.Location = new System.Drawing.Point(locationX, locationY); if (dicData.ContainsKey(childVo.fieldId)) { string value = dicData[childVo.fieldId]; chkAns.Checked = value == "0" ? false : true; } this.Detail.Controls.Add(chkAns); } } } } } } if (lstCtrlLocation != null && lstCtrlLocation.Count > 0) { foreach (var clVo in lstCtrlLocation) { DevExpress.XtraReports.UI.XRLabel lblTopic = new DevExpress.XtraReports.UI.XRLabel(); lblTopic.Name = clVo.name; lblTopic.Text = clVo.text; lblTopic.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Bold); locationX = clVo.locationX; if (clVo.name == "FM0201") { locationY = clVo.locationY; } else if (clVo.name.Contains("FM")) { locationY = clVo.locationY - F35Y; } else { continue; } lblTopic.Location = new System.Drawing.Point(locationX, locationY); this.Detail.Controls.Add(lblTopic); } } } catch (Exception ex) { ExceptionLog.OutPutException(ex); } finally { } }
/// <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(); 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(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.fAmount = new DevExpress.XtraReports.UI.XRLabel(); this.fPaymentMode = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.fTime = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.fTitle = new DevExpress.XtraReports.UI.XRLabel(); this.fDate = new DevExpress.XtraReports.UI.XRLabel(); this.fBranch = new DevExpress.XtraReports.UI.XRLabel(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); this.fClosingStaff = new DevExpress.XtraReports.UI.XRLabel(); this.fLCKBalance = new DevExpress.XtraReports.UI.XRLabel(); this.fMWBalance = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.fVerifyStaff = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fAmount, this.fPaymentMode }); this.Detail.Height = 20; this.Detail.Name = "Detail"; // // fAmount // this.fAmount.Font = new System.Drawing.Font("Arial", 8F); this.fAmount.Location = new System.Drawing.Point(197, 0); this.fAmount.Name = "fAmount"; this.fAmount.ParentStyleUsing.UseFont = false; this.fAmount.Size = new System.Drawing.Size(83, 17); xrSummary1.FormatString = "{0:$0.00}"; this.fAmount.Summary = xrSummary1; this.fAmount.Text = "xrLabel1"; this.fAmount.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fPaymentMode // this.fPaymentMode.Font = new System.Drawing.Font("Arial", 8F); this.fPaymentMode.Location = new System.Drawing.Point(22, 0); this.fPaymentMode.Name = "fPaymentMode"; this.fPaymentMode.ParentStyleUsing.UseFont = false; this.fPaymentMode.Size = new System.Drawing.Size(175, 17); this.fPaymentMode.Text = "fPaymentMode"; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 0; this.PageFooter.Name = "PageFooter"; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fTime, this.xrLabel6, this.xrLabel1, this.xrLabel7, this.fTitle, this.fDate, this.fBranch }); this.ReportHeader.Height = 77; this.ReportHeader.Name = "ReportHeader"; this.ReportHeader.ParentStyleUsing.UseFont = false; // // fTime // this.fTime.Font = new System.Drawing.Font("Arial", 8F); this.fTime.Location = new System.Drawing.Point(181, 42); this.fTime.Name = "fTime"; this.fTime.ParentStyleUsing.UseFont = false; this.fTime.Size = new System.Drawing.Size(61, 17); xrSummary2.FormatString = "{0:hh:mm tt}"; this.fTime.Summary = xrSummary2; this.fTime.Text = "09:00 AM"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel6.Location = new System.Drawing.Point(11, 25); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(234, 17); this.xrLabel6.Text = "SHIFT SETTLEMENT REPORT"; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel1.Location = new System.Drawing.Point(138, 42); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(42, 17); this.xrLabel1.Text = "TIME:"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel7.Location = new System.Drawing.Point(11, 42); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(42, 17); this.xrLabel7.Text = "DATE :"; // // fTitle // this.fTitle.Font = new System.Drawing.Font("Arial", 8F); this.fTitle.Location = new System.Drawing.Point(11, 58); this.fTitle.Name = "fTitle"; this.fTitle.ParentStyleUsing.UseFont = false; this.fTitle.Size = new System.Drawing.Size(234, 17); this.fTitle.Text = "SHIFT 1. T1 REPORT"; // // fDate // this.fDate.Font = new System.Drawing.Font("Arial", 8F); this.fDate.Location = new System.Drawing.Point(54, 42); this.fDate.Name = "fDate"; this.fDate.ParentStyleUsing.UseFont = false; this.fDate.Size = new System.Drawing.Size(83, 17); xrSummary3.FormatString = "{0:dd/MM/yyyy}"; this.fDate.Summary = xrSummary3; this.fDate.Text = "11/02/2006"; // // fBranch // this.fBranch.Font = new System.Drawing.Font("Arial", 8F); this.fBranch.Location = new System.Drawing.Point(12, 8); this.fBranch.Name = "fBranch"; this.fBranch.ParentStyleUsing.UseFont = false; this.fBranch.Size = new System.Drawing.Size(234, 17); this.fBranch.Text = "AMORE FITNESS BRANCH HQ"; // // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fClosingStaff, this.fLCKBalance, this.fMWBalance, this.xrLabel4, this.xrLabel2, this.xrLabel3, this.xrLabel5, this.fVerifyStaff, this.xrLine2, this.xrLine1 }); this.ReportFooter.Height = 229; this.ReportFooter.Name = "ReportFooter"; // // fClosingStaff // this.fClosingStaff.Font = new System.Drawing.Font("Arial", 8F); this.fClosingStaff.Location = new System.Drawing.Point(14, 125); this.fClosingStaff.Name = "fClosingStaff"; this.fClosingStaff.ParentStyleUsing.UseFont = false; this.fClosingStaff.Size = new System.Drawing.Size(275, 17); this.fClosingStaff.Text = "xxxxxx"; // // fLCKBalance // this.fLCKBalance.Font = new System.Drawing.Font("Arial", 8F); this.fLCKBalance.Location = new System.Drawing.Point(197, 25); this.fLCKBalance.Name = "fLCKBalance"; this.fLCKBalance.ParentStyleUsing.UseFont = false; this.fLCKBalance.Size = new System.Drawing.Size(58, 17); xrSummary4.FormatString = "{0:$0.00}"; this.fLCKBalance.Summary = xrSummary4; this.fLCKBalance.Text = "0"; this.fLCKBalance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fMWBalance // this.fMWBalance.Font = new System.Drawing.Font("Arial", 8F); this.fMWBalance.Location = new System.Drawing.Point(197, 8); this.fMWBalance.Name = "fMWBalance"; this.fMWBalance.ParentStyleUsing.UseFont = false; this.fMWBalance.Size = new System.Drawing.Size(58, 17); xrSummary5.FormatString = "{0:$0.00}"; this.fMWBalance.Summary = xrSummary5; this.fMWBalance.Text = "0"; this.fMWBalance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel4.Location = new System.Drawing.Point(14, 25); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(184, 17); this.xrLabel4.Text = "BALANCE OF LOCKER"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel2.Location = new System.Drawing.Point(14, 8); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(184, 17); this.xrLabel2.Text = "BALANCE OF MINERAL WATER"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel3.Location = new System.Drawing.Point(14, 108); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(175, 17); this.xrLabel3.Text = "MONEY DEPOSITED BY"; // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel5.Location = new System.Drawing.Point(14, 192); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(175, 17); this.xrLabel5.Text = "VERIFIED BY"; // // fVerifyStaff // this.fVerifyStaff.Font = new System.Drawing.Font("Arial", 8F); this.fVerifyStaff.Location = new System.Drawing.Point(14, 208); this.fVerifyStaff.Name = "fVerifyStaff"; this.fVerifyStaff.ParentStyleUsing.UseFont = false; this.fVerifyStaff.Size = new System.Drawing.Size(275, 17); this.fVerifyStaff.Text = "XXX"; // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(14, 183); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(175, 8); // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(14, 92); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(175, 8); // // rptShiftSettlement // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.ReportHeader, this.ReportFooter }); this.Margins = new System.Drawing.Printing.Margins(0, 10, 10, 10); this.PageHeight = 1169; this.PageWidth = 310; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrControl1 = new DevExpress.XtraReports.UI.XRControl(); 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.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrControl1, this.xrLabel3, this.xrLabel2, this.xrLabel1 }); this.Detail.Name = "Detail"; // // xrControl1 // this.xrControl1.Borders = DevExpress.XtraPrinting.BorderSide.All; this.xrControl1.Location = new System.Drawing.Point(550, 8); this.xrControl1.Name = "xrControl1"; this.xrControl1.ParentStyleUsing.UseBorders = false; this.xrControl1.Size = new System.Drawing.Size(100, 25); // // xrLabel3 // this.xrLabel3.Location = new System.Drawing.Point(408, 33); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Size = new System.Drawing.Size(100, 25); this.xrLabel3.Text = "xrLabel3"; // // xrLabel2 // this.xrLabel2.Location = new System.Drawing.Point(267, 50); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "xrLabel2"; // // xrLabel1 // this.xrLabel1.Location = new System.Drawing.Point(150, 17); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Size = new System.Drawing.Size(100, 25); this.xrLabel1.Text = "xrLabel1"; // // PageHeader // this.PageHeader.Height = 30; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 30; this.PageFooter.Name = "PageFooter"; // // XtraReport1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter }); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraPrinting.BarCode.Code128Generator code128Generator1 = new DevExpress.XtraPrinting.BarCode.Code128Generator(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrBarCode2 = new DevExpress.XtraReports.UI.XRBarCode(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.BackColor = System.Drawing.Color.Transparent; this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPictureBox2, this.xrBarCode2, this.xrLabel3, this.xrLabel2, this.xrPictureBox1, this.xrLabel1 }); this.Detail.Height = 349; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBand; this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrPictureBox2 // this.xrPictureBox2.Location = new System.Drawing.Point(248, 27); this.xrPictureBox2.Name = "xrPictureBox2"; this.xrPictureBox2.Size = new System.Drawing.Size(90, 30); // // xrBarCode2 // this.xrBarCode2.Alignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; this.xrBarCode2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "strMembershipID", "") }); this.xrBarCode2.Font = new System.Drawing.Font("Times New Roman", 8F); this.xrBarCode2.Location = new System.Drawing.Point(50, 227); this.xrBarCode2.Module = 1F; this.xrBarCode2.Name = "xrBarCode2"; this.xrBarCode2.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 100F); this.xrBarCode2.Size = new System.Drawing.Size(233, 42); this.xrBarCode2.Symbology = code128Generator1; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Verdana", 8.25F); this.xrLabel3.Location = new System.Drawing.Point(0, 142); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel3.Size = new System.Drawing.Size(17, 17); this.xrLabel3.Text = "."; this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "strCardName", "") }); this.xrLabel2.Font = new System.Drawing.Font("Arial", 9F); this.xrLabel2.Location = new System.Drawing.Point(11, 177); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel2.Size = new System.Drawing.Size(209, 19); this.xrLabel2.Text = "xrLabel2"; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrPictureBox1 // this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Image", null, "imgPhoto", "") }); this.xrPictureBox1.Location = new System.Drawing.Point(22, 19); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrPictureBox1.Size = new System.Drawing.Size(99, 119); this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage; // // xrLabel1 // this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "strMembershipID", "") }); this.xrLabel1.Font = new System.Drawing.Font("Verdana", 8.25F); this.xrLabel1.Location = new System.Drawing.Point(11, 162); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.Size = new System.Drawing.Size(209, 19); this.xrLabel1.Text = "xrLabel1"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // XtraReportMemberCard // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail }); this.Landscape = true; this.Margins = new System.Drawing.Printing.Margins(0, 0, 1, 0); this.PageHeight = 353; this.PageWidth = 214; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; this.PaperName = "CR-79"; this.Version = "8.3"; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMemberIDList = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblVerified = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblStanding = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblIntructor = 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.xrlblClassCode = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblClassTime = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblClassDate = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblBranchCode = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel3, this.xrlblMemberIDList, this.xrlblVerified, this.xrlblStanding, this.xrlblIntructor, this.xrLabel9, this.xrLabel8, this.xrLabel7, this.xrlblClassCode, this.xrlblClassTime, this.xrlblClassDate, this.xrlblBranchCode, this.xrLabel2, this.xrLabel1}); this.Detail.Height = 273; this.Detail.Name = "Detail"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel3.Location = new System.Drawing.Point(12, 146); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(326, 16); this.xrLabel3.Text = "PLEASE FILE ATTENDANCE FOR A WEEK"; // // xrlblMemberIDList // this.xrlblMemberIDList.CanShrink = true; this.xrlblMemberIDList.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrlblMemberIDList.KeepTogether = true; this.xrlblMemberIDList.Location = new System.Drawing.Point(12, 167); this.xrlblMemberIDList.Multiline = true; this.xrlblMemberIDList.Name = "xrlblMemberIDList"; this.xrlblMemberIDList.ParentStyleUsing.UseFont = false; this.xrlblMemberIDList.Size = new System.Drawing.Size(371, 87); this.xrlblMemberIDList.Text = "xrLabel3"; // // xrlblVerified // this.xrlblVerified.Font = new System.Drawing.Font("Arial", 8F); this.xrlblVerified.Location = new System.Drawing.Point(121, 112); this.xrlblVerified.Name = "xrlblVerified"; this.xrlblVerified.ParentStyleUsing.UseFont = false; this.xrlblVerified.Size = new System.Drawing.Size(262, 26); // // xrlblStanding // this.xrlblStanding.Font = new System.Drawing.Font("Arial", 8F); this.xrlblStanding.Location = new System.Drawing.Point(121, 88); this.xrlblStanding.Name = "xrlblStanding"; this.xrlblStanding.ParentStyleUsing.UseFont = false; this.xrlblStanding.Size = new System.Drawing.Size(262, 24); // // xrlblIntructor // this.xrlblIntructor.Font = new System.Drawing.Font("Arial", 8F); this.xrlblIntructor.Location = new System.Drawing.Point(121, 62); this.xrlblIntructor.Name = "xrlblIntructor"; this.xrlblIntructor.ParentStyleUsing.UseFont = false; this.xrlblIntructor.Size = new System.Drawing.Size(262, 26); // // xrLabel9 // this.xrLabel9.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel9.Location = new System.Drawing.Point(12, 112); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.ParentStyleUsing.UseFont = false; this.xrLabel9.Size = new System.Drawing.Size(100, 25); this.xrLabel9.Text = "VERIFIED BY:"; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel8.Location = new System.Drawing.Point(12, 88); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.ParentStyleUsing.UseFont = false; this.xrLabel8.Size = new System.Drawing.Size(100, 25); this.xrLabel8.Text = "STANDING:"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel7.Location = new System.Drawing.Point(12, 62); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(100, 25); this.xrLabel7.Text = "INSTRUCTOR: "; // // xrlblClassCode // this.xrlblClassCode.Font = new System.Drawing.Font("Arial", 8F); this.xrlblClassCode.Location = new System.Drawing.Point(288, 33); this.xrlblClassCode.Name = "xrlblClassCode"; this.xrlblClassCode.ParentStyleUsing.UseFont = false; this.xrlblClassCode.Size = new System.Drawing.Size(96, 26); // // xrlblClassTime // this.xrlblClassTime.Font = new System.Drawing.Font("Arial", 8F); this.xrlblClassTime.Location = new System.Drawing.Point(225, 33); this.xrlblClassTime.Name = "xrlblClassTime"; this.xrlblClassTime.ParentStyleUsing.UseFont = false; this.xrlblClassTime.Size = new System.Drawing.Size(59, 25); // // xrlblClassDate // this.xrlblClassDate.Font = new System.Drawing.Font("Arial", 8F); this.xrlblClassDate.Location = new System.Drawing.Point(150, 33); this.xrlblClassDate.Name = "xrlblClassDate"; this.xrlblClassDate.ParentStyleUsing.UseFont = false; this.xrlblClassDate.Size = new System.Drawing.Size(71, 25); // // xrlblBranchCode // this.xrlblBranchCode.Font = new System.Drawing.Font("Arial", 8F); this.xrlblBranchCode.Location = new System.Drawing.Point(92, 33); this.xrlblBranchCode.Name = "xrlblBranchCode"; this.xrlblBranchCode.ParentStyleUsing.UseFont = false; this.xrlblBranchCode.Size = new System.Drawing.Size(54, 25); // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.xrLabel2.Location = new System.Drawing.Point(12, 33); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(76, 25); this.xrLabel2.Text = "BRANCH: "; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(12, 4); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(371, 21); this.xrLabel1.Text = "CLASS ATTENDANCE"; // // ClassAttendanceReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail}); this.Margins = new System.Drawing.Printing.Margins(0, 21, 10, 10); this.PageHeight = 583; this.PageWidth = 405; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
private DevExpress.XtraReports.UI.XRTableCell GetCellStampEx(int left, int top, string tenDV) { DevExpress.XtraReports.UI.XRTableCell cell = new DevExpress.XtraReports.UI.XRTableCell(); cell.Location = new Point(left, top); cell.Size = new Size(this.widthStamp, this.heightStamp); cell.BorderColor = Color.Black; cell.Borders = DevExpress.XtraPrinting.BorderSide.All; cell.BorderWidth = this.borderStamp; int h = GetHeightPos(); int startleft = (this.widthStamp - this.widthBarcode) / 2; int starttop = (this.heightStamp - h) / 2; for (int i = 0; i < 4; i++) { if (this.pos[i] == StyleLabelBarcode.Unit) { DevExpress.XtraReports.UI.XRLabel lbUnit = new DevExpress.XtraReports.UI.XRLabel(); lbUnit.Text = tenDV; lbUnit.TextAlignment = this.alight[i]; lbUnit.Font = fontUnit; lbUnit.Location = new Point(startleft, starttop); lbUnit.Size = new Size(this.widthBarcode, this.heightUnit); lbUnit.BorderWidth = 0; starttop += heightUnit - delta; cell.Controls.Add(lbUnit); } else if (this.pos[i] == StyleLabelBarcode.Name) { DevExpress.XtraReports.UI.XRLabel lbName = new DevExpress.XtraReports.UI.XRLabel(); lbName.Text = "Tên sản phẩm"; lbName.TextAlignment = this.alight[i]; lbName.Font = fontName; lbName.BorderWidth = 0; lbName.Location = new Point(startleft, starttop); lbName.Size = new Size(this.widthBarcode, this.heightName); starttop += heightName - delta; cell.Controls.Add(lbName); } else if (this.pos[i] == StyleLabelBarcode.Barcode) { DevExpress.XtraReports.UI.XRBarCode bcode = new DevExpress.XtraReports.UI.XRBarCode(); bcode.Alignment = this.alight[i]; bcode.BorderWidth = 0; bcode.Location = new System.Drawing.Point(startleft, starttop); bcode.Module = this.moduleBarcode; bcode.Size = new System.Drawing.Size(this.widthBarcode, this.heightBarcode); bcode.Symbology = GetBCSymbology(this.symBC); if (this.symBC == BarCodeType.EAN13) bcode.Text = this.mauEAN13; else bcode.Text = this.mauKhac; bcode.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; starttop += this.heightBarcode - delta; cell.Controls.Add(bcode); } else if (this.pos[i] == StyleLabelBarcode.Price) { DevExpress.XtraReports.UI.XRLabel lbPrice = new DevExpress.XtraReports.UI.XRLabel(); lbPrice.Text = "Giá sản phẩm"; lbPrice.TextAlignment = this.alight[i]; lbPrice.Font = fontPrice; lbPrice.BorderWidth = 0; lbPrice.Location = new Point(startleft, starttop); lbPrice.Size = new Size(this.widthBarcode, this.heightPrice); starttop += heightPrice - delta; cell.Controls.Add(lbPrice); } } return cell; }
/// <summary> /// AddQuestCtrl /// </summary> void AddQuestCtrl(EntityQnRecord qnRecord) { try { if (qnRecord != null) { if (!string.IsNullOrEmpty(qnRecord.xmlData)) { XmlDocument document = new XmlDocument(); document.LoadXml(qnRecord.xmlData); XmlNodeList list = document["FormData"].ChildNodes; xmlData = list[9].OuterXml; dicData = Function.ReadXML(xmlData); } } using (ProxyHms proxy = new ProxyHms()) { lstCtrlLocation = proxy.Service.GetQnCtrlLocation(lstQuest[8], qnRecord.qnId); lstTopic = new List <EntityDicQnSetting>(); lstItems = new List <EntityDicQnSetting>(); proxy.Service.GetQnCustom(1, out lstTopic, out lstItems); } int locationX = 0; int locationY = 0; if (lstCtrlLocation != null && lstCtrlLocation.Count > 0) { foreach (var clVo in lstCtrlLocation) { if (clVo.name.Contains("FM")) { DevExpress.XtraReports.UI.XRLabel lblTopic = new DevExpress.XtraReports.UI.XRLabel(); lblTopic.Name = clVo.name; lblTopic.Text = clVo.text; if (clVo.name == "FM0902" || clVo.name == "FM0903") { lblTopic.Font = new System.Drawing.Font("宋体", 9.5F); lblTopic.ForeColor = System.Drawing.Color.Red; lblTopic.WidthF = clVo.width + 10; } else { lblTopic.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Bold); } locationX = clVo.locationX; locationY = clVo.locationY; lblTopic.WidthF = clVo.width; lblTopic.Location = new System.Drawing.Point(locationX, locationY); this.Detail.Controls.Add(lblTopic); } } } List <EntityDicQnSetting> lstChildSettings = new List <EntityDicQnSetting>(); if (lstTopic != null && lstTopic.Count > 0) { for (int i = 0; i < lstTopic.Count; i++) { EntityDicQnSetting item = lstTopic[i]; if (item.questName == lstQuest[8]) { if (string.IsNullOrEmpty(item.parentFieldId)) { DevExpress.XtraReports.UI.XRLabel lblTopic = new DevExpress.XtraReports.UI.XRLabel(); lblTopic.Name = item.fieldId; lblTopic.Text = item.fieldName; lblTopic.Font = new System.Drawing.Font("宋体", 9.5F); EntityCtrlLocation ctrLocat = lstCtrlLocation.Find(r => r.name == item.fieldId); locationX = ctrLocat.locationX; locationY = ctrLocat.locationY; lblTopic.WidthF = ctrLocat.width; //lblTopic.HeightF = ctrLocat.height; lblTopic.Location = new System.Drawing.Point(locationX, locationY); this.Detail.Controls.Add(lblTopic); lstChildSettings = lstTopic.FindAll(r => r.parentFieldId == item.fieldId); if (lstChildSettings.Count > 0) { foreach (var childVo in lstChildSettings) { if (childVo.typeId != "3") { DevExpress.XtraReports.UI.XRCheckBox chkAns = new DevExpress.XtraReports.UI.XRCheckBox(); string strEndWith = childVo.fieldId.Substring(4, 2); chkAns.Text = childVo.fieldName; chkAns.Font = new System.Drawing.Font("宋体", 9.5F); chkAns.Name = childVo.fieldId; EntityCtrlLocation ctrLocatChild = lstCtrlLocation.Find(r => r.name == childVo.fieldId); locationX = ctrLocatChild.locationX; locationY = ctrLocatChild.locationY; chkAns.Width = ctrLocatChild.width; //chkAns.Height = ctrLocatChild.height; chkAns.Location = new System.Drawing.Point(locationX, locationY); if (dicData.ContainsKey(childVo.fieldId)) { string value = dicData[childVo.fieldId]; chkAns.Checked = value == "0" ? false : true; } this.Detail.Controls.Add(chkAns); } else { DevExpress.XtraReports.UI.XRLabel txtAns = new DevExpress.XtraReports.UI.XRLabel(); string strEndWith = childVo.fieldId.Substring(4, 2); txtAns.Text = childVo.fieldName; txtAns.Font = new System.Drawing.Font("宋体", 9.5F); txtAns.Name = childVo.fieldId; EntityCtrlLocation ctrLocatChild = lstCtrlLocation.Find(r => r.name == childVo.fieldId); locationX = ctrLocatChild.locationX; locationY = ctrLocatChild.locationY; txtAns.Width = ctrLocatChild.width; //txtAns.Height = ctrLocatChild.height; txtAns.Location = new System.Drawing.Point(locationX, locationY); if (dicData.ContainsKey(childVo.fieldId)) { string value = dicData[childVo.fieldId]; txtAns.Text = value; } this.Detail.Controls.Add(txtAns); } } } } } } } } catch (Exception ex) { ExceptionLog.OutPutException(ex); } finally { } }
/// <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.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblPackageCode = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblExpiryDate = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblBalance = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblPackageID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMemberName = new DevExpress.XtraReports.UI.XRLabel(); this.xrlblMembershipID = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel10, this.xrlblPackageCode, this.xrlblExpiryDate, this.xrLabel7, this.xrLabel6, this.xrlblBalance, this.xrlblPackageID, this.xrLabel1, this.xrLabel3, this.xrlblMemberName, this.xrlblMembershipID, this.xrLabel2 }); this.Detail.Height = 193; this.Detail.Name = "Detail"; // // xrLabel10 // this.xrLabel10.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel10.Location = new System.Drawing.Point(17, 92); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.ParentStyleUsing.UseFont = false; this.xrLabel10.Size = new System.Drawing.Size(123, 25); this.xrLabel10.Text = "Package Code:"; // // xrlblPackageCode // this.xrlblPackageCode.Location = new System.Drawing.Point(158, 92); this.xrlblPackageCode.Name = "xrlblPackageCode"; this.xrlblPackageCode.Size = new System.Drawing.Size(150, 23); // // xrlblExpiryDate // this.xrlblExpiryDate.Location = new System.Drawing.Point(158, 150); this.xrlblExpiryDate.Name = "xrlblExpiryDate"; this.xrlblExpiryDate.Size = new System.Drawing.Size(150, 23); // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel7.Location = new System.Drawing.Point(17, 150); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(123, 25); this.xrLabel7.Text = "Expiry Date:"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel6.Location = new System.Drawing.Point(17, 121); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(123, 25); this.xrLabel6.Text = "Balance:"; // // xrlblBalance // this.xrlblBalance.Location = new System.Drawing.Point(158, 121); this.xrlblBalance.Name = "xrlblBalance"; this.xrlblBalance.Size = new System.Drawing.Size(150, 23); // // xrlblPackageID // this.xrlblPackageID.Location = new System.Drawing.Point(158, 62); this.xrlblPackageID.Name = "xrlblPackageID"; this.xrlblPackageID.Size = new System.Drawing.Size(150, 23); // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel1.Location = new System.Drawing.Point(17, 62); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(123, 25); this.xrLabel1.Text = "Package ID:"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel3.Location = new System.Drawing.Point(17, 33); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(123, 25); this.xrLabel3.Text = "Member Name:"; // // xrlblMemberName // this.xrlblMemberName.Location = new System.Drawing.Point(158, 33); this.xrlblMemberName.Name = "xrlblMemberName"; this.xrlblMemberName.Size = new System.Drawing.Size(150, 23); this.xrlblMemberName.Text = "xrlblMemberName"; // // xrlblMembershipID // this.xrlblMembershipID.Location = new System.Drawing.Point(158, 4); this.xrlblMembershipID.Name = "xrlblMembershipID"; this.xrlblMembershipID.Size = new System.Drawing.Size(150, 23); this.xrlblMembershipID.Text = "xrlblMembershipID"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Times New Roman", 9.75F, System.Drawing.FontStyle.Bold); this.xrLabel2.Location = new System.Drawing.Point(17, 4); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(123, 25); this.xrLabel2.Text = "Membership ID:"; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 0; this.PageFooter.Name = "PageFooter"; // // MemberPackageExpiryReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter }); this.Margins = new System.Drawing.Printing.Margins(10, 10, 10, 10); this.PageHeight = 500; this.PageWidth = 350; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
private void InitializeComponent() { this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); this.chartContainer = new DevExpress.XtraReports.UI.PrintableComponentContainer(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.gridContainer = new DevExpress.XtraReports.UI.PrintableComponentContainer(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // topMarginBand1 // this.topMarginBand1.Name = "topMarginBand1"; // // detailBand1 // this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.chartContainer, this.xrLabel1, this.gridContainer }); this.detailBand1.HeightF = 444.7917F; this.detailBand1.Name = "detailBand1"; // // chartContainer // this.chartContainer.LocationFloat = new DevExpress.Utils.PointFloat(152.0833F, 309.3749F); this.chartContainer.Name = "chartContainer"; this.chartContainer.SizeF = new System.Drawing.SizeF(298.9581F, 125.4167F); // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 15.75F, System.Drawing.FontStyle.Bold); this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 3.125F); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.SizeF = new System.Drawing.SizeF(649.9998F, 95.83334F); this.xrLabel1.StylePriority.UseFont = false; this.xrLabel1.StylePriority.UseTextAlignment = false; this.xrLabel1.Text = "This is an example of embedding DevExpress ASP.NET controls into an XtraReport."; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // gridContainer // this.gridContainer.LocationFloat = new DevExpress.Utils.PointFloat(152.0833F, 127.0833F); this.gridContainer.Name = "gridContainer"; this.gridContainer.SizeF = new System.Drawing.SizeF(298.9582F, 125.4167F); // // bottomMarginBand1 // this.bottomMarginBand1.Name = "bottomMarginBand1"; // // Report1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.topMarginBand1, this.detailBand1, this.bottomMarginBand1 }); this.Version = "13.1"; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.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(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.fAmount = new DevExpress.XtraReports.UI.XRLabel(); this.fPaymentMode = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.fTime = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.fTitle = new DevExpress.XtraReports.UI.XRLabel(); this.fDate = new DevExpress.XtraReports.UI.XRLabel(); this.fBranch = new DevExpress.XtraReports.UI.XRLabel(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); this.fClosingStaff = new DevExpress.XtraReports.UI.XRLabel(); this.fLCKBalance = new DevExpress.XtraReports.UI.XRLabel(); this.fMWBalance = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.fVerifyStaff = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fAmount, this.fPaymentMode}); this.Detail.Height = 20; this.Detail.Name = "Detail"; // // fAmount // this.fAmount.Font = new System.Drawing.Font("Arial", 8F); this.fAmount.Location = new System.Drawing.Point(197, 0); this.fAmount.Name = "fAmount"; this.fAmount.ParentStyleUsing.UseFont = false; this.fAmount.Size = new System.Drawing.Size(83, 17); xrSummary1.FormatString = "{0:$0.00}"; this.fAmount.Summary = xrSummary1; this.fAmount.Text = "xrLabel1"; this.fAmount.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fPaymentMode // this.fPaymentMode.Font = new System.Drawing.Font("Arial", 8F); this.fPaymentMode.Location = new System.Drawing.Point(22, 0); this.fPaymentMode.Name = "fPaymentMode"; this.fPaymentMode.ParentStyleUsing.UseFont = false; this.fPaymentMode.Size = new System.Drawing.Size(175, 17); this.fPaymentMode.Text = "fPaymentMode"; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; // // PageFooter // this.PageFooter.Height = 0; this.PageFooter.Name = "PageFooter"; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fTime, this.xrLabel6, this.xrLabel1, this.xrLabel7, this.fTitle, this.fDate, this.fBranch}); this.ReportHeader.Height = 77; this.ReportHeader.Name = "ReportHeader"; this.ReportHeader.ParentStyleUsing.UseFont = false; // // fTime // this.fTime.Font = new System.Drawing.Font("Arial", 8F); this.fTime.Location = new System.Drawing.Point(181, 42); this.fTime.Name = "fTime"; this.fTime.ParentStyleUsing.UseFont = false; this.fTime.Size = new System.Drawing.Size(61, 17); xrSummary2.FormatString = "{0:hh:mm tt}"; this.fTime.Summary = xrSummary2; this.fTime.Text = "09:00 AM"; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel6.Location = new System.Drawing.Point(11, 25); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.ParentStyleUsing.UseFont = false; this.xrLabel6.Size = new System.Drawing.Size(234, 17); this.xrLabel6.Text = "SHIFT SETTLEMENT REPORT"; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel1.Location = new System.Drawing.Point(138, 42); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.ParentStyleUsing.UseFont = false; this.xrLabel1.Size = new System.Drawing.Size(42, 17); this.xrLabel1.Text = "TIME:"; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel7.Location = new System.Drawing.Point(11, 42); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.ParentStyleUsing.UseFont = false; this.xrLabel7.Size = new System.Drawing.Size(42, 17); this.xrLabel7.Text = "DATE :"; // // fTitle // this.fTitle.Font = new System.Drawing.Font("Arial", 8F); this.fTitle.Location = new System.Drawing.Point(11, 58); this.fTitle.Name = "fTitle"; this.fTitle.ParentStyleUsing.UseFont = false; this.fTitle.Size = new System.Drawing.Size(234, 17); this.fTitle.Text = "SHIFT 1. T1 REPORT"; // // fDate // this.fDate.Font = new System.Drawing.Font("Arial", 8F); this.fDate.Location = new System.Drawing.Point(54, 42); this.fDate.Name = "fDate"; this.fDate.ParentStyleUsing.UseFont = false; this.fDate.Size = new System.Drawing.Size(83, 17); xrSummary3.FormatString = "{0:dd/MM/yyyy}"; this.fDate.Summary = xrSummary3; this.fDate.Text = "11/02/2006"; // // fBranch // this.fBranch.Font = new System.Drawing.Font("Arial", 8F); this.fBranch.Location = new System.Drawing.Point(12, 8); this.fBranch.Name = "fBranch"; this.fBranch.ParentStyleUsing.UseFont = false; this.fBranch.Size = new System.Drawing.Size(234, 17); this.fBranch.Text = "AMORE FITNESS BRANCH HQ"; // // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fClosingStaff, this.fLCKBalance, this.fMWBalance, this.xrLabel4, this.xrLabel2, this.xrLabel3, this.xrLabel5, this.fVerifyStaff, this.xrLine2, this.xrLine1}); this.ReportFooter.Height = 229; this.ReportFooter.Name = "ReportFooter"; // // fClosingStaff // this.fClosingStaff.Font = new System.Drawing.Font("Arial", 8F); this.fClosingStaff.Location = new System.Drawing.Point(14, 125); this.fClosingStaff.Name = "fClosingStaff"; this.fClosingStaff.ParentStyleUsing.UseFont = false; this.fClosingStaff.Size = new System.Drawing.Size(275, 17); this.fClosingStaff.Text = "xxxxxx"; // // fLCKBalance // this.fLCKBalance.Font = new System.Drawing.Font("Arial", 8F); this.fLCKBalance.Location = new System.Drawing.Point(197, 25); this.fLCKBalance.Name = "fLCKBalance"; this.fLCKBalance.ParentStyleUsing.UseFont = false; this.fLCKBalance.Size = new System.Drawing.Size(58, 17); xrSummary4.FormatString = "{0:$0.00}"; this.fLCKBalance.Summary = xrSummary4; this.fLCKBalance.Text = "0"; this.fLCKBalance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fMWBalance // this.fMWBalance.Font = new System.Drawing.Font("Arial", 8F); this.fMWBalance.Location = new System.Drawing.Point(197, 8); this.fMWBalance.Name = "fMWBalance"; this.fMWBalance.ParentStyleUsing.UseFont = false; this.fMWBalance.Size = new System.Drawing.Size(58, 17); xrSummary5.FormatString = "{0:$0.00}"; this.fMWBalance.Summary = xrSummary5; this.fMWBalance.Text = "0"; this.fMWBalance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel4.Location = new System.Drawing.Point(14, 25); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.ParentStyleUsing.UseFont = false; this.xrLabel4.Size = new System.Drawing.Size(184, 17); this.xrLabel4.Text = "BALANCE OF LOCKER"; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel2.Location = new System.Drawing.Point(14, 8); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.ParentStyleUsing.UseFont = false; this.xrLabel2.Size = new System.Drawing.Size(184, 17); this.xrLabel2.Text = "BALANCE OF MINERAL WATER"; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel3.Location = new System.Drawing.Point(14, 108); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.ParentStyleUsing.UseFont = false; this.xrLabel3.Size = new System.Drawing.Size(175, 17); this.xrLabel3.Text = "MONEY DEPOSITED BY"; // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel5.Location = new System.Drawing.Point(14, 192); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.ParentStyleUsing.UseFont = false; this.xrLabel5.Size = new System.Drawing.Size(175, 17); this.xrLabel5.Text = "VERIFIED BY"; // // fVerifyStaff // this.fVerifyStaff.Font = new System.Drawing.Font("Arial", 8F); this.fVerifyStaff.Location = new System.Drawing.Point(14, 208); this.fVerifyStaff.Name = "fVerifyStaff"; this.fVerifyStaff.ParentStyleUsing.UseFont = false; this.fVerifyStaff.Size = new System.Drawing.Size(275, 17); this.fVerifyStaff.Text = "XXX"; // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(14, 183); this.xrLine2.Name = "xrLine2"; this.xrLine2.Size = new System.Drawing.Size(175, 8); // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(14, 92); this.xrLine1.Name = "xrLine1"; this.xrLine1.Size = new System.Drawing.Size(175, 8); // // rptShiftSettlement // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.ReportHeader, this.ReportFooter}); this.Margins = new System.Drawing.Printing.Margins(0, 10, 10, 10); this.PageHeight = 1169; this.PageWidth = 310; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.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(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.fAmount = new DevExpress.XtraReports.UI.XRLabel(); this.fPaymentMode = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.fTime = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.fTitle = new DevExpress.XtraReports.UI.XRLabel(); this.fDate = new DevExpress.XtraReports.UI.XRLabel(); this.fBranch = new DevExpress.XtraReports.UI.XRLabel(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); this.fFreebieQty = new DevExpress.XtraReports.UI.XRLabel(); this.fFreebie = new DevExpress.XtraReports.UI.XRLabel(); this.fTotDisc = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.fNoVoid = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.fVoidAmt = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.fTotTrans = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.fClosingStaff = new DevExpress.XtraReports.UI.XRLabel(); this.fLCKBalance = new DevExpress.XtraReports.UI.XRLabel(); this.fMWBalance = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.fVerifyStaff = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine2 = new DevExpress.XtraReports.UI.XRLine(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fAmount, this.fPaymentMode}); this.Detail.Height = 20; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fAmount // this.fAmount.Font = new System.Drawing.Font("Arial", 8F); this.fAmount.Location = new System.Drawing.Point(197, 0); this.fAmount.Name = "fAmount"; this.fAmount.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fAmount.Size = new System.Drawing.Size(77, 17); xrSummary1.FormatString = "{0:$0.00}"; this.fAmount.Summary = xrSummary1; this.fAmount.Text = "xrLabel1"; this.fAmount.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fPaymentMode // this.fPaymentMode.Font = new System.Drawing.Font("Arial", 8F); this.fPaymentMode.Location = new System.Drawing.Point(22, 0); this.fPaymentMode.Name = "fPaymentMode"; this.fPaymentMode.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fPaymentMode.Size = new System.Drawing.Size(175, 17); this.fPaymentMode.Text = "fPaymentMode"; this.fPaymentMode.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // PageHeader // this.PageHeader.Height = 0; this.PageHeader.Name = "PageHeader"; this.PageHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.PageHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // PageFooter // this.PageFooter.Height = 0; this.PageFooter.Name = "PageFooter"; this.PageFooter.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.PageFooter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fTime, this.xrLabel6, this.xrLabel1, this.xrLabel7, this.fTitle, this.fDate, this.fBranch}); this.ReportHeader.Font = new System.Drawing.Font("Times New Roman", 9.75F); this.ReportHeader.Height = 77; this.ReportHeader.Name = "ReportHeader"; this.ReportHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.ReportHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fTime // this.fTime.Font = new System.Drawing.Font("Arial", 8F); this.fTime.Location = new System.Drawing.Point(183, 42); this.fTime.Name = "fTime"; this.fTime.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fTime.Size = new System.Drawing.Size(61, 17); xrSummary2.FormatString = "{0:hh:mm tt}"; this.fTime.Summary = xrSummary2; this.fTime.Text = "09:00 AM"; this.fTime.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel6 // this.xrLabel6.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel6.Location = new System.Drawing.Point(15, 27); this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel6.Size = new System.Drawing.Size(234, 17); this.xrLabel6.Text = "SHIFT SETTLEMENT REPORT"; this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel1.Location = new System.Drawing.Point(140, 42); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.Size = new System.Drawing.Size(42, 17); this.xrLabel1.Text = "TIME:"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel7 // this.xrLabel7.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel7.Location = new System.Drawing.Point(15, 42); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel7.Size = new System.Drawing.Size(42, 17); this.xrLabel7.Text = "DATE :"; this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fTitle // this.fTitle.Font = new System.Drawing.Font("Arial", 8F); this.fTitle.Location = new System.Drawing.Point(15, 58); this.fTitle.Name = "fTitle"; this.fTitle.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fTitle.Size = new System.Drawing.Size(234, 17); this.fTitle.Text = "SHIFT 1. T1 REPORT"; this.fTitle.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fDate // this.fDate.Font = new System.Drawing.Font("Arial", 8F); this.fDate.Location = new System.Drawing.Point(56, 42); this.fDate.Name = "fDate"; this.fDate.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fDate.Size = new System.Drawing.Size(83, 17); xrSummary3.FormatString = "{0:dd/MM/yyyy}"; this.fDate.Summary = xrSummary3; this.fDate.Text = "11/02/2006"; this.fDate.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fBranch // this.fBranch.Font = new System.Drawing.Font("Arial", 8F); this.fBranch.Location = new System.Drawing.Point(15, 8); this.fBranch.Name = "fBranch"; this.fBranch.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fBranch.Size = new System.Drawing.Size(232, 17); this.fBranch.Text = "AMORE FITNESS BRANCH HQ"; this.fBranch.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.fFreebieQty, this.fFreebie, this.fTotDisc, this.xrLabel14, this.fNoVoid, this.xrLabel12, this.fVoidAmt, this.xrLabel10, this.fTotTrans, this.xrLabel8, this.fClosingStaff, this.fLCKBalance, this.fMWBalance, this.xrLabel4, this.xrLabel2, this.xrLabel3, this.xrLabel5, this.fVerifyStaff, this.xrLine2, this.xrLine1}); this.ReportFooter.Height = 359; this.ReportFooter.Name = "ReportFooter"; this.ReportFooter.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.ReportFooter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fFreebieQty // this.fFreebieQty.Font = new System.Drawing.Font("Arial", 8F); this.fFreebieQty.Location = new System.Drawing.Point(218, 125); this.fFreebieQty.Multiline = true; this.fFreebieQty.Name = "fFreebieQty"; this.fFreebieQty.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fFreebieQty.Size = new System.Drawing.Size(55, 17); xrSummary4.FormatString = "{0:$0.00}"; this.fFreebieQty.Summary = xrSummary4; this.fFreebieQty.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fFreebie // this.fFreebie.Font = new System.Drawing.Font("Arial", 8F); this.fFreebie.Location = new System.Drawing.Point(26, 125); this.fFreebie.Multiline = true; this.fFreebie.Name = "fFreebie"; this.fFreebie.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fFreebie.Size = new System.Drawing.Size(192, 17); this.fFreebie.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fTotDisc // this.fTotDisc.Font = new System.Drawing.Font("Arial", 8F); this.fTotDisc.Location = new System.Drawing.Point(197, 100); this.fTotDisc.Name = "fTotDisc"; this.fTotDisc.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fTotDisc.Size = new System.Drawing.Size(77, 17); xrSummary5.FormatString = "{0:$0.00}"; this.fTotDisc.Summary = xrSummary5; this.fTotDisc.Text = "0"; this.fTotDisc.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel14 // this.xrLabel14.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel14.Location = new System.Drawing.Point(22, 100); this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel14.Size = new System.Drawing.Size(175, 17); this.xrLabel14.Text = "TOTAL DISCOUNT GIVEN"; this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fNoVoid // this.fNoVoid.Font = new System.Drawing.Font("Arial", 8F); this.fNoVoid.Location = new System.Drawing.Point(197, 83); this.fNoVoid.Name = "fNoVoid"; this.fNoVoid.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fNoVoid.Size = new System.Drawing.Size(77, 17); xrSummary6.FormatString = "{0:$0.00}"; this.fNoVoid.Summary = xrSummary6; this.fNoVoid.Text = "0"; this.fNoVoid.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel12 // this.xrLabel12.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel12.Location = new System.Drawing.Point(22, 83); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel12.Size = new System.Drawing.Size(175, 17); this.xrLabel12.Text = "NO. OF RECEIPT VOID"; this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fVoidAmt // this.fVoidAmt.Font = new System.Drawing.Font("Arial", 8F); this.fVoidAmt.Location = new System.Drawing.Point(197, 67); this.fVoidAmt.Name = "fVoidAmt"; this.fVoidAmt.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fVoidAmt.Size = new System.Drawing.Size(77, 17); xrSummary7.FormatString = "{0:$0.00}"; this.fVoidAmt.Summary = xrSummary7; this.fVoidAmt.Text = "0"; this.fVoidAmt.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel10 // this.xrLabel10.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel10.Location = new System.Drawing.Point(22, 67); this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel10.Size = new System.Drawing.Size(175, 17); this.xrLabel10.Text = "VOID AMOUNT"; this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fTotTrans // this.fTotTrans.Font = new System.Drawing.Font("Arial", 8F); this.fTotTrans.Location = new System.Drawing.Point(197, 50); this.fTotTrans.Name = "fTotTrans"; this.fTotTrans.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fTotTrans.Size = new System.Drawing.Size(77, 17); xrSummary8.FormatString = "{0:$0.00}"; this.fTotTrans.Summary = xrSummary8; this.fTotTrans.Text = "0"; this.fTotTrans.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel8 // this.xrLabel8.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel8.Location = new System.Drawing.Point(22, 50); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel8.Size = new System.Drawing.Size(175, 17); this.xrLabel8.Text = "TOTAL TRANSACTION"; this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fClosingStaff // this.fClosingStaff.Font = new System.Drawing.Font("Arial", 8F); this.fClosingStaff.Location = new System.Drawing.Point(17, 242); this.fClosingStaff.Name = "fClosingStaff"; this.fClosingStaff.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fClosingStaff.Size = new System.Drawing.Size(275, 17); this.fClosingStaff.Text = "xxxxxx"; this.fClosingStaff.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fLCKBalance // this.fLCKBalance.Font = new System.Drawing.Font("Arial", 8F); this.fLCKBalance.Location = new System.Drawing.Point(197, 25); this.fLCKBalance.Name = "fLCKBalance"; this.fLCKBalance.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fLCKBalance.Size = new System.Drawing.Size(77, 17); xrSummary9.FormatString = "{0:$0.00}"; this.fLCKBalance.Summary = xrSummary9; this.fLCKBalance.Text = "0"; this.fLCKBalance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // fMWBalance // this.fMWBalance.Font = new System.Drawing.Font("Arial", 8F); this.fMWBalance.Location = new System.Drawing.Point(197, 8); this.fMWBalance.Name = "fMWBalance"; this.fMWBalance.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fMWBalance.Size = new System.Drawing.Size(77, 17); xrSummary10.FormatString = "{0:$0.00}"; this.fMWBalance.Summary = xrSummary10; this.fMWBalance.Text = "0"; this.fMWBalance.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel4 // this.xrLabel4.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel4.Location = new System.Drawing.Point(22, 25); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel4.Size = new System.Drawing.Size(175, 17); this.xrLabel4.Text = "BALANCE OF LOCKER"; this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel2 // this.xrLabel2.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel2.Location = new System.Drawing.Point(22, 8); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel2.Size = new System.Drawing.Size(175, 17); this.xrLabel2.Text = "BALANCE OF MINERAL WATER"; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel3.Location = new System.Drawing.Point(17, 225); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel3.Size = new System.Drawing.Size(175, 17); this.xrLabel3.Text = "MONEY DEPOSITED BY"; this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel5 // this.xrLabel5.Font = new System.Drawing.Font("Arial", 8F); this.xrLabel5.Location = new System.Drawing.Point(17, 308); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel5.Size = new System.Drawing.Size(175, 17); this.xrLabel5.Text = "VERIFIED BY"; this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // fVerifyStaff // this.fVerifyStaff.Font = new System.Drawing.Font("Arial", 8F); this.fVerifyStaff.Location = new System.Drawing.Point(17, 325); this.fVerifyStaff.Name = "fVerifyStaff"; this.fVerifyStaff.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.fVerifyStaff.Size = new System.Drawing.Size(275, 17); this.fVerifyStaff.Text = "XXX"; this.fVerifyStaff.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLine2 // this.xrLine2.Location = new System.Drawing.Point(17, 300); this.xrLine2.Name = "xrLine2"; this.xrLine2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLine2.Size = new System.Drawing.Size(175, 8); // // xrLine1 // this.xrLine1.Location = new System.Drawing.Point(17, 208); this.xrLine1.Name = "xrLine1"; this.xrLine1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrLine1.Size = new System.Drawing.Size(175, 8); // // rptShiftSettlement // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter, this.ReportHeader, this.ReportFooter}); this.Margins = new System.Drawing.Printing.Margins(0, 10, 10, 10); this.PageHeight = 1169; this.PageWidth = 310; this.PaperKind = System.Drawing.Printing.PaperKind.Custom; this.Version = "8.3"; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
private XRControl AddTextfield(TemplateDynamicData property, float yPosition, float xPosition) { float fontSize = 0.1f; FontStyle fontStyle = FontStyle.Regular; var xrLabelTextField = new DevExpress.XtraReports.UI.XRLabel(); xrLabelTextField.LocationFloat = new DevExpress.Utils.PointFloat(xPosition, yPosition); xrLabelTextField.Name = "xrLabel1" + Guid.NewGuid(); xrLabelTextField.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 2, 0, 0, 96F); xrLabelTextField.SizeF = new System.Drawing.SizeF(633, 20F); xrLabelTextField.Text = string.Empty; if (property.Text != null) xrLabelTextField.Text = property.Text.Text; else property.Text = new TextField { Text = "", Size = TextFieldFontSize.Normal }; xrLabelTextField.AutoWidth = true; xrLabelTextField.CanGrow = true; xrLabelTextField.CanShrink = true; xrLabelTextField.Multiline = true; if (property.Text != null) { if (property.Text.Text != null) { xrLabelTextField.Text = property.Text.Text; if (property.Text.Size == TextFieldFontSize.Small) fontSize = 8F; else if (property.Text.Size == TextFieldFontSize.Normal) fontSize = 10F; else if (property.Text.Size == TextFieldFontSize.Large) fontSize = 14F; if (property.Text.Style == TextFieldFontStyle.Bold) fontStyle = FontStyle.Bold; else if (property.Text.Style == TextFieldFontStyle.Italic) fontStyle = FontStyle.Italic; else if (property.Text.Style == TextFieldFontStyle.BoldItalic) fontStyle = FontStyle.Bold | FontStyle.Italic; } } xrLabelTextField.Font = new System.Drawing.Font("Microsoft Sans Serif", fontSize, fontStyle); //xrLabelTextField.Font = new System.Drawing.Font("Tahoma", fontSize, fontStyle); //xrLabelTextField.Font = new System.Drawing.Font("Tahoma", 8F, FontStyle.Bold); xrLabelTextField.StylePriority.UseFont = false; return xrLabelTextField; }
/// <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(SaleReport)); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel(); DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView(); DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel2 = new DevExpress.XtraCharts.PieSeriesLabel(); DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView(); this.ProductData = new DevExpress.XtraReports.UI.XRControlStyle(); this.OddStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.GroupHeader = new DevExpress.XtraReports.UI.XRControlStyle(); this.ProductHeader = new DevExpress.XtraReports.UI.XRControlStyle(); this.SupplierTitle = new DevExpress.XtraReports.UI.XRControlStyle(); this.EvenStyle = new DevExpress.XtraReports.UI.XRControlStyle(); this.SupplierInfo = new DevExpress.XtraReports.UI.XRControlStyle(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.tableDetail = new DevExpress.XtraReports.UI.XRTable(); this.dimensionCellRow = new DevExpress.XtraReports.UI.XRTableRow(); this.UnitNameCell = new DevExpress.XtraReports.UI.XRTableCell(); this.LeadNumberCell = new DevExpress.XtraReports.UI.XRTableCell(); this.FirstEmailCountCell = new DevExpress.XtraReports.UI.XRTableCell(); this.ResponseRateCell = new DevExpress.XtraReports.UI.XRTableCell(); this.NumberIntoOpportunityCell = new DevExpress.XtraReports.UI.XRTableCell(); this.RateIntoOpportunityCell = new DevExpress.XtraReports.UI.XRTableCell(); this.NumberOfTheDeadCell = new DevExpress.XtraReports.UI.XRTableCell(); this.ClosureRateCell = new DevExpress.XtraReports.UI.XRTableCell(); this.OpportunityNumberCell = new DevExpress.XtraReports.UI.XRTableCell(); this.NumberIntoContractCell = new DevExpress.XtraReports.UI.XRTableCell(); this.QuoteSuccessRateCell = new DevExpress.XtraReports.UI.XRTableCell(); this.ContractAmountCell = new DevExpress.XtraReports.UI.XRTableCell(); this.ContractNumberCell = new DevExpress.XtraReports.UI.XRTableCell(); this.RateOfOldCustomerCell = new DevExpress.XtraReports.UI.XRTableCell(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); this.lbTitle = new DevExpress.XtraReports.UI.XRLabel(); this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.headerTable = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); this.DimensionCell = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); this.dimensionRow = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell61 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell63 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell66 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell67 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell69 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell68 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell70 = new DevExpress.XtraReports.UI.XRTableCell(); this.technicianTotalEffortsHeaderCell = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell71 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell73 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell74 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell72 = new DevExpress.XtraReports.UI.XRTableCell(); this.RootLayoutControlGroup = new DevExpress.XtraLayout.LayoutControlGroup(); this.xrChart1 = new DevExpress.XtraReports.UI.XRChart(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); ((System.ComponentModel.ISupportInitialize)(this.tableDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.headerTable)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RootLayoutControlGroup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // ProductData // this.ProductData.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(196)))), ((int)(((byte)(220)))), ((int)(((byte)(255))))); this.ProductData.BorderColor = System.Drawing.Color.White; this.ProductData.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.ProductData.BorderWidth = 1; this.ProductData.Font = new System.Drawing.Font("Tahoma", 8.25F); this.ProductData.ForeColor = System.Drawing.Color.Black; this.ProductData.Name = "ProductData"; // // OddStyle // this.OddStyle.BackColor = System.Drawing.Color.Transparent; this.OddStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(205)))), ((int)(((byte)(162))))); this.OddStyle.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); this.OddStyle.BorderWidth = 1; this.OddStyle.Font = new System.Drawing.Font("Tahoma", 8.25F); this.OddStyle.ForeColor = System.Drawing.SystemColors.ControlText; this.OddStyle.Name = "OddStyle"; // // GroupHeader // this.GroupHeader.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(243)))), ((int)(((byte)(243))))); this.GroupHeader.BorderColor = System.Drawing.Color.White; this.GroupHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.GroupHeader.BorderWidth = 1; this.GroupHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.GroupHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(139)))), ((int)(((byte)(139)))), ((int)(((byte)(139))))); this.GroupHeader.Name = "GroupHeader"; // // ProductHeader // this.ProductHeader.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(132)))), ((int)(((byte)(213))))); this.ProductHeader.BorderColor = System.Drawing.Color.White; this.ProductHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.ProductHeader.BorderWidth = 1; this.ProductHeader.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.ProductHeader.ForeColor = System.Drawing.Color.White; this.ProductHeader.Name = "ProductHeader"; // // SupplierTitle // this.SupplierTitle.BackColor = System.Drawing.Color.Transparent; this.SupplierTitle.BorderColor = System.Drawing.Color.Empty; this.SupplierTitle.Borders = DevExpress.XtraPrinting.BorderSide.None; this.SupplierTitle.BorderWidth = 1; this.SupplierTitle.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.SupplierTitle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(120)))), ((int)(((byte)(0))))); this.SupplierTitle.Name = "SupplierTitle"; // // EvenStyle // this.EvenStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(237)))), ((int)(((byte)(196))))); this.EvenStyle.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(205)))), ((int)(((byte)(162))))); this.EvenStyle.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); this.EvenStyle.BorderWidth = 1; this.EvenStyle.Font = new System.Drawing.Font("Tahoma", 8.25F); this.EvenStyle.ForeColor = System.Drawing.SystemColors.ControlText; this.EvenStyle.Name = "EvenStyle"; // // SupplierInfo // this.SupplierInfo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(84)))), ((int)(((byte)(132)))), ((int)(((byte)(213))))); this.SupplierInfo.BorderColor = System.Drawing.Color.White; this.SupplierInfo.BorderWidth = 1; this.SupplierInfo.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.SupplierInfo.ForeColor = System.Drawing.Color.White; this.SupplierInfo.Name = "SupplierInfo"; this.SupplierInfo.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); // // Detail // resources.ApplyResources(this.Detail, "Detail"); this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.tableDetail }); this.Detail.KeepTogether = true; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); // // tableDetail // resources.ApplyResources(this.tableDetail, "tableDetail"); this.tableDetail.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.tableDetail.Name = "tableDetail"; this.tableDetail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.tableDetail.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.dimensionCellRow }); this.tableDetail.StylePriority.UseBackColor = false; this.tableDetail.StylePriority.UsePadding = false; // // dimensionCellRow // resources.ApplyResources(this.dimensionCellRow, "dimensionCellRow"); this.dimensionCellRow.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.UnitNameCell, this.LeadNumberCell, this.FirstEmailCountCell, this.ResponseRateCell, this.NumberIntoOpportunityCell, this.RateIntoOpportunityCell, this.NumberOfTheDeadCell, this.ClosureRateCell, this.OpportunityNumberCell, this.NumberIntoContractCell, this.QuoteSuccessRateCell, this.ContractAmountCell, this.ContractNumberCell, this.RateOfOldCustomerCell }); this.dimensionCellRow.Name = "dimensionCellRow"; this.dimensionCellRow.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.dimensionCellRow.Weight = 1D; // // UnitNameCell // resources.ApplyResources(this.UnitNameCell, "UnitNameCell"); this.UnitNameCell.Name = "UnitNameCell"; this.UnitNameCell.Weight = 0.36288850690201224D; // // LeadNumberCell // this.LeadNumberCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.LeadNumberCell, "LeadNumberCell"); this.LeadNumberCell.Name = "LeadNumberCell"; this.LeadNumberCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); this.LeadNumberCell.StylePriority.UseBorders = false; this.LeadNumberCell.Weight = 0.14146295582557106D; // // FirstEmailCountCell // this.FirstEmailCountCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.FirstEmailCountCell, "FirstEmailCountCell"); this.FirstEmailCountCell.Name = "FirstEmailCountCell"; this.FirstEmailCountCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); this.FirstEmailCountCell.StylePriority.UseBorders = false; this.FirstEmailCountCell.Weight = 0.073533032620059D; // // ResponseRateCell // this.ResponseRateCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.ResponseRateCell, "ResponseRateCell"); this.ResponseRateCell.Name = "ResponseRateCell"; this.ResponseRateCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); this.ResponseRateCell.StylePriority.UseBorders = false; this.ResponseRateCell.Weight = 0.095192176281529178D; // // NumberIntoOpportunityCell // this.NumberIntoOpportunityCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.NumberIntoOpportunityCell, "NumberIntoOpportunityCell"); this.NumberIntoOpportunityCell.Name = "NumberIntoOpportunityCell"; this.NumberIntoOpportunityCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); this.NumberIntoOpportunityCell.StylePriority.UseBorders = false; this.NumberIntoOpportunityCell.Weight = 0.12916676503643715D; // // RateIntoOpportunityCell // this.RateIntoOpportunityCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.RateIntoOpportunityCell, "RateIntoOpportunityCell"); this.RateIntoOpportunityCell.Name = "RateIntoOpportunityCell"; this.RateIntoOpportunityCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); this.RateIntoOpportunityCell.StylePriority.UseBorders = false; this.RateIntoOpportunityCell.StylePriority.UseTextAlignment = false; this.RateIntoOpportunityCell.Weight = 0.1134616914816714D; // // NumberOfTheDeadCell // this.NumberOfTheDeadCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.NumberOfTheDeadCell, "NumberOfTheDeadCell"); this.NumberOfTheDeadCell.Name = "NumberOfTheDeadCell"; this.NumberOfTheDeadCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); this.NumberOfTheDeadCell.StylePriority.UseBorders = false; this.NumberOfTheDeadCell.Weight = 0.12019217345704021D; // // ClosureRateCell // this.ClosureRateCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.ClosureRateCell, "ClosureRateCell"); this.ClosureRateCell.Name = "ClosureRateCell"; this.ClosureRateCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); this.ClosureRateCell.StylePriority.UseBorders = false; this.ClosureRateCell.Weight = 0.089743338470040818D; // // OpportunityNumberCell // this.OpportunityNumberCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.OpportunityNumberCell, "OpportunityNumberCell"); this.OpportunityNumberCell.Name = "OpportunityNumberCell"; this.OpportunityNumberCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); this.OpportunityNumberCell.StylePriority.UseBorders = false; this.OpportunityNumberCell.Weight = 0.11923091201343503D; // // NumberIntoContractCell // this.NumberIntoContractCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.NumberIntoContractCell, "NumberIntoContractCell"); this.NumberIntoContractCell.Name = "NumberIntoContractCell"; this.NumberIntoContractCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); this.NumberIntoContractCell.StylePriority.UseBorders = false; this.NumberIntoContractCell.Weight = 0.13128197238160738D; // // QuoteSuccessRateCell // this.QuoteSuccessRateCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.QuoteSuccessRateCell, "QuoteSuccessRateCell"); this.QuoteSuccessRateCell.Name = "QuoteSuccessRateCell"; this.QuoteSuccessRateCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 2, 0, 0, 100F); this.QuoteSuccessRateCell.StylePriority.UseBorders = false; this.QuoteSuccessRateCell.Weight = 0.11794880193775684D; // // ContractAmountCell // this.ContractAmountCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.ContractAmountCell, "ContractAmountCell"); this.ContractAmountCell.Name = "ContractAmountCell"; this.ContractAmountCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); this.ContractAmountCell.StylePriority.UseBorders = false; this.ContractAmountCell.Weight = 0.1030126550227433D; // // ContractNumberCell // this.ContractNumberCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.ContractNumberCell, "ContractNumberCell"); this.ContractNumberCell.Name = "ContractNumberCell"; this.ContractNumberCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); this.ContractNumberCell.StylePriority.UseBorders = false; this.ContractNumberCell.Weight = 0.11004446310558497D; // // RateOfOldCustomerCell // this.RateOfOldCustomerCell.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.RateOfOldCustomerCell, "RateOfOldCustomerCell"); this.RateOfOldCustomerCell.Name = "RateOfOldCustomerCell"; this.RateOfOldCustomerCell.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 5, 0, 0, 100F); this.RateOfOldCustomerCell.StylePriority.UseBorders = false; this.RateOfOldCustomerCell.Weight = 0.075916804656003478D; // // BottomMargin // resources.ApplyResources(this.BottomMargin, "BottomMargin"); this.BottomMargin.Name = "BottomMargin"; this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); // // ReportHeader1 // this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLine1, this.lbTitle, this.xrPageInfo2 }); resources.ApplyResources(this.ReportHeader1, "ReportHeader1"); this.ReportHeader1.Name = "ReportHeader1"; this.ReportHeader1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); // // xrLine1 // resources.ApplyResources(this.xrLine1, "xrLine1"); this.xrLine1.LineWidth = 2; this.xrLine1.Name = "xrLine1"; this.xrLine1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); // // lbTitle // this.lbTitle.Borders = DevExpress.XtraPrinting.BorderSide.None; resources.ApplyResources(this.lbTitle, "lbTitle"); this.lbTitle.Name = "lbTitle"; this.lbTitle.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.lbTitle.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.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime; // // topMarginBand1 // resources.ApplyResources(this.topMarginBand1, "topMarginBand1"); this.topMarginBand1.Name = "topMarginBand1"; // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.headerTable }); resources.ApplyResources(this.PageHeader, "PageHeader"); this.PageHeader.Name = "PageHeader"; // // headerTable // resources.ApplyResources(this.headerTable, "headerTable"); this.headerTable.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.headerTable.KeepTogether = true; this.headerTable.Name = "headerTable"; this.headerTable.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.headerTable.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2, this.dimensionRow }); this.headerTable.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.headerTable_BeforePrint); // // xrTableRow2 // resources.ApplyResources(this.xrTableRow2, "xrTableRow2"); this.xrTableRow2.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.DimensionCell, this.xrTableCell6, this.xrTableCell4, this.xrTableCell10 }); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.xrTableRow2.StylePriority.UseBorders = false; this.xrTableRow2.Weight = 0.33391304347826084D; // // DimensionCell // resources.ApplyResources(this.DimensionCell, "DimensionCell"); this.DimensionCell.Name = "DimensionCell"; this.DimensionCell.StylePriority.UseBackColor = false; this.DimensionCell.StylePriority.UseBorderColor = false; this.DimensionCell.StylePriority.UseFont = false; this.DimensionCell.StylePriority.UseForeColor = false; this.DimensionCell.StylePriority.UseTextAlignment = false; this.DimensionCell.Weight = 0.50205242872868028D; // // xrTableCell6 // resources.ApplyResources(this.xrTableCell6, "xrTableCell6"); this.xrTableCell6.Name = "xrTableCell6"; this.xrTableCell6.StylePriority.UseBackColor = false; this.xrTableCell6.StylePriority.UseBorderColor = false; this.xrTableCell6.StylePriority.UseFont = false; this.xrTableCell6.StylePriority.UseForeColor = false; this.xrTableCell6.StylePriority.UseTextAlignment = false; this.xrTableCell6.Weight = 1.0552594007027496D; // // xrTableCell4 // this.xrTableCell4.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.xrTableCell4, "xrTableCell4"); this.xrTableCell4.Name = "xrTableCell4"; this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrTableCell4.StyleName = "ProductHeader"; this.xrTableCell4.StylePriority.UseBorders = false; this.xrTableCell4.Weight = 0.50976304887926438D; // // xrTableCell10 // this.xrTableCell10.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); resources.ApplyResources(this.xrTableCell10, "xrTableCell10"); this.xrTableCell10.Name = "xrTableCell10"; this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrTableCell10.StyleName = "ProductHeader"; this.xrTableCell10.StylePriority.UseBorders = false; this.xrTableCell10.Weight = 0.39979246457082585D; // // dimensionRow // this.dimensionRow.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); this.dimensionRow.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell12, this.xrTableCell61, this.xrTableCell63, this.xrTableCell2, this.xrTableCell66, this.xrTableCell67, this.xrTableCell69, this.xrTableCell68, this.xrTableCell70, this.technicianTotalEffortsHeaderCell, this.xrTableCell71, this.xrTableCell73, this.xrTableCell74, this.xrTableCell72 }); resources.ApplyResources(this.dimensionRow, "dimensionRow"); this.dimensionRow.Name = "dimensionRow"; this.dimensionRow.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.dimensionRow.StyleName = "ProductData"; this.dimensionRow.StylePriority.UseBorders = false; this.dimensionRow.Weight = 0.55652173913043479D; // // xrTableCell12 // resources.ApplyResources(this.xrTableCell12, "xrTableCell12"); this.xrTableCell12.Name = "xrTableCell12"; this.xrTableCell12.Weight = 0.50205244651089687D; // // xrTableCell61 // resources.ApplyResources(this.xrTableCell61, "xrTableCell61"); this.xrTableCell61.Name = "xrTableCell61"; this.xrTableCell61.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrTableCell61.StylePriority.UseFont = false; this.xrTableCell61.Weight = 0.19571251707747889D; // // xrTableCell63 // resources.ApplyResources(this.xrTableCell63, "xrTableCell63"); this.xrTableCell63.Name = "xrTableCell63"; this.xrTableCell63.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrTableCell63.StylePriority.UseFont = false; this.xrTableCell63.Weight = 0.10173209501697306D; // // xrTableCell2 // resources.ApplyResources(this.xrTableCell2, "xrTableCell2"); this.xrTableCell2.Name = "xrTableCell2"; this.xrTableCell2.StylePriority.UseFont = false; this.xrTableCell2.Weight = 0.13169749628994815D; // // xrTableCell66 // resources.ApplyResources(this.xrTableCell66, "xrTableCell66"); this.xrTableCell66.Name = "xrTableCell66"; this.xrTableCell66.StylePriority.UseFont = false; this.xrTableCell66.Weight = 0.17870070142134309D; // // xrTableCell67 // resources.ApplyResources(this.xrTableCell67, "xrTableCell67"); this.xrTableCell67.Name = "xrTableCell67"; this.xrTableCell67.StylePriority.UseFont = false; this.xrTableCell67.Weight = 0.15697313093066811D; // // xrTableCell69 // resources.ApplyResources(this.xrTableCell69, "xrTableCell69"); this.xrTableCell69.Name = "xrTableCell69"; this.xrTableCell69.StylePriority.UseFont = false; this.xrTableCell69.StylePriority.UseTextAlignment = false; this.xrTableCell69.Weight = 0.16628446195049018D; // // xrTableCell68 // resources.ApplyResources(this.xrTableCell68, "xrTableCell68"); this.xrTableCell68.Name = "xrTableCell68"; this.xrTableCell68.StylePriority.UseFont = false; this.xrTableCell68.StylePriority.UseTextAlignment = false; this.xrTableCell68.Weight = 0.12415912327244744D; // // xrTableCell70 // resources.ApplyResources(this.xrTableCell70, "xrTableCell70"); this.xrTableCell70.Name = "xrTableCell70"; this.xrTableCell70.StylePriority.UseFont = false; this.xrTableCell70.StylePriority.UseTextAlignment = false; this.xrTableCell70.Weight = 0.16495480735195939D; // // technicianTotalEffortsHeaderCell // resources.ApplyResources(this.technicianTotalEffortsHeaderCell, "technicianTotalEffortsHeaderCell"); this.technicianTotalEffortsHeaderCell.Name = "technicianTotalEffortsHeaderCell"; this.technicianTotalEffortsHeaderCell.StylePriority.UseFont = false; this.technicianTotalEffortsHeaderCell.StylePriority.UseTextAlignment = false; this.technicianTotalEffortsHeaderCell.Weight = 0.1816270903270843D; // // xrTableCell71 // resources.ApplyResources(this.xrTableCell71, "xrTableCell71"); this.xrTableCell71.Name = "xrTableCell71"; this.xrTableCell71.StylePriority.UseFont = false; this.xrTableCell71.StylePriority.UseTextAlignment = false; this.xrTableCell71.Weight = 0.16318091256828765D; // // xrTableCell73 // resources.ApplyResources(this.xrTableCell73, "xrTableCell73"); this.xrTableCell73.Name = "xrTableCell73"; this.xrTableCell73.StylePriority.UseFont = false; this.xrTableCell73.StylePriority.UseTextAlignment = false; this.xrTableCell73.Weight = 0.14251685734875338D; // // xrTableCell74 // resources.ApplyResources(this.xrTableCell74, "xrTableCell74"); this.xrTableCell74.Name = "xrTableCell74"; this.xrTableCell74.StylePriority.UseFont = false; this.xrTableCell74.StylePriority.UseTextAlignment = false; this.xrTableCell74.Weight = 0.15224534607953705D; // // xrTableCell72 // resources.ApplyResources(this.xrTableCell72, "xrTableCell72"); this.xrTableCell72.Name = "xrTableCell72"; this.xrTableCell72.StylePriority.UseFont = false; this.xrTableCell72.StylePriority.UseTextAlignment = false; this.xrTableCell72.Weight = 0.10503035673565253D; // // RootLayoutControlGroup // resources.ApplyResources(this.RootLayoutControlGroup, "RootLayoutControlGroup"); this.RootLayoutControlGroup.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.RootLayoutControlGroup.GroupBordersVisible = false; this.RootLayoutControlGroup.Location = new System.Drawing.Point(0, 0); this.RootLayoutControlGroup.Name = "RootLayoutControlGroup"; this.RootLayoutControlGroup.Size = new System.Drawing.Size(906, 667); this.RootLayoutControlGroup.TextVisible = false; // // xrChart1 // resources.ApplyResources(this.xrChart1, "xrChart1"); this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrChart1.Name = "xrChart1"; series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Numerical; pieSeriesLabel1.LineVisible = true; series1.Label = pieSeriesLabel1; resources.ApplyResources(series1, "series1"); pieSeriesView1.RuntimeExploding = false; series1.View = pieSeriesView1; this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1 }; pieSeriesLabel2.LineVisible = true; this.xrChart1.SeriesTemplate.Label = pieSeriesLabel2; pieSeriesView2.RuntimeExploding = false; this.xrChart1.SeriesTemplate.View = pieSeriesView2; this.xrChart1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrChart1_BeforePrint); // // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrChart1 }); resources.ApplyResources(this.ReportFooter, "ReportFooter"); this.ReportFooter.Name = "ReportFooter"; // // SaleReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.BottomMargin, this.ReportHeader1, this.topMarginBand1, this.PageHeader, this.ReportFooter }); resources.ApplyResources(this, "$this"); this.Landscape = true; this.Margins = new System.Drawing.Printing.Margins(5, 5, 0, 56); this.PageHeight = 827; this.PageWidth = 1169; this.PaperKind = System.Drawing.Printing.PaperKind.A4; this.ReportPrintOptions.DetailCountAtDesignTime = 1; this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { this.ProductData, this.OddStyle, this.GroupHeader, this.ProductHeader, this.SupplierTitle, this.EvenStyle, this.SupplierInfo }); this.Version = "12.1"; ((System.ComponentModel.ISupportInitialize)(this.tableDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.headerTable)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RootLayoutControlGroup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesLabel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }