public void BindDataset(string Category) { var objectDataSource = new Telerik.Reporting.ObjectDataSource(); string selectCommandText = ""; //Getting Datasouce string connectionString = ConfigurationManager.ConnectionStrings["Reports.Properties.Settings.UFCWEntire"].ConnectionString; //const string connectionString = // "Data Source=.;Initial Catalog=UFCW_Entire;Integrated Security=True"; if (Category != "All") { selectCommandText = "SELECT (select Name from dbo.Benefits where Name='" + Category + "') as Benefits,(select COUNT(*) as Total from Members_Benefits where BenefitID in (select RecordID from Benefits where Name='" + Category + "')) as MembersCount,((select COUNT(*) as Total from Members_Benefits where BenefitID in (select RecordID from Benefits where Name='" + Category + "')) + (select COUNT(*) as Total from Members_Benefits a inner join Members_Dependence b on a.ReferenceID=b.ReferenceID where BenefitID in (select RecordID from Benefits where Name='" + Category + "'))) as MemDepCount"; } SqlDataAdapter adapter = new SqlDataAdapter(selectCommandText, connectionString); DataTable dt = new DataTable(); adapter.Fill(dt); objectDataSource.DataSource = dt; MagnaCareReport MagnaReport = new MagnaCareReport(); MagnaReport.DataSource = objectDataSource; Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource(); reportSource.ReportDocument = MagnaReport; ReportViewer1.ReportSource = reportSource; }
private async Task GetReportResult() { DateTime startDate = dateStart.SelectedDate.Value; DateTime endDate = dateEnd.SelectedDate.Value; int teacherId = (cmbTeacher.SelectedItem as TeacherModel).Id; IAsyncProxy <ITeacherService> _teacherAyncProxy = await Task.Run(() => ServiceHelper.GetTeacherService()); IList <TeacherClassRecordDetailModel> tcrdml = await _teacherAyncProxy.CallAsync(c => c.FindTeacherClassRecordDetailByDate(startDate, endDate, teacherId)); Telerik.Reporting.ObjectDataSource objectDataSource = new Telerik.Reporting.ObjectDataSource(); objectDataSource.DataSource = tcrdml; // GetData returns a DataTable //Creating a new report Telerik.Reporting.Report report1 = new TeacherClassRecordDetailReport(); report1.ReportParameters["StartDate"].Value = startDate.ToString("yyyy-MM-dd"); report1.ReportParameters["EndDate"].Value = endDate.ToString("yyyy-MM-dd"); report1.ReportParameters["Teacher"].Value = cmbTeacher.Text; // Assigning the ObjectDataSource component to the DataSource property of the report. report1.DataSource = objectDataSource; // Use the InstanceReportSource to pass the report to the viewer for displaying Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource(); reportSource.ReportDocument = report1; // Assigning the report to the report viewer. ReportViewer1.ReportSource = reportSource; // Calling the RefreshReport method in case this is a WinForms application. ReportViewer1.RefreshReport(); }
protected void Page_Load(object sender, EventArgs e) { var ObjectDataSource = new Telerik.Reporting.ObjectDataSource(); //rpt.iInvoiceId = int.Parse(Request.QueryString["Id"]); //ObjectDataSource.DataSource = rpt.getRptInvoice(); RptPreSale inv = new RptPreSale(Request.QueryString["Id"]); //inv.DataSource = ObjectDataSource; ReportViewer1.ReportSource = inv; }
protected void Search_btn_Click(object sender, EventArgs e) { string Mode = Rd_btnMode.SelectedValue.ToString(); string RecordID = ""; int count = 0; //string clause = ""; foreach (ListItem Item in chklst_Benefits.Items) { if (Item.Selected) { RecordID = RecordID + "," + Item.Value.ToString(); count++; } } if (RecordID != "") { RecordID = RecordID.TrimStart(','); var objectDataSource = new Telerik.Reporting.ObjectDataSource(); //Getting Datasouce SqlConnection con = new SqlConnection(Repository.Connection.DBConnectionString()); SqlCommand mySqlCommand = con.CreateCommand(); mySqlCommand.CommandText = "ReportMemberBenefitsSearch_sp"; mySqlCommand.Parameters.Add("@Mode", SqlDbType.NVarChar, 30).Value = Mode; mySqlCommand.Parameters.Add("@WhereClause", SqlDbType.NVarChar, -1).Value = RecordID; mySqlCommand.Parameters.Add("@Count", SqlDbType.NVarChar, 400).Value = count; mySqlCommand.CommandType = CommandType.StoredProcedure; SqlDataAdapter mySqlDataAdapter = new SqlDataAdapter(); mySqlDataAdapter.SelectCommand = mySqlCommand; DataTable dt = new DataTable(); con.Open(); mySqlDataAdapter.Fill(dt); //Report objectDataSource.DataSource = dt; MemberBenefitsSearch Member = new MemberBenefitsSearch(); Member.DataSource = objectDataSource; Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource(); reportSource.ReportDocument = Member; ReportViewer1.ReportSource = reportSource; } }
public void BindDataset(string type, string date, string date2) { var objectDataSource = new Telerik.Reporting.ObjectDataSource(); //Getting Datasouce SqlConnection con = new SqlConnection(Repository.Connection.DBConnectionString()); SqlCommand mySqlCommand = con.CreateCommand(); switch (type) { case "1": mySqlCommand.CommandText = "Active_Percaptia_Search_sp"; mySqlCommand.Parameters.Add("@Mode", SqlDbType.NVarChar, 30).Value = "DOB"; mySqlCommand.Parameters.Add("@StartDate", SqlDbType.DateTime).Value = Convert.ToDateTime(date); mySqlCommand.Parameters.Add("@EndDate", SqlDbType.DateTime).Value = Convert.ToDateTime(date2); break; case "2": mySqlCommand.CommandText = "Active_Percaptia_N_sp"; break; default: mySqlCommand.CommandText = "Active_Percaptia_N_sp"; break; } mySqlCommand.CommandType = CommandType.StoredProcedure; SqlDataAdapter mySqlDataAdapter = new SqlDataAdapter(); mySqlDataAdapter.SelectCommand = mySqlCommand; DataTable dt = new DataTable(); con.Open(); mySqlDataAdapter.Fill(dt); //Report objectDataSource.DataSource = dt; ReportPercapita Percapita = new ReportPercapita(); Percapita.DataSource = objectDataSource; Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource(); reportSource.ReportDocument = Percapita; ReportViewer1.ReportSource = reportSource; }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detail = new Telerik.Reporting.DetailSection(); this.textBox1 = new Telerik.Reporting.TextBox(); this.SupplierName = new Telerik.Reporting.TextBox(); 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.paidAmount = new Telerik.Reporting.TextBox(); this.SUpplierPaymentInfo = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(2.4000003337860107D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1, this.SupplierName, this.textBox2, this.textBox3, this.textBox4, this.textBox5, this.textBox6, this.textBox7, this.textBox8, this.textBox9, this.textBox10, this.paidAmount}); this.detail.Name = "detail"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.98000001907348633D), Telerik.Reporting.Drawing.Unit.Inch(0.099999986588954926D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.51999998092651367D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox1.Value = "Name :"; // // SupplierName // this.SupplierName.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5000787973403931D), Telerik.Reporting.Drawing.Unit.Inch(0.099999986588954926D)); this.SupplierName.Name = "SupplierName"; this.SupplierName.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.3999216556549072D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.SupplierName.Value = "Name :"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.39000001549720764D), Telerik.Reporting.Drawing.Unit.Inch(0.60000008344650269D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1100000143051148D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox2.Value = "Invoice Number :"; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5000787973403931D), Telerik.Reporting.Drawing.Unit.Inch(0.60000008344650269D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.3999214172363281D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox3.Value = "=Fields.InvoiceNumber"; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.1599998474121094D), Telerik.Reporting.Drawing.Unit.Inch(1.3999999761581421D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.34000000357627869D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Value = "Bill :"; // // textBox5 // this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5001577138900757D), Telerik.Reporting.Drawing.Unit.Inch(1.3999999761581421D)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.3998429775238037D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Value = "=Fields.TotalAmount"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.73999983072280884D), Telerik.Reporting.Drawing.Unit.Inch(1.6999999284744263D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.75999999046325684D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox6.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Value = "Total Paid :"; // // textBox7 // this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5001577138900757D), Telerik.Reporting.Drawing.Unit.Inch(1.6999999284744263D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.3998425006866455D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox7.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox7.Value = "=Fields.PaidAmount"; // // textBox8 // this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5001577138900757D), Telerik.Reporting.Drawing.Unit.Inch(2D)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.3998429775238037D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox8.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Value = "=Fields.DueAmount"; // // textBox9 // this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.79999971389770508D), Telerik.Reporting.Drawing.Unit.Inch(2D)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.70000028610229492D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox9.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Value = "Total Due:"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.56000000238418579D), Telerik.Reporting.Drawing.Unit.Inch(1.1000000238418579D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.93999999761581421D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox10.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox10.Value = "Paid Amount :"; // // paidAmount // this.paidAmount.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5000787973403931D), Telerik.Reporting.Drawing.Unit.Inch(1.1000000238418579D)); this.paidAmount.Name = "paidAmount"; this.paidAmount.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.3999214172363281D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.paidAmount.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.paidAmount.Value = ""; // // SUpplierPaymentInfo // this.SUpplierPaymentInfo.DataSource = typeof(Transaction); this.SUpplierPaymentInfo.Name = "SUpplierPaymentInfo"; // // RptSupplierPayment // this.DataSource = this.SUpplierPaymentInfo; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptSupplierPayment"; this.PageSettings.Margins.Bottom = Telerik.Reporting.Drawing.Unit.Inch(1D); this.PageSettings.Margins.Left = Telerik.Reporting.Drawing.Unit.Inch(1D); this.PageSettings.Margins.Right = Telerik.Reporting.Drawing.Unit.Inch(1D); this.PageSettings.Margins.Top = Telerik.Reporting.Drawing.Unit.Inch(1D); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <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(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.table1 = new Telerik.Reporting.Table(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.SupplierAccountBalance = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.5728905200958252D), Telerik.Reporting.Drawing.Unit.Inch(0.1875D)); this.textBox1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox1.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox1.StyleName = ""; this.textBox1.Value = "Name"; // // textBox2 // this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.7708076238632202D), Telerik.Reporting.Drawing.Unit.Inch(0.1875D)); this.textBox2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox2.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox2.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox2.StyleName = ""; this.textBox2.Value = "Payment Amount"; // // textBox3 // this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.5624749660491943D), Telerik.Reporting.Drawing.Unit.Inch(0.1875D)); this.textBox3.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox3.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox3.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox3.StyleName = ""; this.textBox3.Value = "Receive Amount"; // // textBox4 // this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.5937515497207642D), Telerik.Reporting.Drawing.Unit.Inch(0.1875D)); this.textBox4.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox4.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox4.StyleName = ""; this.textBox4.Value = "Balance"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.41670608520507812D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.table1}); this.detail.Name = "detail"; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.5728904008865356D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.7708078622817993D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.5624748468399048D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.5937517881393433D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.22916683554649353D))); this.table1.Body.SetCellContent(0, 0, this.textBox5); this.table1.Body.SetCellContent(0, 3, this.textBox8); this.table1.Body.SetCellContent(0, 1, this.textBox9); this.table1.Body.SetCellContent(0, 2, this.textBox6); tableGroup1.ReportItem = this.textBox1; tableGroup2.ReportItem = this.textBox2; tableGroup3.ReportItem = this.textBox3; tableGroup4.Name = "Group1"; tableGroup4.ReportItem = this.textBox4; this.table1.ColumnGroups.Add(tableGroup1); this.table1.ColumnGroups.Add(tableGroup2); this.table1.ColumnGroups.Add(tableGroup3); this.table1.ColumnGroups.Add(tableGroup4); this.table1.DataSource = this.SupplierAccountBalance; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox5, this.textBox8, this.textBox9, this.textBox6, this.textBox1, this.textBox2, this.textBox3, this.textBox4}); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.table1.Name = "table1"; tableGroup5.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup5.Name = "DetailGroup"; this.table1.RowGroups.Add(tableGroup5); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.4999246597290039D), Telerik.Reporting.Drawing.Unit.Inch(0.41666683554649353D)); // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.5728905200958252D), Telerik.Reporting.Drawing.Unit.Inch(0.22916683554649353D)); this.textBox5.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox5.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox5.StyleName = ""; this.textBox5.Value = "=Fields.Name"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.5937515497207642D), Telerik.Reporting.Drawing.Unit.Inch(0.22916683554649353D)); this.textBox8.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox8.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox8.StyleName = ""; this.textBox8.Value = "= Fields.SupplierAccount.Credit - Fields.SupplierAccount.Debit"; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.7708078622817993D), Telerik.Reporting.Drawing.Unit.Inch(0.22916683554649353D)); this.textBox9.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox9.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox9.StyleName = ""; this.textBox9.Value = "=Fields.SupplierAccount.Credit"; // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.5624748468399048D), Telerik.Reporting.Drawing.Unit.Inch(0.22916683554649353D)); this.textBox6.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox6.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox6.StyleName = ""; this.textBox6.Value = "=Fields.SupplierAccount.Debit"; // // SupplierAccountBalance // this.SupplierAccountBalance.DataSource = typeof(Suppliers); this.SupplierAccountBalance.Name = "SupplierAccountBalance"; // // RptSupplierBalance // this.DataSource = null; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptSupplierBalance"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.5000395774841309D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
protected void RadBtnSaveLetter_Click(object sender, EventArgs e) { //Saving strMagnumID = Request.QueryString["MagnumID"].ToString(); strQuoteAuditID = Request.QueryString["QuoteAuditID"].ToString(); string strQuoteOptionAuditTrailIDO1 = "0"; string strQuoteOptionAuditTrailIDO2 = "0"; string strQuoteOptionAuditTrailIDO3 = "0"; string strQuoteOptionAuditTrailIDO4 = "0"; string strQuoteOptionAuditTrailIDO5 = "0"; string strMessageMain = string.Empty; string strMessage = string.Empty; int intcheckCount = 0; try { Telerik.Web.UI.RadGrid OptionsGrid = (Telerik.Web.UI.RadGrid)RadPanelBar1.FindItemByValue("PanelItem1").FindControl("RadGridOptions"); #region "Get options" foreach (GridDataItem item in OptionsGrid.Items) { if ((item.FindControl("CheckBoxSelect") as System.Web.UI.WebControls.CheckBox).Checked == true) { intcheckCount += 1; #region "Old" //switch (item.Cells[3].Text.Trim()) //{ // case "1": // if (strQuoteOptionAuditTrailIDO1 == "0") // strQuoteOptionAuditTrailIDO1 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; // case "2": // if (strQuoteOptionAuditTrailIDO2 == "0") // strQuoteOptionAuditTrailIDO2 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; // case "3": // if (strQuoteOptionAuditTrailIDO3 == "0") // strQuoteOptionAuditTrailIDO3 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; // case "4": // if (strQuoteOptionAuditTrailIDO4 == "0") // strQuoteOptionAuditTrailIDO4 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; // case "5": // if (strQuoteOptionAuditTrailIDO5 == "0") // strQuoteOptionAuditTrailIDO5 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; //} #endregion switch (intcheckCount) { case 1: strQuoteOptionAuditTrailIDO1 = item.Cells[2].Text; break; case 2: strQuoteOptionAuditTrailIDO2 = item.Cells[2].Text; break; case 3: strQuoteOptionAuditTrailIDO3 = item.Cells[2].Text; break; case 4: strQuoteOptionAuditTrailIDO4 = item.Cells[2].Text; break; case 5: strQuoteOptionAuditTrailIDO5 = item.Cells[2].Text; break; } } } #endregion DataSet DS = new DataSet(); #region "SQL" SqlConnection sqlConnectionX; SqlCommand sqlCommandX; SqlParameter sqlParam; SqlDataReader sqlDR; sqlConnectionX = new SqlConnection(ConfigurationManager.AppSettings["SQLConnection"]); sqlConnectionX.Open(); sqlCommandX = new SqlCommand(); sqlCommandX.Connection = sqlConnectionX; sqlCommandX.CommandType = CommandType.StoredProcedure; sqlCommandX.CommandText = "spx_SELECT_QuoteDetailByAuditTrailID_Detailed"; sqlParam = new SqlParameter("QuoteAuditTrailID", strQuoteAuditID); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption1ID", strQuoteOptionAuditTrailIDO1); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption2ID", strQuoteOptionAuditTrailIDO2); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption3ID", strQuoteOptionAuditTrailIDO3); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption4ID", strQuoteOptionAuditTrailIDO4); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption5ID", strQuoteOptionAuditTrailIDO5); sqlCommandX.Parameters.Add(sqlParam); sqlDR = sqlCommandX.ExecuteReader(); DataTable dt = new DataTable("Info"); dt.Load(sqlDR); DS.Tables.Add(dt); sqlDR.Close(); sqlCommandX.Cancel(); sqlCommandX.Dispose(); #endregion // Creating and configuring the ObjectDataSource component: var objectDataSource = new Telerik.Reporting.ObjectDataSource(); objectDataSource.DataSource = DS; // GetData returns a DataSet with three tables //objectDataSource.DataMember = "Product"; /// Indicating the exact table to bind to. If the DataMember is not specified the first data table will be used. //objectDataSource.CalculatedFields.Add(new Telerik.Reporting.CalculatedField("FullName", typeof(string), "=Fields.Name + ' ' + Fields.ProductNumber")); // Adding a sample calculated field. // Creating a new report Telerik.Reporting.Report report = new Telerik.Reporting.Report(); //if ((dt.Rows[0][36].ToString() == "ok") && (dt.Rows[0][37].ToString() == "ok")) //{ // report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); //} //if (dt.Rows[0][36].ToString() != "ok") //{ // report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterDisabilityOnly")); //} //if (dt.Rows[0][37].ToString() != "ok") //{ // report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterLifeOnly")); //} //Telerik.Reporting.Report report = new Telerik.Reporting.Report(); if (((dt.Rows[0][36].ToString() == "ok") && (dt.Rows[0][37].ToString() == "ok")) || ((dt.Rows[0][72].ToString() != "FDB") && (dt.Rows[0][73].ToString() != "FDB"))) { //Both quoteLife and QuoteDisability were selected if ((dt.Rows[0][42].ToString() == "1") && (dt.Rows[0][43].ToString() == "1")) { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); } //if only QuoteLife was selected if ((dt.Rows[0][42].ToString() == "1") && (dt.Rows[0][43].ToString() == "0")) { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterLifeOnly")); } //if only QuoteDisability was selected if ((dt.Rows[0][42].ToString() == "0") && (dt.Rows[0][43].ToString() == "1")) { //report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterDisabilityOnly")); report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterDisOnly")); //report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); //report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterLifeOnly")); } } else { //2015-10-12 - changed to include if user selects ADB or ACDB then show both life and disability //if (dt.Rows[0][36].ToString() != "ok") //{ // report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterDisabilityOnly")); //} //if (dt.Rows[0][37].ToString() != "ok") //{ // report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterLifeOnly")); //} if (dt.Rows[0][36].ToString() != "ok") { if (dt.Rows[0][72].ToString() == "FDB") { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterDisabilityOnly")); } else { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); } } if (dt.Rows[0][37].ToString() != "ok") { if (dt.Rows[0][73].ToString() == "FDB") { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterLifeOnly")); } else { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); } } } DateTime now = DateTime.Now; //Console.WriteLine("Today is " + now.ToString("MMMM dd, yyyy") + "."); report.DocumentName = now.ToString("ddMMhhmm") + "_" + strMagnumID + "_Quote requested"; // Assigning the ObjectDataSource component to the DataSource property of the report. report.DataSource = objectDataSource; // Use the InstanceReportSource to pass the report to the viewer for displaying Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource(); reportSource.ReportDocument = report; string fileName = report.DocumentName + ".PDF"; //string path = System.IO.Path.GetTempPath(); //string strFolder = "~/files/"; //string month = dateTime.ToString("MMMM"); int intMonth = System.DateTime.Now.Month; string strMonth = intMonth.ToString(); if (intMonth < 10) strMonth = "0" + intMonth.ToString(); string path = Server.MapPath("~/files/"); path += now.ToString("yyyy") + "\\" + strMonth; if (!System.IO.Directory.Exists(path)) { System.IO.Directory.CreateDirectory(path); } string filePath = System.IO.Path.Combine(path, fileName); ReportProcessor reportProcessor = new ReportProcessor(); Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource(); instanceReportSource.ReportDocument = report; RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null); using (FileStream fs = new FileStream(filePath, FileMode.Create)) { fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length); } #region "Insert File location into DB" sqlCommandX = new SqlCommand(); sqlCommandX.Connection = sqlConnectionX; sqlCommandX.CommandType = CommandType.StoredProcedure; sqlCommandX.CommandText = "spx_INSERT_QuoteFile"; sqlParam = new SqlParameter("QuoteAuditTrailID", strQuoteAuditID); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteFile", filePath); sqlCommandX.Parameters.Add(sqlParam); sqlCommandX.ExecuteNonQuery(); sqlDR.Close(); sqlCommandX.Cancel(); sqlCommandX.Dispose(); #endregion sqlConnectionX.Close(); HiddenFieldSavedFileName.Value = filePath; //Color color = (Color)ColorConverter.ConvertFromString("#00CC00"); System.Drawing.Color col = System.Drawing.ColorTranslator.FromHtml("#00CC00"); lblInfo.ForeColor = col; lblInfo.Text = "File saved successfully"; RadBtnEmail.Visible = true; } catch (Exception ex) { lblInfo.ForeColor = System.Drawing.Color.Red; lblInfo.Text = ex.Message; } }
private void LoadReport() { strMagnumID = Request.QueryString["MagnumID"].ToString(); strQuoteAuditID = Request.QueryString["QuoteAuditID"].ToString(); string strQuoteOptionAuditTrailIDO1 = "0"; string strQuoteOptionAuditTrailIDO2 = "0"; string strQuoteOptionAuditTrailIDO3 = "0"; string strQuoteOptionAuditTrailIDO4 = "0"; string strQuoteOptionAuditTrailIDO5 = "0"; string strMessageMain = string.Empty; string strMessage = string.Empty; bool blnContinue = true; int intcheckCount = 0; intUserID = Convert.ToInt32(Session["UserID"]); Telerik.Web.UI.RadGrid OptionsGrid = (Telerik.Web.UI.RadGrid)RadPanelBar1.FindItemByValue("PanelItem1").FindControl("RadGridOptions"); foreach (GridDataItem item in OptionsGrid.Items) { if ((item.FindControl("CheckBoxSelect") as System.Web.UI.WebControls.CheckBox).Checked == true) { intcheckCount += 1; #region "Old" //switch (item.Cells[3].Text.Trim()) //{ // case "1": // if (strQuoteOptionAuditTrailIDO1 == "0") // strQuoteOptionAuditTrailIDO1 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; // case "2": // if (strQuoteOptionAuditTrailIDO2 == "0") // strQuoteOptionAuditTrailIDO2 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; // case "3": // if (strQuoteOptionAuditTrailIDO3 == "0") // strQuoteOptionAuditTrailIDO3 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; // case "4": // if (strQuoteOptionAuditTrailIDO4 == "0") // strQuoteOptionAuditTrailIDO4 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; // case "5": // if (strQuoteOptionAuditTrailIDO5 == "0") // strQuoteOptionAuditTrailIDO5 = item.Cells[2].Text; // else // { // blnContinue = false; // } // break; //} #endregion switch (intcheckCount) { case 1: strQuoteOptionAuditTrailIDO1 = item.Cells[2].Text; break; case 2: strQuoteOptionAuditTrailIDO2 = item.Cells[2].Text; break; case 3: strQuoteOptionAuditTrailIDO3 = item.Cells[2].Text; break; case 4: strQuoteOptionAuditTrailIDO4 = item.Cells[2].Text; break; case 5: strQuoteOptionAuditTrailIDO5 = item.Cells[2].Text; break; } } } if (intcheckCount > 5) blnContinue = false; if (blnContinue == false) { //lblInfo.Text = "You can only select one item for each option, please check the options"; lblInfo.Text = "You can only select a maximum of 5 options"; ReportViewer1.Visible = false; ReportViewer1.ReportSource = null; } else { RadBtnSaveLetter.Visible = true; //RadBtnEmail.Visible = true; DataSet DS = new DataSet(); #region "Old Code" ////Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource(); ////instanceReportSource.ReportDocument = new Report.QuoteLetter(); ////this.ReportViewer1.ReportSource = instanceReportSource; //DataTable SummaryDT = new DataTable(); //DataColumn DT1 = new DataColumn("Scenario"); //DataColumn DT2 = new DataColumn("Premium [Total]"); //DataColumn DT3 = new DataColumn("CoverAmount [Life]"); //DataColumn DT4 = new DataColumn("Premium [Life] incl. DC fee"); //DataColumn DT5 = new DataColumn("CoverAmount [Disability]"); //DataColumn DT6 = new DataColumn("Premium [Disability] incl. DC fee"); ////DT1.DataType = System.Type.GetType("System.String"); //SummaryDT.Columns.Add(DT1); //SummaryDT.Columns.Add(DT2); //SummaryDT.Columns.Add(DT3); //SummaryDT.Columns.Add(DT4); //SummaryDT.Columns.Add(DT5); //SummaryDT.Columns.Add(DT6); //DataRow row = SummaryDT.NewRow(); //row[DT1] = "Option 1"; //row[DT2] = ""; //row[DT3] = ""; //row[DT4] = ""; //row[DT5] = ""; //row[DT6] = ""; //SummaryDT.Rows.Add(row); //DS.Tables.Add(SummaryDT); #endregion #region "SQL" SqlConnection sqlConnectionX; SqlCommand sqlCommandX; SqlParameter sqlParam; SqlDataReader sqlDR; sqlConnectionX = new SqlConnection(ConfigurationManager.AppSettings["SQLConnection"]); sqlConnectionX.Open(); sqlCommandX = new SqlCommand(); sqlCommandX.Connection = sqlConnectionX; sqlCommandX.CommandType = CommandType.StoredProcedure; sqlCommandX.CommandText = "spx_SELECT_QuoteDetailByAuditTrailID_Detailed"; sqlParam = new SqlParameter("QuoteAuditTrailID", strQuoteAuditID); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption1ID", strQuoteOptionAuditTrailIDO1); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption2ID", strQuoteOptionAuditTrailIDO2); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption3ID", strQuoteOptionAuditTrailIDO3); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption4ID", strQuoteOptionAuditTrailIDO4); sqlCommandX.Parameters.Add(sqlParam); sqlParam = new SqlParameter("QuoteOption5ID", strQuoteOptionAuditTrailIDO5); sqlCommandX.Parameters.Add(sqlParam); sqlDR = sqlCommandX.ExecuteReader(); DataTable dt = new DataTable("Info"); dt.Load(sqlDR); DS.Tables.Add(dt); sqlDR.Close(); sqlCommandX.Cancel(); sqlCommandX.Dispose(); sqlConnectionX.Close(); #endregion // Creating and configuring the ObjectDataSource component: var objectDataSource = new Telerik.Reporting.ObjectDataSource(); objectDataSource.DataSource = DS; // GetData returns a DataSet with three tables //objectDataSource.DataMember = "Product"; /// Indicating the exact table to bind to. If the DataMember is not specified the first data table will be used. //objectDataSource.CalculatedFields.Add(new Telerik.Reporting.CalculatedField("FullName", typeof(string), "=Fields.Name + ' ' + Fields.ProductNumber")); // Adding a sample calculated field. // Creating a new report Telerik.Reporting.Report report = new Telerik.Reporting.Report(); //Telerik.Reporting.Report report = new Telerik.Reporting.Report(); if (((dt.Rows[0][36].ToString() == "ok") && (dt.Rows[0][37].ToString() == "ok")) || ((dt.Rows[0][72].ToString() != "FDB") && (dt.Rows[0][73].ToString() != "FDB"))) { //Both quoteLife and QuoteDisability were selected if ((dt.Rows[0][42].ToString() == "1") && (dt.Rows[0][43].ToString() == "1")) { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); } //if only QuoteLife was selected if ((dt.Rows[0][42].ToString() == "1") && (dt.Rows[0][43].ToString() == "0")) { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterLifeOnly")); } //if only QuoteDisability was selected if ((dt.Rows[0][42].ToString() == "0") && (dt.Rows[0][43].ToString() == "1")) { //report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterDisabilityOnly")); report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterDisOnly")); //report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); //report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterLifeOnly")); } } else { if (dt.Rows[0][36].ToString() != "ok") { if (dt.Rows[0][72].ToString() == "FDB") { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterDisabilityOnly")); } else { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); } } if (dt.Rows[0][37].ToString() != "ok") { if (dt.Rows[0][73].ToString() == "FDB") { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetterLifeOnly")); } else { report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); } } } report.DocumentName = strMagnumID; // Assigning the ObjectDataSource component to the DataSource property of the report. report.DataSource = objectDataSource; // Use the InstanceReportSource to pass the report to the viewer for displaying Telerik.Reporting.InstanceReportSource reportSource = new Telerik.Reporting.InstanceReportSource(); reportSource.ReportDocument = report; // Assigning the report to the report viewer. ReportViewer1.ReportSource = reportSource; ReportViewer1.RefreshReport(); //ReportViewer1.RefreshData(); ////Saving //string fileName = report.DocumentName + ".PDF"; //string path = System.IO.Path.GetTempPath(); //string filePath = System.IO.Path.Combine(path, fileName); //ReportProcessor reportProcessor = new ReportProcessor(); //Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource(); //instanceReportSource.ReportDocument = report; //RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null); //using (FileStream fs = new FileStream(filePath, FileMode.Create)) //{ // fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length); //} //Telerik.Reporting.Report report = (Telerik.Reporting.Report)Activator.CreateInstance(System.Reflection.Assembly.Load("Report").GetType("Report.QuoteLetter")); ////report.DocumentName = strTemplateName; ////report.DataSource = DS; //ReportViewer1.ReportSource = report; //var typeReportSource = new Telerik.Reporting.TypeReportSource(); //typeReportSource.TypeName = "Telerik.Reporting.Examples.CSharp.ListBoundReport, CSharp.ReportLibrary"; //this.ReportViewer1.ReportSource = typeReportSource; } }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detail = new Telerik.Reporting.DetailSection(); this.textBox1 = new Telerik.Reporting.TextBox(); 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(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.SupplierInformation = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(2.3999998569488525D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1, this.textBox2, this.textBox3, this.textBox4, this.textBox5, this.textBox6, this.textBox7, this.textBox8, this.textBox9, this.textBox10, this.textBox11, this.textBox12, this.textBox13, this.textBox14}); this.detail.Name = "detail"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D), Telerik.Reporting.Drawing.Unit.Inch(0.099999904632568359D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1999213695526123D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.textBox1.Value = "=Fields.Name"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.1999211311340332D), Telerik.Reporting.Drawing.Unit.Inch(0.099999986588954926D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.60000008344650269D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox2.Value = "Name :"; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.1999211311340332D), Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.60000008344650269D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox3.Value = "Mobile :"; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D), Telerik.Reporting.Drawing.Unit.Inch(0.3999999463558197D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1999213695526123D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.textBox4.Value = "=Fields.Mobile"; // // textBox5 // this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.1999211311340332D), Telerik.Reporting.Drawing.Unit.Inch(0.70000004768371582D)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.60000008344650269D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox5.Value = "Email :"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D), Telerik.Reporting.Drawing.Unit.Inch(0.7000001072883606D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1999213695526123D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.textBox6.Value = "=Fields.Mobile"; // // textBox7 // this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.99992108345031738D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.80000013113021851D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox7.Value = "Telephone :"; // // textBox8 // this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1999213695526123D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox8.Value = "=Fields.Telephone"; // // textBox9 // this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D), Telerik.Reporting.Drawing.Unit.Inch(1.3000000715255737D)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1999213695526123D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox9.Value = "=Fields.WebSite"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.99992108345031738D), Telerik.Reporting.Drawing.Unit.Inch(1.3000000715255737D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.80000013113021851D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox10.Value = "Web Site :"; // // textBox11 // this.textBox11.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.2999211549758911D), Telerik.Reporting.Drawing.Unit.Inch(1.6000000238418579D)); this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.50000005960464478D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox11.Value = "Date :"; // // textBox12 // this.textBox12.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D), Telerik.Reporting.Drawing.Unit.Inch(1.6000000238418579D)); this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1999213695526123D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox12.Value = "=Fields.EntityDate"; // // textBox13 // this.textBox13.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.59996050596237183D), Telerik.Reporting.Drawing.Unit.Inch(1.9000000953674316D)); this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1999608278274536D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox13.Value = "Contract Person :"; // // textBox14 // this.textBox14.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D), Telerik.Reporting.Drawing.Unit.Inch(1.9000000953674316D)); this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.1999213695526123D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox14.Value = "=Fields.ContractPerson"; // // SupplierInformation // this.SupplierInformation.DataSource = typeof(Suppliers); this.SupplierInformation.Name = "SupplierInformation"; // // RptSupplierInformation // this.DataSource = this.SupplierInformation; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptSupplierInformation"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <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(); this.textBox3 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.table1 = new Telerik.Reporting.Table(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.CustomerBalanceInfo = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox3 // this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.6145660877227783D), Telerik.Reporting.Drawing.Unit.Inch(0.2395833283662796D)); this.textBox3.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox3.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox3.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox3.StyleName = ""; this.textBox3.Value = "Name"; // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.4895659685134888D), Telerik.Reporting.Drawing.Unit.Inch(0.2395833283662796D)); this.textBox1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox1.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox1.StyleName = ""; this.textBox1.Value = "Receive Amount"; // // textBox2 // this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.6770799160003662D), Telerik.Reporting.Drawing.Unit.Inch(0.2395833283662796D)); this.textBox2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox2.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox2.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox2.StyleName = ""; this.textBox2.Value = "Payment Amount"; // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.7187494039535523D), Telerik.Reporting.Drawing.Unit.Inch(0.2395833283662796D)); this.textBox6.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox6.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox6.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox6.StyleName = ""; this.textBox6.Value = "Balance"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.45837274193763733D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.table1}); this.detail.Name = "detail"; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.6145663261413574D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.4895660877227783D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.6770807504653931D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.7187497615814209D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.21875014901161194D))); this.table1.Body.SetCellContent(0, 0, this.textBox7); this.table1.Body.SetCellContent(0, 3, this.textBox8); this.table1.Body.SetCellContent(0, 2, this.textBox4); this.table1.Body.SetCellContent(0, 1, this.textBox5); tableGroup1.ReportItem = this.textBox3; tableGroup2.ReportItem = this.textBox1; tableGroup3.Name = "Group1"; tableGroup3.ReportItem = this.textBox2; tableGroup4.Name = "Group2"; tableGroup4.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.DataSource = this.CustomerBalanceInfo; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox7, this.textBox8, this.textBox4, this.textBox5, this.textBox3, this.textBox1, this.textBox2, this.textBox6}); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.table1.Name = "table1"; tableGroup5.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup5.Name = "DetailGroup"; this.table1.RowGroups.Add(tableGroup5); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.49996280670166D), Telerik.Reporting.Drawing.Unit.Inch(0.45833349227905273D)); // // textBox7 // this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.6145660877227783D), Telerik.Reporting.Drawing.Unit.Inch(0.21875014901161194D)); this.textBox7.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox7.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox7.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox7.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox7.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox7.StyleName = ""; this.textBox7.Value = "=Fields.Name"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.7187494039535523D), Telerik.Reporting.Drawing.Unit.Inch(0.21875014901161194D)); this.textBox8.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox8.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox8.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox8.StyleName = ""; this.textBox8.Value = "= Fields.CustomerAccount.Debit - Fields.CustomerAccount.Credit"; // // textBox4 // this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.6770806312561035D), Telerik.Reporting.Drawing.Unit.Inch(0.21875014901161194D)); this.textBox4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox4.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox4.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox4.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox4.StyleName = ""; this.textBox4.Value = "=Fields.CustomerAccount.Credit"; // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.4895659685134888D), Telerik.Reporting.Drawing.Unit.Inch(0.21875014901161194D)); this.textBox5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox5.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox5.StyleName = ""; this.textBox5.Value = "=Fields.CustomerAccount.Debit"; // // CustomerBalanceInfo // this.CustomerBalanceInfo.DataSource = typeof(Customers); this.CustomerBalanceInfo.Name = "CustomerBalanceInfo"; // // RptCustomerBalance // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptCustomerBalance"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.5D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <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(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); 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.textBox7 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.table1 = new Telerik.Reporting.Table(); this.SupplierLedgerInfo = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2297183275222778D), Telerik.Reporting.Drawing.Unit.Inch(0.20922622084617615D)); this.textBox1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox1.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.Color = System.Drawing.Color.Black; this.textBox1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox1.Value = "Date"; // // textBox11 // this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.6157093048095703D), Telerik.Reporting.Drawing.Unit.Inch(0.20922622084617615D)); this.textBox11.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox11.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox11.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox11.Style.Color = System.Drawing.Color.Black; this.textBox11.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox11.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox11.Value = "Particular"; // // textBox12 // this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.3299062252044678D), Telerik.Reporting.Drawing.Unit.Inch(0.20922622084617615D)); this.textBox12.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox12.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox12.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox12.Style.Color = System.Drawing.Color.Black; this.textBox12.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox12.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox12.Value = "Receive Amount"; // // textBox14 // this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2141693830490112D), Telerik.Reporting.Drawing.Unit.Inch(0.20922622084617615D)); this.textBox14.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox14.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox14.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox14.Style.Color = System.Drawing.Color.Black; this.textBox14.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox14.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox14.StyleName = ""; this.textBox14.Value = "Payment Amount"; // // textBox10 // this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2141693830490112D), Telerik.Reporting.Drawing.Unit.Inch(0.20744061470031738D)); this.textBox10.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox10.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.None; this.textBox10.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox10.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox10.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox10.StyleName = ""; this.textBox10.Value = "=Fields.Credit"; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.3299062252044678D), Telerik.Reporting.Drawing.Unit.Inch(0.20744061470031738D)); this.textBox9.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Ridge; this.textBox9.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox9.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox9.StyleName = ""; this.textBox9.Value = "=Fields.Debit"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.6157093048095703D), Telerik.Reporting.Drawing.Unit.Inch(0.20744061470031738D)); this.textBox8.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox8.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox8.StyleName = ""; this.textBox8.Value = "=Fields.Particulars"; // // textBox7 // this.textBox7.Format = "{0:d}"; this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2297183275222778D), Telerik.Reporting.Drawing.Unit.Inch(0.20744061470031738D)); this.textBox7.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox7.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox7.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox7.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox7.StyleName = ""; this.textBox7.Value = "=Fields.EntityDate"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.41666683554649353D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.table1}); this.detail.Name = "detail"; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.2297179698944092D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(2.6157090663909912D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.3299062252044678D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.2141693830490112D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.20744061470031738D))); 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); tableGroup1.ReportItem = this.textBox1; tableGroup2.ReportItem = this.textBox11; tableGroup3.ReportItem = this.textBox12; tableGroup4.Name = "Group1"; tableGroup4.ReportItem = this.textBox14; this.table1.ColumnGroups.Add(tableGroup1); this.table1.ColumnGroups.Add(tableGroup2); this.table1.ColumnGroups.Add(tableGroup3); this.table1.ColumnGroups.Add(tableGroup4); this.table1.DataSource = this.SupplierLedgerInfo; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox7, this.textBox8, this.textBox9, this.textBox10, this.textBox1, this.textBox11, this.textBox12, this.textBox14}); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.table1.Name = "table1"; tableGroup5.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup5.Name = "DetailGroup"; this.table1.RowGroups.Add(tableGroup5); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.38950252532959D), Telerik.Reporting.Drawing.Unit.Inch(0.41666683554649353D)); this.table1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.None; // // SupplierLedgerInfo // this.SupplierLedgerInfo.DataSource = typeof(SuppliersLedger); this.SupplierLedgerInfo.Name = "SupplierLedgerInfo"; // // RptSupplierLedger // this.DataSource = null; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptSupplierLedger"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.4000000953674316D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detail = new Telerik.Reporting.DetailSection(); this.pictureBox1 = new Telerik.Reporting.PictureBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox21 = new Telerik.Reporting.TextBox(); this.textBox22 = new Telerik.Reporting.TextBox(); this.textBox25 = new Telerik.Reporting.TextBox(); this.textBox26 = new Telerik.Reporting.TextBox(); this.ProductInforamtion = new Telerik.Reporting.ObjectDataSource(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(3.5000002384185791D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pictureBox1, this.textBox1, this.textBox2, this.textBox3, this.textBox5, this.textBox6, this.textBox8, this.textBox13, this.textBox14, this.textBox21, this.textBox22, this.textBox25, this.textBox26, this.textBox4, this.textBox7}); this.detail.Name = "detail"; // // pictureBox1 // this.pictureBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.099999986588954926D), Telerik.Reporting.Drawing.Unit.Inch(0.099999986588954926D)); this.pictureBox1.MimeType = ""; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.5D), Telerik.Reporting.Drawing.Unit.Inch(1.5D)); this.pictureBox1.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.Stretch; this.pictureBox1.Value = "=Fields.Photo"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9000003337860107D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox1.Value = "=Fields.ProductName"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.9000004529953003D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.0000005960464478D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox2.Value = "Product Name :"; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9000790119171143D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.8999214172363281D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox3.Value = "=Fields.Code"; // // textBox5 // this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.90000057220459D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox5.Value = "=Fields.Model"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.9000005722045898D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.99999964237213135D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox6.Value = "Product Code :"; // // textBox8 // this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.4000003337860107D), Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.49999967217445374D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox8.Value = "Model :"; // // textBox13 // this.textBox13.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.4499213695526123D), Telerik.Reporting.Drawing.Unit.Inch(1.1000000238418579D)); this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.44999998807907104D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox13.Value = "Color :"; // // textBox14 // this.textBox14.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(1.1000000238418579D)); this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9000003337860107D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox14.Value = "=Fields.Color"; // // textBox21 // this.textBox21.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9000792503356934D), Telerik.Reporting.Drawing.Unit.Inch(1.7000001668930054D)); this.textBox21.Name = "textBox21"; this.textBox21.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.8999214172363281D), Telerik.Reporting.Drawing.Unit.Inch(0.19999980926513672D)); this.textBox21.Value = "=Fields.WarrantityDuration"; // // textBox22 // this.textBox22.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5599216222763062D), Telerik.Reporting.Drawing.Unit.Inch(1.7000001668930054D)); this.textBox22.Name = "textBox22"; this.textBox22.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.3400000333786011D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox22.Value = "Warrantity Duration :"; // // textBox25 // this.textBox25.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(2D)); this.textBox25.Name = "textBox25"; this.textBox25.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9000003337860107D), Telerik.Reporting.Drawing.Unit.Inch(1.5000003576278687D)); this.textBox25.Value = "=Fields.Description"; // // textBox26 // this.textBox26.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.0499217510223389D), Telerik.Reporting.Drawing.Unit.Inch(2D)); this.textBox26.Name = "textBox26"; this.textBox26.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.85000002384185791D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox26.Value = "Description :"; // // ProductInforamtion // this.ProductInforamtion.DataSource = typeof(whostpos.Entitys.Entites.Products); this.ProductInforamtion.Name = "ProductInforamtion"; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.0499217510223389D), Telerik.Reporting.Drawing.Unit.Inch(1.4000000953674316D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.8500792384147644D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox4.Value = "Added Date :"; // // textBox7 // this.textBox7.Format = "{0:d}"; this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9000797271728516D), Telerik.Reporting.Drawing.Unit.Inch(1.4000000953674316D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.8999207019805908D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox7.Value = "=Fields.EntityDate"; // // RptProductInformation // this.DataSource = this.ProductInforamtion; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptProductInformation"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <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(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.table1 = new Telerik.Reporting.Table(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.CustomerLedgerInformation = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1458139419555664D), Telerik.Reporting.Drawing.Unit.Inch(0.19791662693023682D)); this.textBox9.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox9.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox9.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox9.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox9.StyleName = ""; this.textBox9.Value = "Date"; // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.0728974342346191D), Telerik.Reporting.Drawing.Unit.Inch(0.19791662693023682D)); this.textBox1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox1.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox1.StyleName = ""; this.textBox1.Value = "Particulars"; // // textBox2 // this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.6249804496765137D), Telerik.Reporting.Drawing.Unit.Inch(0.19791662693023682D)); this.textBox2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox2.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox2.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox2.StyleName = ""; this.textBox2.Value = "Payment Amount"; // // textBox3 // this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.6249804496765137D), Telerik.Reporting.Drawing.Unit.Inch(0.19791662693023682D)); this.textBox3.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox3.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox3.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox3.StyleName = ""; this.textBox3.Value = "Receive Amount"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.3999999463558197D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.table1}); this.detail.Name = "detail"; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.1458139419555664D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(2.0728974342346191D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.6249803304672241D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.6249803304672241D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.19791682064533234D))); this.table1.Body.SetCellContent(0, 0, this.textBox7); this.table1.Body.SetCellContent(0, 1, this.textBox5); this.table1.Body.SetCellContent(0, 2, this.textBox4); this.table1.Body.SetCellContent(0, 3, this.textBox6); tableGroup1.ReportItem = this.textBox9; tableGroup2.ReportItem = this.textBox1; tableGroup3.ReportItem = this.textBox2; tableGroup4.Name = "Group1"; tableGroup4.ReportItem = this.textBox3; this.table1.ColumnGroups.Add(tableGroup1); this.table1.ColumnGroups.Add(tableGroup2); this.table1.ColumnGroups.Add(tableGroup3); this.table1.ColumnGroups.Add(tableGroup4); this.table1.DataSource = this.CustomerLedgerInformation; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox7, this.textBox5, this.textBox4, this.textBox6, this.textBox9, this.textBox1, this.textBox2, this.textBox3}); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(3.9339065551757812E-05D)); this.table1.Name = "table1"; tableGroup5.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup5.Name = "DetailGroup"; this.table1.RowGroups.Add(tableGroup5); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.4686717987060547D), Telerik.Reporting.Drawing.Unit.Inch(0.39583346247673035D)); // // textBox7 // this.textBox7.Format = "{0:d}"; this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1458139419555664D), Telerik.Reporting.Drawing.Unit.Inch(0.19791682064533234D)); this.textBox7.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox7.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox7.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox7.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox7.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox7.StyleName = ""; this.textBox7.Value = "=Fields.EntityDate"; // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.0728974342346191D), Telerik.Reporting.Drawing.Unit.Inch(0.19791682064533234D)); this.textBox5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox5.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox5.StyleName = ""; this.textBox5.Value = "=Fields.Particulars"; // // textBox4 // this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.6249804496765137D), Telerik.Reporting.Drawing.Unit.Inch(0.19791682064533234D)); this.textBox4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox4.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox4.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox4.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox4.StyleName = ""; this.textBox4.Value = "=Fields.Debit"; // // textBox6 // this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.6249804496765137D), Telerik.Reporting.Drawing.Unit.Inch(0.19791682064533234D)); this.textBox6.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox6.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox6.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox6.StyleName = ""; this.textBox6.Value = "=Fields.Credit"; // // CustomerLedgerInformation // this.CustomerLedgerInformation.DataSource = typeof(CustomerLedger); this.CustomerLedgerInformation.Name = "CustomerLedgerInformation"; // // RptCutomerLedger // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptCutomerLedger"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.5D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detail = new Telerik.Reporting.DetailSection(); this.pictureBox1 = new Telerik.Reporting.PictureBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox15 = new Telerik.Reporting.TextBox(); this.textBox16 = new Telerik.Reporting.TextBox(); this.textBox17 = new Telerik.Reporting.TextBox(); this.textBox18 = new Telerik.Reporting.TextBox(); this.CustomerInformation = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(3.2000000476837158D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pictureBox1, this.textBox1, this.textBox2, this.textBox9, this.textBox10, this.textBox11, this.textBox12, this.textBox13, this.textBox14, this.textBox15, this.textBox16, this.textBox17, this.textBox18}); this.detail.Name = "detail"; // // pictureBox1 // this.pictureBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.099999986588954926D), Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D)); this.pictureBox1.MimeType = ""; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.5D), Telerik.Reporting.Drawing.Unit.Inch(1.5D)); this.pictureBox1.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.Stretch; this.pictureBox1.Value = "=Fields.Photo"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.8000001907348633D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9999208450317383D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox1.Value = "=Fields.Name"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.1999211311340332D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.60000008344650269D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox2.Value = "Name :"; // // textBox9 // this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.1999211311340332D), Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.60000008344650269D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox9.Value = "Mobile :"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.8000001907348633D), Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9999208450317383D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox10.Value = "=Fields.Mobile"; // // textBox11 // this.textBox11.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.9998422861099243D), Telerik.Reporting.Drawing.Unit.Inch(1.1000000238418579D)); this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.80007904767990112D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox11.Value = "Telephone :"; // // textBox12 // this.textBox12.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.8000001907348633D), Telerik.Reporting.Drawing.Unit.Inch(1.1000000238418579D)); this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9999210834503174D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox12.Value = "=Fields.Telephone"; // // textBox13 // this.textBox13.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(1.7000001668930054D)); this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.3999212384223938D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox13.Value = "Note :"; // // textBox14 // this.textBox14.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.8000001907348633D), Telerik.Reporting.Drawing.Unit.Inch(1.7000001668930054D)); this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9999208450317383D), Telerik.Reporting.Drawing.Unit.Inch(0.19999980926513672D)); this.textBox14.Value = "=Fields.Note"; // // textBox15 // this.textBox15.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.1999211311340332D), Telerik.Reporting.Drawing.Unit.Inch(1.3999999761581421D)); this.textBox15.Name = "textBox15"; this.textBox15.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.599999725818634D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox15.Value = "E-Mail :"; // // textBox16 // this.textBox16.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.8000001907348633D), Telerik.Reporting.Drawing.Unit.Inch(1.3999999761581421D)); this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9999208450317383D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox16.Value = "=Fields.Email"; // // textBox17 // this.textBox17.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.8000786304473877D), Telerik.Reporting.Drawing.Unit.Inch(2D)); this.textBox17.Name = "textBox17"; this.textBox17.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.9998424053192139D), Telerik.Reporting.Drawing.Unit.Inch(1.2000004053115845D)); this.textBox17.Value = "=Fields.Address"; // // textBox18 // this.textBox18.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.1000001430511475D), Telerik.Reporting.Drawing.Unit.Inch(2D)); this.textBox18.Name = "textBox18"; this.textBox18.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.69999980926513672D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox18.Value = "Address :"; // // CustomerInformation // this.CustomerInformation.DataSource = typeof(whostpos.Entitys.Entites.Customers); this.CustomerInformation.Name = "CustomerInformation"; // // RptCustomerInformation // this.DataSource = this.CustomerInformation; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptCustomerInformation"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.detail = new Telerik.Reporting.DetailSection(); this.ReportHoster = new Telerik.Reporting.SubReport(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.ReportHeaderInformation = new Telerik.Reporting.ObjectDataSource(); this.reportHeaderSection1 = new Telerik.Reporting.ReportHeaderSection(); this.textBox6 = new Telerik.Reporting.TextBox(); this.TextReportTitle = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.pictureBox1 = new Telerik.Reporting.PictureBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.0520833320915699D); this.pageHeaderSection1.Name = "pageHeaderSection1"; this.pageHeaderSection1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.pageHeaderSection1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(2D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.ReportHoster}); this.detail.Name = "detail"; // // ReportHoster // this.ReportHoster.Docking = Telerik.Reporting.DockingStyle.Fill; this.ReportHoster.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D)); this.ReportHoster.Name = "ReportHoster"; this.ReportHoster.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.9999604225158691D), Telerik.Reporting.Drawing.Unit.Inch(1.9999212026596069D)); // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.0520833320915699D); this.pageFooterSection1.Name = "pageFooterSection1"; // // ReportHeaderInformation // this.ReportHeaderInformation.DataSource = typeof(CompanyInformation); this.ReportHeaderInformation.Name = "ReportHeaderInformation"; // // reportHeaderSection1 // this.reportHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(2D); this.reportHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox6, this.TextReportTitle, this.textBox4, this.textBox3, this.pictureBox1, this.textBox2, this.textBox1}); this.reportHeaderSection1.Name = "reportHeaderSection1"; this.reportHeaderSection1.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.2000002861022949D), Telerik.Reporting.Drawing.Unit.Inch(1.8000000715255737D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.799960732460022D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox6.Value = "= Now()"; // // TextReportTitle // this.TextReportTitle.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(1.5D)); this.TextReportTitle.Name = "TextReportTitle"; this.TextReportTitle.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.5D), Telerik.Reporting.Drawing.Unit.Inch(0.30000004172325134D)); this.TextReportTitle.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.TextReportTitle.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(15D); this.TextReportTitle.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.TextReportTitle.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.TextReportTitle.Value = ""; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.5000002384185791D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox4.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox4.Value = "=Fields.Email"; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(0.70000004768371582D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.5000002384185791D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox3.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox3.Value = "=Fields.ContractDetails"; // // pictureBox1 // this.pictureBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D), Telerik.Reporting.Drawing.Unit.Inch(0.40007877349853516D)); this.pictureBox1.MimeType = ""; this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.pictureBox1.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.Stretch; this.pictureBox1.Value = "=Fields.Logo"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(0.40007877349853516D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.5D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox2.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox2.Value = "=Fields.Address"; // // textBox1 // this.textBox1.Docking = Telerik.Reporting.DockingStyle.Top; this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox1.Multiline = false; this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6D), Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D)); this.textBox1.Style.Color = System.Drawing.Color.MidnightBlue; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(20D); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox1.Value = "=Fields.CompaneyName"; // // MainReport // this.DataSource = this.ReportHeaderInformation; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1, this.reportHeaderSection1}); this.Name = "MainReport"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <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(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.table1 = new Telerik.Reporting.Table(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.textBox8 = new Telerik.Reporting.TextBox(); this.StockInformation = new Telerik.Reporting.ObjectDataSource(); this.textBox6 = new Telerik.Reporting.TextBox(); this.TotalProduct = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox1 // this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.20809958875179291D)); this.textBox1.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox1.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox1.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox1.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox1.Value = "Name"; // // textBox2 // this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.20809958875179291D)); this.textBox2.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox2.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox2.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox2.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox2.Value = "Code"; // // textBox9 // this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.20809958875179291D)); this.textBox9.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox9.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox9.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox9.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox9.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox9.StyleName = ""; this.textBox9.Value = "Color"; // // textBox7 // this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.20809958875179291D)); this.textBox7.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox7.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox7.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox7.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox7.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox7.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox7.StyleName = ""; this.textBox7.Value = "Model"; // // textBox3 // this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.20809958875179291D)); this.textBox3.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.textBox3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox3.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox3.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox3.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox3.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox3.Value = "Quantity"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.64799541234970093D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.table1, this.textBox6, this.TotalProduct}); this.detail.Name = "detail"; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.2999923229217529D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.2999923229217529D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.2999923229217529D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.2999923229217529D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.2999923229217529D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D))); this.table1.Body.SetCellContent(0, 3, this.textBox10); this.table1.Body.SetCellContent(0, 4, this.textBox8); this.table1.Body.SetCellContent(0, 1, this.textBox12); this.table1.Body.SetCellContent(0, 0, this.textBox13); this.table1.Body.SetCellContent(0, 2, this.textBox14); tableGroup1.ReportItem = this.textBox1; tableGroup2.ReportItem = this.textBox2; tableGroup3.Name = "Group2"; tableGroup3.ReportItem = this.textBox9; tableGroup4.Name = "Group1"; tableGroup4.ReportItem = this.textBox7; tableGroup5.ReportItem = this.textBox3; 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.StockInformation; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox10, this.textBox8, this.textBox1, this.textBox2, this.textBox9, this.textBox7, this.textBox3, this.textBox12, this.textBox13, this.textBox14}); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(3.9378803194267675E-05D)); this.table1.Name = "table1"; tableGroup6.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup6.Name = "DetailGroup"; this.table1.RowGroups.Add(tableGroup6); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.4999608993530273D), Telerik.Reporting.Drawing.Unit.Inch(0.44787731766700745D)); // // textBox11 // this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D)); this.textBox11.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox11.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox11.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox11.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox11.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox11.StyleName = ""; this.textBox11.Value = "=Fields.Name"; // // textBox4 // this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D)); this.textBox4.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox4.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox4.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox4.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox4.StyleName = ""; this.textBox4.Value = "=Fields.Category"; // // textBox5 // this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D)); this.textBox5.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox5.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox5.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox5.StyleName = ""; this.textBox5.Value = "=Fields.Band"; // // textBox10 // this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D)); this.textBox10.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox10.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox10.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox10.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox10.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox10.StyleName = ""; this.textBox10.Value = "=Fields.Model"; // // textBox8 // this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D)); this.textBox8.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox8.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox8.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox8.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox8.StyleName = ""; this.textBox8.Value = "=Fields.Stock.Quantity"; // // StockInformation // this.StockInformation.DataSource = typeof(whostpos.Entitys.Entites.Products); this.StockInformation.Name = "StockInformation"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.7000002861022949D), Telerik.Reporting.Drawing.Unit.Inch(0.44799533486366272D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.50000828504562378D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.textBox6.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.BorderStyle.Right = Telerik.Reporting.Drawing.BorderType.None; this.textBox6.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox6.Value = "Total :"; // // TotalProduct // this.TotalProduct.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.2000870704650879D), Telerik.Reporting.Drawing.Unit.Inch(0.44799533486366272D)); this.TotalProduct.Name = "TotalProduct"; this.TotalProduct.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2998733520507813D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.TotalProduct.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; this.TotalProduct.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.TotalProduct.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.TotalProduct.Value = ""; // // textBox12 // this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999922037124634D), Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D)); this.textBox12.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox12.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox12.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox12.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox12.Value = "=Fields.Code"; // // textBox13 // this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999924421310425D), Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D)); this.textBox13.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox13.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox13.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox13.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox13.Value = "=Fields.ProductName"; // // textBox14 // this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.2999924421310425D), Telerik.Reporting.Drawing.Unit.Inch(0.23977772891521454D)); this.textBox14.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox14.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox14.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Inch(0.029999999329447746D); this.textBox14.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D); this.textBox14.Value = "=Fields.Color"; // // RptStock // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptStock"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.Style.BorderStyle.Left = Telerik.Reporting.Drawing.BorderType.Solid; this.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.5D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for telerik Reporting designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.detail = new Telerik.Reporting.DetailSection(); this.textBox1 = new Telerik.Reporting.TextBox(); 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.BankAccountInformation = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(1.2000001668930054D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox1, this.textBox2, this.textBox3, this.textBox4, this.textBox5, this.textBox6}); this.detail.Name = "detail"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.90000009536743164D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.59999990463256836D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox1.Value = "Name :"; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.40000000596046448D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1000000238418579D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox2.Value = "Account Name : "; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.30000004172325134D), Telerik.Reporting.Drawing.Unit.Inch(0.800000011920929D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.1999999284744263D), Telerik.Reporting.Drawing.Unit.Inch(0.20000012218952179D)); this.textBox3.Value = "Account Number : "; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5000787973403931D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.2999212741851807D), Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D)); this.textBox4.Value = "=Fields.BankName"; // // textBox5 // this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5000787973403931D), Telerik.Reporting.Drawing.Unit.Inch(0.49999991059303284D)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.2999210357666016D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.textBox5.Value = "=Fields.BankName"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(1.5000787973403931D), Telerik.Reporting.Drawing.Unit.Inch(0.79999995231628418D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.2999210357666016D), Telerik.Reporting.Drawing.Unit.Inch(0.20000004768371582D)); this.textBox6.Value = "=Fields.BankAccountNumber"; // // BankAccountInformation // this.BankAccountInformation.DataSource = typeof(BankAccounts); this.BankAccountInformation.Name = "BankAccountInformation"; // // RptBankInfomation // this.DataSource = this.BankAccountInformation; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.detail}); this.Name = "RptBankInfomation"; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; this.Style.BackgroundColor = System.Drawing.Color.White; this.Width = Telerik.Reporting.Drawing.Unit.Inch(6D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }