/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.Size = new System.Drawing.Size(936, 532); this.reportViewer1.TabIndex = 0; // // ReportViewer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(936, 532); this.Controls.Add(this.reportViewer1); this.Name = "ReportViewer"; // // // this.RootElement.ApplyShapeToControl = true; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Report"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.ReportViewer_Load); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.AccessibilityKeyMap = null; this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.ReportEngineConnection = "engine=Embedded"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("reportFull", null)); typeReportSource1.TypeName = "ReportLibraryDemo.Report1, ReportLibraryDemo, Version=14.1.20.618, Culture=neutra" + "l, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.Size = new System.Drawing.Size(796, 450); this.reportViewer1.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(796, 450); this.Controls.Add(this.reportViewer1); this.Name = "Form1"; this.Text = "Form1"; this.ResumeLayout(false); }
//Кількість працівників у відділах (з підсумками) private void ListBoxItem10_OnPreviewMouseDown(object sender, MouseButtonEventArgs e) { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLib.CountOfWorkersReport, ReportLib"; this.ReportViewer.ReportSource = typeReportSource; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource6 = new Telerik.Reporting.TypeReportSource(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.AutoSize = true; this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource6.TypeName = "Report.DailyReport, Report, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" + ""; this.reportViewer1.ReportSource = typeReportSource6; this.reportViewer1.Size = new System.Drawing.Size(731, 538); this.reportViewer1.TabIndex = 0; this.reportViewer1.ViewMode = Telerik.ReportViewer.WinForms.ViewMode.PrintPreview; this.reportViewer1.ZoomMode = Telerik.ReportViewer.WinForms.ZoomMode.PageWidth; // // TodaySales // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(731, 538); this.Controls.Add(this.reportViewer1); this.Name = "TodaySales"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "TodaySales"; this.TopMost = true; this.Load += new System.EventHandler(this.TodaySales_Load); this.ResumeLayout(false); this.PerformLayout(); }
//Список посад (з окладами) private void ListBoxItem29_OnPreviewMouseDown(object sender, MouseButtonEventArgs e) { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLib.ListOfPositionsSalaryReport, ReportLib"; this.ReportViewer.ReportSource = typeReportSource; }
//Працівники, які проходять випробувальний термін private void ListBoxItem34_OnPreviewMouseDown(object sender, MouseButtonEventArgs e) { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLib.ProbationaryPeriodReport, ReportLib"; this.ReportViewer.ReportSource = typeReportSource; }
//Паспортні дані (закордонний паспорт) private void ListBoxItem24_OnPreviewMouseDown(object sender, MouseButtonEventArgs e) { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLib.PassportDataForeignReport, ReportLib"; this.ReportViewer.ReportSource = typeReportSource; }
//Прийнято на роботу працівників по підрозділах(всього за увесь час) private void ListBoxItem14_OnPreviewMouseDown(object sender, MouseButtonEventArgs e) { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLib.AllHirringByDeptReport, ReportLib"; this.ReportViewer.ReportSource = typeReportSource; }
//Штатна книга private void HeadUnitBookReport_OnSelected(object sender, RoutedEventArgs e) { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLib.HeadUnitBookReport, ReportLib"; this.ReportViewer.ReportSource = typeReportSource; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource1.TypeName = "Telerik.Reporting.Examples.CSharp.ReportCatalog, CSharp.ReportLibrary, Version=1." + "0.0.0, Culture=neutral, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.Size = new System.Drawing.Size(992, 573); this.reportViewer1.TabIndex = 0; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(992, 573); this.Controls.Add(this.reportViewer1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "MainForm"; this.Text = "Telerik Reporting C# Demo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.MainForm_Load); this.ResumeLayout(false); }
public override void OnNavigatedTo(NavigationContext navigationContext) { base.OnNavigatedTo(navigationContext); SelectedFileName = string.Empty; // render report as pdf var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); // set any deviceInfo settings if necessary var deviceInfo = new System.Collections.Hashtable(); var reportSource = new Telerik.Reporting.TypeReportSource(); // reportName is the Assembly Qualified Name of the report reportSource.TypeName = typeof(AccountingHelper.Reporting.EmployeeOffices).AssemblyQualifiedName; // Pass parameter value with the Report Source if necessary // no parameters required Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo); using (System.IO.FileStream fs = new System.IO.FileStream(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "Mitarbeiter-Büro-Zuordnung.pdf"), System.IO.FileMode.Create)) { fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length); } SelectedFileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "Mitarbeiter-Büro-Zuordnung.pdf"); }
private void ReportViewer_Load(object sender, EventArgs e) { var typeReportSource = new Telerik.Reporting.TypeReportSource(); switch (TrackingReportGlobalModel.Report) { case "PickUpCargo": typeReportSource.TypeName = typeof(PickupCargoManifestReportView).AssemblyQualifiedName; break; case "BranchAcceptance": typeReportSource.TypeName = typeof(BranchAcceptanceReportView).AssemblyQualifiedName; break; case "Bundle": typeReportSource.TypeName = typeof(BundleReportView).AssemblyQualifiedName; break; case "Unbundle": typeReportSource.TypeName = typeof(UnbundleReportView).AssemblyQualifiedName; break; case "GatewayTransmital": typeReportSource.TypeName = typeof(GatewayTransmitalReportView).AssemblyQualifiedName; break; case "GatewayOutbound": typeReportSource.TypeName = typeof(GatewayOutboundReportView).AssemblyQualifiedName; break; case "GatewayInbound": typeReportSource.TypeName = typeof(GatewayInboundReportView).AssemblyQualifiedName; break; case "CargoTransfer": typeReportSource.TypeName = typeof(CargoTransferReportView).AssemblyQualifiedName; break; case "Segregation": typeReportSource.TypeName = typeof(SegregationReportView).AssemblyQualifiedName; break; case "DailyTrip": typeReportSource.TypeName = typeof(DailyTripReportView).AssemblyQualifiedName; break; case "DeliveryStatus": typeReportSource.TypeName = typeof(DeliveryStatusReportView).AssemblyQualifiedName; break; default: break; } this.reportViewer1.ReportSource = typeReportSource; reportViewer1.RefreshReport(); }
public PersonalCardWindow() { InitializeComponent(); //Сформувати при запуску var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLib.WorkerCardReport, ReportLib"; this.ReportViewer.ReportSource = typeReportSource; }
public JsonResult CarcharSalary(int idEvaluacion) { int numberRep = int.Parse(Session["EmpReporte"].ToString()); int nivelJefe = int.Parse(Session["NivelJefe"].ToString()); var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); var typeReportSource = new Telerik.Reporting.TypeReportSource(); if (Session["anterior"].ToString() == "Si") { if (nivelJefe == 2) { typeReportSource.TypeName = typeof(SalarySup).AssemblyQualifiedName; } else { typeReportSource.TypeName = typeof(Salary).AssemblyQualifiedName; } } else { if (nivelJefe == 2) { typeReportSource.TypeName = typeof(SalarySup2).AssemblyQualifiedName; } else { typeReportSource.TypeName = typeof(Salary2).AssemblyQualifiedName; } } if (Session["anterior"].ToString() == "Si") { typeReportSource.Parameters.Add(name: "NumEmp", value: numberRep); } else { typeReportSource.Parameters.Add(name: "NumEmp", value: numberRep); typeReportSource.Parameters.Add(name: "idEvaluacion", value: idEvaluacion); } var deviceInfo = new System.Collections.Hashtable(); var result = reportProcessor.RenderReport("PDF", typeReportSource, deviceInfo); HttpContext.Response.AddHeader("content-disposition", "inline; filename=MyFile.pdf"); string fileString = System.Convert.ToBase64String(result.DocumentBytes); Session["anterior"] = "No"; return(Json(fileString)); }
private void OnStartCalculation() { List <EmployeeChangeLog> bdoInformation = createOverView.GetChangeLogItems(SelectedMonth + 1); JsonSerializerSettings settings = new JsonSerializerSettings(); settings.ReferenceLoopHandling = ReferenceLoopHandling.Ignore; settings.MissingMemberHandling = MissingMemberHandling.Ignore; string jsonContent = JsonConvert.SerializeObject(bdoInformation, settings); string jsonfile = $"C:\\Users\\Public\\Documents\\BdoInformation.json"; System.IO.File.WriteAllText(jsonfile, jsonContent); Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); // set any deviceInfo settings if necessary var deviceInfo = new System.Collections.Hashtable(); var reportSource = new Telerik.Reporting.TypeReportSource(); // reportName is the Assembly Qualified Name of the report reportSource.TypeName = typeof(AccountingHelper.Reporting.BDOInformation).AssemblyQualifiedName; // Pass parameter value with the Report Source if necessary reportSource.Parameters.Add("Source", jsonfile); reportSource.Parameters.Add("DataSelector", string.Empty); Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo); string pdfFile = jsonfile.Replace("json", "pdf"); using (System.IO.FileStream fs = new System.IO.FileStream(pdfFile, System.IO.FileMode.Create)) { fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length); } SelectedFilename = pdfFile; RaisePropertyChanged("SelectedFilename"); result = reportProcessor.RenderReport("XLSX", reportSource, deviceInfo); string xlsxFile = jsonfile.Replace("json", "xlsx"); using (System.IO.FileStream fs = new System.IO.FileStream(xlsxFile, System.IO.FileMode.Create)) { fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length); } }
public void Window_Loaded(object sender, RoutedEventArgs e) { this.Hide(); RptPagare report = new RptPagare(UsarFolio, UsarCantidad, UsarFecha, UsarCantLetra, UsarNumPagare, UsarNumPagares, UsarNombre, UsarDireccion, UsarColonia, UsarCiudad, UsarEstado); ReportViewer.Report = report; ReportViewer.RefreshReport(); //-------Que muestra previsualizador de que se esta imprimiendo //System.Drawing.Printing.PrinterSettings printerSettings // = new System.Drawing.Printing.PrinterSettings(); //Telerik.Reporting.Processing.ReportProcessor reportProcessor // = new Telerik.Reporting.Processing.ReportProcessor(); //Telerik.Reporting.TypeReportSource typeReportSource = // new Telerik.Reporting.TypeReportSource(); //reportProcessor.PrintReport(report, printerSettings); // ------------codigo // Obtain the settings of the default printer System.Drawing.Printing.PrinterSettings printerSettings = new System.Drawing.Printing.PrinterSettings(); //--------- The standard print controller comes with no UI----------// System.Drawing.Printing.PrintController standardPrintController = new System.Drawing.Printing.StandardPrintController(); // Print the report using the custom print controller Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); reportProcessor.PrintController = standardPrintController; Telerik.Reporting.TypeReportSource typeReportSource = new Telerik.Reporting.TypeReportSource(); reportProcessor.PrintReport(report, printerSettings); }
public ActionResult Pdf(string reportName, object reportParameters) { var processor = new ReportProcessor(); var deviceInfo = new Hashtable(); var typeReportSource = new Telerik.Reporting.TypeReportSource { TypeName = reportName, Parameters = { } }; var parameters = new RouteValueDictionary(reportParameters); parameters.Keys.ForEach(k => typeReportSource.Parameters.Add(k, parameters[k])); var result = processor.RenderReport("PDF", typeReportSource, deviceInfo); var fileName = string.Format("{0}.{1}", result.DocumentName, result.Extension); return(File(result.DocumentBytes, "application/pdf", fileName)); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; this.reportViewer1.ParametersAreaVisible = false; typeReportSource1.TypeName = "tiraxco.Reports.AccountTransactions, tiraxco, Version=1.0.0.0, Culture=neutral, P" + "ublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.ShowDocumentMapButton = false; this.reportViewer1.ShowHistoryButtons = false; this.reportViewer1.ShowParametersButton = false; this.reportViewer1.ShowPrintButton = false; this.reportViewer1.ShowPrintPreviewButton = false; this.reportViewer1.Size = new System.Drawing.Size(900, 700); this.reportViewer1.TabIndex = 0; // // ReportViewer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(900, 700); this.Controls.Add(this.reportViewer1); this.Name = "ReportViewer"; this.Text = "نمایش گزارش"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.ReportViewer_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource14 = new Telerik.Reporting.TypeReportSource(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); this.ChangeReport = new System.Windows.Forms.Button(); this.ServerList = new System.Windows.Forms.ComboBox(); this.CheckListBox = new System.Windows.Forms.CheckedListBox(); this.label1 = new System.Windows.Forms.Label(); this.FieldBox = new System.Windows.Forms.TextBox(); this.SortDir = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.filterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.filterOptionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.percentToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.equalityToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.valueToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.stringToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.FilterOptions = new System.Windows.Forms.GroupBox(); this.SetDateFilter = new System.Windows.Forms.Button(); this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.ValueGroup = new System.Windows.Forms.GroupBox(); this.ValueTextBox = new System.Windows.Forms.TextBox(); this.ValueOperator = new System.Windows.Forms.ComboBox(); this.TopBot = new System.Windows.Forms.ComboBox(); this.ValueFilterButton = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.menuStrip1.SuspendLayout(); this.FilterOptions.SuspendLayout(); this.ValueGroup.SuspendLayout(); this.SuspendLayout(); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Left; this.reportViewer1.Location = new System.Drawing.Point(0, 24); this.reportViewer1.Name = "reportViewer1"; typeReportSource14.TypeName = "ReportLibrary2.Report1, ReportLibrary2, Version=1.0.0.0, Culture=neutral, PublicK" + "eyToken=null"; this.reportViewer1.ReportSource = typeReportSource14; this.reportViewer1.Size = new System.Drawing.Size(652, 656); this.reportViewer1.TabIndex = 0; // // ChangeReport // this.ChangeReport.Location = new System.Drawing.Point(928, 645); this.ChangeReport.Name = "ChangeReport"; this.ChangeReport.Size = new System.Drawing.Size(137, 23); this.ChangeReport.TabIndex = 2; this.ChangeReport.Text = "Change Report"; this.ChangeReport.UseVisualStyleBackColor = true; this.ChangeReport.Click += new System.EventHandler(this.ChangeReport_Click); // // ServerList // this.ServerList.FormattingEnabled = true; this.ServerList.Items.AddRange(new object[] { "Baker", "Benton", "Clackamas", "Clatsop", "Columbia", "Coos", "Crook", "Curry", "Douglas", "Gilliam", "GrantCo", "Harney", "Hood", "Jackson", "Jefferson", "Josephine", "Klamath", "Lake", "Lincoln", "Linn", "Marion", "Morrow", "Polk", "Sherman", "Tillamook", "Umatilla", "UnionCo", "Wallowa", "Wasco", "Wheeler" }); this.ServerList.Location = new System.Drawing.Point(830, 41); this.ServerList.Name = "ServerList"; this.ServerList.Size = new System.Drawing.Size(121, 21); this.ServerList.TabIndex = 3; this.ServerList.SelectedIndexChanged += new System.EventHandler(this.ServerList_SelectedIndexChanged); // // CheckListBox // this.CheckListBox.CheckOnClick = true; this.CheckListBox.FormattingEnabled = true; this.CheckListBox.Items.AddRange(new object[] { "Activity_Key", "Name", "Description", "NameDesc", "DescName", "Perform_Standard", "Work_Unit", "WorkComp_Key", "UOM_Key", "Work_Methods", "Inspection", "Authorize", "Active", "User1", "User2", "User3", "User4", "User5", "User6", "User7", "User8", "User9", "User10", "CreateDate", "DateStamp", "SecurityUser_Key" }); this.CheckListBox.Location = new System.Drawing.Point(658, 27); this.CheckListBox.Name = "CheckListBox"; this.CheckListBox.Size = new System.Drawing.Size(120, 424); this.CheckListBox.TabIndex = 5; this.CheckListBox.SelectedIndexChanged += new System.EventHandler(this.CheckListBox_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(831, 68); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(65, 13); this.label1.TabIndex = 6; this.label1.Text = "Sort by Field"; // // FieldBox // this.FieldBox.Location = new System.Drawing.Point(912, 68); this.FieldBox.Name = "FieldBox"; this.FieldBox.Size = new System.Drawing.Size(142, 20); this.FieldBox.TabIndex = 7; this.FieldBox.Text = "Description"; this.FieldBox.TextChanged += new System.EventHandler(this.FieldBox_TextChanged); // // SortDir // this.SortDir.FormattingEnabled = true; this.SortDir.Items.AddRange(new object[] { "Ascending", "Descending" }); this.SortDir.Location = new System.Drawing.Point(912, 95); this.SortDir.Name = "SortDir"; this.SortDir.Size = new System.Drawing.Size(121, 21); this.SortDir.TabIndex = 8; this.SortDir.SelectedIndexChanged += new System.EventHandler(this.SortDir_SelectedIndexChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(834, 102); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(49, 13); this.label2.TabIndex = 9; this.label2.Text = "Direction"; // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Location = new System.Drawing.Point(912, 135); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(51, 17); this.checkBox1.TabIndex = 10; this.checkBox1.Text = "Sort?"; this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.filterToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(1077, 24); this.menuStrip1.TabIndex = 11; this.menuStrip1.Text = "menuStrip1"; // // filterToolStripMenuItem // this.filterToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.filterOptionsToolStripMenuItem, this.percentToolStripMenuItem, this.equalityToolStripMenuItem, this.valueToolStripMenuItem, this.stringToolStripMenuItem }); this.filterToolStripMenuItem.Name = "filterToolStripMenuItem"; this.filterToolStripMenuItem.Size = new System.Drawing.Size(45, 20); this.filterToolStripMenuItem.Text = "Filter"; this.filterToolStripMenuItem.Click += new System.EventHandler(this.filterToolStripMenuItem_Click); // // filterOptionsToolStripMenuItem // this.filterOptionsToolStripMenuItem.Name = "filterOptionsToolStripMenuItem"; this.filterOptionsToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.filterOptionsToolStripMenuItem.Text = "Date"; this.filterOptionsToolStripMenuItem.Click += new System.EventHandler(this.filterOptionsToolStripMenuItem_Click); // // percentToolStripMenuItem // this.percentToolStripMenuItem.Name = "percentToolStripMenuItem"; this.percentToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.percentToolStripMenuItem.Text = "Percent"; // // equalityToolStripMenuItem // this.equalityToolStripMenuItem.Name = "equalityToolStripMenuItem"; this.equalityToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.equalityToolStripMenuItem.Text = "Equality"; // // valueToolStripMenuItem // this.valueToolStripMenuItem.Name = "valueToolStripMenuItem"; this.valueToolStripMenuItem.Size = new System.Drawing.Size(152, 22); this.valueToolStripMenuItem.Text = "Value"; this.valueToolStripMenuItem.Click += new System.EventHandler(this.valueToolStripMenuItem_Click); // // stringToolStripMenuItem // this.stringToolStripMenuItem.Name = "stringToolStripMenuItem"; this.stringToolStripMenuItem.Size = new System.Drawing.Size(116, 22); this.stringToolStripMenuItem.Text = "String"; // // FilterOptions // this.FilterOptions.Controls.Add(this.label4); this.FilterOptions.Controls.Add(this.label3); this.FilterOptions.Controls.Add(this.SetDateFilter); this.FilterOptions.Controls.Add(this.dateTimePicker2); this.FilterOptions.Controls.Add(this.dateTimePicker1); this.FilterOptions.Location = new System.Drawing.Point(0, 24); this.FilterOptions.Name = "FilterOptions"; this.FilterOptions.Size = new System.Drawing.Size(681, 91); this.FilterOptions.TabIndex = 12; this.FilterOptions.TabStop = false; this.FilterOptions.Text = "Date"; this.FilterOptions.Visible = false; // // SetDateFilter // this.SetDateFilter.Location = new System.Drawing.Point(526, 27); this.SetDateFilter.Name = "SetDateFilter"; this.SetDateFilter.Size = new System.Drawing.Size(75, 23); this.SetDateFilter.TabIndex = 2; this.SetDateFilter.Text = "Set Filter"; this.SetDateFilter.UseVisualStyleBackColor = true; this.SetDateFilter.Click += new System.EventHandler(this.SetDateFilter_Click); // // dateTimePicker2 // this.dateTimePicker2.Location = new System.Drawing.Point(285, 44); this.dateTimePicker2.Name = "dateTimePicker2"; this.dateTimePicker2.Size = new System.Drawing.Size(200, 20); this.dateTimePicker2.TabIndex = 1; this.dateTimePicker2.ValueChanged += new System.EventHandler(this.dateTimePicker2_ValueChanged); // // dateTimePicker1 // this.dateTimePicker1.Location = new System.Drawing.Point(21, 44); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new System.Drawing.Size(200, 20); this.dateTimePicker1.TabIndex = 0; this.dateTimePicker1.Value = new System.DateTime(2015, 9, 11, 13, 46, 52, 0); this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged); // // ValueGroup // this.ValueGroup.Controls.Add(this.ValueFilterButton); this.ValueGroup.Controls.Add(this.ValueTextBox); this.ValueGroup.Controls.Add(this.ValueOperator); this.ValueGroup.Controls.Add(this.TopBot); this.ValueGroup.Location = new System.Drawing.Point(0, 24); this.ValueGroup.Name = "ValueGroup"; this.ValueGroup.Size = new System.Drawing.Size(589, 84); this.ValueGroup.TabIndex = 13; this.ValueGroup.TabStop = false; this.ValueGroup.Text = "Value Filter"; this.ValueGroup.Visible = false; // // ValueTextBox // this.ValueTextBox.Location = new System.Drawing.Point(335, 29); this.ValueTextBox.Name = "ValueTextBox"; this.ValueTextBox.Size = new System.Drawing.Size(100, 20); this.ValueTextBox.TabIndex = 2; this.ValueTextBox.TextChanged += new System.EventHandler(this.ValueTextBox_TextChanged); // // ValueOperator // this.ValueOperator.FormattingEnabled = true; this.ValueOperator.Items.AddRange(new object[] { "Value", "Percent" }); this.ValueOperator.Location = new System.Drawing.Point(169, 29); this.ValueOperator.Name = "ValueOperator"; this.ValueOperator.Size = new System.Drawing.Size(121, 21); this.ValueOperator.TabIndex = 1; this.ValueOperator.SelectedIndexChanged += new System.EventHandler(this.ValueOperator_SelectedIndexChanged); // // TopBot // this.TopBot.DisplayMember = "(none)"; this.TopBot.FormattingEnabled = true; this.TopBot.Items.AddRange(new object[] { "Top", "Bottom" }); this.TopBot.Location = new System.Drawing.Point(21, 29); this.TopBot.Name = "TopBot"; this.TopBot.Size = new System.Drawing.Size(121, 21); this.TopBot.TabIndex = 0; this.TopBot.SelectedIndexChanged += new System.EventHandler(this.TopBot_SelectedIndexChanged); // // ValueFilterButton // this.ValueFilterButton.Location = new System.Drawing.Point(491, 29); this.ValueFilterButton.Name = "ValueFilterButton"; this.ValueFilterButton.Size = new System.Drawing.Size(75, 23); this.ValueFilterButton.TabIndex = 3; this.ValueFilterButton.Text = "Set Filter"; this.ValueFilterButton.UseVisualStyleBackColor = true; this.ValueFilterButton.Click += new System.EventHandler(this.ValueFilterButton_Click); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(21, 17); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(60, 13); this.label3.TabIndex = 3; this.label3.Text = "Begin Date"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(285, 17); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(52, 13); this.label4.TabIndex = 4; this.label4.Text = "End Date"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(837, 362); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(217, 20); this.textBox1.TabIndex = 14; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1077, 680); this.Controls.Add(this.textBox1); this.Controls.Add(this.FilterOptions); this.Controls.Add(this.ValueGroup); this.Controls.Add(this.checkBox1); this.Controls.Add(this.label2); this.Controls.Add(this.SortDir); this.Controls.Add(this.FieldBox); this.Controls.Add(this.label1); this.Controls.Add(this.CheckListBox); this.Controls.Add(this.ServerList); this.Controls.Add(this.ChangeReport); this.Controls.Add(this.reportViewer1); this.Controls.Add(this.menuStrip1); this.MainMenuStrip = this.menuStrip1; this.Name = "Form1"; this.Text = "Form1"; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.FilterOptions.ResumeLayout(false); this.FilterOptions.PerformLayout(); this.ValueGroup.ResumeLayout(false); this.ValueGroup.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource2 = new Telerik.Reporting.TypeReportSource(); this.radPanel2 = new Telerik.WinControls.UI.RadPanel(); this.btnExport = new Telerik.WinControls.UI.RadButton(); this.btnClose = new Telerik.WinControls.UI.RadButton(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit(); this.radPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnExport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // radPanel2 // this.radPanel2.Controls.Add(this.btnExport); this.radPanel2.Controls.Add(this.btnClose); this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.radPanel2.Location = new System.Drawing.Point(0, 645); this.radPanel2.Name = "radPanel2"; this.radPanel2.Size = new System.Drawing.Size(760, 53); this.radPanel2.TabIndex = 3; // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Enabled = false; this.btnExport.Location = new System.Drawing.Point(571, 17); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(88, 24); this.btnExport.TabIndex = 50; this.btnExport.Text = "Export to Excel"; this.btnExport.Visible = false; // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(665, 17); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(83, 24); this.btnClose.TabIndex = 49; this.btnClose.Text = "Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource2.Parameters.Add(new Telerik.Reporting.Parameter("StudentID", null)); typeReportSource2.TypeName = "eSARReportLibrary.PermanentRecord, eSARReportLibrary, Version=1.0.0.0, Culture=ne" + "utral, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource2; this.reportViewer1.Size = new System.Drawing.Size(760, 645); this.reportViewer1.TabIndex = 4; // // GeneratePermanentRec // this.AcceptButton = this.btnExport; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(760, 698); this.Controls.Add(this.reportViewer1); this.Controls.Add(this.radPanel2); this.Name = "GeneratePermanentRec"; // // // this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Generate Permanent Record"; this.ThemeName = "ControlDefault"; this.Load += new System.EventHandler(this.GeneratePermanentRec_Load); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit(); this.radPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.btnExport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
public JsonResult CarcharHrlySup(int idEvaluacion) { int numberRep = int.Parse(Session["EmpReporte"].ToString()); int nivelJefe = int.Parse(Session["NivelJefe"].ToString()); var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); var typeReportSource = new Telerik.Reporting.TypeReportSource(); //validar aqui ..... int numeroJefe = int.Parse(Session["No_Empleado"].ToString()); if (Session["anterior"].ToString() == "Si") { if ((nivelJefe == 2) || (nivelJefe == 4)) //&& numeroJefe == 29) || numeroJefe != 39 || (numeroJefe != 1685 || numeroJefe != 2199 || numeroJefe != 2266)) { if (numeroJefe == 29 || numeroJefe == 39 || numeroJefe == 1685 || numeroJefe == 2199 || numeroJefe == 2266 || numeroJefe == 3795) { typeReportSource.TypeName = typeof(Hourly).AssemblyQualifiedName; } else if (numeroJefe == 2700 || numeroJefe == 2175 || numeroJefe == 2224) { typeReportSource.TypeName = typeof(HourlyRasSup).AssemblyQualifiedName; } else { typeReportSource.TypeName = typeof(HourlySup).AssemblyQualifiedName; } } else { typeReportSource.TypeName = typeof(Hourly).AssemblyQualifiedName; } } else { if ((nivelJefe == 2) || (nivelJefe == 4)) //&& numeroJefe == 29) || numeroJefe != 39 || (numeroJefe != 1685 || numeroJefe != 2199 || numeroJefe != 2266)) { if (numeroJefe == 29 || numeroJefe == 39 || numeroJefe == 1685 || numeroJefe == 2199 || numeroJefe == 2266 || numeroJefe == 3795) { typeReportSource.TypeName = typeof(Hourly2).AssemblyQualifiedName; } else if (numeroJefe == 2700 || numeroJefe == 2175 || numeroJefe == 2224) { typeReportSource.TypeName = typeof(HourlyRasSup2).AssemblyQualifiedName; } else { typeReportSource.TypeName = typeof(HourlySup2).AssemblyQualifiedName; } } else { typeReportSource.TypeName = typeof(Hourly2).AssemblyQualifiedName; } } if (Session["anterior"].ToString() == "Si") { typeReportSource.Parameters.Add(name: "NumEmp", value: numberRep); } else { typeReportSource.Parameters.Add(name: "NumEmp", value: numberRep); typeReportSource.Parameters.Add(name: "idEvaluacion", value: idEvaluacion); } var deviceInfo = new System.Collections.Hashtable(); // deviceInfo["JavaScript"] = "this.print({bUI: true, bSilent: false, bShrinkToFit: true});"; var result = reportProcessor.RenderReport("PDF", typeReportSource, deviceInfo); HttpContext.Response.AddHeader("content-disposition", "inline; filename=MyFile.pdf"); string fileString = System.Convert.ToBase64String(result.DocumentBytes); Session["anterior"] = "No"; return(Json(fileString)); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); this.radPanel1 = new Telerik.WinControls.UI.RadPanel(); this.btnCancel = new Telerik.WinControls.UI.RadButton(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit(); this.radPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // radPanel1 // this.radPanel1.Controls.Add(this.btnCancel); this.radPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.radPanel1.Location = new System.Drawing.Point(0, 439); this.radPanel1.Name = "radPanel1"; this.radPanel1.Size = new System.Drawing.Size(587, 53); this.radPanel1.TabIndex = 0; // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(495, 17); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(80, 24); this.btnCancel.TabIndex = 16; this.btnCancel.Text = "Close"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("ORNo", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("ReceiveFrom", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("TIN", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Address", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("BusinessStyle", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("AmountInText", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Amount", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("SettlementFor", null)); typeReportSource1.TypeName = "eSARReportLibrary.BillingReceipt, eSARReportLibrary, Version=1.0.0.0, Culture=neu" + "tral, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.Size = new System.Drawing.Size(587, 439); this.reportViewer1.TabIndex = 1; // // frmPrintReceipt // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(587, 492); this.ControlBox = false; this.Controls.Add(this.reportViewer1); this.Controls.Add(this.radPanel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Name = "frmPrintReceipt"; // // // this.RootElement.ApplyShapeToControl = true; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Receipt"; this.ThemeName = "ControlDefault"; this.Load += new System.EventHandler(this.frmPrintReceipt_Load); ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit(); this.radPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
/// <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.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Por)); Telerik.Reporting.Group group1 = new Telerik.Reporting.Group(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); this.labelsGroupFooterSection = new Telerik.Reporting.GroupFooterSection(); this.labelsGroupHeaderSection = new Telerik.Reporting.GroupHeaderSection(); this.subPorItemDetail = new Telerik.Reporting.SubReport(); this.PorData = new Telerik.Reporting.SqlDataSource(); this.pageHeader = new Telerik.Reporting.PageHeaderSection(); this.RptHeader = new Telerik.Reporting.TextBox(); this.CoLogo = new Telerik.Reporting.PictureBox(); this.pageFooter = new Telerik.Reporting.PageFooterSection(); this.pageInfoTextBox = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.reportHeader = new Telerik.Reporting.ReportHeaderSection(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.jobCaptionTextBox = new Telerik.Reporting.TextBox(); this.JobInfo = new Telerik.Reporting.HtmlTextBox(); 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.htmlTextBox3 = new Telerik.Reporting.HtmlTextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); this.detail = new Telerik.Reporting.DetailSection(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // labelsGroupFooterSection // this.labelsGroupFooterSection.Height = Telerik.Reporting.Drawing.Unit.Inch(0.1607142835855484D); this.labelsGroupFooterSection.Name = "labelsGroupFooterSection"; this.labelsGroupFooterSection.Style.Visible = false; // // labelsGroupHeaderSection // this.labelsGroupHeaderSection.Height = Telerik.Reporting.Drawing.Unit.Inch(0.600000262260437D); this.labelsGroupHeaderSection.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.subPorItemDetail }); this.labelsGroupHeaderSection.Name = "labelsGroupHeaderSection"; this.labelsGroupHeaderSection.PrintOnEveryPage = true; // // subPorItemDetail // this.subPorItemDetail.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.1000007763504982D)); this.subPorItemDetail.Name = "subPorItemDetail"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("PorID", "= Fields.PorID")); typeReportSource1.TypeName = "ePonti.ReportLib.PorItemDetail, ePonti.ReportLib, Version=1.0.0.0, Culture=neutra" + "l, PublicKeyToken=null"; this.subPorItemDetail.ReportSource = typeReportSource1; this.subPorItemDetail.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.5D), Telerik.Reporting.Drawing.Unit.Inch(0.2999998927116394D)); // // PorData // this.PorData.ConnectionString = "DefaultConnection"; this.PorData.Name = "PorData"; this.PorData.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@PorID", System.Data.DbType.Int32, "= Parameters.PorID.Value") }); this.PorData.SelectCommand = "dbo.rptPorInfoDetail"; this.PorData.SelectCommandType = Telerik.Reporting.SqlDataSourceCommandType.StoredProcedure; // // pageHeader // this.pageHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(1.3999999761581421D); this.pageHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.RptHeader, this.CoLogo }); this.pageHeader.Name = "pageHeader"; this.pageHeader.Style.BorderColor.Bottom = System.Drawing.Color.Red; this.pageHeader.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; // // RptHeader // this.RptHeader.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(0.90000003576278687D)); this.RptHeader.Name = "RptHeader"; this.RptHeader.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.3999999463558197D)); this.RptHeader.Style.Color = System.Drawing.Color.DimGray; this.RptHeader.Style.Font.Name = "Microsoft Sans Serif"; this.RptHeader.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(21D); this.RptHeader.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.RptHeader.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.RptHeader.StyleName = "Title"; this.RptHeader.Value = "Purchase Order Request"; // // CoLogo // this.CoLogo.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Left))); this.CoLogo.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.CoLogo.MimeType = ""; this.CoLogo.Name = "CoLogo"; this.CoLogo.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.89999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(0.89999997615814209D)); this.CoLogo.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional; this.CoLogo.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.CoLogo.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.CoLogo.Value = "= Fields.Logo"; // // pageFooter // this.pageFooter.Height = Telerik.Reporting.Drawing.Unit.Inch(0.22380951046943665D); this.pageFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageInfoTextBox, this.textBox10 }); this.pageFooter.Name = "pageFooter"; this.pageFooter.Style.BorderColor.Top = System.Drawing.Color.Red; this.pageFooter.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; // // pageInfoTextBox // this.pageInfoTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(6.7000002861022949D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.pageInfoTextBox.Name = "pageInfoTextBox"; this.pageInfoTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.pageInfoTextBox.Style.Color = System.Drawing.Color.DimGray; this.pageInfoTextBox.Style.Font.Name = "Microsoft Sans Serif"; this.pageInfoTextBox.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.pageInfoTextBox.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.pageInfoTextBox.StyleName = "PageInfo"; this.pageInfoTextBox.Value = "=PageNumber"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(6.3000016212463379D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.3999997079372406D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox10.Style.Color = System.Drawing.Color.DimGray; this.textBox10.Style.Font.Name = "Microsoft Sans Serif"; this.textBox10.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox10.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox10.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox10.Value = "Page"; // // reportHeader // this.reportHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(3.4999995231628418D); this.reportHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox9, this.textBox2, this.jobCaptionTextBox, this.JobInfo, this.textBox3, this.textBox4, this.textBox5, this.textBox6, this.textBox7, this.textBox8, this.htmlTextBox3, this.textBox1, this.htmlTextBox1 }); this.reportHeader.Name = "reportHeader"; // // textBox9 // this.textBox9.CanGrow = true; this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(0.88406825065612793D)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox9.Style.Color = System.Drawing.Color.DimGray; this.textBox9.Style.Font.Name = "Microsoft Sans Serif"; this.textBox9.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox9.StyleName = "Caption"; this.textBox9.Value = "POR#"; // // textBox2 // this.textBox2.CanGrow = true; this.textBox2.Format = "{0:d}"; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1690673828125D), Telerik.Reporting.Drawing.Unit.Inch(1.0853836536407471D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox2.Style.Font.Name = "Microsoft Sans Serif"; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox2.StyleName = "Data"; this.textBox2.Value = "= Fields.DateOrdered.Date"; // // jobCaptionTextBox // this.jobCaptionTextBox.CanGrow = true; this.jobCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4D), Telerik.Reporting.Drawing.Unit.Inch(2D)); this.jobCaptionTextBox.Name = "jobCaptionTextBox"; this.jobCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.jobCaptionTextBox.Style.Color = System.Drawing.Color.DimGray; this.jobCaptionTextBox.Style.Font.Name = "Microsoft Sans Serif"; this.jobCaptionTextBox.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.jobCaptionTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.jobCaptionTextBox.StyleName = "Caption"; this.jobCaptionTextBox.Value = "Job"; // // JobInfo // this.JobInfo.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4D), Telerik.Reporting.Drawing.Unit.Inch(2.2000789642333984D)); this.JobInfo.Name = "JobInfo"; this.JobInfo.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.JobInfo.Style.Font.Name = "Roboto"; this.JobInfo.Value = resources.GetString("JobInfo.Value"); // // textBox3 // this.textBox3.CanGrow = true; this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(0.88406825065612793D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox3.Style.Font.Name = "Microsoft Sans Serif"; this.textBox3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox3.StyleName = "Data"; this.textBox3.Value = "= Fields.[POR#]"; // // textBox4 // this.textBox4.CanGrow = true; this.textBox4.Format = "{0:t}"; this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1690673828125D), Telerik.Reporting.Drawing.Unit.Inch(1.2866994142532349D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox4.Style.Font.Name = "Microsoft Sans Serif"; this.textBox4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox4.StyleName = "Data"; this.textBox4.Value = "= Fields.ArrivalDate.Date"; // // textBox5 // this.textBox5.CanGrow = true; this.textBox5.Format = "{0:t}"; this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.4880151748657227D)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox5.Style.Font.Name = "Microsoft Sans Serif"; this.textBox5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox5.StyleName = "Data"; this.textBox5.Value = "= Fields.Status"; // // textBox6 // this.textBox6.CanGrow = true; this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.0853836536407471D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox6.Style.Color = System.Drawing.Color.DimGray; this.textBox6.Style.Font.Name = "Microsoft Sans Serif"; this.textBox6.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox6.StyleName = "Caption"; this.textBox6.Value = "Order Date"; // // textBox7 // this.textBox7.CanGrow = true; this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.2866994142532349D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox7.Style.Color = System.Drawing.Color.DimGray; this.textBox7.Style.Font.Name = "Microsoft Sans Serif"; this.textBox7.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox7.StyleName = "Caption"; this.textBox7.Value = "Arrival Date"; // // textBox8 // this.textBox8.CanGrow = true; this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.4880151748657227D)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox8.Style.Color = System.Drawing.Color.DimGray; this.textBox8.Style.Font.Name = "Microsoft Sans Serif"; this.textBox8.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox8.StyleName = "Caption"; this.textBox8.Value = "Status"; // // htmlTextBox3 // this.htmlTextBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.19999997317790985D), Telerik.Reporting.Drawing.Unit.Inch(0.034127011895179749D)); this.htmlTextBox3.Name = "htmlTextBox3"; this.htmlTextBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.htmlTextBox3.Style.Font.Name = "Roboto Condensed Light"; this.htmlTextBox3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.htmlTextBox3.Value = "{Fields.CoName}<br />{Fields.CoAddress1}<br />{Fields.CoAddress2}<br />{Fields.Co" + "Phone}<br />{Fields.License}<br />"; // // textBox1 // this.textBox1.CanGrow = true; this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(2D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox1.Style.Color = System.Drawing.Color.DimGray; this.textBox1.Style.Font.Name = "Microsoft Sans Serif"; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox1.StyleName = "Caption"; this.textBox1.Value = "Vendor"; // // htmlTextBox1 // this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(2.2000787258148193D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.htmlTextBox1.Style.Font.Name = "Roboto"; this.htmlTextBox1.Value = resources.GetString("htmlTextBox1.Value"); // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.1607142835855484D); this.detail.Name = "detail"; this.detail.Style.Visible = false; // // Por // this.DataSource = this.PorData; group1.GroupFooter = this.labelsGroupFooterSection; group1.GroupHeader = this.labelsGroupHeaderSection; group1.Name = "labelsGroup"; this.Groups.AddRange(new Telerik.Reporting.Group[] { group1 }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.labelsGroupHeaderSection, this.labelsGroupFooterSection, this.pageHeader, this.pageFooter, this.reportHeader, this.detail }); this.Name = "Por"; this.PageSettings.ContinuousPaper = false; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.Name = "PorID"; reportParameter1.Text = "PorID"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter1.Value = "1093"; this.ReportParameters.Add(reportParameter1); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Title") }); styleRule2.Style.Color = System.Drawing.Color.Black; styleRule2.Style.Font.Bold = true; styleRule2.Style.Font.Name = "Tahoma"; styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(18D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Caption") }); styleRule3.Style.Color = System.Drawing.Color.Black; styleRule3.Style.Font.Name = "Tahoma"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Data") }); styleRule4.Style.Font.Name = "Tahoma"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("PageInfo") }); styleRule5.Style.Font.Name = "Tahoma"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); styleRule5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(7.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.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter3 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter4 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter5 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter6 = new Telerik.Reporting.ReportParameter(); this.pageHeader = new Telerik.Reporting.PageHeaderSection(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.textBox17 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.TxtFiltros = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); this.textBox8 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.sqlConnection1 = new System.Data.SqlClient.SqlConnection(); this.sqlConnection2 = new System.Data.SqlClient.SqlConnection(); this.sqlDataAdapter1 = new System.Data.SqlClient.SqlDataAdapter(); this.sqlSelectCommand1 = new System.Data.SqlClient.SqlCommand(); this.pageFooter = new Telerik.Reporting.PageFooterSection(); this.textBox25 = new Telerik.Reporting.TextBox(); this.textBox26 = new Telerik.Reporting.TextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeader // this.pageHeader.Height = Telerik.Reporting.Drawing.Unit.Cm(3.5D); this.pageHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox4, this.textBox2, this.textBox3, this.textBox17, this.textBox11, this.textBox5, this.TxtFiltros, this.textBox6 }); this.pageHeader.Name = "pageHeader"; // // textBox4 // this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(-3.6557519678126482E-08D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(17.100000381469727D), Telerik.Reporting.Drawing.Unit.Cm(0.699999988079071D)); this.textBox4.Style.Font.Bold = true; this.textBox4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox4.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox4.Value = "Key Química S.A. de C.V."; // // textBox2 // this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(0.70000004768371582D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(17.100000381469727D), Telerik.Reporting.Drawing.Unit.Cm(0.60000002384185791D)); this.textBox2.Style.Font.Bold = true; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox2.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox2.Value = "SIANWeb Central"; // // textBox3 // this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(1.3000000715255737D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(17.100000381469727D), Telerik.Reporting.Drawing.Unit.Cm(0.60000002384185791D)); this.textBox3.Style.Font.Bold = true; this.textBox3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox3.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox3.Value = "Resumen de cartera"; // // textBox17 // this.textBox17.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(2D), Telerik.Reporting.Drawing.Unit.Cm(2.6999998092651367D)); this.textBox17.Name = "textBox17"; this.textBox17.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(10.5D), Telerik.Reporting.Drawing.Unit.Cm(0.80000019073486328D)); this.textBox17.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox17.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox17.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox17.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox17.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox17.Value = "Nombre"; // // textBox11 // this.textBox11.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(12.500000953674316D), Telerik.Reporting.Drawing.Unit.Cm(2.7000002861022949D)); this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.5000016689300537D), Telerik.Reporting.Drawing.Unit.Cm(0.79999977350234985D)); this.textBox11.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox11.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox11.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox11.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox11.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox11.Value = "Saldo"; // // textBox5 // this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(2.6999998092651367D)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2D), Telerik.Reporting.Drawing.Unit.Cm(0.80000030994415283D)); this.textBox5.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox5.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox5.Value = "Cliente"; // // TxtFiltros // this.TxtFiltros.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(1.9000000953674316D)); this.TxtFiltros.Name = "TxtFiltros"; this.TxtFiltros.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(17.100000381469727D), Telerik.Reporting.Drawing.Unit.Cm(0.79999995231628418D)); this.TxtFiltros.Style.Font.Bold = true; this.TxtFiltros.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.TxtFiltros.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.TxtFiltros.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.TxtFiltros.Value = ""; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(15D), Telerik.Reporting.Drawing.Unit.Cm(2.6999998092651367D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.1000001430511475D), Telerik.Reporting.Drawing.Unit.Cm(0.79999977350234985D)); this.textBox6.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox6.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox6.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox6.Value = "Crédito susp."; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Cm(0.40000021457672119D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox8, this.textBox1, this.textBox12, this.textBox7 }); this.detail.Name = "detail"; // // textBox8 // this.textBox8.CanGrow = false; formattingRule1.Filters.Add(new Telerik.Reporting.Filter("Fields.CredSusp", Telerik.Reporting.FilterOperator.Equal, "Si")); formattingRule1.Style.Color = System.Drawing.Color.Red; this.textBox8.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1 }); this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(2D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(10.5D), Telerik.Reporting.Drawing.Unit.Cm(0.40000000596046448D)); this.textBox8.Style.Font.Bold = true; this.textBox8.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox8.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox8.Value = "=Fields.Cte_Nombre"; // // textBox1 // typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Conexion", "=Parameters.Conexion.Value")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("FechaCorte", "=Parameters.FechaCorte.Value")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Id_Cd", "=Parameters.Id_Cd.Value")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Plazo", "=Parameters.Plazo.Value")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("TipoCte", "=Parameters.TipoCte.Value")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Vencimiento", "=Parameters.Vencimiento.Value")); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Id_Cte", "=Fields.Id_Cte")); typeReportSource1.TypeName = "LibreriaReportes.ResumenCartera_SW, LibreriaReportes, Version=1.0.0.0, Culture=ne" + "utral, PublicKeyToken=null"; navigateToReportAction1.ReportSource = typeReportSource1; this.textBox1.Action = navigateToReportAction1; this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(0D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2D), Telerik.Reporting.Drawing.Unit.Cm(0.40000000596046448D)); this.textBox1.Style.Color = System.Drawing.Color.Blue; this.textBox1.Style.Font.Bold = true; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox1.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox1.Value = "=Fields.Id_Cte"; // // textBox12 // this.textBox12.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1 }); this.textBox12.Format = "{0:N2}"; this.textBox12.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(12.500000953674316D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.5D), Telerik.Reporting.Drawing.Unit.Cm(0.40000000596046448D)); this.textBox12.Style.Font.Bold = true; this.textBox12.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox12.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox12.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox12.Value = "=Fields.Saldo"; // // textBox7 // this.textBox7.ConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1 }); this.textBox7.Format = "{0}"; this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(15D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.1000001430511475D), Telerik.Reporting.Drawing.Unit.Cm(0.40000000596046448D)); this.textBox7.Style.Font.Bold = true; this.textBox7.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox7.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox7.Value = "=Fields.CredSusp"; // // sqlConnection1 // this.sqlConnection1.ConnectionString = "Data Source=189.206.126.68;Initial Catalog=SIANCentral;User ID=sa"; this.sqlConnection1.FireInfoMessageEventOnUserErrors = false; // // sqlConnection2 // this.sqlConnection2.FireInfoMessageEventOnUserErrors = false; // // sqlDataAdapter1 // this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "spCapGenerarPoliza_Imprimir", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("cuenta", "cuenta"), new System.Data.Common.DataColumnMapping("Referencia", "Referencia"), new System.Data.Common.DataColumnMapping("subcuenta", "subcuenta"), new System.Data.Common.DataColumnMapping("subsubcuenta", "subsubcuenta"), new System.Data.Common.DataColumnMapping("Almacen", "Almacen"), new System.Data.Common.DataColumnMapping("TipoMov", "TipoMov"), new System.Data.Common.DataColumnMapping("Cargo", "Cargo"), new System.Data.Common.DataColumnMapping("Abono", "Abono") }) }); // // sqlSelectCommand1 // this.sqlSelectCommand1.CommandText = "spRepCobEstCartera_Nivel3"; this.sqlSelectCommand1.CommandTimeout = 600; this.sqlSelectCommand1.CommandType = System.Data.CommandType.StoredProcedure; this.sqlSelectCommand1.Connection = this.sqlConnection1; this.sqlSelectCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] { new System.Data.SqlClient.SqlParameter("@FechaCorte", System.Data.SqlDbType.DateTime, 8), new System.Data.SqlClient.SqlParameter("@Plazo", System.Data.SqlDbType.Int, 4), new System.Data.SqlClient.SqlParameter("@Vencimiento", System.Data.SqlDbType.Int, 4), new System.Data.SqlClient.SqlParameter("@TipoCte", System.Data.SqlDbType.Int, 4), new System.Data.SqlClient.SqlParameter("@Cd", System.Data.SqlDbType.Int, 4) }); // // pageFooter // this.pageFooter.Bindings.Add(new Telerik.Reporting.Binding("Visible", "=PageCount = PageNumber")); this.pageFooter.Height = Telerik.Reporting.Drawing.Unit.Cm(0.49999985098838806D); this.pageFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox25, this.textBox26 }); this.pageFooter.Name = "pageFooter"; this.pageFooter.PrintOnFirstPage = true; // // textBox25 // this.textBox25.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(1.9999996423721314D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.textBox25.Name = "textBox25"; this.textBox25.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(10.500000953674316D), Telerik.Reporting.Drawing.Unit.Cm(0.49999958276748657D)); this.textBox25.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.None; this.textBox25.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.None; this.textBox25.Style.Font.Bold = true; this.textBox25.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox25.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox25.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox25.Value = "Total:"; // // textBox26 // this.textBox26.Format = "{0:N2}"; this.textBox26.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(12.500000953674316D), Telerik.Reporting.Drawing.Unit.Cm(0D)); this.textBox26.Name = "textBox26"; this.textBox26.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(2.5D), Telerik.Reporting.Drawing.Unit.Cm(0.49999955296516418D)); this.textBox26.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.textBox26.Style.Font.Bold = true; this.textBox26.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox26.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox26.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox26.Value = "=SUM(Fields.Saldo)"; // // RepCobEstCarteraResumenCte_SW // this.DataSource = this.sqlDataAdapter1; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeader, this.detail, this.pageFooter }); this.Name = "RepCobEstCarteraResumenCte_SW"; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Cm(0.5D), Telerik.Reporting.Drawing.Unit.Cm(0.5D), Telerik.Reporting.Drawing.Unit.Cm(0.5D), Telerik.Reporting.Drawing.Unit.Cm(0.5D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.Name = "Conexion"; reportParameter2.Name = "FechaCorte"; reportParameter2.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter3.Name = "Plazo"; reportParameter3.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter4.Name = "Vencimiento"; reportParameter4.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter5.Name = "TipoCte"; reportParameter5.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter6.Name = "Id_Cd"; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.ReportParameters.Add(reportParameter4); this.ReportParameters.Add(reportParameter5); this.ReportParameters.Add(reportParameter6); this.Style.BackgroundColor = System.Drawing.Color.White; this.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.Style.Visible = true; this.Width = Telerik.Reporting.Drawing.Unit.Cm(17.100000381469727D); this.NeedDataSource += new System.EventHandler(this.RepCobEstCarteraResumenCte_SW_NeedDataSource); ((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.TypeReportSource typeReportSource2 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.detail = new Telerik.Reporting.DetailSection(); this.pageFooterSection1 = new Telerik.Reporting.PageFooterSection(); this.subReport1 = new Telerik.Reporting.SubReport(); this.objectDataSource3 = new Telerik.Reporting.ObjectDataSource(); this.entityDataSource1 = new Telerik.Reporting.EntityDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(2.1D); this.detail.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.subReport1 }); this.detail.Name = "detail"; // // pageFooterSection1 // this.pageFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(1D); this.pageFooterSection1.Name = "pageFooterSection1"; // // subReport1 // this.subReport1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.subReport1.Name = "subReport1"; typeReportSource2.Parameters.Add(new Telerik.Reporting.Parameter("FoodId", "= Fields.FoodId")); typeReportSource2.TypeName = "Plum.Form.Report.MasterDetail.DetailReport, Plum, Version=1.0.0.0, Culture=neutra" + "l, PublicKeyToken=null"; this.subReport1.ReportSource = typeReportSource2; this.subReport1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.5D), Telerik.Reporting.Drawing.Unit.Inch(2.1D)); // // objectDataSource3 // this.objectDataSource3.DataSource = typeof(Plum.Model.Model.Food.FoodDetailsModel); this.objectDataSource3.Name = "objectDataSource3"; // // entityDataSource1 // this.entityDataSource1.ConnectionString = "PlumContext"; this.entityDataSource1.Context = typeof(PlumContext); this.entityDataSource1.ContextMember = "Foods"; this.entityDataSource1.Name = "entityDataSource1"; // // MasterReport // this.DataSource = this.objectDataSource3; this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detail, this.pageFooterSection1 }); this.Name = "MasterReport"; 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; styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule2 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(6.5D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); this.radPanel2 = new Telerik.WinControls.UI.RadPanel(); this.btnClose = new Telerik.WinControls.UI.RadButton(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit(); this.radPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // radPanel2 // this.radPanel2.Controls.Add(this.btnClose); this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.radPanel2.Location = new System.Drawing.Point(0, 492); this.radPanel2.Name = "radPanel2"; this.radPanel2.Size = new System.Drawing.Size(796, 53); this.radPanel2.TabIndex = 2; // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(701, 17); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(83, 24); this.btnClose.TabIndex = 49; this.btnClose.Text = "Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Category", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("GradeLevel", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("GradeLevelSection", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("HomeroomTeacher", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("SectionCode", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("SY", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Title", null)); typeReportSource1.TypeName = "eSARReportLibrary.gradingSheetTraits, eSARReportLibrary, Version=1.0.0.0, Culture" + "=neutral, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.Size = new System.Drawing.Size(796, 492); this.reportViewer1.TabIndex = 3; // // frmGradingSheetTrait1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(796, 545); this.Controls.Add(this.reportViewer1); this.Controls.Add(this.radPanel2); this.Name = "frmGradingSheetTrait1"; // // // this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Traits Grading Sheet"; this.Load += new System.EventHandler(this.frmGradingSheetTrait1_Load); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit(); this.radPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
/// <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.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.TypeReportSource typeReportSource2 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.TypeReportSource typeReportSource3 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.TypeReportSource typeReportSource4 = new Telerik.Reporting.TypeReportSource(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChangeRequest)); Telerik.Reporting.Group group1 = new Telerik.Reporting.Group(); Telerik.Reporting.Group group2 = new Telerik.Reporting.Group(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); this.groupFooterSection = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection = new Telerik.Reporting.GroupHeaderSection(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.subCrLaborDetail = new Telerik.Reporting.SubReport(); this.subCrMaterialsDetail = new Telerik.Reporting.SubReport(); this.subCrTotal = new Telerik.Reporting.SubReport(); this.groupFooterSection1 = new Telerik.Reporting.GroupFooterSection(); this.groupHeaderSection1 = new Telerik.Reporting.GroupHeaderSection(); this.subCrItemDetail = new Telerik.Reporting.SubReport(); this.ChangeRequestData = new Telerik.Reporting.SqlDataSource(); this.pageHeader = new Telerik.Reporting.PageHeaderSection(); this.RptHeader = new Telerik.Reporting.TextBox(); this.CoLogo = new Telerik.Reporting.PictureBox(); this.pageFooter = new Telerik.Reporting.PageFooterSection(); this.pageInfoTextBox = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.reportHeader = new Telerik.Reporting.ReportHeaderSection(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.jobCaptionTextBox = new Telerik.Reporting.TextBox(); this.JobInfo = new Telerik.Reporting.HtmlTextBox(); 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.Scope = new Telerik.Reporting.HtmlTextBox(); this.htmlTextBox2 = new Telerik.Reporting.HtmlTextBox(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); this.shape4 = new Telerik.Reporting.Shape(); this.shape3 = new Telerik.Reporting.Shape(); this.textBox20 = new Telerik.Reporting.TextBox(); this.textBox19 = new Telerik.Reporting.TextBox(); this.textBox18 = new Telerik.Reporting.TextBox(); this.textBox17 = new Telerik.Reporting.TextBox(); this.textBox16 = new Telerik.Reporting.TextBox(); this.htmlTextBox3 = new Telerik.Reporting.HtmlTextBox(); this.reportFooter = new Telerik.Reporting.ReportFooterSection(); this.detail = new Telerik.Reporting.DetailSection(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // groupFooterSection // this.groupFooterSection.Height = Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D); this.groupFooterSection.Name = "groupFooterSection"; this.groupFooterSection.Style.Visible = false; // // groupHeaderSection // this.groupHeaderSection.Height = Telerik.Reporting.Drawing.Unit.Inch(2.1999995708465576D); this.groupHeaderSection.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox11, this.textBox1, this.subCrLaborDetail, this.subCrMaterialsDetail, this.subCrTotal }); this.groupHeaderSection.Name = "groupHeaderSection"; this.groupHeaderSection.PageBreak = Telerik.Reporting.PageBreak.After; // // textBox11 // this.textBox11.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.2999999523162842D), Telerik.Reporting.Drawing.Unit.Inch(-3.6708891570924607E-07D)); this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.textBox11.Style.Color = System.Drawing.Color.DimGray; this.textBox11.Style.Font.Bold = true; this.textBox11.Style.Font.Name = "Microsoft Sans Serif"; this.textBox11.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.textBox11.Style.LineColor = System.Drawing.Color.DimGray; this.textBox11.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.textBox11.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.textBox11.TextWrap = false; this.textBox11.Value = "Pricing Detail"; // // textBox1 // this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.25D), Telerik.Reporting.Drawing.Unit.Inch(0.60000002384185791D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7D), Telerik.Reporting.Drawing.Unit.Inch(0.20000003278255463D)); this.textBox1.Style.Font.Name = "Microsoft Sans Serif"; this.textBox1.Value = "The table below provides a pricing breakdown by phase."; // // subCrLaborDetail // this.subCrLaborDetail.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.89999997615814209D)); this.subCrLaborDetail.Name = "subCrLaborDetail"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("CorID", "= Fields.CorID")); typeReportSource1.TypeName = "ePonti.ReportLib.CrLaborDetail, ePonti.ReportLib, Version=1.0.0.0, Culture=neutra" + "l, PublicKeyToken=null"; this.subCrLaborDetail.ReportSource = typeReportSource1; this.subCrLaborDetail.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.5D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D)); // // subCrMaterialsDetail // this.subCrMaterialsDetail.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(1.2999999523162842D)); this.subCrMaterialsDetail.Name = "subCrMaterialsDetail"; typeReportSource2.Parameters.Add(new Telerik.Reporting.Parameter("CorID", "= Fields.CorID")); typeReportSource2.TypeName = "ePonti.ReportLib.CrMaterialsDetail, ePonti.ReportLib, Version=1.0.0.0, Culture=ne" + "utral, PublicKeyToken=null"; this.subCrMaterialsDetail.ReportSource = typeReportSource2; this.subCrMaterialsDetail.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.5D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D)); // // subCrTotal // this.subCrTotal.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(1.7000000476837158D)); this.subCrTotal.Name = "subCrTotal"; typeReportSource3.Parameters.Add(new Telerik.Reporting.Parameter("CorID", "= Fields.CorID")); typeReportSource3.TypeName = "ePonti.ReportLib.CrTotal, ePonti.ReportLib, Version=1.0.0.0, Culture=neutral, Pub" + "licKeyToken=null"; this.subCrTotal.ReportSource = typeReportSource3; this.subCrTotal.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.5D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D)); // // groupFooterSection1 // this.groupFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D); this.groupFooterSection1.Name = "groupFooterSection1"; this.groupFooterSection1.Style.Visible = false; // // groupHeaderSection1 // this.groupHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.699999988079071D); this.groupHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.subCrItemDetail }); this.groupHeaderSection1.Name = "groupHeaderSection1"; // // subCrItemDetail // this.subCrItemDetail.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.2000005841255188D)); this.subCrItemDetail.Name = "subCrItemDetail"; typeReportSource4.Parameters.Add(new Telerik.Reporting.Parameter("CorID", "= Fields.CorID")); typeReportSource4.TypeName = "ePonti.ReportLib.CrItemDetail, ePonti.ReportLib, Version=1.0.0.0, Culture=neutral" + ", PublicKeyToken=null"; this.subCrItemDetail.ReportSource = typeReportSource4; this.subCrItemDetail.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.5D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D)); // // ChangeRequestData // this.ChangeRequestData.ConnectionString = "DefaultConnection"; this.ChangeRequestData.Name = "ChangeRequestData"; this.ChangeRequestData.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@CorID", System.Data.DbType.Int32, "= Parameters.CorID.Value") }); this.ChangeRequestData.SelectCommand = "dbo.rptCorInfoDetail"; this.ChangeRequestData.SelectCommandType = Telerik.Reporting.SqlDataSourceCommandType.StoredProcedure; // // pageHeader // this.pageHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(1.3999999761581421D); this.pageHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.RptHeader, this.CoLogo }); this.pageHeader.Name = "pageHeader"; this.pageHeader.Style.BorderColor.Bottom = System.Drawing.Color.Red; this.pageHeader.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; this.pageHeader.Style.Color = System.Drawing.Color.Red; // // RptHeader // this.RptHeader.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(0.89999997615814209D)); this.RptHeader.Name = "RptHeader"; this.RptHeader.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.3999999463558197D)); this.RptHeader.Style.Color = System.Drawing.Color.DimGray; this.RptHeader.Style.Font.Name = "Microsoft Sans Serif"; this.RptHeader.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(21D); this.RptHeader.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.RptHeader.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.RptHeader.StyleName = "Title"; this.RptHeader.Value = "Change Order Request"; // // CoLogo // this.CoLogo.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Left))); this.CoLogo.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.CoLogo.MimeType = ""; this.CoLogo.Name = "CoLogo"; this.CoLogo.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.89999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(0.89999997615814209D)); this.CoLogo.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional; this.CoLogo.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.CoLogo.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.CoLogo.Value = "= Fields.Logo"; // // pageFooter // this.pageFooter.Height = Telerik.Reporting.Drawing.Unit.Inch(0.22380951046943665D); this.pageFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageInfoTextBox, this.textBox10 }); this.pageFooter.Name = "pageFooter"; this.pageFooter.Style.BorderColor.Top = System.Drawing.Color.Red; this.pageFooter.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; this.pageFooter.Style.BorderWidth.Top = Telerik.Reporting.Drawing.Unit.Point(0.5D); // // pageInfoTextBox // this.pageInfoTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(6.6999993324279785D), Telerik.Reporting.Drawing.Unit.Inch(3.972129343310371E-05D)); this.pageInfoTextBox.Name = "pageInfoTextBox"; this.pageInfoTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.pageInfoTextBox.Style.Color = System.Drawing.Color.DimGray; this.pageInfoTextBox.Style.Font.Name = "Microsoft Sans Serif"; this.pageInfoTextBox.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.pageInfoTextBox.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.pageInfoTextBox.StyleName = "PageInfo"; this.pageInfoTextBox.Value = "=PageNumber"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(6.3000001907348633D), Telerik.Reporting.Drawing.Unit.Inch(3.972129343310371E-05D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.3999997079372406D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox10.Style.Color = System.Drawing.Color.DimGray; this.textBox10.Style.Font.Name = "Microsoft Sans Serif"; this.textBox10.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox10.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox10.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox10.Value = "Page"; // // reportHeader // this.reportHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(6.6999998092651367D); this.reportHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox9, this.textBox2, this.jobCaptionTextBox, this.JobInfo, this.textBox3, this.textBox4, this.textBox5, this.textBox6, this.textBox7, this.textBox8, this.Scope, this.htmlTextBox2, this.htmlTextBox1, this.shape4, this.shape3, this.textBox20, this.textBox19, this.textBox18, this.textBox17, this.textBox16, this.htmlTextBox3 }); this.reportHeader.Name = "reportHeader"; this.reportHeader.PageBreak = Telerik.Reporting.PageBreak.After; // // textBox9 // this.textBox9.CanGrow = true; this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(0.94994115829467773D)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox9.Style.Color = System.Drawing.Color.DimGray; this.textBox9.Style.Font.Name = "Microsoft Sans Serif"; this.textBox9.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox9.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox9.StyleName = "Caption"; this.textBox9.Value = "COR#"; // // textBox2 // this.textBox2.CanGrow = true; this.textBox2.Format = "{0:d}"; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1690673828125D), Telerik.Reporting.Drawing.Unit.Inch(1.1512569189071655D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox2.Style.Font.Name = "Microsoft Sans Serif"; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox2.StyleName = "Data"; this.textBox2.Value = "= Fields.Date.Date"; // // jobCaptionTextBox // this.jobCaptionTextBox.CanGrow = true; this.jobCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.56898844242095947D), Telerik.Reporting.Drawing.Unit.Inch(1.9499410390853882D)); this.jobCaptionTextBox.Name = "jobCaptionTextBox"; this.jobCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.jobCaptionTextBox.Style.Color = System.Drawing.Color.DimGray; this.jobCaptionTextBox.Style.Font.Name = "Microsoft Sans Serif"; this.jobCaptionTextBox.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.jobCaptionTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.jobCaptionTextBox.StyleName = "Caption"; this.jobCaptionTextBox.Value = "Job"; // // JobInfo // this.JobInfo.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.56898844242095947D), Telerik.Reporting.Drawing.Unit.Inch(2.150019645690918D)); this.JobInfo.Name = "JobInfo"; this.JobInfo.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.5D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.JobInfo.Style.Font.Name = "Roboto"; this.JobInfo.Value = resources.GetString("JobInfo.Value"); // // textBox3 // this.textBox3.CanGrow = true; this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(0.94994115829467773D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox3.Style.Font.Name = "Microsoft Sans Serif"; this.textBox3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox3.StyleName = "Data"; this.textBox3.Value = "= Fields.[Cor#]"; // // textBox4 // this.textBox4.CanGrow = true; this.textBox4.Format = "{0:t}"; this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1690673828125D), Telerik.Reporting.Drawing.Unit.Inch(1.3525725603103638D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox4.Style.Font.Name = "Microsoft Sans Serif"; this.textBox4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox4.StyleName = "Data"; this.textBox4.Value = "= Fields.Status"; // // textBox5 // this.textBox5.CanGrow = true; this.textBox5.Format = "{0:t}"; this.textBox5.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.553888201713562D)); this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox5.Style.Font.Name = "Microsoft Sans Serif"; this.textBox5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox5.StyleName = "Data"; this.textBox5.Value = "= Fields.Type"; // // textBox6 // this.textBox6.CanGrow = true; this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.1512569189071655D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox6.Style.Color = System.Drawing.Color.DimGray; this.textBox6.Style.Font.Name = "Microsoft Sans Serif"; this.textBox6.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox6.StyleName = "Caption"; this.textBox6.Value = "Date"; // // textBox7 // this.textBox7.CanGrow = true; this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.3525725603103638D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox7.Style.Color = System.Drawing.Color.DimGray; this.textBox7.Style.Font.Name = "Microsoft Sans Serif"; this.textBox7.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox7.StyleName = "Caption"; this.textBox7.Value = "Status"; // // textBox8 // this.textBox8.CanGrow = true; this.textBox8.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.553888201713562D)); this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox8.Style.Color = System.Drawing.Color.DimGray; this.textBox8.Style.Font.Name = "Microsoft Sans Serif"; this.textBox8.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox8.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox8.StyleName = "Caption"; this.textBox8.Value = "Type"; // // Scope // this.Scope.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.1000000461935997D), Telerik.Reporting.Drawing.Unit.Inch(3.3999998569488525D)); this.Scope.Name = "Scope"; this.Scope.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.3000001907348633D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.Scope.Style.Font.Name = "Roboto"; this.Scope.Value = resources.GetString("Scope.Value"); // // htmlTextBox2 // this.htmlTextBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.4999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(4.8000788688659668D)); this.htmlTextBox2.Name = "htmlTextBox2"; this.htmlTextBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.htmlTextBox2.Style.Font.Name = "Roboto"; this.htmlTextBox2.Value = "<span style=\"font-family: roboto\">{Fields.Customer}<br />{Fields.ProjectAddress1}" + " {Fields.ProjectAddress2}<br />{Fields.ProjectCity}, {Fields.ProjectState}" + " {Fields.ProjectZip}</span>"; // // htmlTextBox1 // this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(4.8000788688659668D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.htmlTextBox1.Style.Font.Name = "Roboto"; this.htmlTextBox1.Value = "{Fields.CoName}<br />{Fields.CoAddress1}<br />{Fields.CoAddress2}<br />"; // // shape4 // this.shape4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.4999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(6.3000788688659668D)); this.shape4.Name = "shape4"; this.shape4.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D)); this.shape4.Style.LineColor = System.Drawing.Color.DimGray; this.shape4.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0.5D); // // shape3 // this.shape3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(6.3000788688659668D)); this.shape3.Name = "shape3"; this.shape3.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D)); this.shape3.Style.LineColor = System.Drawing.Color.DimGray; this.shape3.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0.5D); // // textBox20 // this.textBox20.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.4999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(4.5999999046325684D)); this.textBox20.Name = "textBox20"; this.textBox20.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D)); this.textBox20.Style.Color = System.Drawing.Color.DimGray; this.textBox20.Style.Font.Bold = true; this.textBox20.Style.Font.Name = "Microsoft Sans Serif"; this.textBox20.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox20.Style.LineColor = System.Drawing.Color.DimGray; this.textBox20.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox20.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox20.TextWrap = false; this.textBox20.Value = "Accepted by:"; // // textBox19 // this.textBox19.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.4999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(6.3393650054931641D)); this.textBox19.Name = "textBox19"; this.textBox19.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox19.Style.Color = System.Drawing.Color.DimGray; this.textBox19.Style.Font.Bold = true; this.textBox19.Style.Font.Name = "Microsoft Sans Serif"; this.textBox19.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox19.Style.LineColor = System.Drawing.Color.DimGray; this.textBox19.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox19.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox19.TextWrap = false; this.textBox19.Value = "Accepted by:"; // // textBox18 // this.textBox18.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.0000004768371582D), Telerik.Reporting.Drawing.Unit.Inch(6.3393650054931641D)); this.textBox18.Name = "textBox18"; this.textBox18.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.5D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox18.Style.Color = System.Drawing.Color.DimGray; this.textBox18.Style.Font.Bold = true; this.textBox18.Style.Font.Name = "Microsoft Sans Serif"; this.textBox18.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox18.Style.LineColor = System.Drawing.Color.DimGray; this.textBox18.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox18.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox18.TextWrap = false; this.textBox18.Value = "= Fields.CoName"; // // textBox17 // this.textBox17.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9999995231628418D), Telerik.Reporting.Drawing.Unit.Inch(6.3393650054931641D)); this.textBox17.Name = "textBox17"; this.textBox17.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox17.Style.Color = System.Drawing.Color.DimGray; this.textBox17.Style.Font.Bold = true; this.textBox17.Style.Font.Name = "Microsoft Sans Serif"; this.textBox17.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox17.Style.LineColor = System.Drawing.Color.DimGray; this.textBox17.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox17.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox17.TextWrap = false; this.textBox17.Value = "Date"; // // textBox16 // this.textBox16.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(6.4999990463256836D), Telerik.Reporting.Drawing.Unit.Inch(6.3393650054931641D)); this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox16.Style.Color = System.Drawing.Color.DimGray; this.textBox16.Style.Font.Bold = true; this.textBox16.Style.Font.Name = "Microsoft Sans Serif"; this.textBox16.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox16.Style.LineColor = System.Drawing.Color.DimGray; this.textBox16.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox16.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox16.TextWrap = false; this.textBox16.Value = "Date"; // // htmlTextBox3 // this.htmlTextBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D)); this.htmlTextBox3.Name = "htmlTextBox3"; this.htmlTextBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.htmlTextBox3.Style.Color = System.Drawing.Color.DimGray; this.htmlTextBox3.Style.Font.Name = "Roboto Condensed Light"; this.htmlTextBox3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.htmlTextBox3.Value = "{Fields.CoName}<br />{Fields.CoAddress1}<br />{Fields.CoAddress2}<br />{Fields.Co" + "Phone}<br />{Fields.License}<br />"; // // reportFooter // this.reportFooter.Height = Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D); this.reportFooter.Name = "reportFooter"; this.reportFooter.Style.Visible = false; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D); this.detail.Name = "detail"; this.detail.Style.Visible = false; // // ChangeRequest // this.DataSource = this.ChangeRequestData; group1.GroupFooter = this.groupFooterSection; group1.GroupHeader = this.groupHeaderSection; group1.Name = "PricingDetail"; group2.GroupFooter = this.groupFooterSection1; group2.GroupHeader = this.groupHeaderSection1; group2.Name = "Items"; this.Groups.AddRange(new Telerik.Reporting.Group[] { group1, group2 }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.groupHeaderSection, this.groupFooterSection, this.groupHeaderSection1, this.groupFooterSection1, this.pageHeader, this.pageFooter, this.reportHeader, this.reportFooter, this.detail }); this.Name = "ChangeRequest"; this.PageSettings.ContinuousPaper = false; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.Name = "CorID"; reportParameter1.Text = "CorID"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter1.Value = "23"; this.ReportParameters.Add(reportParameter1); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Title") }); styleRule2.Style.Color = System.Drawing.Color.Black; styleRule2.Style.Font.Bold = true; styleRule2.Style.Font.Name = "Tahoma"; styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(18D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Caption") }); styleRule3.Style.Color = System.Drawing.Color.Black; styleRule3.Style.Font.Name = "Tahoma"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Data") }); styleRule4.Style.Font.Name = "Tahoma"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("PageInfo") }); styleRule5.Style.Font.Name = "Tahoma"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); styleRule5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(7.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.DataColumn dataColumn1 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn2 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn3 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn4 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.DataColumn dataColumn5 = new Telerik.Reporting.DataColumn(); Telerik.Reporting.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.DateTimeScale dateTimeScale1 = new Telerik.Reporting.DateTimeScale(); Telerik.Reporting.DateTimeScaleCrossAxisPosition dateTimeScaleCrossAxisPosition1 = new Telerik.Reporting.DateTimeScaleCrossAxisPosition(); Telerik.Reporting.DateTimeScaleCrossAxisPosition dateTimeScaleCrossAxisPosition2 = new Telerik.Reporting.DateTimeScaleCrossAxisPosition(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphGroup graphGroup4 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.ShapeMapGroup shapeMapGroup1 = new Telerik.Reporting.ShapeMapGroup(); Telerik.Reporting.GeoLocationMapGroup geoLocationMapGroup1 = new Telerik.Reporting.GeoLocationMapGroup(); Telerik.Reporting.MapLegend mapLegend1 = new Telerik.Reporting.MapLegend(); Telerik.Reporting.MercatorProjection mercatorProjection1 = new Telerik.Reporting.MercatorProjection(); Telerik.Reporting.MapTitle mapTitle1 = new Telerik.Reporting.MapTitle(); Telerik.Reporting.Drawing.GradientPalette gradientPalette1 = new Telerik.Reporting.Drawing.GradientPalette(); Telerik.Reporting.MapGroup mapGroup1 = new Telerik.Reporting.MapGroup(); Telerik.Reporting.EsriShapeFileSourceType esriShapeFileSourceType1 = new Telerik.Reporting.EsriShapeFileSourceType(); Telerik.Reporting.MapRelationPair mapRelationPair1 = new Telerik.Reporting.MapRelationPair(); Telerik.Reporting.Drawing.FormattingRule formattingRule1 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule2 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule3 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.Drawing.FormattingRule formattingRule4 = new Telerik.Reporting.Drawing.FormattingRule(); Telerik.Reporting.NavigateToReportAction navigateToReportAction2 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource2 = new Telerik.Reporting.TypeReportSource(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CryptoCurrencyInfo)); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter2 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.ReportParameter reportParameter3 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector2 = new Telerik.Reporting.Drawing.DescendantSelector(); this.dsData = new Telerik.Reporting.CsvDataSource(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox9 = new Telerik.Reporting.TextBox(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.graph1 = new Telerik.Reporting.Graph(); this.cartesianCoordinateSystem1 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis2 = new Telerik.Reporting.GraphAxis(); this.graphAxis1 = new Telerik.Reporting.GraphAxis(); this.cartesianCoordinateSystem3 = new Telerik.Reporting.CartesianCoordinateSystem(); this.graphAxis3 = new Telerik.Reporting.GraphAxis(); this.lineSeriesPrice = new Telerik.Reporting.LineSeries(); this.lineSeriesCoins = new Telerik.Reporting.LineSeries(); this.map2 = new Telerik.Reporting.Map(); this.shapeMapSeries1 = new Telerik.Reporting.ShapeMapSeries(); this.pointMapSeries1 = new Telerik.Reporting.PointMapSeries(); this.textBox2 = new Telerik.Reporting.TextBox(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); this.CurrencyDetails = new Telerik.Reporting.ObjectDataSource(); this.CurrenciesList = new Telerik.Reporting.ObjectDataSource(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // dsData // this.dsData.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("RiskPercent", typeof(int), "= Fields.RiskIndex/5*100") }); dataColumn1.Name = "Country"; dataColumn2.Name = "RiskIndex"; dataColumn2.Type = Telerik.Reporting.SimpleType.Float; dataColumn3.Name = "TSI"; dataColumn3.Type = Telerik.Reporting.SimpleType.Integer; dataColumn4.Name = "Lat"; dataColumn4.Type = Telerik.Reporting.SimpleType.Float; dataColumn5.Name = "Long"; dataColumn5.Type = Telerik.Reporting.SimpleType.Float; this.dsData.Columns.Add(dataColumn1); this.dsData.Columns.Add(dataColumn2); this.dsData.Columns.Add(dataColumn3); this.dsData.Columns.Add(dataColumn4); this.dsData.Columns.Add(dataColumn5); this.dsData.FieldSeparators = new char[] { ',' }; this.dsData.HasHeaders = true; this.dsData.Name = "dsData"; this.dsData.RecordSeparators = new char[] { '\r', '\n' }; this.dsData.Source = "Country,RiskIndex,TSI,Lat,Long\r\nChina,81,0,40.0, 105.737707\r\nIceland,5,0,64.8, -1" + "8.0\r\nJapan,3,0,35.435666, 148.737707\r\nCzech Republic,3,0,53.0,19.467\r\nGeorgia,2." + "4,0,38.7,47.8\r\nIndia,2,0,19,78"; this.dsData.ThousandSeparator = ""; // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.500039279460907D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox9 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox9 // this.textBox9.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.5999608039855957D), Telerik.Reporting.Drawing.Unit.Inch(0.49999991059303284D)); this.textBox9.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); this.textBox9.Value = "=\"Details for \" + ToUpper(Parameters.currencyCode.Value)"; // // detailSection1 // this.detailSection1.CanShrink = true; this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(10.500000953674316D); this.detailSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.graph1, this.map2, this.textBox2, this.htmlTextBox1 }); this.detailSection1.Name = "detailSection1"; // // graph1 // typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Parameters.currencyCode.Value")); typeReportSource1.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyRawData, CSharp.ReportLibrary, Ve" + "rsion=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction1.ReportSource = typeReportSource1; this.graph1.Action = navigateToReportAction1; graphGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Date")); graphGroup1.Name = "dateGroup"; graphGroup1.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Date", Telerik.Reporting.SortDirection.Asc)); graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Date")); graphGroup2.Name = "dateGroup1"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Date", Telerik.Reporting.SortDirection.Asc)); this.graph1.CategoryGroups.Add(graphGroup1); this.graph1.CategoryGroups.Add(graphGroup2); colorPalette1.Colors.Add(System.Drawing.Color.DodgerBlue); colorPalette1.Colors.Add(System.Drawing.Color.MediumVioletRed); this.graph1.ColorPalette = colorPalette1; this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem1); this.graph1.CoordinateSystems.Add(this.cartesianCoordinateSystem3); this.graph1.DataSource = this.CurrencyDetails; this.graph1.Filters.Add(new Telerik.Reporting.Filter("= Fields.Date", Telerik.Reporting.FilterOperator.GreaterThan, "= Parameters.fromDate.Value")); this.graph1.Filters.Add(new Telerik.Reporting.Filter("= Fields.Date", Telerik.Reporting.FilterOperator.LessOrEqual, "= Parameters.toDate.Value")); this.graph1.Legend.IsInsidePlotArea = true; this.graph1.Legend.Position = Telerik.Reporting.GraphItemPosition.TopCenter; this.graph1.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph1.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.graph1.Name = "graph1"; this.graph1.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph1.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); this.graph1.Series.Add(this.lineSeriesPrice); this.graph1.Series.Add(this.lineSeriesCoins); this.graph1.SeriesGroups.Add(graphGroup3); this.graph1.SeriesGroups.Add(graphGroup4); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(10.799961090087891D), Telerik.Reporting.Drawing.Unit.Inch(2.5D)); this.graph1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); graphTitle1.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle1.Style.LineColor = System.Drawing.Color.LightGray; graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Inch(0D); graphTitle1.Style.Visible = false; graphTitle1.Text = "graph1"; this.graph1.Titles.Add(graphTitle1); // // cartesianCoordinateSystem1 // this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1"; this.cartesianCoordinateSystem1.XAxis = this.graphAxis2; this.cartesianCoordinateSystem1.YAxis = this.graphAxis1; // // graphAxis2 // this.graphAxis2.LabelFormat = "{0:MMM.yy}"; this.graphAxis2.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis2.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis2.MinorGridLineStyle.Visible = false; this.graphAxis2.Name = "graphAxis2"; dateTimeScaleCrossAxisPosition1.Position = Telerik.Reporting.GraphScaleCrossAxisPosition.AtMaximum; dateTimeScaleCrossAxisPosition1.Value = new System.DateTime(((long)(0))); dateTimeScaleCrossAxisPosition2.Position = Telerik.Reporting.GraphScaleCrossAxisPosition.AtMinimum; dateTimeScaleCrossAxisPosition2.Value = new System.DateTime(((long)(0))); dateTimeScale1.CrossAxisPositions.Add(dateTimeScaleCrossAxisPosition1); dateTimeScale1.CrossAxisPositions.Add(dateTimeScaleCrossAxisPosition2); dateTimeScale1.LabelStep = 4; dateTimeScale1.LabelUnit = Telerik.Reporting.DateTimeScaleUnits.Months; dateTimeScale1.MajorStep = 4; dateTimeScale1.MajorUnit = Telerik.Reporting.DateTimeScaleUnits.Months; dateTimeScale1.MinorUnit = Telerik.Reporting.DateTimeScaleUnits.Years; this.graphAxis2.Scale = dateTimeScale1; // // graphAxis1 // this.graphAxis1.LabelFormat = "{0:$0}"; this.graphAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightSteelBlue; this.graphAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis1.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis1.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis1.MinorGridLineStyle.Visible = false; this.graphAxis1.Name = "graphAxis1"; this.graphAxis1.Scale = numericalScale1; this.graphAxis1.Style.Color = System.Drawing.Color.DodgerBlue; this.graphAxis1.Style.LineColor = System.Drawing.Color.DodgerBlue; // // cartesianCoordinateSystem3 // this.cartesianCoordinateSystem3.Name = "cartesianCoordinateSystem3"; this.cartesianCoordinateSystem3.XAxis = this.graphAxis2; this.cartesianCoordinateSystem3.YAxis = this.graphAxis3; // // graphAxis3 // this.graphAxis3.LabelFormat = "{0:#,##0M,,}"; this.graphAxis3.MajorGridLineStyle.LineColor = System.Drawing.Color.MistyRose; this.graphAxis3.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis3.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.graphAxis3.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.graphAxis3.MinorGridLineStyle.Visible = false; this.graphAxis3.Name = "GraphAxis1"; this.graphAxis3.Scale = numericalScale2; this.graphAxis3.Style.Color = System.Drawing.Color.MediumVioletRed; this.graphAxis3.Style.LineColor = System.Drawing.Color.MediumVioletRed; // // lineSeriesPrice // this.lineSeriesPrice.CategoryGroup = graphGroup1; this.lineSeriesPrice.CoordinateSystem = this.cartesianCoordinateSystem1; this.lineSeriesPrice.DataPointLabel = "= Sum(Fields.Price)"; this.lineSeriesPrice.DataPointLabelStyle.Visible = false; this.lineSeriesPrice.DataPointStyle.Visible = false; this.lineSeriesPrice.LegendItem.Value = "Price"; this.lineSeriesPrice.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeriesPrice.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeriesPrice.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeriesPrice.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeriesPrice.Name = "lineSeriesPrice"; graphGroup3.Name = "seriesGroup"; this.lineSeriesPrice.SeriesGroup = graphGroup3; this.lineSeriesPrice.Size = null; this.lineSeriesPrice.ToolTip.Text = "= Sum(Fields.Price)"; this.lineSeriesPrice.ToolTip.Title = "Price"; this.lineSeriesPrice.X = "= Fields.Date"; this.lineSeriesPrice.Y = "= Sum(Fields.Price)"; // // lineSeriesCoins // this.lineSeriesCoins.CategoryGroup = graphGroup2; this.lineSeriesCoins.CoordinateSystem = this.cartesianCoordinateSystem3; this.lineSeriesCoins.DataPointLabel = "= Fields.MarketCap"; this.lineSeriesCoins.DataPointLabelStyle.Visible = false; this.lineSeriesCoins.DataPointStyle.Visible = false; this.lineSeriesCoins.LegendItem.Value = "Market cap"; this.lineSeriesCoins.LineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.lineSeriesCoins.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Pixel(50D); this.lineSeriesCoins.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeriesCoins.MarkerSize = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.lineSeriesCoins.Name = "lineSeriesCoins"; graphGroup4.Name = "seriesGroup1"; this.lineSeriesCoins.SeriesGroup = graphGroup4; this.lineSeriesCoins.Size = null; this.lineSeriesCoins.ToolTip.Text = "= Fields.MarketCap"; this.lineSeriesCoins.ToolTip.Title = "Coins"; this.lineSeriesCoins.X = "= Fields.Date"; this.lineSeriesCoins.Y = "= Fields.MarketCap"; // // map2 // this.map2.Bindings.Add(new Telerik.Reporting.Binding("Visible", "= Parameters.currencyCode.Value = \"btc\"")); this.map2.ColorPalette = null; this.map2.DataSource = this.dsData; this.map2.Extent.LatitudeMax = 74.393967649013874D; this.map2.Extent.LatitudeMin = -20.886359822167741D; this.map2.Extent.LongitudeMax = 169.84247446060181D; this.map2.Extent.LongitudeMin = -40.861018896102905D; shapeMapGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.CNTRY_NAME")); shapeMapGroup1.Name = "categoryGroup1"; geoLocationMapGroup1.Filters.Add(new Telerik.Reporting.Filter("= Fields.Country is Null", Telerik.Reporting.FilterOperator.Equal, "=False")); geoLocationMapGroup1.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Country")); geoLocationMapGroup1.Name = "geoLocationMapGroup"; this.map2.GeoLocationGroups.Add(shapeMapGroup1); this.map2.GeoLocationGroups.Add(geoLocationMapGroup1); mapLegend1.IsInsidePlotArea = true; mapLegend1.Position = Telerik.Reporting.GraphItemPosition.TopCenter; mapLegend1.Style.LineColor = System.Drawing.Color.LightGray; mapLegend1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapLegend1.Title = "Mining Pools %"; mapLegend1.TitleStyle.Font.Bold = true; mapLegend1.TitleStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(6D); mapLegend1.TitleStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map2.Legends.Add(mapLegend1); this.map2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(2.6000001430511475D)); this.map2.Meridians.Style.LineColor = System.Drawing.Color.LightGray; this.map2.Name = "map2"; this.map2.Parallels.Style.LineColor = System.Drawing.Color.LightGray; this.map2.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.map2.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.map2.Projection = mercatorProjection1; this.map2.ScaleLegend.ItemStyle.BorderColor.Default = System.Drawing.Color.White; this.map2.ScaleLegend.ItemStyle.LineColor = System.Drawing.Color.DodgerBlue; this.map2.ScaleLegend.ItemStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(2D); this.map2.ScaleLegend.ItemStyle.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map2.ScaleLegend.ItemStyle.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(5D); this.map2.ScaleLegend.ItemStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.map2.ScaleLegend.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.map2.Series.Add(this.shapeMapSeries1); this.map2.Series.Add(this.pointMapSeries1); this.map2.SeriesGroups.Add(mapGroup1); this.map2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(10.236221313476563D), Telerik.Reporting.Drawing.Unit.Cm(18.034002304077148D)); this.map2.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.map2.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); mapTitle1.Style.LineColor = System.Drawing.Color.LightGray; mapTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); mapTitle1.Text = ""; this.map2.Titles.Add(mapTitle1); // // shapeMapSeries1 // this.shapeMapSeries1.ColorData = "= Fields.RiskIndex"; gradientPalette1.BeginColor = System.Drawing.Color.FromArgb(((int)(((byte)(2)))), ((int)(((byte)(132)))), ((int)(((byte)(168))))); gradientPalette1.EndColor = System.Drawing.Color.Maroon; this.shapeMapSeries1.ColorPalette = gradientPalette1; this.shapeMapSeries1.ColorsCount = 4; this.shapeMapSeries1.DataPointLabel = "{Fields.CNTRY_NAME}\r\n({Sum(Fields.[RiskIndex])})"; this.shapeMapSeries1.DataPointLabelStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.shapeMapSeries1.DataPointLabelStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.shapeMapSeries1.DataPointLabelStyle.Visible = false; this.shapeMapSeries1.DataPointStyle.LineColor = System.Drawing.Color.Gray; this.shapeMapSeries1.DataPointStyle.Visible = true; this.shapeMapSeries1.LegendItem.Value = "= RangeMax"; this.shapeMapSeries1.Name = "shapeMapSeries1"; this.shapeMapSeries1.RangeGrouping = Telerik.Reporting.ShapeMapSeries.RangeGroupings.EqualDistribution; mapGroup1.Name = "seriesGroup1"; this.shapeMapSeries1.SeriesGroup = mapGroup1; this.shapeMapSeries1.ShapeMapGroup = shapeMapGroup1; esriShapeFileSourceType1.FileName = "./Resources/world.shp"; mapRelationPair1.AnalyticalField = "= Fields.Country"; mapRelationPair1.ShapeFileField = "= Fields.CNTRY_NAME"; esriShapeFileSourceType1.RelationPairs.Add(mapRelationPair1); this.shapeMapSeries1.SourceType = esriShapeFileSourceType1; // // pointMapSeries1 // formattingRule1.Filters.Add(new Telerik.Reporting.Filter("= Fields.RiskIndex", Telerik.Reporting.FilterOperator.LessThan, "=2.4")); formattingRule1.Style.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(68)))), ((int)(((byte)(153)))), ((int)(((byte)(145))))); formattingRule1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(3D); formattingRule2.Filters.Add(new Telerik.Reporting.Filter("= Fields.RiskIndex", Telerik.Reporting.FilterOperator.GreaterOrEqual, "=2.4")); formattingRule2.Style.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(198)))), ((int)(((byte)(79))))); formattingRule2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(3D); formattingRule3.Filters.Add(new Telerik.Reporting.Filter("= Fields.RiskIndex", Telerik.Reporting.FilterOperator.GreaterOrEqual, "=3.5")); formattingRule3.Style.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(163)))), ((int)(((byte)(79))))); formattingRule3.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(3D); formattingRule4.Filters.Add(new Telerik.Reporting.Filter("= Fields.RiskIndex", Telerik.Reporting.FilterOperator.GreaterOrEqual, "=4")); formattingRule4.Style.LineColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(134)))), ((int)(((byte)(132))))); formattingRule4.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(3D); this.pointMapSeries1.DataPointConditionalFormatting.AddRange(new Telerik.Reporting.Drawing.FormattingRule[] { formattingRule1, formattingRule2, formattingRule3, formattingRule4 }); this.pointMapSeries1.DataPointLabel = "=Format(\'\r\nRegion: {0}\r\nPools: {1}%, \r\nPH/s: {2}\', \r\nFields.Country, Fields.RiskI" + "ndex, 12000*Fields.RiskIndex/100)\r\n"; this.pointMapSeries1.DataPointLabelAlignment = Telerik.Reporting.LineDataPointLabelAlignment.Center; this.pointMapSeries1.DataPointLabelStyle.Color = System.Drawing.Color.White; this.pointMapSeries1.DataPointLabelStyle.Font.Bold = false; this.pointMapSeries1.DataPointStyle.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100))))); this.pointMapSeries1.GeoLocationGroup = geoLocationMapGroup1; this.pointMapSeries1.Latitude = "= Fields.Lat"; this.pointMapSeries1.LegendItem.Style.Visible = false; this.pointMapSeries1.Longitude = "= Fields.Long"; this.pointMapSeries1.MarkerMaxSize = Telerik.Reporting.Drawing.Unit.Cm(4D); this.pointMapSeries1.MarkerMinSize = Telerik.Reporting.Drawing.Unit.Cm(4D); this.pointMapSeries1.MarkerType = Telerik.Reporting.DataPointMarkerType.Circle; this.pointMapSeries1.SeriesGroup = mapGroup1; this.pointMapSeries1.Size = "= Fields.TSI"; // // textBox2 // typeReportSource2.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Parameters.currencyCode.Value")); typeReportSource2.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyRawData, CSharp.ReportLibrary, Ve" + "rsion=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction2.ReportSource = typeReportSource2; this.textBox2.Action = navigateToReportAction2; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.5000789165496826D), Telerik.Reporting.Drawing.Unit.Inch(9.90000057220459D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.7999998927116394D), Telerik.Reporting.Drawing.Unit.Inch(0.19995880126953125D)); this.textBox2.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(37)))), ((int)(((byte)(64)))), ((int)(((byte)(97))))); this.textBox2.Style.Font.Underline = true; this.textBox2.Value = "Raw data."; // // htmlTextBox1 // this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(3.9418537198798731E-05D), Telerik.Reporting.Drawing.Unit.Inch(9.7000818252563477D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.4999606609344482D), Telerik.Reporting.Drawing.Unit.Inch(0.79987972974777222D)); this.htmlTextBox1.Value = resources.GetString("htmlTextBox1.Value"); // // CurrencyDetails // this.CurrencyDetails.CalculatedFields.AddRange(new Telerik.Reporting.CalculatedField[] { new Telerik.Reporting.CalculatedField("MarketCapInThous", typeof(uint), "= Fields.MarketCap/1000") }); this.CurrencyDetails.DataMember = "GetDetails"; this.CurrencyDetails.DataSource = typeof(Telerik.Reporting.Examples.CSharp.CryptoDataResolver); this.CurrencyDetails.Name = "CurrencyDetails"; this.CurrencyDetails.Parameters.AddRange(new Telerik.Reporting.ObjectDataSourceParameter[] { new Telerik.Reporting.ObjectDataSourceParameter("currencyCode", typeof(string), "= Parameters.currencyCode.Value") }); // // CurrenciesList // this.CurrenciesList.DataMember = "GetData"; this.CurrenciesList.DataSource = typeof(Telerik.Reporting.Examples.CSharp.CryptoDataResolver); this.CurrenciesList.Name = "CurrenciesList"; this.CurrenciesList.Parameters.AddRange(new Telerik.Reporting.ObjectDataSourceParameter[] { new Telerik.Reporting.ObjectDataSourceParameter("forDate", typeof(System.DateTime), "=AddDays(today(),-2)") }); // // CryptoCurrencyInfo // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detailSection1 }); this.Name = "CryptoCurrencyDetails"; this.PageSettings.ColumnCount = 1; this.PageSettings.ColumnSpacing = Telerik.Reporting.Drawing.Unit.Inch(0D); this.PageSettings.ContinuousPaper = false; this.PageSettings.Landscape = true; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D), Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D), Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D), Telerik.Reporting.Drawing.Unit.Inch(0.10000000149011612D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.AutoRefresh = true; reportParameter1.AvailableValues.DataSource = this.CurrenciesList; reportParameter1.AvailableValues.DisplayMember = "= Fields.Name"; reportParameter1.AvailableValues.ValueMember = "= Fields.Code"; reportParameter1.Name = "currencyCode"; reportParameter1.Text = "Crypto Currency"; reportParameter1.Value = "btc"; reportParameter1.Visible = true; reportParameter2.AutoRefresh = true; reportParameter2.Name = "fromDate"; reportParameter2.Text = "From Date"; reportParameter2.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter2.Value = "= AddYears(today(), - 1)"; reportParameter2.Visible = true; reportParameter3.AutoRefresh = true; reportParameter3.Name = "toDate"; reportParameter3.Text = "To Date"; reportParameter3.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter3.Value = "=today()"; reportParameter3.Visible = true; this.ReportParameters.Add(reportParameter1); this.ReportParameters.Add(reportParameter2); this.ReportParameters.Add(reportParameter3); this.Style.Font.Name = "Segoe UI"; styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.Table), "Apex.TableNormal") }); styleRule3.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule3.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule3.Style.Color = System.Drawing.Color.Black; styleRule3.Style.Font.Name = "Segoe UI"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Apex.TableBody") }); styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector1 }); styleRule4.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule4.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule4.Style.Font.Name = "Segoe UI"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); descendantSelector2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Apex.TableHeader") }); styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector2 }); styleRule5.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(103)))), ((int)(((byte)(109))))); styleRule5.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule5.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule5.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(206)))), ((int)(((byte)(185)))), ((int)(((byte)(102))))); styleRule5.Style.Font.Name = "Segoe UI"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); styleRule5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(10.800000190734863D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); this.radPanel2 = new Telerik.WinControls.UI.RadPanel(); this.btnExport = new Telerik.WinControls.UI.RadButton(); this.btnClose = new Telerik.WinControls.UI.RadButton(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit(); this.radPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnExport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // radPanel2 // this.radPanel2.Controls.Add(this.btnExport); this.radPanel2.Controls.Add(this.btnClose); this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.radPanel2.Location = new System.Drawing.Point(0, 645); this.radPanel2.Name = "radPanel2"; this.radPanel2.Size = new System.Drawing.Size(760, 53); this.radPanel2.TabIndex = 3; // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Enabled = false; this.btnExport.Location = new System.Drawing.Point(571, 17); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(88, 24); this.btnExport.TabIndex = 50; this.btnExport.Text = "Export to Excel"; this.btnExport.Visible = false; // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.Location = new System.Drawing.Point(665, 17); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(83, 24); this.btnClose.TabIndex = 49; this.btnClose.Text = "Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("StudentID", null)); typeReportSource1.TypeName = "eSARReportLibrary.PermanentRecord, eSARReportLibrary, Version=1.0.0.0, Culture=ne" + "utral, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.Size = new System.Drawing.Size(760, 645); this.reportViewer1.TabIndex = 4; // // GeneratePermanentRec // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(760, 698); this.Controls.Add(this.reportViewer1); this.Controls.Add(this.radPanel2); this.Name = "GeneratePermanentRec"; // // // this.RootElement.ApplyShapeToControl = true; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Generate Permanent Record"; this.ThemeName = "ControlDefault"; this.Load += new System.EventHandler(this.GeneratePermanentRec_Load); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit(); this.radPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.btnExport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
/// <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.SortingAction sortingAction1 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup7 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.TableGroup tableGroup8 = new Telerik.Reporting.TableGroup(); Telerik.Reporting.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.NavigateToReportAction navigateToReportAction2 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource2 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.SortingAction sortingAction2 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.SortingAction sortingAction3 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.SortingAction sortingAction4 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.SortingAction sortingAction5 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.SortingAction sortingAction6 = new Telerik.Reporting.SortingAction(); Telerik.Reporting.GraphGroup graphGroup1 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.GraphTitle graphTitle1 = new Telerik.Reporting.GraphTitle(); Telerik.Reporting.NumericalScale numericalScale1 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.NumericalScale numericalScale2 = new Telerik.Reporting.NumericalScale(); Telerik.Reporting.Drawing.ColorPalette colorPalette1 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup2 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.Drawing.ColorPalette colorPalette2 = new Telerik.Reporting.Drawing.ColorPalette(); Telerik.Reporting.GraphGroup graphGroup3 = new Telerik.Reporting.GraphGroup(); Telerik.Reporting.NavigateToReportAction navigateToReportAction3 = new Telerik.Reporting.NavigateToReportAction(); Telerik.Reporting.TypeReportSource typeReportSource3 = new Telerik.Reporting.TypeReportSource(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector1 = new Telerik.Reporting.Drawing.DescendantSelector(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.DescendantSelector descendantSelector2 = new Telerik.Reporting.Drawing.DescendantSelector(); this.textBox8 = new Telerik.Reporting.TextBox(); this.table1 = new Telerik.Reporting.Table(); this.textBox13 = new Telerik.Reporting.TextBox(); this.textBox9 = new Telerik.Reporting.TextBox(); this.textBox14 = new Telerik.Reporting.TextBox(); this.textBox5 = new Telerik.Reporting.TextBox(); this.textBox15 = new Telerik.Reporting.TextBox(); this.textBox12 = new Telerik.Reporting.TextBox(); this.CurrenciesData = new Telerik.Reporting.ObjectDataSource(); this.textBox16 = new Telerik.Reporting.TextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.textBox11 = new Telerik.Reporting.TextBox(); this.textBox2 = new Telerik.Reporting.TextBox(); this.textBox22 = new Telerik.Reporting.TextBox(); this.textBox3 = new Telerik.Reporting.TextBox(); this.pageHeaderSection1 = new Telerik.Reporting.PageHeaderSection(); this.textBox7 = new Telerik.Reporting.TextBox(); this.detailSection1 = new Telerik.Reporting.DetailSection(); this.textBox6 = new Telerik.Reporting.TextBox(); this.graph1 = new Telerik.Reporting.Graph(); this.polarCoordinateSystem1 = new Telerik.Reporting.PolarCoordinateSystem(); this.angularAxis = new Telerik.Reporting.GraphAxis(); this.radialAxis1 = new Telerik.Reporting.GraphAxis(); this.algorithmSeries = new Telerik.Reporting.BarSeries(); this.codeSeries = new Telerik.Reporting.BarSeries(); this.textBox10 = new Telerik.Reporting.TextBox(); this.reportFooterSection1 = new Telerik.Reporting.ReportFooterSection(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // textBox8 // sortingAction1.SortingExpression = "= Fields.Code"; sortingAction1.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox8.Action = sortingAction1; this.textBox8.Name = "textBox8"; this.textBox8.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.681D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox8.StyleName = "Apex.TableHeader"; this.textBox8.Value = "Code"; // // table1 // this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.681D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.093D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.028D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.682D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(0.925D))); this.table1.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Telerik.Reporting.Drawing.Unit.Inch(1.186D))); this.table1.Body.Rows.Add(new Telerik.Reporting.TableBodyRow(Telerik.Reporting.Drawing.Unit.Inch(0.252D))); this.table1.Body.SetCellContent(0, 0, this.textBox13); this.table1.Body.SetCellContent(0, 1, this.textBox9); this.table1.Body.SetCellContent(0, 3, this.textBox14); this.table1.Body.SetCellContent(0, 4, this.textBox5); this.table1.Body.SetCellContent(0, 5, this.textBox15); this.table1.Body.SetCellContent(0, 2, this.textBox12); tableGroup2.Name = "group4"; tableGroup2.ReportItem = this.textBox8; tableGroup3.Name = "group5"; tableGroup3.ReportItem = this.textBox1; tableGroup4.Name = "group7"; tableGroup4.ReportItem = this.textBox11; tableGroup5.Name = "group8"; tableGroup5.ReportItem = this.textBox2; tableGroup6.Name = "group9"; tableGroup6.ReportItem = this.textBox22; tableGroup7.Name = "group10"; tableGroup7.ReportItem = this.textBox3; tableGroup1.ChildGroups.Add(tableGroup2); tableGroup1.ChildGroups.Add(tableGroup3); tableGroup1.ChildGroups.Add(tableGroup4); tableGroup1.ChildGroups.Add(tableGroup5); tableGroup1.ChildGroups.Add(tableGroup6); tableGroup1.ChildGroups.Add(tableGroup7); tableGroup1.Name = "group"; tableGroup1.ReportItem = this.textBox16; this.table1.ColumnGroups.Add(tableGroup1); this.table1.DataSource = this.CurrenciesData; this.table1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox13, this.textBox9, this.textBox12, this.textBox14, this.textBox5, this.textBox15, this.textBox16, this.textBox8, this.textBox1, this.textBox11, this.textBox2, this.textBox22, this.textBox3 }); this.table1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.7D)); this.table1.Name = "table1"; tableGroup8.Groupings.Add(new Telerik.Reporting.Grouping(null)); tableGroup8.Name = "detail"; this.table1.RowGroups.Add(tableGroup8); this.table1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.595D), Telerik.Reporting.Drawing.Unit.Inch(0.746D)); this.table1.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.MarketCap", Telerik.Reporting.SortDirection.Desc)); this.table1.StyleName = "Apex.TableNormal"; // // textBox13 // typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Fields.Code")); typeReportSource1.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyInfo, CSharp.ReportLibrary, Versi" + "on=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction1.ReportSource = typeReportSource1; this.textBox13.Action = navigateToReportAction1; this.textBox13.Name = "textBox13"; this.textBox13.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.681D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox13.StyleName = "Apex.TableBody"; this.textBox13.Value = "= ToUpper(Fields.Code)"; // // textBox9 // typeReportSource2.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Fields.Code")); typeReportSource2.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyInfo, CSharp.ReportLibrary, Versi" + "on=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction2.ReportSource = typeReportSource2; this.textBox9.Action = navigateToReportAction2; this.textBox9.Name = "textBox9"; this.textBox9.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.093D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox9.StyleName = "Apex.TableBody"; this.textBox9.Value = "= Fields.Name"; // // textBox14 // this.textBox14.Action = navigateToReportAction2; this.textBox14.Format = "{0:# ##0k}"; this.textBox14.Name = "textBox14"; this.textBox14.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.682D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox14.StyleName = "Apex.TableBody"; this.textBox14.Value = "= Fields.Coins/1000"; // // textBox5 // this.textBox5.Action = navigateToReportAction2; this.textBox5.Format = "{0:$#,##.00}"; this.textBox5.Name = "textBox5"; this.textBox5.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.925D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox5.StyleName = "Apex.TableBody"; this.textBox5.Value = "= Fields.Price"; // // textBox15 // this.textBox15.Action = navigateToReportAction2; this.textBox15.Format = "{0:$#,##0M,,}"; this.textBox15.Name = "textBox15"; this.textBox15.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.186D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox15.StyleName = "Apex.TableBody"; this.textBox15.Value = "= Fields.MarketCap"; // // textBox12 // this.textBox12.Action = navigateToReportAction2; this.textBox12.Name = "textBox12"; this.textBox12.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.028D), Telerik.Reporting.Drawing.Unit.Inch(0.252D)); this.textBox12.StyleName = "Apex.TableBody"; this.textBox12.Value = "= Fields.Algorithm"; // // CurrenciesData // this.CurrenciesData.DataMember = "GetData"; this.CurrenciesData.DataSource = typeof(Telerik.Reporting.Examples.CSharp.CryptoDataResolver); this.CurrenciesData.Name = "CurrenciesData"; this.CurrenciesData.Parameters.AddRange(new Telerik.Reporting.ObjectDataSourceParameter[] { new Telerik.Reporting.ObjectDataSourceParameter("forDate", typeof(System.DateTime), "= Parameters.date.Value") }); // // textBox16 // this.textBox16.Format = "{0:dd.MMM.yy}"; this.textBox16.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.595D), Telerik.Reporting.Drawing.Unit.Inch(0.294D)); this.textBox16.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(13D); this.textBox16.StyleName = "Apex.TableHeader"; this.textBox16.Value = "=Fields.Date"; // // textBox1 // sortingAction2.SortingExpression = "= Fields.Name"; sortingAction2.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox1.Action = sortingAction2; this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.093D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox1.StyleName = "Apex.TableHeader"; this.textBox1.Value = "Currency"; // // textBox11 // sortingAction3.SortingExpression = "= Fields.Algorithm"; sortingAction3.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox11.Action = sortingAction3; this.textBox11.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox11.Name = "textBox11"; this.textBox11.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.028D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox11.StyleName = "Apex.TableHeader"; this.textBox11.Value = "Algorithm"; // // textBox2 // sortingAction4.SortingExpression = "= Fields.Coins"; sortingAction4.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox2.Action = sortingAction4; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.682D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox2.StyleName = "Apex.TableHeader"; this.textBox2.Value = "Coins"; // // textBox22 // sortingAction5.SortingExpression = "= Fields.Price"; sortingAction5.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox22.Action = sortingAction5; this.textBox22.Name = "textBox22"; this.textBox22.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.925D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox22.StyleName = "Apex.TableHeader"; this.textBox22.Value = "Price"; // // textBox3 // sortingAction6.SortingExpression = "= Fields.MarketCap"; sortingAction6.Targets.AddRange(new Telerik.Reporting.IActionTarget[] { this.table1 }); this.textBox3.Action = sortingAction6; this.textBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox3.Name = "textBox3"; this.textBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1.186D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox3.StyleName = "Apex.TableHeader"; this.textBox3.Value = "Market Cap"; // // pageHeaderSection1 // this.pageHeaderSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.5D); this.pageHeaderSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox7 }); this.pageHeaderSection1.Name = "pageHeaderSection1"; // // textBox7 // this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(8.4D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.textBox7.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(24D); this.textBox7.Value = "Crypto Currencies"; // // detailSection1 // this.detailSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(6.5D); this.detailSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox6, this.graph1, this.table1, this.textBox10 }); this.detailSection1.Name = "detailSection1"; // // textBox6 // this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.95D), Telerik.Reporting.Drawing.Unit.Inch(0.4D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.5D), Telerik.Reporting.Drawing.Unit.Inch(0.2D)); this.textBox6.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(230)))), ((int)(((byte)(242))))); this.textBox6.Style.Color = System.Drawing.Color.FromArgb(((int)(((byte)(23)))), ((int)(((byte)(54)))), ((int)(((byte)(93))))); this.textBox6.Style.Font.Bold = true; this.textBox6.TextWrap = false; this.textBox6.Value = "Click on a currency for more details."; // // graph1 // graphGroup1.Name = "categoryGroup"; this.graph1.CategoryGroups.Add(graphGroup1); this.graph1.CoordinateSystems.Add(this.polarCoordinateSystem1); this.graph1.DataSource = this.CurrenciesData; this.graph1.Legend.IsInsidePlotArea = true; this.graph1.Legend.Position = Telerik.Reporting.GraphItemPosition.BottomLeft; this.graph1.Legend.Style.LineColor = System.Drawing.Color.LightGray; this.graph1.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph1.Legend.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(0D); this.graph1.Legend.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Legend.Title = "Algorithm"; this.graph1.Legend.TitleStyle.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); this.graph1.Legend.TitleStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(20D); this.graph1.Legend.TitleStyle.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(20D); this.graph1.Legend.TitleStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(-10D); this.graph1.Legend.TitleStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.graph1.Legend.TitleStyle.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.graph1.Legend.TitleStyle.Visible = true; this.graph1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(8.89D), Telerik.Reporting.Drawing.Unit.Cm(0.508D)); this.graph1.Name = "graph1"; this.graph1.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray; this.graph1.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.graph1.Series.Add(this.algorithmSeries); this.graph1.Series.Add(this.codeSeries); this.graph1.SeriesGroups.Add(graphGroup2); this.graph1.SeriesGroups.Add(graphGroup3); this.graph1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(20.066D), Telerik.Reporting.Drawing.Unit.Cm(16.002D)); this.graph1.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Pixel(10D); this.graph1.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Pixel(10D); graphTitle1.Position = Telerik.Reporting.GraphItemPosition.TopCenter; graphTitle1.Style.LineColor = System.Drawing.Color.LightGray; graphTitle1.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); graphTitle1.Style.Visible = false; graphTitle1.Text = "graph1"; this.graph1.Titles.Add(graphTitle1); // // polarCoordinateSystem1 // this.polarCoordinateSystem1.AngularAxis = this.angularAxis; this.polarCoordinateSystem1.Name = "polarCoordinateSystem1"; this.polarCoordinateSystem1.RadialAxis = this.radialAxis1; // // angularAxis // this.angularAxis.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.angularAxis.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.angularAxis.MajorGridLineStyle.Visible = false; this.angularAxis.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.angularAxis.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.angularAxis.MinorGridLineStyle.Visible = false; this.angularAxis.Name = "angularAxis"; this.angularAxis.Scale = numericalScale1; this.angularAxis.Style.Visible = false; // // radialAxis1 // this.radialAxis1.MajorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.radialAxis1.MajorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.radialAxis1.MinorGridLineStyle.LineColor = System.Drawing.Color.LightGray; this.radialAxis1.MinorGridLineStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Pixel(1D); this.radialAxis1.MinorGridLineStyle.Visible = false; this.radialAxis1.Name = "radialAxis1"; numericalScale2.Minimum = 0D; this.radialAxis1.Scale = numericalScale2; this.radialAxis1.Style.Visible = false; // // algorithmSeries // this.algorithmSeries.ArrangeByAxis = this.radialAxis1; this.algorithmSeries.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked100; this.algorithmSeries.CategoryGroup = graphGroup1; colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(145)))), ((int)(((byte)(145)))), ((int)(((byte)(145)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(136)))), ((int)(((byte)(163)))), ((int)(((byte)(79)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(198)))), ((int)(((byte)(79)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(134)))), ((int)(((byte)(132)))))); colorPalette1.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(109)))), ((int)(((byte)(188)))), ((int)(((byte)(219)))))); this.algorithmSeries.ColorPalette = colorPalette1; this.algorithmSeries.CoordinateSystem = this.polarCoordinateSystem1; this.algorithmSeries.DataPointLabel = "= Fields.Algorithm"; this.algorithmSeries.DataPointLabelAlignment = Telerik.Reporting.BarDataPointLabelAlignment.Center; this.algorithmSeries.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.algorithmSeries.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.algorithmSeries.DataPointLabelConnectorStyle.Visible = false; this.algorithmSeries.DataPointLabelOffset = Telerik.Reporting.Drawing.Unit.Mm(5D); this.algorithmSeries.DataPointLabelStyle.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.algorithmSeries.DataPointLabelStyle.Visible = true; this.algorithmSeries.DataPointStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D); this.algorithmSeries.DataPointStyle.Visible = true; this.algorithmSeries.LegendItem.Value = "= Fields.Algorithm"; this.algorithmSeries.Name = "algorithmSeries"; graphGroup2.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Algorithm")); graphGroup2.Name = "algorithmGroup"; graphGroup2.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Algorithm", Telerik.Reporting.SortDirection.Asc)); this.algorithmSeries.SeriesGroup = graphGroup2; this.algorithmSeries.ToolTip.Text = "= Format(\'{0:P}\', Sum(Fields.MarketCap) / CDbl(Exec(\'graph1\', Sum(Fields.MarketCa" + "p))))"; this.algorithmSeries.ToolTip.Title = "= Fields.Algorithm"; this.algorithmSeries.X = "= Sum(Fields.MarketCap)"; this.algorithmSeries.Y = "=0.8"; this.algorithmSeries.Y0 = "=0"; // // codeSeries // this.codeSeries.ArrangeByAxis = this.radialAxis1; this.codeSeries.ArrangeMode = Telerik.Reporting.GraphSeriesArrangeMode.Stacked100; this.codeSeries.CategoryGroup = graphGroup1; colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(78)))), ((int)(((byte)(78)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(34)))), ((int)(((byte)(71)))), ((int)(((byte)(50)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(83)))), ((int)(((byte)(117)))), ((int)(((byte)(151)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(110)))), ((int)(((byte)(67)))), ((int)(((byte)(86)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(172)))), ((int)(((byte)(0)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(67)))), ((int)(((byte)(73)))))); colorPalette2.Colors.Add(System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(202)))), ((int)(((byte)(132)))))); this.codeSeries.ColorPalette = colorPalette2; this.codeSeries.CoordinateSystem = this.polarCoordinateSystem1; this.codeSeries.DataPointLabel = "= Format(\"{0} {1:P2}\", ToUpper(Fields.Code), Sum(Fields.MarketCap) / CDbl(Exec(\'g" + "raph1\', Sum(Fields.MarketCap))))"; this.codeSeries.DataPointLabelConnectorStyle.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(2D); this.codeSeries.DataPointLabelConnectorStyle.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(2D); this.codeSeries.DataPointLabelConnectorStyle.Visible = false; this.codeSeries.DataPointLabelOffset = Telerik.Reporting.Drawing.Unit.Mm(2D); this.codeSeries.LegendItem.Style.Visible = false; this.codeSeries.LegendItem.Value = "= Fields.Code"; this.codeSeries.Name = "codeSeries"; typeReportSource3.Parameters.Add(new Telerik.Reporting.Parameter("currencyCode", "= Fields.Code")); typeReportSource3.TypeName = "Telerik.Reporting.Examples.CSharp.CryptoCurrencyInfo, CSharp.ReportLibrary, Versi" + "on=1.0.0.0, Culture=neutral, PublicKeyToken=null"; navigateToReportAction3.ReportSource = typeReportSource3; graphGroup3.Action = navigateToReportAction3; graphGroup3.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Code")); graphGroup3.Name = "codeGroup"; graphGroup3.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Algorithm", Telerik.Reporting.SortDirection.Asc)); this.codeSeries.SeriesGroup = graphGroup3; this.codeSeries.ToolTip.Text = "= Format(\'{0:P}\', Sum(Fields.MarketCap) / CDbl(Exec(\'graph1\', Sum(Fields.MarketCa" + "p))))"; this.codeSeries.ToolTip.Title = "= Fields.Name"; this.codeSeries.X = "=Sum( Fields.MarketCap)"; this.codeSeries.Y = "=1"; this.codeSeries.Y0 = "=0.8"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(5.2D), Telerik.Reporting.Drawing.Unit.Inch(0.3D)); this.textBox10.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(14D); this.textBox10.Value = "Compare crypto currencies based on market cap."; // // reportFooterSection1 // this.reportFooterSection1.Height = Telerik.Reporting.Drawing.Unit.Inch(0.5D); this.reportFooterSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.htmlTextBox1 }); this.reportFooterSection1.Name = "reportFooterSection1"; // // htmlTextBox1 // this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.1D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.762D), Telerik.Reporting.Drawing.Unit.Inch(0.4D)); this.htmlTextBox1.Value = "Reference:<br /><a href=\"https://coinmetrics.io/data-downloads/\">https://coinmetr" + "ics.io/data-downloads/</a>"; // // CryptoCurrencies // this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageHeaderSection1, this.detailSection1, this.reportFooterSection1 }); this.Name = "BlockchainCurrencies"; this.PageSettings.ColumnCount = 1; this.PageSettings.ColumnSpacing = Telerik.Reporting.Drawing.Unit.Inch(0D); this.PageSettings.ContinuousPaper = false; this.PageSettings.Landscape = true; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.1D), Telerik.Reporting.Drawing.Unit.Inch(0.1D), Telerik.Reporting.Drawing.Unit.Inch(0.1D), Telerik.Reporting.Drawing.Unit.Inch(0.1D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.A4; reportParameter1.AutoRefresh = true; reportParameter1.Name = "date"; reportParameter1.Text = "For Date:"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.DateTime; reportParameter1.Value = "= Today()"; reportParameter1.Visible = true; this.ReportParameters.Add(reportParameter1); this.Style.Font.Name = "Segoe UI"; styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule2.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.Table), "Apex.TableNormal") }); styleRule3.Style.BorderColor.Default = System.Drawing.Color.Black; styleRule3.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule3.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule3.Style.Color = System.Drawing.Color.Black; styleRule3.Style.Font.Name = "Segoe UI"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); descendantSelector1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Apex.TableBody") }); styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector1 }); styleRule4.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); styleRule4.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule4.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule4.Style.Color = System.Drawing.Color.Black; styleRule4.Style.Font.Name = "Segoe UI"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(11D); descendantSelector2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.Table)), new Telerik.Reporting.Drawing.StyleSelector(typeof(Telerik.Reporting.ReportItem), "Apex.TableHeader") }); styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { descendantSelector2 }); styleRule5.Style.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(88)))), ((int)(((byte)(88))))); styleRule5.Style.BorderColor.Default = System.Drawing.Color.FromArgb(((int)(((byte)(66)))), ((int)(((byte)(66)))), ((int)(((byte)(66))))); styleRule5.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid; styleRule5.Style.BorderWidth.Default = Telerik.Reporting.Drawing.Unit.Pixel(1D); styleRule5.Style.Color = System.Drawing.Color.White; styleRule5.Style.Font.Name = "Segoe UI"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(12D); styleRule5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(11.4D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { } if (!IsPostBack) { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "Telerik.Reporting.Examples.CSharp.ListBoundReport, CSharp.ReportLibrary"; //this.ReportViewer1.ReportSource = typeReportSource; } if (!IsPostBack) { //string strTmppp = (oOPresDataContext.ClinicVisitHistories.Max(u => u.ClinicVisitID)); //int intTmp=Convert.ToInt16(strTmppp); //intTmp = intTmp + 1; //txtVisitID.Text = intTmp.ToString(); //,Gender,AgeYY,AgeMM,AgeDD string strVisitID = Request.QueryString["VisitID"]; string strPatientID = Request.QueryString["PatientID"]; string strPatientName = Request.QueryString["PatientName"]; string strGender = Request.QueryString["Gender"]; string strAgeYY = Request.QueryString["AgeYY"]; string strAgeMM = Request.QueryString["AgeMM"]; string strAgeDD = Request.QueryString["AgeDD"]; txtVisitID.Text = strVisitID; txtPID.Text = strPatientID; txtName.Text = strPatientName; txtSex.Text = strGender; txtYear.Text = strAgeYY; txtMonth.Text = strAgeMM; txtDay.Text = strAgeDD; } Set_Focus("txtDrufHis"); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource4 = new Telerik.Reporting.TypeReportSource(); this.radPanel2 = new Telerik.WinControls.UI.RadPanel(); this.btnClose = new Telerik.WinControls.UI.RadButton(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); this.btnExport = new Telerik.WinControls.UI.RadButton(); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit(); this.radPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnExport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // radPanel2 // this.radPanel2.Controls.Add(this.btnExport); this.radPanel2.Controls.Add(this.btnClose); this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.radPanel2.Location = new System.Drawing.Point(0, 492); this.radPanel2.Name = "radPanel2"; this.radPanel2.Size = new System.Drawing.Size(796, 53); this.radPanel2.TabIndex = 2; // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.Location = new System.Drawing.Point(701, 17); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(83, 24); this.btnClose.TabIndex = 49; this.btnClose.Text = "Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource4.Parameters.Add(new Telerik.Reporting.Parameter("SY", null)); typeReportSource4.Parameters.Add(new Telerik.Reporting.Parameter("GradeLevel", null)); typeReportSource4.Parameters.Add(new Telerik.Reporting.Parameter("SectionCode", null)); typeReportSource4.Parameters.Add(new Telerik.Reporting.Parameter("Section", null)); typeReportSource4.Parameters.Add(new Telerik.Reporting.Parameter("Category", null)); typeReportSource4.Parameters.Add(new Telerik.Reporting.Parameter("TeacherName", null)); typeReportSource4.Parameters.Add(new Telerik.Reporting.Parameter("Title", null)); typeReportSource4.TypeName = "eSARReportLibrary.PromoReportTemplate1, eSARReportLibrary, Version=1.0.0.0, Cultu" + "re=neutral, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource4; this.reportViewer1.Size = new System.Drawing.Size(796, 492); this.reportViewer1.TabIndex = 3; // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Enabled = false; this.btnExport.Location = new System.Drawing.Point(607, 17); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(88, 24); this.btnExport.TabIndex = 50; this.btnExport.Text = "Export to Excel"; this.btnExport.Visible = false; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // PromotionalTemplate1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(796, 545); this.Controls.Add(this.reportViewer1); this.Controls.Add(this.radPanel2); this.Name = "PromotionalTemplate1"; // // // this.RootElement.ApplyShapeToControl = true; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "PromotionalTemplate1"; this.Load += new System.EventHandler(this.PromotionalTemplate1_Load); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit(); this.radPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnExport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
/// <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.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QuoteReport)); Telerik.Reporting.Group group1 = new Telerik.Reporting.Group(); Telerik.Reporting.ReportParameter reportParameter1 = new Telerik.Reporting.ReportParameter(); Telerik.Reporting.Drawing.StyleRule styleRule1 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule2 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule3 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule4 = new Telerik.Reporting.Drawing.StyleRule(); Telerik.Reporting.Drawing.StyleRule styleRule5 = new Telerik.Reporting.Drawing.StyleRule(); this.labelsGroupFooterSection = new Telerik.Reporting.GroupFooterSection(); this.labelsGroupHeaderSection = new Telerik.Reporting.GroupHeaderSection(); this.subItemDetail = new Telerik.Reporting.SubReport(); this.QuoteReportData = new Telerik.Reporting.SqlDataSource(); this.pageHeader = new Telerik.Reporting.PageHeaderSection(); this.RptHeader = new Telerik.Reporting.TextBox(); this.CoLogo = new Telerik.Reporting.PictureBox(); this.pageFooter = new Telerik.Reporting.PageFooterSection(); this.pageInfoTextBox = new Telerik.Reporting.TextBox(); this.textBox10 = new Telerik.Reporting.TextBox(); this.reportHeader = new Telerik.Reporting.ReportHeaderSection(); this.textBox2 = new Telerik.Reporting.TextBox(); this.jobCaptionTextBox = new Telerik.Reporting.TextBox(); this.JobInfo = new Telerik.Reporting.HtmlTextBox(); this.textBox4 = new Telerik.Reporting.TextBox(); this.textBox6 = new Telerik.Reporting.TextBox(); this.textBox7 = new Telerik.Reporting.TextBox(); this.htmlTextBox3 = new Telerik.Reporting.HtmlTextBox(); this.textBox1 = new Telerik.Reporting.TextBox(); this.htmlTextBox1 = new Telerik.Reporting.HtmlTextBox(); this.reportFooter = new Telerik.Reporting.ReportFooterSection(); this.htmlTextBox4 = new Telerik.Reporting.HtmlTextBox(); this.htmlTextBox2 = new Telerik.Reporting.HtmlTextBox(); this.shape4 = new Telerik.Reporting.Shape(); this.shape3 = new Telerik.Reporting.Shape(); this.textBox20 = new Telerik.Reporting.TextBox(); this.textBox19 = new Telerik.Reporting.TextBox(); this.textBox18 = new Telerik.Reporting.TextBox(); this.textBox17 = new Telerik.Reporting.TextBox(); this.textBox16 = new Telerik.Reporting.TextBox(); this.detail = new Telerik.Reporting.DetailSection(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // labelsGroupFooterSection // this.labelsGroupFooterSection.Height = Telerik.Reporting.Drawing.Unit.Inch(0.1607142835855484D); this.labelsGroupFooterSection.Name = "labelsGroupFooterSection"; this.labelsGroupFooterSection.Style.Visible = false; // // labelsGroupHeaderSection // this.labelsGroupHeaderSection.Height = Telerik.Reporting.Drawing.Unit.Inch(0.699999988079071D); this.labelsGroupHeaderSection.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.subItemDetail }); this.labelsGroupHeaderSection.Name = "labelsGroupHeaderSection"; this.labelsGroupHeaderSection.PrintOnEveryPage = true; // // subItemDetail // this.subItemDetail.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(0.1999996155500412D)); this.subItemDetail.Name = "subItemDetail"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("ProjectID", "= Fields.ProjectID")); typeReportSource1.TypeName = "ePonti.ReportLib.ItemDetail, ePonti.ReportLib, Version=1.0.0.0, Culture=neutral, " + "PublicKeyToken=null"; this.subItemDetail.ReportSource = typeReportSource1; this.subItemDetail.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(7.5D), Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D)); // // QuoteReportData // this.QuoteReportData.ConnectionString = "DefaultConnection"; this.QuoteReportData.Name = "QuoteReportData"; this.QuoteReportData.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] { new Telerik.Reporting.SqlDataSourceParameter("@ProjectID", System.Data.DbType.Int32, "= Parameters.ProjectID.Value") }); this.QuoteReportData.SelectCommand = "dbo.rptProjectInfoDetail"; this.QuoteReportData.SelectCommandType = Telerik.Reporting.SqlDataSourceCommandType.StoredProcedure; // // pageHeader // this.pageHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(1.3999999761581421D); this.pageHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.RptHeader, this.CoLogo }); this.pageHeader.Name = "pageHeader"; this.pageHeader.Style.BorderColor.Bottom = System.Drawing.Color.Red; this.pageHeader.Style.BorderStyle.Bottom = Telerik.Reporting.Drawing.BorderType.Solid; // // RptHeader // this.RptHeader.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.4000000953674316D), Telerik.Reporting.Drawing.Unit.Inch(0.90000003576278687D)); this.RptHeader.Name = "RptHeader"; this.RptHeader.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.3999999463558197D)); this.RptHeader.Style.Color = System.Drawing.Color.DimGray; this.RptHeader.Style.Font.Name = "Microsoft Sans Serif"; this.RptHeader.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(21D); this.RptHeader.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.RptHeader.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.RptHeader.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Bottom; this.RptHeader.StyleName = "Title"; this.RptHeader.Value = "Quote"; // // CoLogo // this.CoLogo.Anchoring = ((Telerik.Reporting.AnchoringStyles)((Telerik.Reporting.AnchoringStyles.Top | Telerik.Reporting.AnchoringStyles.Left))); this.CoLogo.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0D), Telerik.Reporting.Drawing.Unit.Inch(-1.5137688436084318E-08D)); this.CoLogo.MimeType = ""; this.CoLogo.Name = "CoLogo"; this.CoLogo.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.89999997615814209D), Telerik.Reporting.Drawing.Unit.Inch(0.89999997615814209D)); this.CoLogo.Sizing = Telerik.Reporting.Drawing.ImageSizeMode.ScaleProportional; this.CoLogo.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.CoLogo.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Center; this.CoLogo.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.CoLogo.Value = "= Fields.Logo"; // // pageFooter // this.pageFooter.Height = Telerik.Reporting.Drawing.Unit.Inch(0.22380951046943665D); this.pageFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.pageInfoTextBox, this.textBox10 }); this.pageFooter.Name = "pageFooter"; this.pageFooter.Style.BorderColor.Top = System.Drawing.Color.Red; this.pageFooter.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid; // // pageInfoTextBox // this.pageInfoTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(6.8689889907836914D), Telerik.Reporting.Drawing.Unit.Inch(3.9236885641003028E-05D)); this.pageInfoTextBox.Name = "pageInfoTextBox"; this.pageInfoTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.30000001192092896D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.pageInfoTextBox.Style.Color = System.Drawing.Color.DimGray; this.pageInfoTextBox.Style.Font.Name = "Microsoft Sans Serif"; this.pageInfoTextBox.Style.Padding.Bottom = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.Padding.Top = Telerik.Reporting.Drawing.Unit.Point(0D); this.pageInfoTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.pageInfoTextBox.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.pageInfoTextBox.StyleName = "PageInfo"; this.pageInfoTextBox.Value = "=PageNumber"; // // textBox10 // this.textBox10.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(6.4689903259277344D), Telerik.Reporting.Drawing.Unit.Inch(3.9236885641003028E-05D)); this.textBox10.Name = "textBox10"; this.textBox10.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.3999997079372406D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox10.Style.Color = System.Drawing.Color.DimGray; this.textBox10.Style.Font.Name = "Microsoft Sans Serif"; this.textBox10.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox10.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox10.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox10.Value = "Page"; // // reportHeader // this.reportHeader.Height = Telerik.Reporting.Drawing.Unit.Inch(4D); this.reportHeader.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.textBox2, this.jobCaptionTextBox, this.JobInfo, this.textBox4, this.textBox6, this.textBox7, this.htmlTextBox3, this.textBox1, this.htmlTextBox1 }); this.reportHeader.Name = "reportHeader"; // // textBox2 // this.textBox2.CanGrow = true; this.textBox2.Format = "{0:d}"; this.textBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1690673828125D), Telerik.Reporting.Drawing.Unit.Inch(1.1512566804885864D)); this.textBox2.Name = "textBox2"; this.textBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox2.Style.Font.Name = "Microsoft Sans Serif"; this.textBox2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox2.StyleName = "Data"; this.textBox2.Value = "= Fields.Date.Date"; // // jobCaptionTextBox // this.jobCaptionTextBox.CanGrow = true; this.jobCaptionTextBox.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(1.9499411582946777D)); this.jobCaptionTextBox.Name = "jobCaptionTextBox"; this.jobCaptionTextBox.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.jobCaptionTextBox.Style.Color = System.Drawing.Color.DimGray; this.jobCaptionTextBox.Style.Font.Name = "Microsoft Sans Serif"; this.jobCaptionTextBox.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.jobCaptionTextBox.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.jobCaptionTextBox.StyleName = "Caption"; this.jobCaptionTextBox.Value = "Job"; // // JobInfo // this.JobInfo.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(2.1500198841094971D)); this.JobInfo.Name = "JobInfo"; this.JobInfo.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3.5D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.JobInfo.Style.Font.Name = "Roboto"; this.JobInfo.Value = resources.GetString("JobInfo.Value"); // // textBox4 // this.textBox4.CanGrow = true; this.textBox4.Format = "{0:t}"; this.textBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(5.1690673828125D), Telerik.Reporting.Drawing.Unit.Inch(1.3525724411010742D)); this.textBox4.Name = "textBox4"; this.textBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox4.Style.Font.Name = "Microsoft Sans Serif"; this.textBox4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox4.StyleName = "Data"; this.textBox4.Value = "= Fields.Status"; // // textBox6 // this.textBox6.CanGrow = true; this.textBox6.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.1512566804885864D)); this.textBox6.Name = "textBox6"; this.textBox6.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox6.Style.Color = System.Drawing.Color.DimGray; this.textBox6.Style.Font.Name = "Microsoft Sans Serif"; this.textBox6.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox6.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox6.StyleName = "Caption"; this.textBox6.Value = "Date"; // // textBox7 // this.textBox7.CanGrow = true; this.textBox7.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.1689887046813965D), Telerik.Reporting.Drawing.Unit.Inch(1.3525724411010742D)); this.textBox7.Name = "textBox7"; this.textBox7.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(1D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox7.Style.Color = System.Drawing.Color.DimGray; this.textBox7.Style.Font.Name = "Microsoft Sans Serif"; this.textBox7.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox7.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right; this.textBox7.StyleName = "Caption"; this.textBox7.Value = "Status"; // // htmlTextBox3 // this.htmlTextBox3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.1999998539686203D), Telerik.Reporting.Drawing.Unit.Inch(0.09999992698431015D)); this.htmlTextBox3.Name = "htmlTextBox3"; this.htmlTextBox3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.htmlTextBox3.Style.Font.Name = "Roboto Condensed Light"; this.htmlTextBox3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.htmlTextBox3.Value = "{Fields.CoName}<br />{Fields.CoAddress1}<br />{Fields.CoAddress2}<br />{Fields.Co" + "Phone}<br />{Fields.License}<br />"; // // textBox1 // this.textBox1.CanGrow = true; this.textBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(3.3999998569488525D)); this.textBox1.Name = "textBox1"; this.textBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.19999998807907105D)); this.textBox1.Style.Color = System.Drawing.Color.DimGray; this.textBox1.Style.Font.Name = "Microsoft Sans Serif"; this.textBox1.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); this.textBox1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox1.StyleName = "Caption"; this.textBox1.Value = "Scope"; // // htmlTextBox1 // this.htmlTextBox1.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(3.60007905960083D)); this.htmlTextBox1.Name = "htmlTextBox1"; this.htmlTextBox1.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(6.4999995231628418D), Telerik.Reporting.Drawing.Unit.Inch(0.2000001072883606D)); this.htmlTextBox1.Value = "{Fields.ProjectNotes}"; // // reportFooter // this.reportFooter.Height = Telerik.Reporting.Drawing.Unit.Inch(3D); this.reportFooter.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.htmlTextBox4, this.htmlTextBox2, this.shape4, this.shape3, this.textBox20, this.textBox19, this.textBox18, this.textBox17, this.textBox16 }); this.reportFooter.Name = "reportFooter"; // // htmlTextBox4 // this.htmlTextBox4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.75539690256118774D)); this.htmlTextBox4.Name = "htmlTextBox4"; this.htmlTextBox4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.htmlTextBox4.Style.Font.Name = "Roboto"; this.htmlTextBox4.Value = "<span style=\"font-family: roboto\">{Fields.Customer}<br />{Fields.ProjectAddress1}" + " {Fields.ProjectAddress2}<br />{Fields.ProjectCity}, {Fields.ProjectState}" + " {Fields.ProjectZip}</span>"; // // htmlTextBox2 // this.htmlTextBox2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4D), Telerik.Reporting.Drawing.Unit.Inch(0.75539690256118774D)); this.htmlTextBox2.Name = "htmlTextBox2"; this.htmlTextBox2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(1D)); this.htmlTextBox2.Style.Font.Name = "Roboto"; this.htmlTextBox2.Value = "{Fields.CoName}<br />{Fields.CoAddress1}<br />{Fields.CoAddress2}<br />"; // // shape4 // this.shape4.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(2.2553966045379639D)); this.shape4.Name = "shape4"; this.shape4.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape4.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D)); this.shape4.Style.LineColor = System.Drawing.Color.DimGray; this.shape4.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0.5D); // // shape3 // this.shape3.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4D), Telerik.Reporting.Drawing.Unit.Inch(2.2553966045379639D)); this.shape3.Name = "shape3"; this.shape3.ShapeType = new Telerik.Reporting.Drawing.Shapes.LineShape(Telerik.Reporting.Drawing.Shapes.LineDirection.EW); this.shape3.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.019999999552965164D)); this.shape3.Style.LineColor = System.Drawing.Color.DimGray; this.shape3.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Point(0.5D); // // textBox20 // this.textBox20.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.55531781911849976D)); this.textBox20.Name = "textBox20"; this.textBox20.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(3D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D)); this.textBox20.Style.Color = System.Drawing.Color.DimGray; this.textBox20.Style.Font.Bold = true; this.textBox20.Style.Font.Name = "Microsoft Sans Serif"; this.textBox20.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); this.textBox20.Style.LineColor = System.Drawing.Color.DimGray; this.textBox20.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox20.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox20.TextWrap = false; this.textBox20.Value = "Accepted by:"; // // textBox19 // this.textBox19.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(2.2946827411651611D)); this.textBox19.Name = "textBox19"; this.textBox19.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox19.Style.Color = System.Drawing.Color.DimGray; this.textBox19.Style.Font.Bold = true; this.textBox19.Style.Font.Name = "Microsoft Sans Serif"; this.textBox19.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox19.Style.LineColor = System.Drawing.Color.DimGray; this.textBox19.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox19.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox19.TextWrap = false; this.textBox19.Value = "Accepted by:"; // // textBox18 // this.textBox18.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(4.0000009536743164D), Telerik.Reporting.Drawing.Unit.Inch(2.2946827411651611D)); this.textBox18.Name = "textBox18"; this.textBox18.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(2.5D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox18.Style.Color = System.Drawing.Color.DimGray; this.textBox18.Style.Font.Bold = true; this.textBox18.Style.Font.Name = "Microsoft Sans Serif"; this.textBox18.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox18.Style.LineColor = System.Drawing.Color.DimGray; this.textBox18.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox18.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox18.TextWrap = false; this.textBox18.Value = "= Fields.CoName"; // // textBox17 // this.textBox17.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(2.9999995231628418D), Telerik.Reporting.Drawing.Unit.Inch(2.2946827411651611D)); this.textBox17.Name = "textBox17"; this.textBox17.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox17.Style.Color = System.Drawing.Color.DimGray; this.textBox17.Style.Font.Bold = true; this.textBox17.Style.Font.Name = "Microsoft Sans Serif"; this.textBox17.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox17.Style.LineColor = System.Drawing.Color.DimGray; this.textBox17.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox17.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox17.TextWrap = false; this.textBox17.Value = "Date"; // // textBox16 // this.textBox16.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(6.4999990463256836D), Telerik.Reporting.Drawing.Unit.Inch(2.2946827411651611D)); this.textBox16.Name = "textBox16"; this.textBox16.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.15000000596046448D)); this.textBox16.Style.Color = System.Drawing.Color.DimGray; this.textBox16.Style.Font.Bold = true; this.textBox16.Style.Font.Name = "Microsoft Sans Serif"; this.textBox16.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); this.textBox16.Style.LineColor = System.Drawing.Color.DimGray; this.textBox16.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Left; this.textBox16.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.textBox16.TextWrap = false; this.textBox16.Value = "Date"; // // detail // this.detail.Height = Telerik.Reporting.Drawing.Unit.Inch(0.1607142835855484D); this.detail.Name = "detail"; this.detail.Style.Visible = false; // // QuoteReport // this.DataSource = this.QuoteReportData; group1.GroupFooter = this.labelsGroupFooterSection; group1.GroupHeader = this.labelsGroupHeaderSection; group1.Name = "ItemDetail"; this.Groups.AddRange(new Telerik.Reporting.Group[] { group1 }); this.Items.AddRange(new Telerik.Reporting.ReportItemBase[] { this.labelsGroupHeaderSection, this.labelsGroupFooterSection, this.pageHeader, this.pageFooter, this.reportHeader, this.reportFooter, this.detail }); this.Name = "QuoteReport"; this.PageSettings.ContinuousPaper = false; this.PageSettings.Landscape = false; this.PageSettings.Margins = new Telerik.Reporting.Drawing.MarginsU(Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.5D), Telerik.Reporting.Drawing.Unit.Inch(0.20000000298023224D), Telerik.Reporting.Drawing.Unit.Inch(0.5D)); this.PageSettings.PaperKind = System.Drawing.Printing.PaperKind.Letter; reportParameter1.Name = "ProjectID"; reportParameter1.Text = "ProjectID"; reportParameter1.Type = Telerik.Reporting.ReportParameterType.Integer; reportParameter1.Value = "4188"; this.ReportParameters.Add(reportParameter1); styleRule1.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.TextItemBase)), new Telerik.Reporting.Drawing.TypeSelector(typeof(Telerik.Reporting.HtmlTextBox)) }); styleRule1.Style.Padding.Left = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule1.Style.Padding.Right = Telerik.Reporting.Drawing.Unit.Point(2D); styleRule2.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Title") }); styleRule2.Style.Color = System.Drawing.Color.Black; styleRule2.Style.Font.Bold = true; styleRule2.Style.Font.Name = "Tahoma"; styleRule2.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(18D); styleRule3.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Caption") }); styleRule3.Style.Color = System.Drawing.Color.Black; styleRule3.Style.Font.Name = "Tahoma"; styleRule3.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(10D); styleRule3.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule4.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("Data") }); styleRule4.Style.Font.Name = "Tahoma"; styleRule4.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(9D); styleRule4.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; styleRule5.Selectors.AddRange(new Telerik.Reporting.Drawing.ISelector[] { new Telerik.Reporting.Drawing.StyleSelector("PageInfo") }); styleRule5.Style.Font.Name = "Tahoma"; styleRule5.Style.Font.Size = Telerik.Reporting.Drawing.Unit.Point(8D); styleRule5.Style.VerticalAlign = Telerik.Reporting.Drawing.VerticalAlign.Middle; this.StyleSheet.AddRange(new Telerik.Reporting.Drawing.StyleRule[] { styleRule1, styleRule2, styleRule3, styleRule4, styleRule5 }); this.Width = Telerik.Reporting.Drawing.Unit.Inch(7.5D); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); }
protected void ddlReportType_SelectedIndexChanged(object sender, EventArgs e) { if (ddlReportType.SelectedValue == "0") { this.ReportViewerEmma.Visible = false; } else { this.ReportViewerEmma.Visible = true; } if (ddlReportType.SelectedValue == "1") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.SeatConfiguration, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "2") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.Region, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "3") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.Locations, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "4") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.RouteDetails, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "5") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.ScheduleofFlight, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "6") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.Approver, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "7") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.ChiliTemplate, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "8") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.Notifications, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "9") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.MenuItemCategory, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } if (ddlReportType.SelectedValue == "10") { var typeReportSource = new Telerik.Reporting.TypeReportSource(); typeReportSource.TypeName = "ReportLibrary.BaseItemReport, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"; this.ReportViewerEmma.ReportSource = typeReportSource; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); this.radPanel2 = new Telerik.WinControls.UI.RadPanel(); this.btnExport = new Telerik.WinControls.UI.RadButton(); this.btnClose = new Telerik.WinControls.UI.RadButton(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit(); this.radPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnExport)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // radPanel2 // this.radPanel2.Controls.Add(this.btnExport); this.radPanel2.Controls.Add(this.btnClose); this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.radPanel2.Location = new System.Drawing.Point(0, 492); this.radPanel2.Name = "radPanel2"; this.radPanel2.Size = new System.Drawing.Size(796, 53); this.radPanel2.TabIndex = 2; // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Enabled = false; this.btnExport.Location = new System.Drawing.Point(607, 17); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(88, 24); this.btnExport.TabIndex = 50; this.btnExport.Text = "Export to Excel"; this.btnExport.Visible = false; this.btnExport.Click += new System.EventHandler(this.btnExport_Click); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(701, 17); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(83, 24); this.btnClose.TabIndex = 49; this.btnClose.Text = "Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("SY", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("GradeLevel", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("SectionCode", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Section", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Category", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("TeacherName", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Title", null)); typeReportSource1.TypeName = "eSARReportLibrary.PromoReportTemplate1, eSARReportLibrary, Version=1.0.0.0, Cultu" + "re=neutral, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.Size = new System.Drawing.Size(796, 492); this.reportViewer1.TabIndex = 3; // // PromotionalTemplate1 // this.AcceptButton = this.btnExport; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(796, 545); this.Controls.Add(this.reportViewer1); this.Controls.Add(this.radPanel2); this.Name = "PromotionalTemplate1"; // // // this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "PromotionalTemplate1"; this.Load += new System.EventHandler(this.PromotionalTemplate1_Load); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit(); this.radPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.btnExport)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource(); this.radPanel1 = new Telerik.WinControls.UI.RadPanel(); this.reportViewer1 = new Telerik.ReportViewer.WinForms.ReportViewer(); this.radPanel2 = new Telerik.WinControls.UI.RadPanel(); this.btnClose = new Telerik.WinControls.UI.RadButton(); ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit(); this.radPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).BeginInit(); this.radPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); this.SuspendLayout(); // // radPanel1 // this.radPanel1.Controls.Add(this.reportViewer1); this.radPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.radPanel1.Location = new System.Drawing.Point(0, 0); this.radPanel1.Name = "radPanel1"; this.radPanel1.Size = new System.Drawing.Size(796, 492); this.radPanel1.TabIndex = 0; // // reportViewer1 // this.reportViewer1.Dock = System.Windows.Forms.DockStyle.Fill; this.reportViewer1.Location = new System.Drawing.Point(0, 0); this.reportViewer1.Name = "reportViewer1"; typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("GradeLevel", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("GradeLevelSection", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("HomeroomTeacher", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("SectionCode", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("SY", null)); typeReportSource1.Parameters.Add(new Telerik.Reporting.Parameter("Title", null)); typeReportSource1.TypeName = "eSARReportLibrary.GradingSheetTemplate1, eSARReportLibrary, Version=1.0.0.0, Cult" + "ure=neutral, PublicKeyToken=null"; this.reportViewer1.ReportSource = typeReportSource1; this.reportViewer1.Size = new System.Drawing.Size(796, 492); this.reportViewer1.TabIndex = 0; // // radPanel2 // this.radPanel2.Controls.Add(this.btnClose); this.radPanel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.radPanel2.Location = new System.Drawing.Point(0, 492); this.radPanel2.Name = "radPanel2"; this.radPanel2.Size = new System.Drawing.Size(796, 53); this.radPanel2.TabIndex = 1; // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(701, 17); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(83, 24); this.btnClose.TabIndex = 49; this.btnClose.Text = "Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // frmGradingSheetTemplate1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(796, 545); this.Controls.Add(this.radPanel1); this.Controls.Add(this.radPanel2); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MinimizeBox = false; this.Name = "frmGradingSheetTemplate1"; // // // this.RootElement.ApplyShapeToControl = true; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Grading Sheet"; this.Load += new System.EventHandler(this.frmGradingSheetTemplate1_Load); ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit(); this.radPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.radPanel2)).EndInit(); this.radPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.btnClose)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); }