private void ReadCheckBox(XRCheckBox xtraControl, StiContainer parent) { #region Read CheckBox StiCheckBox check = new StiCheckBox(); parent.Components.Add(check); ReadComp(xtraControl, check); ReadBrush(xtraControl, check); ReadTextBrush(xtraControl, check); ReadBorder(xtraControl, check); ReadFont(xtraControl, check); check.Width = check.Height; #endregion #region Read Text StiText text = new StiText(); parent.Components.Add(text); ReadComp(xtraControl, text); text.Name += "_Text"; text.Left += check.Width; text.Width -= check.Width; ReadBrush(xtraControl, text); ReadTextBrush(xtraControl, text); ReadBorder(xtraControl, text); ReadFont(xtraControl, text); ReadTextAlignment(xtraControl, text); text.Text.Value = xtraControl.Text; #endregion }
private void xrCheckBox1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) { XRCheckBox checkBox = sender as XRCheckBox; int curid = Convert.ToInt32(GetCurrentColumnValue("CategoryID")); bool shouldNotPrint = SkippedRecords.Contains(curid); checkBox.NavigateUrl = string.Format("javascript:UpdateReportViewer({0})", curid); checkBox.Checked = !shouldNotPrint; e.Cancel = XtraReport1.IsReportExporting; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { string resourceFileName = "XtraReport1.resx"; this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.dataSet11 = new DataSet1(); this.categoriesTableAdapter1 = new DataSet1TableAdapters.CategoriesTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrCheckBox1, this.xrPictureBox1, this.xrLabel3, this.xrLabel2 }); this.Detail.Height = 158; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; this.Detail.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.Detail_BeforePrint); // // xrCheckBox1 // this.xrCheckBox1.Checked = true; this.xrCheckBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.xrCheckBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Tag", null, "Categories.CategoryID", "") }); this.xrCheckBox1.Location = new System.Drawing.Point(517, 58); this.xrCheckBox1.Name = "xrCheckBox1"; this.xrCheckBox1.Size = new System.Drawing.Size(117, 25); this.xrCheckBox1.Text = "Export this row"; this.xrCheckBox1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrCheckBox1_BeforePrint); // // xrPictureBox1 // this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Image", null, "Categories.Picture", "") }); this.xrPictureBox1.Location = new System.Drawing.Point(342, 42); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.Size = new System.Drawing.Size(133, 67); // // xrLabel3 // this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Categories.Description", "") }); this.xrLabel3.Location = new System.Drawing.Point(25, 83); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel3.Size = new System.Drawing.Size(233, 25); this.xrLabel3.Text = "xrLabel3"; // // xrLabel2 // this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Categories.CategoryName", "") }); this.xrLabel2.Location = new System.Drawing.Point(25, 42); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel2.Size = new System.Drawing.Size(100, 25); this.xrLabel2.Text = "xrLabel2"; // // PageHeader // this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel1 }); this.PageHeader.Height = 42; this.PageHeader.Name = "PageHeader"; this.PageHeader.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.PageHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // xrLabel1 // this.xrLabel1.Font = new System.Drawing.Font("Times New Roman", 25F); this.xrLabel1.Location = new System.Drawing.Point(250, 0); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.Size = new System.Drawing.Size(158, 42); this.xrLabel1.StylePriority.UseFont = false; this.xrLabel1.Text = "Categories"; // // PageFooter // this.PageFooter.Height = 30; this.PageFooter.Name = "PageFooter"; this.PageFooter.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.PageFooter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // dataSet11 // this.dataSet11.DataSetName = "DataSet1"; this.dataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // categoriesTableAdapter1 // this.categoriesTableAdapter1.ClearBeforeFill = true; // // XtraReport1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.PageHeader, this.PageFooter }); this.DataAdapter = this.categoriesTableAdapter1; this.DataMember = "Categories"; this.DataSource = this.dataSet11; this.Version = "8.2"; ((System.ComponentModel.ISupportInitialize)(this.dataSet11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.DataAccess.Sql.SelectQuery selectQuery1 = new DevExpress.DataAccess.Sql.SelectQuery(); DevExpress.DataAccess.Sql.Column column1 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression1 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table1 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column2 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression2 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column3 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression3 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column4 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression4 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.SelectQuery selectQuery2 = new DevExpress.DataAccess.Sql.SelectQuery(); DevExpress.DataAccess.Sql.Column column5 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression5 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table2 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column6 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression6 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column7 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression7 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column8 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression8 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column9 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression9 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column10 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression10 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column11 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression11 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column12 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression12 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column13 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression13 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column14 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression14 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column15 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression15 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.MasterDetailInfo masterDetailInfo1 = new DevExpress.DataAccess.Sql.MasterDetailInfo(); DevExpress.DataAccess.Sql.RelationColumnInfo relationColumnInfo1 = new DevExpress.DataAccess.Sql.RelationColumnInfo(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PublicReport)); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLine1 = new DevExpress.XtraReports.UI.XRLine(); this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource(this.components); this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo(); this.reportHeaderBand1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.Title = new DevExpress.XtraReports.UI.XRControlStyle(); this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle(); this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle(); this.DataField = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox(); this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel1, this.xrLabel2, this.xrLabel3, this.xrLabel7, this.xrLabel8, this.xrLabel9, this.xrLine1 }); this.Detail.HeightF = 106.7917F; 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.LocationFloat = new DevExpress.Utils.PointFloat(6F, 9F); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel1.SizeF = new System.Drawing.SizeF(162F, 18F); this.xrLabel1.StyleName = "FieldCaption"; this.xrLabel1.Text = "Category ID"; // // xrLabel2 // this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(6F, 33F); this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel2.SizeF = new System.Drawing.SizeF(162F, 18F); this.xrLabel2.StyleName = "FieldCaption"; this.xrLabel2.Text = "Category Name"; // // xrLabel3 // this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(6F, 57F); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel3.SizeF = new System.Drawing.SizeF(162F, 18F); this.xrLabel3.StyleName = "FieldCaption"; this.xrLabel3.Text = "Description"; // // xrLabel7 // this.xrLabel7.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[CategoryID]") }); this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(174F, 9F); this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel7.SizeF = new System.Drawing.SizeF(470F, 18F); this.xrLabel7.StyleName = "DataField"; this.xrLabel7.Text = "xrLabel7"; // // xrLabel8 // this.xrLabel8.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[CategoryName]") }); this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(174F, 33F); this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel8.SizeF = new System.Drawing.SizeF(470F, 18F); this.xrLabel8.StyleName = "DataField"; this.xrLabel8.Text = "xrLabel8"; // // xrLabel9 // this.xrLabel9.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[Description]") }); this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(174F, 57F); this.xrLabel9.Name = "xrLabel9"; this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel9.SizeF = new System.Drawing.SizeF(470F, 18F); this.xrLabel9.StyleName = "DataField"; this.xrLabel9.Text = "xrLabel9"; // // xrLine1 // this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(6F, 3F); this.xrLine1.Name = "xrLine1"; this.xrLine1.SizeF = new System.Drawing.SizeF(638F, 2F); // // TopMargin // this.TopMargin.HeightF = 100F; this.TopMargin.Name = "TopMargin"; this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // BottomMargin // this.BottomMargin.HeightF = 100F; this.BottomMargin.Name = "BottomMargin"; this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // sqlDataSource1 // this.sqlDataSource1.ConnectionName = "nwindConnectionXpo"; this.sqlDataSource1.Name = "sqlDataSource1"; columnExpression1.ColumnName = "CategoryID"; table1.Name = "Categories"; columnExpression1.Table = table1; column1.Expression = columnExpression1; columnExpression2.ColumnName = "CategoryName"; columnExpression2.Table = table1; column2.Expression = columnExpression2; columnExpression3.ColumnName = "Description"; columnExpression3.Table = table1; column3.Expression = columnExpression3; columnExpression4.ColumnName = "Picture"; columnExpression4.Table = table1; column4.Expression = columnExpression4; selectQuery1.Columns.Add(column1); selectQuery1.Columns.Add(column2); selectQuery1.Columns.Add(column3); selectQuery1.Columns.Add(column4); selectQuery1.MetaSerializable = "<Meta X=\"20\" Y=\"20\" Width=\"100\" Height=\"139\" />"; selectQuery1.Name = "Categories"; selectQuery1.Tables.Add(table1); columnExpression5.ColumnName = "ProductID"; table2.Name = "Products"; columnExpression5.Table = table2; column5.Expression = columnExpression5; columnExpression6.ColumnName = "ProductName"; columnExpression6.Table = table2; column6.Expression = columnExpression6; columnExpression7.ColumnName = "SupplierID"; columnExpression7.Table = table2; column7.Expression = columnExpression7; columnExpression8.ColumnName = "CategoryID"; columnExpression8.Table = table2; column8.Expression = columnExpression8; columnExpression9.ColumnName = "QuantityPerUnit"; columnExpression9.Table = table2; column9.Expression = columnExpression9; columnExpression10.ColumnName = "UnitPrice"; columnExpression10.Table = table2; column10.Expression = columnExpression10; columnExpression11.ColumnName = "UnitsInStock"; columnExpression11.Table = table2; column11.Expression = columnExpression11; columnExpression12.ColumnName = "UnitsOnOrder"; columnExpression12.Table = table2; column12.Expression = columnExpression12; columnExpression13.ColumnName = "ReorderLevel"; columnExpression13.Table = table2; column13.Expression = columnExpression13; columnExpression14.ColumnName = "Discontinued"; columnExpression14.Table = table2; column14.Expression = columnExpression14; columnExpression15.ColumnName = "EAN13"; columnExpression15.Table = table2; column15.Expression = columnExpression15; selectQuery2.Columns.Add(column5); selectQuery2.Columns.Add(column6); selectQuery2.Columns.Add(column7); selectQuery2.Columns.Add(column8); selectQuery2.Columns.Add(column9); selectQuery2.Columns.Add(column10); selectQuery2.Columns.Add(column11); selectQuery2.Columns.Add(column12); selectQuery2.Columns.Add(column13); selectQuery2.Columns.Add(column14); selectQuery2.Columns.Add(column15); selectQuery2.MetaSerializable = "<Meta X=\"140\" Y=\"20\" Width=\"100\" Height=\"224\" />"; selectQuery2.Name = "Products"; selectQuery2.Tables.Add(table2); this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] { selectQuery1, selectQuery2 }); masterDetailInfo1.DetailQueryName = "Products"; relationColumnInfo1.NestedKeyColumn = "CategoryID"; relationColumnInfo1.ParentKeyColumn = "CategoryID"; masterDetailInfo1.KeyColumns.Add(relationColumnInfo1); masterDetailInfo1.MasterQueryName = "Categories"; this.sqlDataSource1.Relations.AddRange(new DevExpress.DataAccess.Sql.MasterDetailInfo[] { masterDetailInfo1 }); this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable"); // // pageFooterBand1 // this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1, this.xrPageInfo2 }); this.pageFooterBand1.HeightF = 29F; this.pageFooterBand1.Name = "pageFooterBand1"; // // xrPageInfo1 // this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(6F, 6F); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime; this.xrPageInfo1.SizeF = new System.Drawing.SizeF(313F, 23F); this.xrPageInfo1.StyleName = "PageInfo"; // // xrPageInfo2 // this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(331F, 6F); this.xrPageInfo2.Name = "xrPageInfo2"; this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrPageInfo2.SizeF = new System.Drawing.SizeF(313F, 23F); this.xrPageInfo2.StyleName = "PageInfo"; this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; this.xrPageInfo2.TextFormatString = "Page {0} of {1}"; // // reportHeaderBand1 // this.reportHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel10 }); this.reportHeaderBand1.HeightF = 64F; this.reportHeaderBand1.Name = "reportHeaderBand1"; // // xrLabel10 // this.xrLabel10.ForeColor = System.Drawing.Color.Green; this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(6.00001F, 6.00001F); this.xrLabel10.Multiline = true; this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel10.SizeF = new System.Drawing.SizeF(633.9999F, 44.45833F); this.xrLabel10.StyleName = "Title"; this.xrLabel10.StylePriority.UseForeColor = false; this.xrLabel10.Text = "Public Report\r\n"; // // Title // this.Title.BackColor = System.Drawing.Color.Transparent; this.Title.BorderColor = System.Drawing.Color.Black; this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None; this.Title.BorderWidth = 1F; this.Title.Font = new System.Drawing.Font("Times New Roman", 20F, System.Drawing.FontStyle.Bold); this.Title.ForeColor = System.Drawing.Color.Maroon; this.Title.Name = "Title"; // // FieldCaption // this.FieldCaption.BackColor = System.Drawing.Color.Transparent; this.FieldCaption.BorderColor = System.Drawing.Color.Black; this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.None; this.FieldCaption.BorderWidth = 1F; this.FieldCaption.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); this.FieldCaption.ForeColor = System.Drawing.Color.Maroon; this.FieldCaption.Name = "FieldCaption"; // // PageInfo // this.PageInfo.BackColor = System.Drawing.Color.Transparent; this.PageInfo.BorderColor = System.Drawing.Color.Black; this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None; this.PageInfo.BorderWidth = 1F; this.PageInfo.Font = new System.Drawing.Font("Times New Roman", 10F, System.Drawing.FontStyle.Bold); this.PageInfo.ForeColor = System.Drawing.Color.Black; this.PageInfo.Name = "PageInfo"; // // DataField // this.DataField.BackColor = System.Drawing.Color.Transparent; this.DataField.BorderColor = System.Drawing.Color.Black; this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None; this.DataField.BorderWidth = 1F; this.DataField.Font = new System.Drawing.Font("Times New Roman", 10F); this.DataField.ForeColor = System.Drawing.Color.Black; this.DataField.Name = "DataField"; this.DataField.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1, this.GroupHeader1 }); this.DetailReport.DataMember = "Categories.CategoriesProducts"; this.DetailReport.DataSource = this.sqlDataSource1; this.DetailReport.Level = 0; this.DetailReport.Name = "DetailReport"; // // Detail1 // this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel12, this.xrCheckBox1, this.xrLabel11 }); this.Detail1.HeightF = 23F; this.Detail1.Name = "Detail1"; // // xrLabel12 // this.xrLabel12.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[UnitPrice]") }); this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(550F, 0F); this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel12.SizeF = new System.Drawing.SizeF(100F, 23F); this.xrLabel12.Text = "xrLabel12"; // // xrCheckBox1 // this.xrCheckBox1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "CheckState", "[Discontinued]") }); this.xrCheckBox1.GlyphAlignment = DevExpress.Utils.HorzAlignment.Center; this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(320.8333F, 0F); this.xrCheckBox1.Name = "xrCheckBox1"; this.xrCheckBox1.SizeF = new System.Drawing.SizeF(100F, 23F); // // xrLabel11 // this.xrLabel11.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[ProductName]") }); this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel11.SizeF = new System.Drawing.SizeF(195.8333F, 23F); this.xrLabel11.Text = "xrLabel11"; // // GroupHeader1 // this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel15, this.xrLabel14, this.xrLabel13 }); this.GroupHeader1.HeightF = 23.95833F; this.GroupHeader1.Name = "GroupHeader1"; // // xrLabel15 // this.xrLabel15.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(550F, 0F); this.xrLabel15.Multiline = true; this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel15.SizeF = new System.Drawing.SizeF(100F, 23F); this.xrLabel15.StylePriority.UseFont = false; this.xrLabel15.Text = "UnitPrice\r\n"; // // xrLabel14 // this.xrLabel14.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(320.8333F, 0F); this.xrLabel14.Multiline = true; this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel14.SizeF = new System.Drawing.SizeF(100F, 23F); this.xrLabel14.StylePriority.UseFont = false; this.xrLabel14.Text = "Discontinued\r\n"; // // xrLabel13 // this.xrLabel13.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel13.SizeF = new System.Drawing.SizeF(195.8333F, 23F); this.xrLabel13.StylePriority.UseFont = false; this.xrLabel13.Text = "ProductName"; // // PublicReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.pageFooterBand1, this.reportHeaderBand1, this.DetailReport }); this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] { this.sqlDataSource1 }); this.DataMember = "Categories"; this.DataSource = this.sqlDataSource1; this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { this.Title, this.FieldCaption, this.PageInfo, this.DataField }); this.Version = "18.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() { string resourceFileName = "ProductsReport.resx"; this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.tbDataRow = new DevExpress.XtraReports.UI.XRTable(); this.tdDataRow = new DevExpress.XtraReports.UI.XRTableRow(); this.tcProductName = new DevExpress.XtraReports.UI.XRTableCell(); this.tcCategoryName = new DevExpress.XtraReports.UI.XRTableCell(); this.tcCompanyName = new DevExpress.XtraReports.UI.XRTableCell(); this.tcContactName = new DevExpress.XtraReports.UI.XRTableCell(); this.tcUnitPrice = new DevExpress.XtraReports.UI.XRTableCell(); this.tcUnitInStock = new DevExpress.XtraReports.UI.XRTableCell(); this.tcUnitsOnOrder = new DevExpress.XtraReports.UI.XRTableCell(); this.tcDiscontinued = new DevExpress.XtraReports.UI.XRTableCell(); this.cbDiscontinued = new DevExpress.XtraReports.UI.XRCheckBox(); this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.nWindDataSet1 = new NWindDataSet(); this.productsTableAdapter1 = new NWindDataSetTableAdapters.ProductsTableAdapter(); this.GroupHeader = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.tbHeader = new DevExpress.XtraReports.UI.XRTable(); this.trHeader = new DevExpress.XtraReports.UI.XRTableRow(); this.tcProductNameHeader = new DevExpress.XtraReports.UI.XRTableCell(); this.tcCategoryNameHeader = new DevExpress.XtraReports.UI.XRTableCell(); this.tcCompanyNameHeader = new DevExpress.XtraReports.UI.XRTableCell(); this.tcContactNameHeader = new DevExpress.XtraReports.UI.XRTableCell(); this.tcUnitPriceHeader = new DevExpress.XtraReports.UI.XRTableCell(); this.tcUnitsInStockHeader = new DevExpress.XtraReports.UI.XRTableCell(); this.tcUnitsOnOrderHeader = new DevExpress.XtraReports.UI.XRTableCell(); this.tcDiscontinuedHeader = new DevExpress.XtraReports.UI.XRTableCell(); ((System.ComponentModel.ISupportInitialize)(this.tbDataRow)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nWindDataSet1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbHeader)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.tbDataRow }); this.Detail.Font = new System.Drawing.Font("Times New Roman", 12F); this.Detail.HeightF = 25F; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 4, 0, 0, 100F); this.Detail.StylePriority.UseBorders = false; this.Detail.StylePriority.UseFont = false; this.Detail.StylePriority.UsePadding = false; this.Detail.StylePriority.UseTextAlignment = false; this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // tbDataRow // this.tbDataRow.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.tbDataRow.Name = "tbDataRow"; this.tbDataRow.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.tdDataRow }); this.tbDataRow.SizeF = new System.Drawing.SizeF(900F, 25F); // // tdDataRow // this.tdDataRow.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.tcProductName, this.tcCategoryName, this.tcCompanyName, this.tcContactName, this.tcUnitPrice, this.tcUnitInStock, this.tcUnitsOnOrder, this.tcDiscontinued }); this.tdDataRow.Name = "tdDataRow"; this.tdDataRow.Weight = 1D; // // tcProductName // this.tcProductName.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Products.ProductName") }); this.tcProductName.Name = "tcProductName"; this.tcProductName.Weight = 1.5D; // // tcCategoryName // this.tcCategoryName.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Products.CategoryName") }); this.tcCategoryName.Name = "tcCategoryName"; this.tcCategoryName.Text = "tcCategoryName"; this.tcCategoryName.Weight = 1D; // // tcCompanyName // this.tcCompanyName.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Products.CompanyName") }); this.tcCompanyName.Name = "tcCompanyName"; this.tcCompanyName.Text = "tcCompanyName"; this.tcCompanyName.Weight = 1D; // // tcContactName // this.tcContactName.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Products.ContactName") }); this.tcContactName.Name = "tcContactName"; this.tcContactName.Text = "tcContactName"; this.tcContactName.Weight = 1.5D; // // tcUnitPrice // this.tcUnitPrice.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Products.UnitPrice", "{0:c}") }); this.tcUnitPrice.Name = "tcUnitPrice"; this.tcUnitPrice.StylePriority.UseTextAlignment = false; this.tcUnitPrice.Text = "tcUnitPrice"; this.tcUnitPrice.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; this.tcUnitPrice.Weight = 1D; // // tcUnitInStock // this.tcUnitInStock.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Products.UnitsInStock") }); this.tcUnitInStock.Name = "tcUnitInStock"; this.tcUnitInStock.StylePriority.UseTextAlignment = false; this.tcUnitInStock.Text = "tcUnitInStock"; this.tcUnitInStock.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; this.tcUnitInStock.Weight = 1D; // // tcUnitsOnOrder // this.tcUnitsOnOrder.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("Text", null, "Products.UnitsOnOrder") }); this.tcUnitsOnOrder.Name = "tcUnitsOnOrder"; this.tcUnitsOnOrder.StylePriority.UseTextAlignment = false; this.tcUnitsOnOrder.Text = "tcUnitsOnOrder"; this.tcUnitsOnOrder.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; this.tcUnitsOnOrder.Weight = 0.99999999999999989D; // // tcDiscontinued // this.tcDiscontinued.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.cbDiscontinued }); this.tcDiscontinued.Name = "tcDiscontinued"; this.tcDiscontinued.Text = "tcDiscontinued"; this.tcDiscontinued.Weight = 1D; // // cbDiscontinued // this.cbDiscontinued.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.cbDiscontinued.Borders = DevExpress.XtraPrinting.BorderSide.None; this.cbDiscontinued.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { new DevExpress.XtraReports.UI.XRBinding("CheckState", null, "Products.Discontinued") }); this.cbDiscontinued.GlyphAlignment = DevExpress.Utils.HorzAlignment.Center; this.cbDiscontinued.LocationFloat = new DevExpress.Utils.PointFloat(2F, 1.999982F); this.cbDiscontinued.Name = "cbDiscontinued"; this.cbDiscontinued.SizeF = new System.Drawing.SizeF(96F, 21F); this.cbDiscontinued.StylePriority.UseBorders = false; this.cbDiscontinued.Text = "cbDiscontinued"; // // TopMargin // this.TopMargin.Name = "TopMargin"; this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // BottomMargin // this.BottomMargin.Name = "BottomMargin"; this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // nWindDataSet1 // this.nWindDataSet1.DataSetName = "NWindDataSet"; this.nWindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // productsTableAdapter1 // this.productsTableAdapter1.ClearBeforeFill = true; // // GroupHeader // this.GroupHeader.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.GroupHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.tbHeader }); this.GroupHeader.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.GroupHeader.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail; this.GroupHeader.HeightF = 25F; this.GroupHeader.Name = "GroupHeader"; this.GroupHeader.RepeatEveryPage = true; this.GroupHeader.StylePriority.UseBorders = false; this.GroupHeader.StylePriority.UseFont = false; this.GroupHeader.StylePriority.UseTextAlignment = false; this.GroupHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; // // tbHeader // this.tbHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.tbHeader.Name = "tbHeader"; this.tbHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.trHeader }); this.tbHeader.SizeF = new System.Drawing.SizeF(900F, 25F); // // trHeader // this.trHeader.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.tcProductNameHeader, this.tcCategoryNameHeader, this.tcCompanyNameHeader, this.tcContactNameHeader, this.tcUnitPriceHeader, this.tcUnitsInStockHeader, this.tcUnitsOnOrderHeader, this.tcDiscontinuedHeader }); this.trHeader.Name = "trHeader"; this.trHeader.Weight = 1D; // // tcProductNameHeader // this.tcProductNameHeader.Name = "tcProductNameHeader"; this.tcProductNameHeader.Tag = "ProductName"; this.tcProductNameHeader.Text = "Product"; this.tcProductNameHeader.Weight = 1.5D; this.tcProductNameHeader.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.HeaderCell_BeforePrint); this.tcProductNameHeader.HtmlItemCreated += new DevExpress.XtraReports.UI.HtmlEventHandler(this.HeaderCell_HtmlItemCreated); // // tcCategoryNameHeader // this.tcCategoryNameHeader.Name = "tcCategoryNameHeader"; this.tcCategoryNameHeader.Tag = "CategoryName"; this.tcCategoryNameHeader.Text = "Category"; this.tcCategoryNameHeader.Weight = 1D; this.tcCategoryNameHeader.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.HeaderCell_BeforePrint); this.tcCategoryNameHeader.HtmlItemCreated += new DevExpress.XtraReports.UI.HtmlEventHandler(this.HeaderCell_HtmlItemCreated); // // tcCompanyNameHeader // this.tcCompanyNameHeader.Name = "tcCompanyNameHeader"; this.tcCompanyNameHeader.Tag = "CompanyName"; this.tcCompanyNameHeader.Text = "Company"; this.tcCompanyNameHeader.Weight = 1D; this.tcCompanyNameHeader.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.HeaderCell_BeforePrint); this.tcCompanyNameHeader.HtmlItemCreated += new DevExpress.XtraReports.UI.HtmlEventHandler(this.HeaderCell_HtmlItemCreated); // // tcContactNameHeader // this.tcContactNameHeader.Name = "tcContactNameHeader"; this.tcContactNameHeader.Tag = "ContactName"; this.tcContactNameHeader.Text = "Contact"; this.tcContactNameHeader.Weight = 1.5D; this.tcContactNameHeader.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.HeaderCell_BeforePrint); this.tcContactNameHeader.HtmlItemCreated += new DevExpress.XtraReports.UI.HtmlEventHandler(this.HeaderCell_HtmlItemCreated); // // tcUnitPriceHeader // this.tcUnitPriceHeader.Name = "tcUnitPriceHeader"; this.tcUnitPriceHeader.StylePriority.UseTextAlignment = false; this.tcUnitPriceHeader.Tag = "UnitPrice"; this.tcUnitPriceHeader.Text = "Price"; this.tcUnitPriceHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; this.tcUnitPriceHeader.Weight = 1D; this.tcUnitPriceHeader.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.HeaderCell_BeforePrint); this.tcUnitPriceHeader.HtmlItemCreated += new DevExpress.XtraReports.UI.HtmlEventHandler(this.HeaderCell_HtmlItemCreated); // // tcUnitsInStockHeader // this.tcUnitsInStockHeader.Name = "tcUnitsInStockHeader"; this.tcUnitsInStockHeader.StylePriority.UseTextAlignment = false; this.tcUnitsInStockHeader.Tag = "UnitsInStock"; this.tcUnitsInStockHeader.Text = "In Stock"; this.tcUnitsInStockHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; this.tcUnitsInStockHeader.Weight = 1D; this.tcUnitsInStockHeader.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.HeaderCell_BeforePrint); this.tcUnitsInStockHeader.HtmlItemCreated += new DevExpress.XtraReports.UI.HtmlEventHandler(this.HeaderCell_HtmlItemCreated); // // tcUnitsOnOrderHeader // this.tcUnitsOnOrderHeader.Name = "tcUnitsOnOrderHeader"; this.tcUnitsOnOrderHeader.StylePriority.UseTextAlignment = false; this.tcUnitsOnOrderHeader.Tag = "UnitsOnOrder"; this.tcUnitsOnOrderHeader.Text = "On Order"; this.tcUnitsOnOrderHeader.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter; this.tcUnitsOnOrderHeader.Weight = 0.99999999999999989D; this.tcUnitsOnOrderHeader.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.HeaderCell_BeforePrint); this.tcUnitsOnOrderHeader.HtmlItemCreated += new DevExpress.XtraReports.UI.HtmlEventHandler(this.HeaderCell_HtmlItemCreated); // // tcDiscontinuedHeader // this.tcDiscontinuedHeader.Name = "tcDiscontinuedHeader"; this.tcDiscontinuedHeader.Tag = "Discontinued"; this.tcDiscontinuedHeader.Text = "Discont."; this.tcDiscontinuedHeader.Weight = 1D; this.tcDiscontinuedHeader.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.HeaderCell_BeforePrint); this.tcDiscontinuedHeader.HtmlItemCreated += new DevExpress.XtraReports.UI.HtmlEventHandler(this.HeaderCell_HtmlItemCreated); // // ProductsReport // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.GroupHeader }); this.DataAdapter = this.productsTableAdapter1; this.DataMember = "Products"; this.DataSource = this.nWindDataSet1; this.Landscape = true; this.PageHeight = 850; this.PageWidth = 1100; this.Version = "13.2"; this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.ProductsReport_BeforePrint); ((System.ComponentModel.ISupportInitialize)(this.tbDataRow)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nWindDataSet1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbHeader)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> //protected override void Dispose(bool disposing) //{ // if (disposing && (components != null)) // { // components.Dispose(); // } // base.Dispose(disposing); //} #region Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { string resourceFileName = "rp_UngvienChiTiet.resx"; this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); this.xrl_footer2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrtngayketxuat = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_footer3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_footer1 = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_ten3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_ten2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_ten1 = new DevExpress.XtraReports.UI.XRLabel(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrsRe_KetQuaThiTuyen = new DevExpress.XtraReports.UI.XRSubreport(); this.sub_TuyenDung_UV_KetQuaThi1 = new sub_TuyenDung_UV_KetQuaThi(); this.xrsRe_ChungChi = new DevExpress.XtraReports.UI.XRSubreport(); this.sub_TuyenDung_UngVien_BC_CC1 = new sub_TuyenDung_UngVien_BC_CC(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.sub_TuyenDung_UV_KinhNghiemCT1 = new sub_TuyenDung_UV_KinhNghiemCT(); this.xrsRe_KinhNghiem = new DevExpress.XtraReports.UI.XRSubreport(); this.sub_TuyenDung_UngVien_TruongDT1 = new sub_TuyenDung_UngVien_TruongDT(); this.xrsRe_TruongDaoTao = new DevExpress.XtraReports.UI.XRSubreport(); this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_TEN_HETHONG = new DevExpress.XtraReports.UI.XRLabel(); this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrl_NGAY_SINH = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_HO_TEN = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_NOI_O_HIENNAY = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_DAN_TOC = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_HO_KHAU = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_TON_GIAO = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_DI_DONG = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_DT_NHA = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_EMAIL = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_NGAYCAP_CMND = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_SO_CMND = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_NOICAP_CMND = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_GIOI_TINH = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_NOI_SINH = new DevExpress.XtraReports.UI.XRLabel(); this.xrc_NAM = new DevExpress.XtraReports.UI.XRCheckBox(); this.xrc_NU = new DevExpress.XtraReports.UI.XRCheckBox(); this.xrl_NGAYSINH = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.xrl_Mail = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.sub_TuyenDung_UV_KetQuaThi1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sub_TuyenDung_UngVien_BC_CC1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sub_TuyenDung_UV_KinhNghiemCT1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sub_TuyenDung_UngVien_TruongDT1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrl_NOICAP_CMND, this.xrl_GIOI_TINH, this.xrl_NOI_SINH, this.xrl_EMAIL, this.xrl_NGAYCAP_CMND, this.xrl_SO_CMND, this.xrLabel15, this.xrl_Mail, this.xrc_NAM, this.xrc_NU, this.xrl_NGAYSINH, this.xrl_DT_NHA, this.xrPictureBox1, this.xrl_NGAY_SINH, this.xrl_HO_TEN, this.xrl_HO_KHAU, this.xrl_TON_GIAO, this.xrl_DI_DONG, this.xrl_NOI_O_HIENNAY, this.xrl_DAN_TOC, this.xrLabel13 }); this.Detail.HeightF = 769F; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // TopMargin // this.TopMargin.HeightF = 33F; this.TopMargin.Name = "TopMargin"; this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // BottomMargin // this.BottomMargin.HeightF = 47F; this.BottomMargin.Name = "BottomMargin"; this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrl_footer2, this.xrtngayketxuat, this.xrl_footer3, this.xrl_footer1, this.xrl_ten3, this.xrl_ten2, this.xrl_ten1 }); this.ReportFooter.HeightF = 196F; this.ReportFooter.Name = "ReportFooter"; // // xrl_footer2 // this.xrl_footer2.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold); this.xrl_footer2.LocationFloat = new DevExpress.Utils.PointFloat(175F, 50F); this.xrl_footer2.Name = "xrl_footer2"; this.xrl_footer2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_footer2.SizeF = new System.Drawing.SizeF(222.7652F, 23F); this.xrl_footer2.StylePriority.UseFont = false; this.xrl_footer2.StylePriority.UseTextAlignment = false; this.xrl_footer2.Text = "KẾ TOÁN TRƯỞNG"; this.xrl_footer2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrtngayketxuat // this.xrtngayketxuat.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Italic); this.xrtngayketxuat.LocationFloat = new DevExpress.Utils.PointFloat(385.9165F, 27.00001F); this.xrtngayketxuat.Name = "xrtngayketxuat"; this.xrtngayketxuat.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrtngayketxuat.SizeF = new System.Drawing.SizeF(265.0835F, 23F); this.xrtngayketxuat.StylePriority.UseFont = false; this.xrtngayketxuat.StylePriority.UseTextAlignment = false; this.xrtngayketxuat.Text = ", ngày 15 tháng 4 năm 2013"; this.xrtngayketxuat.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrl_footer3 // this.xrl_footer3.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold); this.xrl_footer3.LocationFloat = new DevExpress.Utils.PointFloat(413F, 50F); this.xrl_footer3.Name = "xrl_footer3"; this.xrl_footer3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_footer3.SizeF = new System.Drawing.SizeF(238F, 23F); this.xrl_footer3.StylePriority.UseFont = false; this.xrl_footer3.StylePriority.UseTextAlignment = false; this.xrl_footer3.Text = "PHÒNG HCNS"; this.xrl_footer3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrl_footer1 // this.xrl_footer1.Font = new System.Drawing.Font("Times New Roman", 11F, System.Drawing.FontStyle.Bold); this.xrl_footer1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 50F); this.xrl_footer1.Name = "xrl_footer1"; this.xrl_footer1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_footer1.SizeF = new System.Drawing.SizeF(161.9514F, 23F); this.xrl_footer1.StylePriority.UseFont = false; this.xrl_footer1.StylePriority.UseTextAlignment = false; this.xrl_footer1.Text = "NGƯỜI LẬP"; this.xrl_footer1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrl_ten3 // this.xrl_ten3.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.xrl_ten3.LocationFloat = new DevExpress.Utils.PointFloat(413F, 150F); this.xrl_ten3.Name = "xrl_ten3"; this.xrl_ten3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_ten3.SizeF = new System.Drawing.SizeF(238F, 23F); this.xrl_ten3.StylePriority.UseFont = false; this.xrl_ten3.StylePriority.UseTextAlignment = false; this.xrl_ten3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrl_ten2 // this.xrl_ten2.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.xrl_ten2.LocationFloat = new DevExpress.Utils.PointFloat(175F, 150F); this.xrl_ten2.Name = "xrl_ten2"; this.xrl_ten2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_ten2.SizeF = new System.Drawing.SizeF(222.7653F, 23F); this.xrl_ten2.StylePriority.UseFont = false; this.xrl_ten2.StylePriority.UseTextAlignment = false; this.xrl_ten2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrl_ten1 // this.xrl_ten1.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.xrl_ten1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 150F); this.xrl_ten1.Name = "xrl_ten1"; this.xrl_ten1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_ten1.SizeF = new System.Drawing.SizeF(161.9514F, 23F); this.xrl_ten1.StylePriority.UseFont = false; this.xrl_ten1.StylePriority.UseTextAlignment = false; this.xrl_ten1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // PageFooter // this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1 }); this.PageFooter.Expanded = false; this.PageFooter.Name = "PageFooter"; // // xrPageInfo1 // this.xrPageInfo1.Font = new System.Drawing.Font("Times New Roman", 11F); this.xrPageInfo1.Format = "Trang {0} của {1}"; this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(773.9583F, 37.5F); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrPageInfo1.SizeF = new System.Drawing.SizeF(126.0417F, 23.00001F); this.xrPageInfo1.StylePriority.UseFont = false; this.xrPageInfo1.StylePriority.UseTextAlignment = false; this.xrPageInfo1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail1 }); this.DetailReport.Level = 0; this.DetailReport.Name = "DetailReport"; // // Detail1 // this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrsRe_KetQuaThiTuyen, this.xrsRe_KinhNghiem, this.xrsRe_ChungChi, this.xrsRe_TruongDaoTao }); this.Detail1.HeightF = 98F; this.Detail1.Name = "Detail1"; // // xrsRe_KetQuaThiTuyen // this.xrsRe_KetQuaThiTuyen.LocationFloat = new DevExpress.Utils.PointFloat(0F, 71.00004F); this.xrsRe_KetQuaThiTuyen.Name = "xrsRe_KetQuaThiTuyen"; this.xrsRe_KetQuaThiTuyen.ReportSource = this.sub_TuyenDung_UV_KetQuaThi1; this.xrsRe_KetQuaThiTuyen.SizeF = new System.Drawing.SizeF(651F, 26.99996F); // // xrsRe_ChungChi // this.xrsRe_ChungChi.LocationFloat = new DevExpress.Utils.PointFloat(0F, 22.99995F); this.xrsRe_ChungChi.Name = "xrsRe_ChungChi"; this.xrsRe_ChungChi.ReportSource = this.sub_TuyenDung_UngVien_BC_CC1; this.xrsRe_ChungChi.SizeF = new System.Drawing.SizeF(651F, 23F); // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel5, this.xrl_TEN_HETHONG, this.xrLabel3, this.xrLabel4 }); this.ReportHeader.HeightF = 133.5F; this.ReportHeader.Name = "ReportHeader"; // // xrsRe_KinhNghiem // this.xrsRe_KinhNghiem.LocationFloat = new DevExpress.Utils.PointFloat(0F, 45.99991F); this.xrsRe_KinhNghiem.Name = "xrsRe_KinhNghiem"; this.xrsRe_KinhNghiem.ReportSource = this.sub_TuyenDung_UV_KinhNghiemCT1; this.xrsRe_KinhNghiem.SizeF = new System.Drawing.SizeF(651F, 25.00009F); // // xrsRe_TruongDaoTao // this.xrsRe_TruongDaoTao.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrsRe_TruongDaoTao.Name = "xrsRe_TruongDaoTao"; this.xrsRe_TruongDaoTao.ReportSource = this.sub_TuyenDung_UngVien_TruongDT1; this.xrsRe_TruongDaoTao.SizeF = new System.Drawing.SizeF(650.9999F, 23F); // // xrLabel3 // this.xrLabel3.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold); this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel3.Name = "xrLabel3"; this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel3.SizeF = new System.Drawing.SizeF(751F, 23F); this.xrLabel3.StylePriority.UseFont = false; this.xrLabel3.StylePriority.UseTextAlignment = false; this.xrLabel3.Text = "CỘNG HÒA XÃ HỘI CHỦ NGHĨA VIỆT NAM"; this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrLabel4 // this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrLabel4.Font = new System.Drawing.Font("Times New Roman", 13F, System.Drawing.FontStyle.Bold); this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F); this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel4.SizeF = new System.Drawing.SizeF(751F, 20.99998F); this.xrLabel4.StylePriority.UseBorders = false; this.xrLabel4.StylePriority.UseFont = false; this.xrLabel4.StylePriority.UseTextAlignment = false; this.xrLabel4.Text = "Độc lập - Tự do -Hạnh phúc"; this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrLabel5 // this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrLabel5.Font = new System.Drawing.Font("Times New Roman", 14F, System.Drawing.FontStyle.Bold); this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 87.5F); this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel5.SizeF = new System.Drawing.SizeF(751F, 20.99996F); this.xrLabel5.StylePriority.UseBorders = false; this.xrLabel5.StylePriority.UseFont = false; this.xrLabel5.StylePriority.UseTextAlignment = false; this.xrLabel5.Text = "HỒ SỨNG VIÊN"; this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrl_TEN_HETHONG // this.xrl_TEN_HETHONG.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrl_TEN_HETHONG.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Italic); this.xrl_TEN_HETHONG.LocationFloat = new DevExpress.Utils.PointFloat(0F, 112.5F); this.xrl_TEN_HETHONG.Name = "xrl_TEN_HETHONG"; this.xrl_TEN_HETHONG.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_TEN_HETHONG.SizeF = new System.Drawing.SizeF(751F, 20.99998F); this.xrl_TEN_HETHONG.StylePriority.UseBorders = false; this.xrl_TEN_HETHONG.StylePriority.UseFont = false; this.xrl_TEN_HETHONG.StylePriority.UseTextAlignment = false; this.xrl_TEN_HETHONG.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; // // xrPictureBox1 // this.xrPictureBox1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(615.5803F, 22.99999F); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.SizeF = new System.Drawing.SizeF(135.4197F, 161F); this.xrPictureBox1.StylePriority.UseBorders = false; // // xrl_NGAY_SINH // this.xrl_NGAY_SINH.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_NGAY_SINH.LocationFloat = new DevExpress.Utils.PointFloat(1.041667F, 45.99997F); this.xrl_NGAY_SINH.Name = "xrl_NGAY_SINH"; this.xrl_NGAY_SINH.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_NGAY_SINH.SizeF = new System.Drawing.SizeF(100.8333F, 23F); this.xrl_NGAY_SINH.StylePriority.UseFont = false; this.xrl_NGAY_SINH.StylePriority.UseTextAlignment = false; this.xrl_NGAY_SINH.Text = "2. Ngày sinh: "; this.xrl_NGAY_SINH.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_HO_TEN // this.xrl_HO_TEN.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_HO_TEN.LocationFloat = new DevExpress.Utils.PointFloat(0F, 22.99999F); this.xrl_HO_TEN.Name = "xrl_HO_TEN"; this.xrl_HO_TEN.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_HO_TEN.SizeF = new System.Drawing.SizeF(615.5803F, 23F); this.xrl_HO_TEN.StylePriority.UseFont = false; this.xrl_HO_TEN.StylePriority.UseTextAlignment = false; this.xrl_HO_TEN.Text = "1. Họ và tên: "; this.xrl_HO_TEN.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_NOI_O_HIENNAY // this.xrl_NOI_O_HIENNAY.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_NOI_O_HIENNAY.LocationFloat = new DevExpress.Utils.PointFloat(1.041667F, 138F); this.xrl_NOI_O_HIENNAY.Name = "xrl_NOI_O_HIENNAY"; this.xrl_NOI_O_HIENNAY.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_NOI_O_HIENNAY.SizeF = new System.Drawing.SizeF(614.5387F, 23F); this.xrl_NOI_O_HIENNAY.StylePriority.UseFont = false; this.xrl_NOI_O_HIENNAY.StylePriority.UseTextAlignment = false; this.xrl_NOI_O_HIENNAY.Text = "11. Nơi ở hiện nay: "; this.xrl_NOI_O_HIENNAY.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_DAN_TOC // this.xrl_DAN_TOC.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_DAN_TOC.LocationFloat = new DevExpress.Utils.PointFloat(0F, 92.00001F); this.xrl_DAN_TOC.Name = "xrl_DAN_TOC"; this.xrl_DAN_TOC.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_DAN_TOC.SizeF = new System.Drawing.SizeF(337.4999F, 23F); this.xrl_DAN_TOC.StylePriority.UseFont = false; this.xrl_DAN_TOC.StylePriority.UseTextAlignment = false; this.xrl_DAN_TOC.Text = "7. Dân tộc: "; this.xrl_DAN_TOC.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel13 // this.xrLabel13.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel13.SizeF = new System.Drawing.SizeF(751F, 23F); this.xrLabel13.StylePriority.UseFont = false; this.xrLabel13.Text = "I. THÔNG TIN HỒ SƠ"; // // xrl_HO_KHAU // this.xrl_HO_KHAU.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_HO_KHAU.LocationFloat = new DevExpress.Utils.PointFloat(0F, 115F); this.xrl_HO_KHAU.Name = "xrl_HO_KHAU"; this.xrl_HO_KHAU.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_HO_KHAU.SizeF = new System.Drawing.SizeF(615.5804F, 23.00001F); this.xrl_HO_KHAU.StylePriority.UseFont = false; this.xrl_HO_KHAU.StylePriority.UseTextAlignment = false; this.xrl_HO_KHAU.Text = "10. Hộ khẩu thường trú: "; this.xrl_HO_KHAU.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_TON_GIAO // this.xrl_TON_GIAO.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_TON_GIAO.LocationFloat = new DevExpress.Utils.PointFloat(337.5F, 92.00007F); this.xrl_TON_GIAO.Name = "xrl_TON_GIAO"; this.xrl_TON_GIAO.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_TON_GIAO.SizeF = new System.Drawing.SizeF(278.0804F, 22.99994F); this.xrl_TON_GIAO.StylePriority.UseFont = false; this.xrl_TON_GIAO.StylePriority.UseTextAlignment = false; this.xrl_TON_GIAO.Text = "8.Tôn giáo: "; this.xrl_TON_GIAO.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_DI_DONG // this.xrl_DI_DONG.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_DI_DONG.LocationFloat = new DevExpress.Utils.PointFloat(125F, 161F); this.xrl_DI_DONG.Name = "xrl_DI_DONG"; this.xrl_DI_DONG.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_DI_DONG.SizeF = new System.Drawing.SizeF(212.4999F, 23F); this.xrl_DI_DONG.StylePriority.UseFont = false; this.xrl_DI_DONG.StylePriority.UseTextAlignment = false; this.xrl_DI_DONG.Text = "DĐ: "; this.xrl_DI_DONG.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_DT_NHA // this.xrl_DT_NHA.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_DT_NHA.LocationFloat = new DevExpress.Utils.PointFloat(337.5F, 161.0001F); this.xrl_DT_NHA.Name = "xrl_DT_NHA"; this.xrl_DT_NHA.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_DT_NHA.SizeF = new System.Drawing.SizeF(278.0804F, 23F); this.xrl_DT_NHA.StylePriority.UseFont = false; this.xrl_DT_NHA.StylePriority.UseTextAlignment = false; this.xrl_DT_NHA.Text = "NR: "; this.xrl_DT_NHA.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_EMAIL // this.xrl_EMAIL.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_EMAIL.LocationFloat = new DevExpress.Utils.PointFloat(0F, 184F); this.xrl_EMAIL.Name = "xrl_EMAIL"; this.xrl_EMAIL.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_EMAIL.SizeF = new System.Drawing.SizeF(124.4087F, 23.00002F); this.xrl_EMAIL.StylePriority.UseFont = false; this.xrl_EMAIL.StylePriority.UseTextAlignment = false; this.xrl_EMAIL.Text = "13. Email: "; this.xrl_EMAIL.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_NGAYCAP_CMND // this.xrl_NGAYCAP_CMND.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Italic); this.xrl_NGAYCAP_CMND.LocationFloat = new DevExpress.Utils.PointFloat(489.3752F, 207.0001F); this.xrl_NGAYCAP_CMND.Name = "xrl_NGAYCAP_CMND"; this.xrl_NGAYCAP_CMND.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_NGAYCAP_CMND.SizeF = new System.Drawing.SizeF(261.6246F, 23F); this.xrl_NGAYCAP_CMND.StylePriority.UseFont = false; this.xrl_NGAYCAP_CMND.StylePriority.UseTextAlignment = false; this.xrl_NGAYCAP_CMND.Text = "Ngày cấp: "; this.xrl_NGAYCAP_CMND.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_SO_CMND // this.xrl_SO_CMND.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_SO_CMND.LocationFloat = new DevExpress.Utils.PointFloat(0F, 207F); this.xrl_SO_CMND.Name = "xrl_SO_CMND"; this.xrl_SO_CMND.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_SO_CMND.SizeF = new System.Drawing.SizeF(276.6668F, 23.00003F); this.xrl_SO_CMND.StylePriority.UseFont = false; this.xrl_SO_CMND.StylePriority.UseTextAlignment = false; this.xrl_SO_CMND.Text = "14. Số CMTND: "; this.xrl_SO_CMND.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_NOICAP_CMND // this.xrl_NOICAP_CMND.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Italic); this.xrl_NOICAP_CMND.LocationFloat = new DevExpress.Utils.PointFloat(276.6668F, 207F); this.xrl_NOICAP_CMND.Name = "xrl_NOICAP_CMND"; this.xrl_NOICAP_CMND.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_NOICAP_CMND.SizeF = new System.Drawing.SizeF(212.7084F, 23.00003F); this.xrl_NOICAP_CMND.StylePriority.UseFont = false; this.xrl_NOICAP_CMND.StylePriority.UseTextAlignment = false; this.xrl_NOICAP_CMND.Text = "Nơi cấp: "; this.xrl_NOICAP_CMND.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_GIOI_TINH // this.xrl_GIOI_TINH.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_GIOI_TINH.LocationFloat = new DevExpress.Utils.PointFloat(337.5F, 45.99997F); this.xrl_GIOI_TINH.Name = "xrl_GIOI_TINH"; this.xrl_GIOI_TINH.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_GIOI_TINH.SizeF = new System.Drawing.SizeF(131.8304F, 23.00002F); this.xrl_GIOI_TINH.StylePriority.UseFont = false; this.xrl_GIOI_TINH.StylePriority.UseTextAlignment = false; this.xrl_GIOI_TINH.Text = "3. Giới tính: (v)"; this.xrl_GIOI_TINH.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_NOI_SINH // this.xrl_NOI_SINH.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_NOI_SINH.LocationFloat = new DevExpress.Utils.PointFloat(1.041667F, 68.99999F); this.xrl_NOI_SINH.Name = "xrl_NOI_SINH"; this.xrl_NOI_SINH.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_NOI_SINH.SizeF = new System.Drawing.SizeF(614.5386F, 23.00002F); this.xrl_NOI_SINH.StylePriority.UseFont = false; this.xrl_NOI_SINH.StylePriority.UseTextAlignment = false; this.xrl_NOI_SINH.Text = "6. Nơi sinh: "; this.xrl_NOI_SINH.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrc_NAM // this.xrc_NAM.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrc_NAM.LocationFloat = new DevExpress.Utils.PointFloat(469.3303F, 45.99997F); this.xrc_NAM.Name = "xrc_NAM"; this.xrc_NAM.SizeF = new System.Drawing.SizeF(71.25F, 23F); this.xrc_NAM.StylePriority.UseFont = false; this.xrc_NAM.StylePriority.UseTextAlignment = false; this.xrc_NAM.Text = "Nam"; this.xrc_NAM.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrc_NU // this.xrc_NU.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrc_NU.LocationFloat = new DevExpress.Utils.PointFloat(544.3303F, 45.99997F); this.xrc_NU.Name = "xrc_NU"; this.xrc_NU.SizeF = new System.Drawing.SizeF(71.25F, 23F); this.xrc_NU.StylePriority.UseFont = false; this.xrc_NU.StylePriority.UseTextAlignment = false; this.xrc_NU.Text = "Nữ"; this.xrc_NU.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrl_NGAYSINH // this.xrl_NGAYSINH.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_NGAYSINH.LocationFloat = new DevExpress.Utils.PointFloat(101.875F, 45.99997F); this.xrl_NGAYSINH.Name = "xrl_NGAYSINH"; this.xrl_NGAYSINH.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_NGAYSINH.SizeF = new System.Drawing.SizeF(235.625F, 23F); this.xrl_NGAYSINH.StylePriority.UseFont = false; this.xrl_NGAYSINH.StylePriority.UseTextAlignment = false; this.xrl_NGAYSINH.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel15 // this.xrLabel15.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(0F, 161F); this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel15.SizeF = new System.Drawing.SizeF(125F, 23F); this.xrLabel15.StylePriority.UseFont = false; this.xrLabel15.StylePriority.UseTextAlignment = false; this.xrLabel15.Text = "12. Điện thoại: "; this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrl_Mail // this.xrl_Mail.Font = new System.Drawing.Font("Times New Roman", 12F); this.xrl_Mail.LocationFloat = new DevExpress.Utils.PointFloat(124.4087F, 184F); this.xrl_Mail.Name = "xrl_Mail"; this.xrl_Mail.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrl_Mail.SizeF = new System.Drawing.SizeF(626.5912F, 23F); this.xrl_Mail.StylePriority.UseFont = false; this.xrl_Mail.StylePriority.UseTextAlignment = false; this.xrl_Mail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // rp_UngvienChiTiet // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.ReportHeader, this.ReportFooter, this.PageFooter, this.DetailReport }); this.Margins = new System.Drawing.Printing.Margins(50, 49, 33, 47); this.Version = "10.1"; ((System.ComponentModel.ISupportInitialize)(this.sub_TuyenDung_UV_KetQuaThi1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sub_TuyenDung_UngVien_BC_CC1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sub_TuyenDung_UV_KinhNghiemCT1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sub_TuyenDung_UngVien_TruongDT1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.DataAccess.Sql.SelectQuery selectQuery1 = new DevExpress.DataAccess.Sql.SelectQuery(); DevExpress.DataAccess.Sql.Column column1 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression1 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Table table1 = new DevExpress.DataAccess.Sql.Table(); DevExpress.DataAccess.Sql.Column column2 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression2 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column3 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression3 = new DevExpress.DataAccess.Sql.ColumnExpression(); DevExpress.DataAccess.Sql.Column column4 = new DevExpress.DataAccess.Sql.Column(); DevExpress.DataAccess.Sql.ColumnExpression columnExpression4 = new DevExpress.DataAccess.Sql.ColumnExpression(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(XtraReport1)); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.sqlDataSource1 = new DevExpress.DataAccess.Sql.SqlDataSource(this.components); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo(); this.reportHeaderBand1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); this.groupHeaderBand1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); this.xrPanel1 = new DevExpress.XtraReports.UI.XRPanel(); this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTable2 = new DevExpress.XtraReports.UI.XRTable(); this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow(); this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox(); this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); this.Title = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailCaption3 = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailData3 = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailData3_Odd = new DevExpress.XtraReports.UI.XRControlStyle(); this.DetailCaptionBackground3 = new DevExpress.XtraReports.UI.XRControlStyle(); this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle(); ((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.HeightF = 25F; this.Detail.Name = "Detail"; this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // TopMargin // this.TopMargin.HeightF = 100F; this.TopMargin.Name = "TopMargin"; this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // BottomMargin // this.BottomMargin.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPageInfo1, this.xrPageInfo2 }); this.BottomMargin.HeightF = 100F; this.BottomMargin.Name = "BottomMargin"; this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // sqlDataSource1 // this.sqlDataSource1.ConnectionName = "DevDB"; this.sqlDataSource1.Name = "sqlDataSource1"; columnExpression1.ColumnName = "ch_id"; table1.Name = "rc_rtm_checklists"; columnExpression1.Table = table1; column1.Expression = columnExpression1; columnExpression2.ColumnName = "ch_title"; columnExpression2.Table = table1; column2.Expression = columnExpression2; columnExpression3.ColumnName = "ch_deleted"; columnExpression3.Table = table1; column3.Expression = columnExpression3; columnExpression4.ColumnName = "ch_description"; columnExpression4.Table = table1; column4.Expression = columnExpression4; selectQuery1.Columns.Add(column1); selectQuery1.Columns.Add(column2); selectQuery1.Columns.Add(column3); selectQuery1.Columns.Add(column4); selectQuery1.Name = "rc_rtm_checklists"; selectQuery1.Tables.Add(table1); this.sqlDataSource1.Queries.AddRange(new DevExpress.DataAccess.Sql.SqlQuery[] { selectQuery1 }); this.sqlDataSource1.ResultSchemaSerializable = resources.GetString("sqlDataSource1.ResultSchemaSerializable"); // // xrPageInfo1 // this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(3F, 3F); this.xrPageInfo1.Name = "xrPageInfo1"; this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime; this.xrPageInfo1.SizeF = new System.Drawing.SizeF(319F, 23F); this.xrPageInfo1.StyleName = "PageInfo"; // // xrPageInfo2 // this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(328F, 3F); this.xrPageInfo2.Name = "xrPageInfo2"; this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); this.xrPageInfo2.SizeF = new System.Drawing.SizeF(319F, 23F); this.xrPageInfo2.StyleName = "PageInfo"; this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; this.xrPageInfo2.TextFormatString = "Page {0} of {1}"; // // reportHeaderBand1 // this.reportHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel1 }); this.reportHeaderBand1.HeightF = 60F; this.reportHeaderBand1.Name = "reportHeaderBand1"; // // xrLabel1 // this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(3F, 3F); this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); this.xrLabel1.SizeF = new System.Drawing.SizeF(644F, 26F); this.xrLabel1.StyleName = "Title"; this.xrLabel1.Text = "RTM_tester"; // // groupHeaderBand1 // this.groupHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrPanel1 }); this.groupHeaderBand1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail; this.groupHeaderBand1.HeightF = 48F; this.groupHeaderBand1.Name = "groupHeaderBand1"; // // xrPanel1 // this.xrPanel1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrTable1 }); this.xrPanel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrPanel1.Name = "xrPanel1"; this.xrPanel1.SizeF = new System.Drawing.SizeF(650F, 48F); this.xrPanel1.StyleName = "DetailCaptionBackground3"; // // xrTable1 // this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 20F); this.xrTable1.Name = "xrTable1"; this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow1 }); this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 28F); // // xrTableRow1 // this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell1, this.xrTableCell2, this.xrTableCell3, this.xrTableCell4 }); this.xrTableRow1.Name = "xrTableRow1"; this.xrTableRow1.Weight = 1D; // // xrTableCell1 // this.xrTableCell1.Name = "xrTableCell1"; this.xrTableCell1.StyleName = "DetailCaption3"; this.xrTableCell1.Text = "ch id"; this.xrTableCell1.Weight = 0.15537847665640023D; // // xrTableCell2 // this.xrTableCell2.Name = "xrTableCell2"; this.xrTableCell2.StyleName = "DetailCaption3"; this.xrTableCell2.Text = "ch title"; this.xrTableCell2.Weight = 0.20318723238431491D; // // xrTableCell3 // this.xrTableCell3.Name = "xrTableCell3"; this.xrTableCell3.StyleName = "DetailCaption3"; this.xrTableCell3.StylePriority.UseTextAlignment = false; this.xrTableCell3.Text = "ch deleted"; this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell3.Weight = 0.27888444166917065D; // // xrTableCell4 // this.xrTableCell4.Name = "xrTableCell4"; this.xrTableCell4.StyleName = "DetailCaption3"; this.xrTableCell4.Text = "ch description"; this.xrTableCell4.Weight = 0.36254988450270431D; // // xrTable2 // this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrTable2.Name = "xrTable2"; this.xrTable2.OddStyleName = "DetailData3_Odd"; this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { this.xrTableRow2 }); this.xrTable2.SizeF = new System.Drawing.SizeF(650F, 25F); // // xrTableRow2 // this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { this.xrTableCell5, this.xrTableCell6, this.xrTableCell7, this.xrTableCell8 }); this.xrTableRow2.Name = "xrTableRow2"; this.xrTableRow2.Weight = 11.5D; // // xrTableCell5 // this.xrTableCell5.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[ch_id]") }); this.xrTableCell5.Name = "xrTableCell5"; this.xrTableCell5.StyleName = "DetailData3"; this.xrTableCell5.Text = "xrTableCell5"; this.xrTableCell5.Weight = 0.15537847665640023D; // // xrTableCell6 // this.xrTableCell6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[ch_title]") }); this.xrTableCell6.Name = "xrTableCell6"; this.xrTableCell6.StyleName = "DetailData3"; this.xrTableCell6.Text = "xrTableCell6"; this.xrTableCell6.Weight = 0.20318723238431491D; // // xrCheckBox1 // this.xrCheckBox1.AnchorHorizontal = ((DevExpress.XtraReports.UI.HorizontalAnchorStyles)((DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left | DevExpress.XtraReports.UI.HorizontalAnchorStyles.Right))); this.xrCheckBox1.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom))); this.xrCheckBox1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "CheckState", "[ch_deleted]") }); this.xrCheckBox1.GlyphAlignment = DevExpress.Utils.HorzAlignment.Center; this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); this.xrCheckBox1.Name = "xrCheckBox1"; this.xrCheckBox1.SizeF = new System.Drawing.SizeF(181.2749F, 25F); // // xrTableCell7 // this.xrTableCell7.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrCheckBox1 }); this.xrTableCell7.Name = "xrTableCell7"; this.xrTableCell7.StyleName = "DetailData3"; this.xrTableCell7.StylePriority.UseTextAlignment = false; this.xrTableCell7.Text = "xrTableCell7"; this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell7.Weight = 0.27888444166917065D; // // xrTableCell8 // this.xrTableCell8.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[ch_description]") }); this.xrTableCell8.Name = "xrTableCell8"; this.xrTableCell8.StyleName = "DetailData3"; this.xrTableCell8.Text = "xrTableCell8"; this.xrTableCell8.Weight = 0.36254986102764425D; // // Title // this.Title.BackColor = System.Drawing.Color.Transparent; this.Title.BorderColor = System.Drawing.Color.Black; this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None; this.Title.BorderWidth = 1F; this.Title.Font = new System.Drawing.Font("Tahoma", 14F); this.Title.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.Title.Name = "Title"; // // DetailCaption3 // this.DetailCaption3.BackColor = System.Drawing.Color.Transparent; this.DetailCaption3.BorderColor = System.Drawing.Color.Transparent; this.DetailCaption3.Borders = DevExpress.XtraPrinting.BorderSide.None; this.DetailCaption3.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.DetailCaption3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.DetailCaption3.Name = "DetailCaption3"; this.DetailCaption3.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F); this.DetailCaption3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // DetailData3 // this.DetailData3.Font = new System.Drawing.Font("Tahoma", 8F); this.DetailData3.ForeColor = System.Drawing.Color.Black; this.DetailData3.Name = "DetailData3"; this.DetailData3.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F); this.DetailData3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // DetailData3_Odd // this.DetailData3_Odd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(231)))), ((int)(((byte)(231))))); this.DetailData3_Odd.BorderColor = System.Drawing.Color.Transparent; this.DetailData3_Odd.Borders = DevExpress.XtraPrinting.BorderSide.None; this.DetailData3_Odd.BorderWidth = 1F; this.DetailData3_Odd.Font = new System.Drawing.Font("Tahoma", 8F); this.DetailData3_Odd.ForeColor = System.Drawing.Color.Black; this.DetailData3_Odd.Name = "DetailData3_Odd"; this.DetailData3_Odd.Padding = new DevExpress.XtraPrinting.PaddingInfo(6, 6, 0, 0, 100F); this.DetailData3_Odd.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // DetailCaptionBackground3 // this.DetailCaptionBackground3.BackColor = System.Drawing.Color.Transparent; this.DetailCaptionBackground3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(206)))), ((int)(((byte)(206))))); this.DetailCaptionBackground3.Borders = DevExpress.XtraPrinting.BorderSide.Top; this.DetailCaptionBackground3.BorderWidth = 2F; this.DetailCaptionBackground3.Name = "DetailCaptionBackground3"; // // PageInfo // this.PageInfo.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.PageInfo.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(75)))), ((int)(((byte)(75)))), ((int)(((byte)(75))))); this.PageInfo.Name = "PageInfo"; this.PageInfo.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); // // XtraReport1 // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.reportHeaderBand1, this.groupHeaderBand1 }); this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] { this.sqlDataSource1 }); this.DataMember = "rc_rtm_checklists"; this.DataSource = this.sqlDataSource1; this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] { this.Title, this.DetailCaption3, this.DetailData3, this.DetailData3_Odd, this.DetailCaptionBackground3, this.PageInfo }); this.Version = "17.2"; ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
void SetContentData() { if (_dicData == null) { return; } List <XRControl> list = FindControl(this, true); list.ForEach(x => { if (x.Tag != null) { string tag = x.Tag.ToString(); if (tag.StartsWith("f:")) { tag = tag.Replace("f:", ""); if (_dicData.ContainsKey(tag)) { x.Text = string.Format(x.Text, _dicData[tag]); } } else if (tag.StartsWith("r:")) { tag = tag.Replace("r:", ""); string[] tags = tag.Split('-'); tag = tags[0]; string val = tags[1]; if (_dicData.ContainsKey(tag)) { if (_dicData[tag] != null) { XRCheckBox chk = (XRCheckBox)x; string[] values = _dicData[tag].ToString().Split(','); chk.Checked = values.Contains(val); if (chk.Checked) { chk.ForeColor = Color.Blue; } } } } else if (tag.StartsWith("t:")) { tag = tag.Replace("t:", ""); if (_dicData.ContainsKey(tag)) { x.Text = ((DateTime)_dicData[tag]).ToString("HH:mm:ss"); } } else if (tag.StartsWith("dt:")) { tag = tag.Replace("dt:", ""); if (_dicData.ContainsKey(tag)) { x.Text = ((DateTime)_dicData[tag]).ToString("yyyy-MM-dd HH:mm:ss"); } } else { if (_dicData.ContainsKey(tag)) { x.Text = _dicData[tag] == null ? "" : _dicData[tag].ToString(); } } } }); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrCheckBox1 = new DevExpress.XtraReports.UI.XRCheckBox(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.ClearanceID = new DevExpress.XtraReports.Parameters.Parameter(); this.objectDataSource1 = new DevExpress.DataAccess.ObjectBinding.ObjectDataSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // TopMargin // this.TopMargin.Name = "TopMargin"; // // BottomMargin // this.BottomMargin.Name = "BottomMargin"; // // Detail // this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { this.xrLabel2, this.xrCheckBox1 }); this.Detail.HeightF = 23F; this.Detail.Name = "Detail"; // // xrCheckBox1 // this.xrCheckBox1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "CheckState", "[isUsed]") }); this.xrCheckBox1.LocationFloat = new DevExpress.Utils.PointFloat(18.75005F, 0F); this.xrCheckBox1.Name = "xrCheckBox1"; this.xrCheckBox1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrCheckBox1.SizeF = new System.Drawing.SizeF(27.08334F, 23F); // // xrLabel2 // this.xrLabel2.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[ReportPurpose]") }); this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(45.83338F, 0F); this.xrLabel2.Multiline = true; this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); this.xrLabel2.SizeF = new System.Drawing.SizeF(211.4583F, 19F); this.xrLabel2.StylePriority.UseTextAlignment = false; this.xrLabel2.Text = "xrLabel2"; this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // ClearanceID // this.ClearanceID.Description = "Parameter1"; this.ClearanceID.Name = "ClearanceID"; this.ClearanceID.Type = typeof(int); this.ClearanceID.ValueInfo = "0"; this.ClearanceID.Visible = false; // // objectDataSource1 // this.objectDataSource1.DataMember = "GetReportPurposes"; this.objectDataSource1.DataSource = typeof(BrgyMgmt.Web.Models.ClearanceReportPurposes); this.objectDataSource1.Name = "objectDataSource1"; // // rptClearanceUsage // this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { this.TopMargin, this.BottomMargin, this.Detail }); this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] { this.objectDataSource1 }); this.DataSource = this.objectDataSource1; this.FilterString = "[ClearanceId] = ?ClearanceID"; this.Font = new System.Drawing.Font("Arial", 9.75F); this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] { this.ClearanceID }); this.Version = "19.2"; ((System.ComponentModel.ISupportInitialize)(this.objectDataSource1)).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 { } }