/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Invoice)); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter3 = new Telerik.Reporting.ReportParameter(); this.OrderNumbersDataSource = new Telerik.Reporting.SqlDataSource(); this.detail = new Telerik.Reporting.DetailSection(); this.panel4 = new Telerik.Reporting.Panel(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox16 = new Telerik.Reporting.TextBox(); this.textBox17 = new Telerik.Reporting.TextBox(); this.textBox18 = new Telerik.Reporting.TextBox(); this.textBox19 = new Telerik.Reporting.TextBox(); this.textBox21 = new Telerik.Reporting.TextBox(); this.textBox28 = new Telerik.Reporting.TextBox(); this.textBox29 = new Telerik.Reporting.TextBox(); this.textBox30 = new Telerik.Reporting.TextBox(); this.textBox31 = new Telerik.Reporting.TextBox(); this.textBox32 = new Telerik.Reporting.TextBox(); this.panel1 = new Telerik.Reporting.Panel(); this.textBox24 = new Telerik.Reporting.TextBox(); this.textBox23 = new Telerik.Reporting.TextBox(); this.textBox25 = new Telerik.Reporting.TextBox(); this.textBox26 = new Telerik.Reporting.TextBox(); this.textBox27 = new Telerik.Reporting.TextBox(); this.panel2 = new Telerik.Reporting.Panel(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.group1 = new Telerik.Reporting.Group(); this.groupFooterSection1 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection1 = new Telerik.Reporting.GroupHeaderSection(); this.panel5 = new Telerik.Reporting.Panel(); this.Text1 = new Telerik.Reporting.TextBox(); this.Field6 = new Telerik.Reporting.TextBox(); this.Text12 = new Telerik.Reporting.TextBox(); this.Id1 = new Telerik.Reporting.TextBox(); this.barcode2 = new Telerik.Reporting.Barcode(); this.pictureBox1 = new Telerik.Reporting.PictureBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.panel3 = new Telerik.Reporting.Panel(); this.Text8 = new Telerik.Reporting.TextBox(); this.InvoicesDataSource = new Telerik.Reporting.SqlDataSource(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox22 = new Telerik.Reporting.TextBox(); this.subReport1 = new Telerik.Reporting.SubReport(); this.salesOrderDetails1 = new Telerik.Reporting.SalesOrderDetails(); ((System.ComponentModel.ISupportInitialize)(this.salesOrderDetails1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // OrderNumbersDataSource // this.OrderNumbersDataSource.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.OrderNumbersDataSource.Name = "OrderNumbers"; this.OrderNumbersDataSource.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@ForYear", System.Data.DbType.String, "=Parameters.ForYear.Value"), new Telerik.Reporting.SqlDataSourceParameter("@ForMonth", System.Data.DbType.String, "=Parameters.ForMonth.Value")}); this.OrderNumbersDataSource.SelectCommand = resources.GetString("OrderNumbersDataSource.SelectCommand"); // // detail // this.detail.Height = new Telerik.Reporting.Drawing.Unit(3.2780463695526123D, Telerik.Reporting.Drawing.UnitType.Inch); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.panel4, this.subReport1}); this.detail.KeepTogether = false; this.detail.Name = "detail"; // // panel4 // this.panel4.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox14, this.textBox10, this.textBox9, this.textBox8, this.textBox6, this.textBox4, this.textBox12, this.textBox13, this.textBox11, this.textBox16, this.textBox17, this.textBox18, this.textBox19, this.textBox21, this.textBox28, this.textBox29, this.textBox30, this.textBox31, this.textBox32, this.panel1, this.panel2, this.textBox2, this.textBox3}); this.panel4.KeepTogether = false; this.panel4.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.0833333358168602D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel4.Name = "panel4"; this.panel4.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.5D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.7000000476837158D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel4.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(221)))), ((int)(((byte)(252))))); this.panel4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; // // textBox14 // this.textBox14.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.0103377103805542D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.38954368233680725D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9937108755111694D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox14.Value = "=Fields.Store"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.0103377103805542D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.8120609521865845D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9937108755111694D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox10.Value = "=Fields.CustPhone"; // // textBox9 // this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.0103377103805542D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.5259628295898438D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.993710994720459D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox9.Value = "=Fields.CustFirstName + \" \" + Fields.CustLastName"; // // textBox8 // this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.099921144545078278D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.5259628295898438D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.72496062517166138D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox8.Style.Font.Bold = true; this.textBox8.Style.Font.Name = "Verdana"; this.textBox8.Value = "Contact:"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.0103377103805542D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.1898593902587891D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9937108755111694D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox6.Value = "=Fields.BillCountryRegion"; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.0103377103805542D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.98978042602539062D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9937108755111694D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox4.Value = "=Fields.BillPostalCode + \" \" + Fields.BillCity"; // // textBox12 // this.textBox12.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.0103377103805542D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.78970146179199219D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9937108755111694D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox12.Value = "=IsNull(Fields.BillAddress2, \'No secondary Address\')"; // // textBox13 // this.textBox13.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.0103377103805542D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.58962249755859375D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9937108755111694D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox13.Value = "=Fields.BillAddress1"; // // textBox11 // this.textBox11.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.099921144545078278D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.8120609521865845D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.72496062517166138D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox11.Style.Font.Bold = true; this.textBox11.Style.Font.Name = "Verdana"; this.textBox11.Value = "Phone:"; // // textBox16 // this.textBox16.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(4.7736506462097168D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.389543741941452D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.6291275024414062D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox16.Value = "=Fields.Store"; // // textBox17 // this.textBox17.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(4.7736506462097168D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.58962267637252808D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox17.Name = "textBox17"; this.textBox17.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.6291275024414062D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox17.Value = "=Fields.ShipAddress1"; // // textBox18 // this.textBox18.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(4.7736506462097168D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.78970146179199219D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox18.Name = "textBox18"; this.textBox18.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.6291275024414062D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox18.Value = "=IsNull(Fields.ShipAddress2, \'No secondary Address\')"; // // textBox19 // this.textBox19.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(4.7736506462097168D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.98978042602539062D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox19.Name = "textBox19"; this.textBox19.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.6291275024414062D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox19.Value = "=Fields.ShipPostalCode + \" \" + Fields.ShipCity + \", \" + Fields.ShipStateProvince " + ""; // // textBox21 // this.textBox21.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(4.7736506462097168D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.18985915184021D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox21.Name = "textBox21"; this.textBox21.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.6291275024414062D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox21.Value = "=Fields.ShipCountryRegion"; // // textBox28 // this.textBox28.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.7430548667907715D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.332122802734375D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox28.Name = "textBox28"; this.textBox28.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.6736117601394653D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox28.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox28.Value = "=Fields.ShipMethod"; // // textBox29 // this.textBox29.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(4.3639674186706543D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.332122802734375D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox29.Name = "textBox29"; this.textBox29.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.3790086507797241D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox29.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox29.Value = "=Fields.PurchaseOrderNumber"; // // textBox30 // this.textBox30.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(2.3792455196380615D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.332122802734375D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox30.Name = "textBox30"; this.textBox30.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9846428632736206D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox30.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox30.Value = "=Fields.SalesFirstName + \" \" + Fields.SalesLastName"; // // textBox31 // this.textBox31.Format = "{0:d}"; this.textBox31.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.099921144545078278D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.332122802734375D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox31.Name = "textBox31"; this.textBox31.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.1395833492279053D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox31.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox31.Value = "=Now()"; // // textBox32 // this.textBox32.Format = "{0:d}"; this.textBox32.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.2395831346511841D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.332122802734375D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox32.Name = "textBox32"; this.textBox32.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.1395833492279053D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox32.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox32.Value = "=Fields.OrderDate"; // // panel1 // this.panel1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox24, this.textBox23, this.textBox25, this.textBox26, this.textBox27}); this.panel1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.099921144545078278D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.05200457572937D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel1.Name = "panel1"; this.panel1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.316746711730957D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.2800394594669342D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(245)))), ((int)(((byte)(255))))); // // textBox24 // this.textBox24.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox24.Name = "textBox24"; this.textBox24.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.1395833492279053D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.2800000011920929D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox24.Style.Font.Bold = true; this.textBox24.Style.Font.Name = "Verdana"; this.textBox24.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox24.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox24.Value = "Date"; // // textBox23 // this.textBox23.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.1396621465682983D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox23.Name = "textBox23"; this.textBox23.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.1395833492279053D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.2800000011920929D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox23.Style.Font.Bold = true; this.textBox23.Style.Font.Name = "Verdana"; this.textBox23.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox23.Value = "Order Date"; // // textBox25 // this.textBox25.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(2.2793638706207275D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox25.Name = "textBox25"; this.textBox25.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9846034049987793D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.2800000011920929D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox25.Style.Font.Bold = true; this.textBox25.Style.Font.Name = "Verdana"; this.textBox25.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox25.Value = "Sales Person"; // // textBox26 // this.textBox26.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(4.2640457153320312D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox26.Name = "textBox26"; this.textBox26.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.3790086507797241D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.2800000011920929D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox26.Style.Font.Bold = true; this.textBox26.Style.Font.Name = "Verdana"; this.textBox26.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox26.Value = "Purchase Order"; // // textBox27 // this.textBox27.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.6431331634521484D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox27.Name = "textBox27"; this.textBox27.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.6736125946044922D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.2800000011920929D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox27.Style.Font.Bold = true; this.textBox27.Style.Font.Name = "Verdana"; this.textBox27.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox27.Value = "Shipment Method"; // // panel2 // this.panel2.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox7}); this.panel2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.099921144545078278D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.099464893341064453D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel2.Name = "panel2"; this.panel2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.3028569221496582D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29003939032554626D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(245)))), ((int)(((byte)(255))))); // // textBox7 // this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.9041273593902588D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.28999999165534973D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox7.Style.Font.Bold = true; this.textBox7.Style.Font.Name = "Verdana"; this.textBox7.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox7.Value = "Customer Details"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.099921144545078278D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.38958317041397095D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.800000011920929D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox2.Style.Font.Bold = true; this.textBox2.Style.Font.Name = "Verdana"; this.textBox2.Value = "Address:"; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(4.0519428253173828D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.389543741941452D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.72162878513336182D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.19999997317790985D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox3.Style.Font.Bold = true; this.textBox3.Style.Font.Name = "Verdana"; this.textBox3.Value = "Ship to:"; // // group1 // this.group1.GroupFooter = this.groupFooterSection1; this.group1.GroupHeader = this.groupHeaderSection1; this.group1.Name = "group1"; // // groupFooterSection1 // this.groupFooterSection1.Height = new Telerik.Reporting.Drawing.Unit(0.23541705310344696D, Telerik.Reporting.Drawing.UnitType.Inch); this.groupFooterSection1.Name = "groupFooterSection1"; this.groupFooterSection1.Style.Visible = false; // // groupHeaderSection1 // this.groupHeaderSection1.Height = new Telerik.Reporting.Drawing.Unit(1.2865371704101563D, Telerik.Reporting.Drawing.UnitType.Inch); this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.panel5}); this.groupHeaderSection1.Name = "groupHeaderSection1"; // // panel5 // this.panel5.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.Text1, this.Field6, this.Text12, this.Id1, this.barcode2, this.pictureBox1, this.textBox1, this.panel3, this.Text8}); this.panel5.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.010456085205078125D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.9339065551757812E-05D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel5.Name = "panel5"; this.panel5.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(19.023441314697266D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(3.2677044868469238D, Telerik.Reporting.Drawing.UnitType.Cm)); this.panel5.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(240)))), ((int)(((byte)(255))))); this.panel5.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(221)))), ((int)(((byte)(252))))); this.panel5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; // // Text1 // this.Text1.CanGrow = false; this.Text1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.0309247970581055D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.9893181324005127D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Text1.Name = "Text1"; this.Text1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(4.852510929107666D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.523809552192688D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Text1.Style.BackgroundColor = System.Drawing.Color.Empty; this.Text1.Style.BorderColor.Default = System.Drawing.Color.Black; this.Text1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.Text1.Style.Color = System.Drawing.Color.Black; this.Text1.Style.Font.Bold = false; this.Text1.Style.Font.Italic = false; this.Text1.Style.Font.Name = "Verdana"; this.Text1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(8D, Telerik.Reporting.Drawing.UnitType.Point); this.Text1.Style.Font.Strikeout = false; this.Text1.Style.Font.Underline = false; this.Text1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.Text1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Top; this.Text1.Style.Visible = true; this.Text1.Value = "275 Grove St., Suite 2-400, Newton, MA 02466\r\nPhone: +1.888.365.2779\r\nFax: +1.617" + ".249.2116"; // // Field6 // this.Field6.CanGrow = false; this.Field6.Format = "{0:d}"; this.Field6.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(16.280376434326172D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(2.2130587100982666D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Field6.Name = "Field6"; this.Field6.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.7429654598236084D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Field6.Style.BackgroundColor = System.Drawing.Color.Empty; this.Field6.Style.BorderColor.Default = System.Drawing.Color.Black; this.Field6.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.Field6.Style.Color = System.Drawing.Color.OrangeRed; this.Field6.Style.Font.Bold = true; this.Field6.Style.Font.Italic = false; this.Field6.Style.Font.Name = "Verdana"; this.Field6.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.Field6.Style.Font.Strikeout = false; this.Field6.Style.Font.Underline = false; this.Field6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.Field6.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.Field6.Style.Visible = true; this.Field6.Value = "=Now()"; // // Text12 // this.Text12.CanGrow = false; this.Text12.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(10.177068710327148D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(2.2130589485168457D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Text12.Name = "Text12"; this.Text12.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.6963250637054443D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Text12.Style.BackgroundColor = System.Drawing.Color.Empty; this.Text12.Style.BorderColor.Default = System.Drawing.Color.Black; this.Text12.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.Text12.Style.Color = System.Drawing.Color.Black; this.Text12.Style.Font.Bold = true; this.Text12.Style.Font.Italic = false; this.Text12.Style.Font.Name = "Verdana"; this.Text12.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.Text12.Style.Font.Strikeout = false; this.Text12.Style.Font.Underline = false; this.Text12.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.Text12.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.Text12.Style.Visible = true; this.Text12.Value = "Sales Order:"; // // Id1 // this.Id1.CanGrow = false; this.Id1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(12.8735933303833D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(2.2130589485168457D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Id1.Name = "Id1"; this.Id1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.0355603694915771D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Id1.Style.BackgroundColor = System.Drawing.Color.Empty; this.Id1.Style.BorderColor.Default = System.Drawing.Color.Black; this.Id1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.Id1.Style.Color = System.Drawing.Color.OrangeRed; this.Id1.Style.Font.Bold = true; this.Id1.Style.Font.Italic = false; this.Id1.Style.Font.Name = "Verdana"; this.Id1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(11D, Telerik.Reporting.Drawing.UnitType.Point); this.Id1.Style.Font.Strikeout = false; this.Id1.Style.Font.Underline = false; this.Id1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.Id1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.Id1.Style.Visible = true; this.Id1.Value = "=Fields.SalesOrderID"; // // barcode2 // this.barcode2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(12.792195320129395D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.24975340068340302D, Telerik.Reporting.Drawing.UnitType.Cm)); this.barcode2.Name = "barcode2"; this.barcode2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(6.2312464714050293D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(1.7093372344970703D, Telerik.Reporting.Drawing.UnitType.Cm)); this.barcode2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.barcode2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.barcode2.Value = "=Fields.PurchaseOrderNumber"; // // pictureBox1 // this.pictureBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0.18954388797283173D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.078749977052211761D, Telerik.Reporting.Drawing.UnitType.Inch)); this.pictureBox1.MimeType = "image/jpeg"; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.6123565435409546D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.71079403162002563D, Telerik.Reporting.Drawing.UnitType.Inch)); this.pictureBox1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(221)))), ((int)(((byte)(252))))); this.pictureBox1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.pictureBox1.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Point); this.pictureBox1.Value = ((object)(resources.GetObject("pictureBox1.Value"))); // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(1.9809513092041016D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.0983281135559082D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.9106760025024414D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29121589660644531D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox1.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(90)))), ((int)(((byte)(184))))); this.textBox1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(16D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox1.Value = "AdventureWorks"; // // panel3 // this.panel3.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(1.0682121515274048D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel3.Name = "panel3"; this.panel3.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.4895052909851074D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.21828572452068329D, Telerik.Reporting.Drawing.UnitType.Inch)); this.panel3.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(229)))), ((int)(((byte)(255))))); // // Text8 // this.Text8.CanGrow = false; this.Text8.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(14.909354209899902D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(2.2130589485168457D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Text8.Name = "Text8"; this.Text8.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.3708218336105347D, Telerik.Reporting.Drawing.UnitType.Cm), new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Cm)); this.Text8.Style.BackgroundColor = System.Drawing.Color.Empty; this.Text8.Style.BorderColor.Default = System.Drawing.Color.Black; this.Text8.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; this.Text8.Style.Color = System.Drawing.Color.Black; this.Text8.Style.Font.Bold = true; this.Text8.Style.Font.Italic = false; this.Text8.Style.Font.Name = "Verdana"; this.Text8.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.Text8.Style.Font.Strikeout = false; this.Text8.Style.Font.Underline = false; this.Text8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.Text8.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.Text8.Style.Visible = true; this.Text8.Value = "Date:"; // // InvoicesDataSource // this.InvoicesDataSource.ConnectionString = "Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString"; this.InvoicesDataSource.Name = "Invoices"; this.InvoicesDataSource.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@SalesOrderNumber", System.Data.DbType.String, "=Parameters.OrderNumber.Value")}); this.InvoicesDataSource.SelectCommand = resources.GetString("InvoicesDataSource.SelectCommand"); // // pageFooterSection1 // this.pageFooterSection1.Height = new Telerik.Reporting.Drawing.Unit(0.1875D, Telerik.Reporting.Drawing.UnitType.Inch); this.pageFooterSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox5, this.textBox22}); this.pageFooterSection1.Name = "pageFooterSection1"; this.pageFooterSection1.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(173)))), ((int)(((byte)(221)))), ((int)(((byte)(252))))); this.pageFooterSection1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.pageFooterSection1.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); // // textBox5 // this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(3.40625D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.1875D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox5.Style.BackgroundColor = System.Drawing.Color.Empty; this.textBox5.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(90)))), ((int)(((byte)(184))))); this.textBox5.Style.Font.Italic = false; this.textBox5.Value = "=PageExec(\"lineTotalDataTextBox\",Count(Fields.ProductNumber)) + \" products, \" + P" + "ageExec(\"lineTotalDataTextBox\",Sum(Fields.OrderQty)) + \" items on page \" + Page" + "Number"; // // textBox22 // this.textBox22.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.2715086936950684D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox22.Name = "textBox22"; this.textBox22.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(2.1312694549560547D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.18742115795612335D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox22.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(44)))), ((int)(((byte)(90)))), ((int)(((byte)(184))))); this.textBox22.Style.Font.Italic = false; this.textBox22.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox22.Value = "=PageExec(\"lineTotalDataTextBox\",sum(LineTotal))"; this.textBox22.Format = "{0:C2}"; // // subReport1 // this.subReport1.KeepTogether = false; this.subReport1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(7.8837074397597462E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(2.8858587741851807D, Telerik.Reporting.Drawing.UnitType.Inch)); this.subReport1.Name = "subReport1"; this.subReport1.Parameters.Add(new Telerik.Reporting.Parameter("SaledOrderID", "=Fields.SalesOrderID")); this.subReport1.ReportSource = this.salesOrderDetails1; this.subReport1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.4999217987060547D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.27500006556510925D, Telerik.Reporting.Drawing.UnitType.Inch)); // // salesOrderDetails1 // this.salesOrderDetails1.Name = "salesOrderDetails1"; // // Invoice // this.DataSource = this.InvoicesDataSource; this.Filters.AddRange(new Telerik.Reporting.Data.Filter[] { new Telerik.Reporting.Data.Filter("=Fields.SalesOrderNumber", Telerik.Reporting.Data.FilterOperator.Equal, "=Parameters.OrderNumber.Value")}); this.Groups.AddRange(new Telerik.Reporting.Group[] { this.group1}); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection1, this.groupFooterSection1, this.detail, this.pageFooterSection1}); this.PageSettings.Landscape = false; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.AutoRefresh = true; reportParameter1.AvailableValues.DataSource = this.OrderNumbersDataSource; reportParameter1.AvailableValues.DisplayMember = "SalesOrderNumber"; reportParameter1.AvailableValues.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.SalesOrderNumber", Telerik.Reporting.Data.SortDirection.Asc)}); reportParameter1.AvailableValues.ValueMember = "SalesOrderNumber"; reportParameter1.Name = "OrderNumber"; reportParameter1.Text = "Order #"; reportParameter1.Value = "=First(Fields.SalesOrderNumber)"; reportParameter1.Visible = true; reportParameter2.Name = "ForYear"; reportParameter2.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter2.Value = "=2003"; reportParameter3.Name = "ForMonth"; reportParameter3.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter3.Value = "=7"; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = new Telerik.Reporting.Drawing.Unit(7.5000009536743164D, Telerik.Reporting.Drawing.UnitType.Inch); ((System.ComponentModel.ISupportInitialize)(this.salesOrderDetails1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
public TemplateModel PrepareMainTemplate(TreeView tvSource, List <GridModelProperty> lsModelProps) { try { var body = new BodySectionModel(); var Header = new PageHeaderSection(); var Footer = new PageFooterSection(); foreach (TreeNode item in tvSource.Nodes[0].Nodes) { switch (item.Text.ToUpper()) { case "CONTENT": body.Tables = new List <TableModel>(); foreach (TreeNode tab in item.Nodes) { body.Tables.Add(PrepareMainTable(tab)); } break; case "PAGEHEADER": Header.Tables = new List <TableModel>(); foreach (TreeNode tab in item.Nodes) { body.Tables.Add(PrepareMainTable(tab)); } break; case "PAGEFOOTER": Footer = new PageFooterSection() { FooterType = "N" }; break; } } var objDocprops = (tvSource.Nodes[0].Tag as ControlPropertyModel).Properties as DocumentGridModel; var objTemplate = GetTemplate(objDocprops.Template, body, Header, Footer); objTemplate.ModelVariables = lsModelProps.Select(x => new ModelInfoModel { ModelName = x.ModelName, ModelType = x.ModelType }).Distinct().ToList(); objTemplate.bindingModelProps = lsModelProps.Select(x => new BindingModel { ModelVariable = x.ModelName, PropName = x.FieldName }).Distinct().ToList(); objTemplate.Name = objDocprops.Name; objTemplate.NameSpace = objDocprops.Namespace; objTemplate.Type = objDocprops.Template.ToUpper() == "CUSTOM"?"C":objDocprops.Template; objTemplate.Location = objDocprops.Location; return(objTemplate); } catch (Exception ex) { } return(null); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter3 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter4 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter5 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter6 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter7 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector2 = new Telerik.Reporting.Drawing.DescendantSelector(); this.sqlDataSource = new Telerik.Reporting.SqlDataSource(); this.detail = new Telerik.Reporting.DetailSection(); this.txtTongTien = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox1 = new Telerik.Reporting.TextBox(); this.txtNgay = new Telerik.Reporting.TextBox(); this.sqlDataSource1 = new Telerik.Reporting.SqlDataSource(); this.table1 = new Telerik.Reporting.Table(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // sqlDataSource // this.sqlDataSource.Name = "sqlDataSource"; // // detail // this.detail.Height = new Telerik.Reporting.Drawing.Unit(1.1999999284744263D, Telerik.Reporting.Drawing.UnitType.Inch); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.txtTongTien, this.textBox12, this.table1}); this.detail.Name = "detail"; // // txtTongTien // this.txtTongTien.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.8141498565673828D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.89999991655349731D, Telerik.Reporting.Drawing.UnitType.Inch)); this.txtTongTien.Name = "txtTongTien"; this.txtTongTien.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535274505615234D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.30000001192092896D, Telerik.Reporting.Drawing.UnitType.Inch)); this.txtTongTien.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.txtTongTien.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.txtTongTien.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.txtTongTien.Value = ""; // // textBox12 // this.textBox12.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.1076583862304688D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.89999991655349731D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.70641261339187622D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29996061325073242D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox12.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox12.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox12.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox12.Value = "Tổng tiền: "; // // pageFooterSection1 // this.pageFooterSection1.Height = new Telerik.Reporting.Drawing.Unit(0.30000004172325134D, Telerik.Reporting.Drawing.UnitType.Inch); this.pageFooterSection1.Name = "pageFooterSection1"; // // pageHeaderSection1 // this.pageHeaderSection1.Height = new Telerik.Reporting.Drawing.Unit(0.60000008344650269D, Telerik.Reporting.Drawing.UnitType.Inch); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1, this.txtNgay}); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.9378803194267675E-05D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.2676773071289062D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29996061325073242D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(15D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox1.Value = "THỐNG KÊ DOANH THU"; // // txtNgay // this.txtNgay.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.30007871985435486D, Telerik.Reporting.Drawing.UnitType.Inch)); this.txtNgay.Name = "txtNgay"; this.txtNgay.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.2676377296447754D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29984259605407715D, Telerik.Reporting.Drawing.UnitType.Inch)); this.txtNgay.Style.Font.Name = "Arial"; this.txtNgay.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(15D, Telerik.Reporting.Drawing.UnitType.Point); this.txtNgay.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.txtNgay.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.txtNgay.Value = ""; // // sqlDataSource1 // this.sqlDataSource1.ConnectionString = "Telerik.Reporting.Properties.Settings.ttewjkqv_qlks"; this.sqlDataSource1.Name = "sqlDataSource1"; this.sqlDataSource1.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@NgayRaSo", System.Data.DbType.Int32, "20120321")}); this.sqlDataSource1.SelectCommand = "dbo.sp_HoaDon_GetItems_TheoNgay"; this.sqlDataSource1.SelectCommandType = Telerik.Reporting.SqlDataSourceCommandType.StoredProcedure; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch))); this.table1.Body.SetCellContent(0, 0, this.textBox7); this.table1.Body.SetCellContent(0, 1, this.textBox8); this.table1.Body.SetCellContent(0, 2, this.textBox9); this.table1.Body.SetCellContent(0, 3, this.textBox10); this.table1.Body.SetCellContent(0, 4, this.textBox11); tableGroup1.ReportItem = this.textBox2; tableGroup2.ReportItem = this.textBox3; tableGroup3.ReportItem = this.textBox4; tableGroup4.ReportItem = this.textBox5; tableGroup5.ReportItem = this.textBox6; this.table1.ColumnGroups.Add(tableGroup1); this.table1.ColumnGroups.Add(tableGroup2); this.table1.ColumnGroups.Add(tableGroup3); this.table1.ColumnGroups.Add(tableGroup4); this.table1.ColumnGroups.Add(tableGroup5); this.table1.DataSource = this.sqlDataSource; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox2, this.textBox3, this.textBox4, this.textBox5, this.textBox6, this.textBox7, this.textBox8, this.textBox9, this.textBox10, this.textBox11}); this.table1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.099999986588954926D, Telerik.Reporting.Drawing.UnitType.Inch)); this.table1.Name = "table1"; tableGroup6.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("")}); tableGroup6.Name = "Detail"; this.table1.RowGroups.Add(tableGroup6); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.2676382064819336D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.59999996423721313D, Telerik.Reporting.Drawing.UnitType.Inch)); this.table1.StyleName = "Normal.TableNormal"; // // textBox2 // this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox2.Style.Font.Name = "Arial"; this.textBox2.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox2.StyleName = "Normal.TableHeader"; this.textBox2.Value = "Ngày vào"; // // textBox3 // this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox3.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox3.Style.Font.Name = "Arial"; this.textBox3.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox3.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox3.StyleName = "Normal.TableHeader"; this.textBox3.Value = "Ngày ra"; // // textBox4 // this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox4.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox4.Style.Font.Name = "Arial"; this.textBox4.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox4.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox4.StyleName = "Normal.TableHeader"; this.textBox4.Value = "Loại thuê"; // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox5.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox5.Style.Font.Name = "Arial"; this.textBox5.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox5.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox5.StyleName = "Normal.TableHeader"; this.textBox5.Value = "Ca"; // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox6.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox6.Style.Font.Name = "Arial"; this.textBox6.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox6.StyleName = "Normal.TableHeader"; this.textBox6.Value = "Thành tiền"; // // textBox7 // this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox7.Style.Font.Name = "Arial"; this.textBox7.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox7.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox7.StyleName = "Normal.TableBody"; this.textBox7.Value = "=Fields.NgayVao"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox8.Style.Font.Name = "Arial"; this.textBox8.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox8.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox8.StyleName = "Normal.TableBody"; this.textBox8.Value = "=Fields.NgayRa"; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox9.Style.Font.Name = "Arial"; this.textBox9.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox9.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox9.StyleName = "Normal.TableBody"; this.textBox9.Value = "=Fields.Thue"; // // textBox10 // this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox10.Style.Font.Name = "Arial"; this.textBox10.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox10.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox10.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox10.StyleName = "Normal.TableBody"; this.textBox10.Value = "=Fields.LoaiCa"; // // textBox11 // this.textBox11.Format = "{0:N0}"; this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.4535276889801025D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29999998211860657D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox11.Style.Font.Name = "Arial"; this.textBox11.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox11.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox11.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox11.StyleName = "Normal.TableBody"; this.textBox11.Value = "=Fields.TongTien"; // // ReportThongKeDoanhThu // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1}); this.PageSettings.Landscape = false; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4; reportParameter1.Name = "Type"; reportParameter1.Text = "Type"; reportParameter2.Name = "Ngay"; reportParameter2.Text = "Ngay"; reportParameter3.Name = "Thang"; reportParameter3.Text = "Thang"; reportParameter4.Name = "Nam"; reportParameter4.Text = "Nam"; reportParameter5.Name = "TuNgay"; reportParameter5.Text = "TuNgay"; reportParameter6.Name = "DenNgay"; reportParameter6.Text = "DenNgay"; reportParameter7.Name = "TongTien"; reportParameter7.Text = "TongTien"; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.ReportParameters.Add(reportParameter4); this.ReportParameters.Add(reportParameter5); this.ReportParameters.Add(reportParameter6); this.ReportParameters.Add(reportParameter7); this.Style.BackgroundColor = System.Drawing.Color.White; styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.Table), "Normal.TableNormal")}); styleRule1.Style.BackgroundColor = System.Drawing.Color.White; styleRule1.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule1.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); styleRule1.Style.Color = System.Drawing.Color.Black; styleRule1.Style.Font.Name = "Tahoma"; styleRule1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(8D, Telerik.Reporting.Drawing.UnitType.Point); descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Normal.TableHeader")}); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector1}); styleRule2.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule2.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule2.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; descendantSelector2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Normal.TableBody")}); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector2}); styleRule3.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule3.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3}); this.Width = new Telerik.Reporting.Drawing.Unit(7.2677168846130371D, Telerik.Reporting.Drawing.UnitType.Inch); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
private TemplateModel GetTemplate(string type, BodySectionModel objBody = null, PageHeaderSection pageHdr = null, PageFooterSection pageFooter = null) { var dict = new Dictionary <string, TemplateModel> { { "HCF", new HCF_TemplateModel() { Body = objBody, PageHeader = pageHdr, PageFooter = pageFooter } }, { "HC", new HC_TemplateModel() { Body = objBody, PageHeader = pageHdr } }, { "CF", new CF_TemplateModel() { Body = objBody, PageFooter = pageFooter } }, { "CUSTOM", new C_TemplateModel() { Body = objBody } } }; return(dict[type.ToUpper()]); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.Crosstab crosstab2; Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup7 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter3 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter4 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter5 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter6 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter7 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector2 = new Telerik.Reporting.Drawing.DescendantSelector(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector3 = new Telerik.Reporting.Drawing.DescendantSelector(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox23 = new Telerik.Reporting.TextBox(); this.textBox26 = new Telerik.Reporting.TextBox(); this.textBox28 = new Telerik.Reporting.TextBox(); this.textBox29 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); this.sqlDataSource = new Telerik.Reporting.SqlDataSource(); this.textBox10 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.txtTongTien = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.sqlDataSource1 = new Telerik.Reporting.SqlDataSource(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox1 = new Telerik.Reporting.TextBox(); this.txtNgay = new Telerik.Reporting.TextBox(); crosstab2 = new Telerik.Reporting.Crosstab(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // crosstab2 // crosstab2.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.3362662792205811D, Telerik.Reporting.Drawing.UnitType.Inch))); crosstab2.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.2945994138717651D, Telerik.Reporting.Drawing.UnitType.Inch))); crosstab2.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.0029327869415283D, Telerik.Reporting.Drawing.UnitType.Inch))); crosstab2.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.2112661600112915D, Telerik.Reporting.Drawing.UnitType.Inch))); crosstab2.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(new Telerik.Reporting.Drawing.Unit(1.2112665176391602D, Telerik.Reporting.Drawing.UnitType.Inch))); crosstab2.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(new Telerik.Reporting.Drawing.Unit(0.31000000238418579D, Telerik.Reporting.Drawing.UnitType.Inch))); crosstab2.Body.SetCellContent(0, 0, this.textBox14); crosstab2.Body.SetCellContent(0, 1, this.textBox23); crosstab2.Body.SetCellContent(0, 2, this.textBox26); crosstab2.Body.SetCellContent(0, 3, this.textBox28); crosstab2.Body.SetCellContent(0, 4, this.textBox29); tableGroup1.ReportItem = this.textBox5; tableGroup2.ReportItem = this.textBox6; tableGroup3.ReportItem = this.textBox7; tableGroup4.ReportItem = this.textBox8; tableGroup5.ReportItem = this.textBox9; crosstab2.ColumnGroups.Add(tableGroup1); crosstab2.ColumnGroups.Add(tableGroup2); crosstab2.ColumnGroups.Add(tableGroup3); crosstab2.ColumnGroups.Add(tableGroup4); crosstab2.ColumnGroups.Add(tableGroup5); crosstab2.Corner.SetCellContent(0, 0, this.textBox11); crosstab2.DataSource = this.sqlDataSource; crosstab2.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox14, this.textBox23, this.textBox26, this.textBox28, this.textBox29, this.textBox5, this.textBox6, this.textBox7, this.textBox8, this.textBox9, this.textBox11, this.textBox10}); crosstab2.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.099999986588954926D, Telerik.Reporting.Drawing.UnitType.Inch)); crosstab2.Name = "crosstab2"; tableGroup7.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("")}); tableGroup7.Name = "Detail"; tableGroup6.ChildGroups.Add(tableGroup7); tableGroup6.Groupings.AddRange(new Telerik.Reporting.Data.Grouping[] { new Telerik.Reporting.Data.Grouping("=Fields.PhongName")}); tableGroup6.Name = "PhongName"; tableGroup6.ReportItem = this.textBox10; tableGroup6.Sortings.AddRange(new Telerik.Reporting.Data.Sorting[] { new Telerik.Reporting.Data.Sorting("=Fields.PhongName", Telerik.Reporting.Data.SortDirection.Asc)}); crosstab2.RowGroups.Add(tableGroup6); crosstab2.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.2675981521606445D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.62458336353302D, Telerik.Reporting.Drawing.UnitType.Inch)); crosstab2.StyleName = "Normal.TableNormal"; // // textBox14 // this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.3362665176391602D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31000000238418579D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox14.Style.Font.Name = "Arial"; this.textBox14.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox14.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox14.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox14.StyleName = "Normal.TableBody"; this.textBox14.Value = "=Fields.DichVuName"; // // textBox23 // this.textBox23.Name = "textBox23"; this.textBox23.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2945996522903442D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31000000238418579D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox23.Style.Font.Name = "Arial"; this.textBox23.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox23.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox23.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox23.StyleName = "Normal.TableBody"; this.textBox23.Value = "=Fields.NgaySuDung"; // // textBox26 // this.textBox26.Name = "textBox26"; this.textBox26.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.0029330253601074D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31000000238418579D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox26.Style.Font.Name = "Arial"; this.textBox26.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox26.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox26.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox26.StyleName = "Normal.TableBody"; this.textBox26.Value = "=Fields.SoLuong"; // // textBox28 // this.textBox28.Format = "{0:N0}"; this.textBox28.Name = "textBox28"; this.textBox28.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2112665176391602D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31000000238418579D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox28.Style.Font.Name = "Arial"; this.textBox28.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox28.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox28.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox28.StyleName = "Normal.TableBody"; this.textBox28.Value = "=Fields.DonGia"; // // textBox29 // this.textBox29.Format = "{0:N0}"; this.textBox29.Name = "textBox29"; this.textBox29.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2112665176391602D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31000000238418579D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox29.Style.Font.Name = "Arial"; this.textBox29.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox29.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox29.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox29.StyleName = "Normal.TableBody"; this.textBox29.Value = "=Fields.TongTien"; // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.3362665176391602D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31458336114883423D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox5.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox5.Style.Font.Name = "Arial"; this.textBox5.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox5.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox5.StyleName = "Normal.TableHeader"; this.textBox5.Value = "Dịch vụ"; // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2945996522903442D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31458336114883423D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox6.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox6.Style.Font.Name = "Arial"; this.textBox6.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox6.StyleName = "Normal.TableHeader"; this.textBox6.Value = "Ngày sử dụng"; // // textBox7 // this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.0029330253601074D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31458336114883423D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox7.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox7.Style.Font.Name = "Arial"; this.textBox7.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox7.StyleName = "Normal.TableHeader"; this.textBox7.Value = "Số lượng"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2112665176391602D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31458336114883423D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox8.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox8.Style.Font.Name = "Arial"; this.textBox8.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox8.StyleName = "Normal.TableHeader"; this.textBox8.Value = "Đơn giá"; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2112665176391602D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31458336114883423D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox9.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox9.Style.Font.Name = "Arial"; this.textBox9.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox9.StyleName = "Normal.TableHeader"; this.textBox9.Value = "Thành tiền"; // // textBox11 // this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2112665176391602D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31458336114883423D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox11.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.textBox11.Style.Font.Name = "Arial"; this.textBox11.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox11.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox11.StyleName = "Normal.TableHeader"; this.textBox11.Value = "Phòng"; // // sqlDataSource // this.sqlDataSource.Name = "sqlDataSource"; // // textBox10 // this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2112665176391602D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.31000000238418579D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox10.Style.Font.Name = "Arial"; this.textBox10.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox10.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox10.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox10.StyleName = "Normal.TableGroup"; this.textBox10.Value = "=Fields.PhongName"; // // detail // this.detail.Height = new Telerik.Reporting.Drawing.Unit(1.1999999284744263D, Telerik.Reporting.Drawing.UnitType.Inch); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { crosstab2, this.txtTongTien, this.textBox12}); this.detail.Name = "detail"; // // txtTongTien // this.txtTongTien.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(6.0563702583312988D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.90003937482833862D, Telerik.Reporting.Drawing.UnitType.Inch)); this.txtTongTien.Name = "txtTongTien"; this.txtTongTien.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(1.2112674713134766D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.30000001192092896D, Telerik.Reporting.Drawing.UnitType.Inch)); this.txtTongTien.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.txtTongTien.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.txtTongTien.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.txtTongTien.Value = ""; // // textBox12 // this.textBox12.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(5.3487324714660645D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.90003937482833862D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(0.70755892992019653D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29996061325073242D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox12.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(10D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox12.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox12.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox12.Value = "Tổng tiền: "; // // sqlDataSource1 // this.sqlDataSource1.ConnectionString = "Telerik.Reporting.Properties.Settings.ttewjkqv_qlks"; this.sqlDataSource1.Name = "sqlDataSource1"; this.sqlDataSource1.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@NgaySo", System.Data.DbType.Int32, "20120321")}); this.sqlDataSource1.SelectCommand = "dbo.sp_HoaDonDichVu_GetItems_TheoNgay"; this.sqlDataSource1.SelectCommandType = Telerik.Reporting.SqlDataSourceCommandType.StoredProcedure; // // pageFooterSection1 // this.pageFooterSection1.Height = new Telerik.Reporting.Drawing.Unit(0.30000004172325134D, Telerik.Reporting.Drawing.UnitType.Inch); this.pageFooterSection1.Name = "pageFooterSection1"; // // pageHeaderSection1 // this.pageHeaderSection1.Height = new Telerik.Reporting.Drawing.Unit(0.60000008344650269D, Telerik.Reporting.Drawing.UnitType.Inch); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1, this.txtNgay}); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(3.9378803194267675E-05D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.2676377296447754D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29996061325073242D, Telerik.Reporting.Drawing.UnitType.Inch)); this.textBox1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(15D, Telerik.Reporting.Drawing.UnitType.Point); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox1.Value = "THỐNG KÊ DOANH THU DỊCH VỤ"; // // txtNgay // this.txtNgay.Location = new Telerik.Reporting.Drawing.PointU(new Telerik.Reporting.Drawing.Unit(3.9418537198798731E-05D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.30007871985435486D, Telerik.Reporting.Drawing.UnitType.Inch)); this.txtNgay.Name = "txtNgay"; this.txtNgay.Size = new Telerik.Reporting.Drawing.SizeU(new Telerik.Reporting.Drawing.Unit(7.2675986289978027D, Telerik.Reporting.Drawing.UnitType.Inch), new Telerik.Reporting.Drawing.Unit(0.29984259605407715D, Telerik.Reporting.Drawing.UnitType.Inch)); this.txtNgay.Style.Font.Name = "Arial"; this.txtNgay.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(15D, Telerik.Reporting.Drawing.UnitType.Point); this.txtNgay.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.txtNgay.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.txtNgay.Value = ""; // // ReportThongKeDoanhThuDichVu // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1}); this.PageSettings.Landscape = false; this.PageSettings.Margins.Bottom = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Left = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Right = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.Margins.Top = new Telerik.Reporting.Drawing.Unit(0.5D, Telerik.Reporting.Drawing.UnitType.Inch); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4; reportParameter1.Name = "Type"; reportParameter1.Text = "Type"; reportParameter2.Name = "Ngay"; reportParameter2.Text = "Ngay"; reportParameter3.Name = "Thang"; reportParameter3.Text = "Thang"; reportParameter4.Name = "Nam"; reportParameter4.Text = "Nam"; reportParameter5.Name = "TuNgay"; reportParameter5.Text = "TuNgay"; reportParameter6.Name = "DenNgay"; reportParameter6.Text = "DenNgay"; reportParameter7.Name = "TongTien"; reportParameter7.Text = "TongTien"; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.ReportParameters.Add(reportParameter4); this.ReportParameters.Add(reportParameter5); this.ReportParameters.Add(reportParameter6); this.ReportParameters.Add(reportParameter7); this.Style.BackgroundColor = System.Drawing.Color.White; styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.Table), "Normal.TableNormal")}); styleRule1.Style.BackgroundColor = System.Drawing.Color.White; styleRule1.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule1.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); styleRule1.Style.Color = System.Drawing.Color.Black; styleRule1.Style.Font.Name = "Tahoma"; styleRule1.Style.Font.Size = new Telerik.Reporting.Drawing.Unit(8D, Telerik.Reporting.Drawing.UnitType.Point); descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Normal.TableHeader")}); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector1}); styleRule2.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule2.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule2.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); styleRule2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; descendantSelector2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Normal.TableGroup")}); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector2}); styleRule3.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule3.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); descendantSelector3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Normal.TableBody")}); styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector3}); styleRule4.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule4.Style.BorderWidth.Default = new Telerik.Reporting.Drawing.Unit(1D, Telerik.Reporting.Drawing.UnitType.Pixel); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4}); this.Width = new Telerik.Reporting.Drawing.Unit(7.2676773071289062D, Telerik.Reporting.Drawing.UnitType.Inch); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }