diff --git a/TestDevExpress/Components/Pages/ReportViewer.razor.cs b/TestDevExpress/Components/Pages/ReportViewer.razor.cs index fc70a17a..e331884f 100644 --- a/TestDevExpress/Components/Pages/ReportViewer.razor.cs +++ b/TestDevExpress/Components/Pages/ReportViewer.razor.cs @@ -23,7 +23,6 @@ namespace TestDevExpress.Components.Pages protected override void OnInitialized() { // calcolo i parametri x IMG e Json da conf - string apiUrl = _config.GetValue("ServerConf:ApiBaseUrl") ?? "https://iis01.egalware.com/lux/srv/api"; string imgUrl = _config.GetValue("ServerConf:ImageUrl") ?? "image"; string dataUrl = _config.GetValue("ServerConf:DataUrl") ?? "report/offert/"; @@ -35,40 +34,9 @@ namespace TestDevExpress.Components.Pages var uri = NavManager.ToAbsoluteUri(NavManager.Uri); if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("OfferId", out var offerId)) { - int.TryParse(offerId, out oID); - - currReport = new OfferReport(dataFullUrl, oID); - currReport.Parameters["pBasePath"].Value = imgFullUrl; - - // currReport.Parameters["pBasePath"].Value = basePath; - // if (currReport.Parameters["pOfferId"] != null) - // { - // currReport.Parameters["pOfferId"].Value = offerId; - - //#if false - // // 2. Cerca il JsonDataSource e aggiorna l'URL manualmente - // var jsonDataSource = currReport.DataSource as JsonDataSource; - // if (jsonDataSource != null) - // { - // // Costruiamo l'URL finale - // //string baseUrl = _config.GetValue("connectionStrings:JsonConnection") ?? "https://iis01.egalware.com/Lux/srv/api/report/offert/"; - // string baseUrl = _config.GetConnectionString("JsonConnection") ?? "https://iis01.egalware.com/Lux/srv/api/report/offert/"; - - - // string urlCompleto = $"{baseUrl}{offerId}"; - - // // Assegniamo l'URL "pulito" al data source del report - // jsonDataSource.JsonSource = new UriJsonSource(new Uri(urlCompleto)); - - // // IMPORTANTE: Dirottiamo la connessione perché non usi quella di appsettings.json - // jsonDataSource.ConnectionName = null; - // } - //#endif - - // currReport.RequestParameters = false; - // } + currReport.Parameters["pImgPath"].Value = imgFullUrl; } } diff --git a/TestDevExpress/Components/Reports/OfferReport.Designer.cs b/TestDevExpress/Components/Reports/OfferReport.Designer.cs index 1973e10c..279d9dec 100644 --- a/TestDevExpress/Components/Reports/OfferReport.Designer.cs +++ b/TestDevExpress/Components/Reports/OfferReport.Designer.cs @@ -29,7 +29,6 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - DevExpress.DataAccess.Json.UriJsonSource uriJsonSource1 = new DevExpress.DataAccess.Json.UriJsonSource(); DevExpress.DataAccess.Json.JsonSchemaNode jsonSchemaNode1 = new DevExpress.DataAccess.Json.JsonSchemaNode("root", true); DevExpress.DataAccess.Json.JsonSchemaNode jsonSchemaNode2 = new DevExpress.DataAccess.Json.JsonSchemaNode("offerID", true, DevExpress.DataAccess.Json.JsonNodeType.Property, typeof(System.Nullable)); DevExpress.DataAccess.Json.JsonSchemaNode jsonSchemaNode3 = new DevExpress.DataAccess.Json.JsonSchemaNode("envir", true, DevExpress.DataAccess.Json.JsonNodeType.Property, typeof(System.Nullable)); @@ -118,8 +117,6 @@ DevExpress.DataAccess.Json.JsonSchemaNode jsonSchemaNode86 = new DevExpress.DataAccess.Json.JsonSchemaNode("offerNav", true, DevExpress.DataAccess.Json.JsonNodeType.Property); DevExpress.DataAccess.Json.JsonSchemaNode jsonSchemaNode87 = new DevExpress.DataAccess.Json.JsonSchemaNode("templateRowNav", true, DevExpress.DataAccess.Json.JsonNodeType.Property); DevExpress.DataAccess.Json.JsonSchemaNode jsonSchemaNode88 = new DevExpress.DataAccess.Json.JsonSchemaNode("sellingItemNav", true, DevExpress.DataAccess.Json.JsonNodeType.Property); - DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary(); - DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary(); this.Detail = new DevExpress.XtraReports.UI.DetailBand(); this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); @@ -135,7 +132,7 @@ this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand(); this.BottomMargin = new DevExpress.XtraReports.UI.BottomMarginBand(); this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); - this.xrPageBreak1 = new DevExpress.XtraReports.UI.XRPageBreak(); + this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); @@ -146,7 +143,6 @@ this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); @@ -154,17 +150,14 @@ this.jsonDataSource1 = new DevExpress.DataAccess.Json.JsonDataSource(this.components); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); - this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); - this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand(); - this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); - this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand(); - this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); - this.pBasePath = new DevExpress.XtraReports.Parameters.Parameter(); + this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.pImgPath = new DevExpress.XtraReports.Parameters.Parameter(); this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // @@ -191,66 +184,90 @@ // // xrLabel15 // + this.xrLabel15.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel15.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold); this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(616.4581F, 10.00004F); this.xrLabel15.Multiline = true; this.xrLabel15.Name = "xrLabel15"; this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); this.xrLabel15.SizeF = new System.Drawing.SizeF(113.5417F, 34.79164F); + this.xrLabel15.StylePriority.UseBorders = false; + this.xrLabel15.StylePriority.UseFont = false; this.xrLabel15.StylePriority.UseTextAlignment = false; this.xrLabel15.Text = "Totale"; this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel14 // - this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(479.9998F, 10.00004F); + this.xrLabel14.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel14.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 10.00004F); this.xrLabel14.Multiline = true; this.xrLabel14.Name = "xrLabel14"; this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel14.SizeF = new System.Drawing.SizeF(136.4583F, 34.79164F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(136.4581F, 34.79164F); + this.xrLabel14.StylePriority.UseBorders = false; + this.xrLabel14.StylePriority.UseFont = false; this.xrLabel14.StylePriority.UseTextAlignment = false; - this.xrLabel14.Text = "Importo\r\nunitario"; - this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrLabel14.Text = "UnitĂ "; + this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel13 // + this.xrLabel13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel13.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold); this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(413.3331F, 10.00004F); this.xrLabel13.Multiline = true; this.xrLabel13.Name = "xrLabel13"; this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel13.SizeF = new System.Drawing.SizeF(66.66666F, 34.79164F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(66.66693F, 34.79164F); + this.xrLabel13.StylePriority.UseBorders = false; + this.xrLabel13.StylePriority.UseFont = false; this.xrLabel13.StylePriority.UseTextAlignment = false; this.xrLabel13.Text = "Qty"; this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; // // xrLabel12 // + this.xrLabel12.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel12.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold); this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(151.0417F, 10.00004F); this.xrLabel12.Multiline = true; this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); this.xrLabel12.SizeF = new System.Drawing.SizeF(262.2914F, 34.79164F); + this.xrLabel12.StylePriority.UseBorders = false; + this.xrLabel12.StylePriority.UseFont = false; this.xrLabel12.StylePriority.UseTextAlignment = false; this.xrLabel12.Text = "Descrizione"; this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel11 // + this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel11.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold); this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(32.29167F, 10.00004F); this.xrLabel11.Multiline = true; this.xrLabel11.Name = "xrLabel11"; this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); this.xrLabel11.SizeF = new System.Drawing.SizeF(118.75F, 34.79164F); + this.xrLabel11.StylePriority.UseBorders = false; + this.xrLabel11.StylePriority.UseFont = false; this.xrLabel11.StylePriority.UseTextAlignment = false; this.xrLabel11.Text = "Preview"; this.xrLabel11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; // // xrLabel1 // + this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Times New Roman", 14F, DevExpress.Drawing.DXFontStyle.Bold); this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00004F); this.xrLabel1.Multiline = true; this.xrLabel1.Name = "xrLabel1"; this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); this.xrLabel1.SizeF = new System.Drawing.SizeF(32.29167F, 34.79164F); + this.xrLabel1.StylePriority.UseBorders = false; + this.xrLabel1.StylePriority.UseFont = false; this.xrLabel1.StylePriority.UseTextAlignment = false; this.xrLabel1.Text = "N°"; this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; @@ -270,11 +287,13 @@ // this.xrLabel8.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerRowNav].[totalPrice]")}); + this.xrLabel8.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(616.4581F, 10.0001F); this.xrLabel8.Multiline = true; this.xrLabel8.Name = "xrLabel8"; this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); this.xrLabel8.SizeF = new System.Drawing.SizeF(113.5417F, 23F); + this.xrLabel8.StylePriority.UseFont = false; this.xrLabel8.StylePriority.UseTextAlignment = false; this.xrLabel8.Text = "xrLabel8"; this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; @@ -284,11 +303,11 @@ // this.xrLabel7.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerRowNav].[unitPrice]")}); - this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(479.9998F, 10.00001F); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 10.0001F); this.xrLabel7.Multiline = true; this.xrLabel7.Name = "xrLabel7"; this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel7.SizeF = new System.Drawing.SizeF(136.4583F, 23F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(136.4581F, 23F); this.xrLabel7.StylePriority.UseTextAlignment = false; this.xrLabel7.Text = "xrLabel7"; this.xrLabel7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; @@ -298,11 +317,13 @@ // this.xrLabel6.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerRowNav].[qty]")}); - this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(413.3331F, 10.00001F); + this.xrLabel6.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(413.3331F, 10.0001F); this.xrLabel6.Multiline = true; this.xrLabel6.Name = "xrLabel6"; this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel6.SizeF = new System.Drawing.SizeF(66.66666F, 23F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(66.66693F, 23F); + this.xrLabel6.StylePriority.UseFont = false; this.xrLabel6.StylePriority.UseTextAlignment = false; this.xrLabel6.Text = "xrLabel6"; this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; @@ -320,14 +341,14 @@ // // TopMargin // - this.TopMargin.HeightF = 60F; + this.TopMargin.HeightF = 40F; this.TopMargin.Name = "TopMargin"; this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 0F, 0F, 100F); this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; // // BottomMargin // - this.BottomMargin.HeightF = 60F; + this.BottomMargin.HeightF = 40F; this.BottomMargin.Name = "BottomMargin"; this.BottomMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0F, 0F, 0F, 0F, 100F); this.BottomMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; @@ -335,7 +356,7 @@ // GroupHeader1 // this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrPageBreak1, + this.xrPictureBox2, this.xrLabel21, this.xrLabel24, this.xrLabel23, @@ -345,21 +366,22 @@ this.xrLabel18, this.xrLabel16, this.xrLabel10, - this.xrLabel4, - this.xrLabel3}); - this.GroupHeader1.HeightF = 164.25F; + this.xrLabel4}); + this.GroupHeader1.HeightF = 170.7084F; this.GroupHeader1.Name = "GroupHeader1"; // - // xrPageBreak1 + // xrPictureBox2 // - this.xrPageBreak1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 162.25F); - this.xrPageBreak1.Name = "xrPageBreak1"; - this.xrPageBreak1.Visible = false; + this.xrPictureBox2.ImageUrl = "https://iis01.egalware.com/Lux/srv/api/image/empty"; + this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(629.9998F, 0F); + this.xrPictureBox2.Name = "xrPictureBox2"; + this.xrPictureBox2.SizeF = new System.Drawing.SizeF(100F, 101.9583F); + this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; // // xrLabel21 // this.xrLabel21.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(0F, 85.2917F); + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(0F, 101.9583F); this.xrLabel21.Multiline = true; this.xrLabel21.Name = "xrLabel21"; this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); @@ -370,66 +392,72 @@ // this.xrLabel24.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[dealerNav].[lastName]")}); - this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(630.0001F, 118.7916F); + this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(569.9999F, 135.4583F); this.xrLabel24.Multiline = true; this.xrLabel24.Name = "xrLabel24"; this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel24.SizeF = new System.Drawing.SizeF(100F, 23F); + this.xrLabel24.SizeF = new System.Drawing.SizeF(90F, 23F); this.xrLabel24.Text = "xrLabel24"; // // xrLabel23 // this.xrLabel23.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[dealerNav].[firstName]")}); - this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(530.0001F, 118.7916F); + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 135.4583F); this.xrLabel23.Multiline = true; this.xrLabel23.Name = "xrLabel23"; this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel23.SizeF = new System.Drawing.SizeF(100F, 23F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(90F, 23F); this.xrLabel23.Text = "xrLabel23"; // // xrLabel22 // this.xrLabel22.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(630.0001F, 95.79166F); + this.xrLabel22.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 112.4583F); this.xrLabel22.Multiline = true; this.xrLabel22.Name = "xrLabel22"; this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel22.SizeF = new System.Drawing.SizeF(100F, 23F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(70F, 23F); this.xrLabel22.StylePriority.UseBorders = false; + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.StylePriority.UseTextAlignment = false; this.xrLabel22.Text = "Venditore"; + this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel20 // this.xrLabel20.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[customerNav].[lastName]")}); - this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(119.9999F, 118.7916F); + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(89.9999F, 135.4583F); this.xrLabel20.Multiline = true; this.xrLabel20.Name = "xrLabel20"; this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel20.SizeF = new System.Drawing.SizeF(130F, 23F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(90F, 23F); this.xrLabel20.Text = "xrLabel20"; // // xrLabel19 // this.xrLabel19.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[customerNav].[firstName]")}); - this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 118.7916F); + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 135.4583F); this.xrLabel19.Multiline = true; this.xrLabel19.Name = "xrLabel19"; this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel19.SizeF = new System.Drawing.SizeF(119.9999F, 23F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(90F, 23F); this.xrLabel19.Text = "xrLabel19"; // // xrLabel18 // this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(0F, 95.79166F); + this.xrLabel18.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(1.041667F, 112.4583F); this.xrLabel18.Multiline = true; this.xrLabel18.Name = "xrLabel18"; this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel18.SizeF = new System.Drawing.SizeF(77.08334F, 23F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(70F, 23F); this.xrLabel18.StylePriority.UseBorders = false; + this.xrLabel18.StylePriority.UseFont = false; this.xrLabel18.StylePriority.UseTextAlignment = false; this.xrLabel18.Text = "Cliente"; this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; @@ -437,56 +465,47 @@ // xrLabel16 // this.xrLabel16.Font = new DevExpress.Drawing.DXFont("Times New Roman", 32F, DevExpress.Drawing.DXFontStyle.Bold); - this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0F, 24.00001F); this.xrLabel16.Multiline = true; this.xrLabel16.Name = "xrLabel16"; this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel16.SizeF = new System.Drawing.SizeF(352.0834F, 28.20833F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(178.1251F, 53.20833F); this.xrLabel16.StylePriority.UseFont = false; - this.xrLabel16.Text = "Preventivo"; + this.xrLabel16.StylePriority.UseTextAlignment = false; + this.xrLabel16.Text = "Offerta"; + this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel10 // this.xrLabel10.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "?pOfferId")}); - this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(630.0001F, 62.29169F); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(298.1249F, 48.20834F); this.xrLabel10.Multiline = true; this.xrLabel10.Name = "xrLabel10"; this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); this.xrLabel10.SizeF = new System.Drawing.SizeF(100F, 23F); this.xrLabel10.StylePriority.UseTextAlignment = false; this.xrLabel10.Text = "xrLabel10"; - this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + this.xrLabel10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel4 // this.xrLabel4.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[offerCode]")}); - this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 62.29169F); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(178.125F, 48.20834F); this.xrLabel4.Multiline = true; this.xrLabel4.Name = "xrLabel4"; this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); this.xrLabel4.SizeF = new System.Drawing.SizeF(120F, 23F); + this.xrLabel4.StylePriority.UseTextAlignment = false; this.xrLabel4.Text = "xrLabel4"; - // - // xrLabel3 - // - this.xrLabel3.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { - new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[description]")}); - this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Times New Roman", 24F); - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.20832F); - this.xrLabel3.Multiline = true; - this.xrLabel3.Name = "xrLabel3"; - this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel3.SizeF = new System.Drawing.SizeF(730.0001F, 34.08335F); - this.xrLabel3.StylePriority.UseFont = false; - this.xrLabel3.Text = "xrLabel3"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // // xrLabel17 // this.xrLabel17.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[validUntil]")}); - this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(77.08334F, 10.00004F); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(78.125F, 64.50018F); this.xrLabel17.Multiline = true; this.xrLabel17.Name = "xrLabel17"; this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); @@ -496,7 +515,7 @@ // // xrLabel2 // - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 10.00001F); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(1.041667F, 64.50018F); this.xrLabel2.Multiline = true; this.xrLabel2.Name = "xrLabel2"; this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); @@ -526,10 +545,6 @@ // jsonDataSource1 // this.jsonDataSource1.ConnectionName = "JsonConnParam"; - uriJsonSource1.PathParameters.AddRange(new DevExpress.DataAccess.Json.PathParameter[] { - new DevExpress.DataAccess.Json.PathParameter("offerId", typeof(DevExpress.DataAccess.Expression), new DevExpress.DataAccess.Expression("?pOfferId", typeof(string)))}); - uriJsonSource1.Uri = new System.Uri("https://iis01.egalware.com/Lux/srv/api/report/offert/", System.UriKind.Absolute); - this.jsonDataSource1.JsonSource = uriJsonSource1; this.jsonDataSource1.Name = "jsonDataSource1"; jsonSchemaNode27.Nodes.Add(jsonSchemaNode28); jsonSchemaNode27.Nodes.Add(jsonSchemaNode29); @@ -623,9 +638,7 @@ // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { - this.Detail1, - this.GroupHeader2, - this.GroupFooter1}); + this.Detail1}); this.DetailReport.DataMember = "offerRowNav"; this.DetailReport.DataSource = this.jsonDataSource1; this.DetailReport.Level = 0; @@ -635,138 +648,102 @@ // Detail1 // this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel27, this.xrPictureBox1, this.xrLabel7, this.xrLabel6, this.xrLabel9, this.xrLabel8, this.xrLabel5}); - this.Detail1.HeightF = 112.6249F; + this.Detail1.HeightF = 110.0833F; this.Detail1.Name = "Detail1"; this.Detail1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { new DevExpress.XtraReports.UI.GroupField("rowNum", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)}); // + // xrLabel27 + // + this.xrLabel27.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(0F, 99.58334F); + this.xrLabel27.Multiline = true; + this.xrLabel27.Name = "xrLabel27"; + this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); + this.xrLabel27.SizeF = new System.Drawing.SizeF(730.0001F, 10.49994F); + this.xrLabel27.StylePriority.UseBorders = false; + // // xrPictureBox1 // this.xrPictureBox1.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { - new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "ImageUrl", "?pBasePath + [imgUrl]")}); + new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "ImageUrl", "?pImgPath+ [imgUrl]")}); this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(32.29167F, 10.00001F); this.xrPictureBox1.Name = "xrPictureBox1"; this.xrPictureBox1.SizeF = new System.Drawing.SizeF(118.75F, 89.58334F); this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; // - // GroupHeader2 + // pImgPath // - this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel25, - this.xrLabel28, - this.xrLabel27}); - this.GroupHeader2.HeightF = 47.625F; - this.GroupHeader2.Name = "GroupHeader2"; - this.GroupHeader2.PageBreak = DevExpress.XtraReports.UI.PageBreak.BeforeBandExceptFirstEntry; - this.GroupHeader2.RepeatEveryPage = true; - // - // xrLabel25 - // - this.xrLabel25.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.12506F); - this.xrLabel25.Multiline = true; - this.xrLabel25.Name = "xrLabel25"; - this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel25.SizeF = new System.Drawing.SizeF(730.0001F, 10.49994F); - this.xrLabel25.StylePriority.UseBorders = false; - // - // xrLabel28 - // - this.xrLabel28.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { - new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "sumCarryoverSum([totalPrice])")}); - this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(616.4581F, 10.00001F); - this.xrLabel28.Multiline = true; - this.xrLabel28.Name = "xrLabel28"; - this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel28.SizeF = new System.Drawing.SizeF(113.5417F, 23F); - this.xrLabel28.StylePriority.UseTextAlignment = false; - xrSummary1.IgnoreNullValues = true; - xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Group; - this.xrLabel28.Summary = xrSummary1; - this.xrLabel28.Text = "xrLabel28"; - this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrLabel28.TextFormatString = "{0:c}"; - // - // xrLabel27 - // - this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(479.9998F, 9.999974F); - this.xrLabel27.Multiline = true; - this.xrLabel27.Name = "xrLabel27"; - this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel27.SizeF = new System.Drawing.SizeF(136.4583F, 23F); - this.xrLabel27.StylePriority.UseTextAlignment = false; - this.xrLabel27.Text = "Totale"; - this.xrLabel27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - // - // GroupFooter1 - // - this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrLabel26, - this.xrLabel29, - this.xrLabel30}); - this.GroupFooter1.HeightF = 46.75007F; - this.GroupFooter1.Name = "GroupFooter1"; - this.GroupFooter1.RepeatEveryPage = true; - // - // xrLabel26 - // - this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); - this.xrLabel26.Multiline = true; - this.xrLabel26.Name = "xrLabel26"; - this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel26.SizeF = new System.Drawing.SizeF(730.0001F, 10.49994F); - this.xrLabel26.StylePriority.UseBorders = false; - // - // xrLabel29 - // - this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(479.9998F, 10.49995F); - this.xrLabel29.Multiline = true; - this.xrLabel29.Name = "xrLabel29"; - this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel29.SizeF = new System.Drawing.SizeF(136.4583F, 23F); - this.xrLabel29.StylePriority.UseTextAlignment = false; - this.xrLabel29.Text = "Totale"; - this.xrLabel29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - // - // xrLabel30 - // - this.xrLabel30.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { - new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "sumCarryoverSum([offerRowNav.totalPrice])")}); - this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(616.4581F, 10.49995F); - this.xrLabel30.Multiline = true; - this.xrLabel30.Name = "xrLabel30"; - this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); - this.xrLabel30.SizeF = new System.Drawing.SizeF(113.5417F, 23F); - this.xrLabel30.StylePriority.UseTextAlignment = false; - xrSummary2.IgnoreNullValues = true; - xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Group; - this.xrLabel30.Summary = xrSummary2; - this.xrLabel30.Text = "xrLabel25"; - this.xrLabel30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - this.xrLabel30.TextFormatString = "{0:c}"; - // - // pBasePath - // - this.pBasePath.Description = "Bath di base API x immagini"; - this.pBasePath.Name = "pBasePath"; - this.pBasePath.ValueInfo = "https://iis01.egalware.com/Lux/srv/api/window/svgfile/"; - this.pBasePath.Visible = false; + this.pImgPath.Description = "Bath di base API x immagini"; + this.pImgPath.Name = "pImgPath"; + this.pImgPath.ValueInfo = "https://iis01.egalware.com/Lux/srv/api/window/svgfile/"; + this.pImgPath.Visible = false; // // ReportFooter // this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel28, + this.xrLabel3, + this.xrLabel26, + this.xrLabel25, this.xrLabel17, this.xrLabel2}); - this.ReportFooter.HeightF = 39.9999F; + this.ReportFooter.HeightF = 150.7504F; this.ReportFooter.Name = "ReportFooter"; // + // xrLabel28 + // + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(181.8751F, 117.7504F); + this.xrLabel28.Multiline = true; + this.xrLabel28.Name = "xrLabel28"; + this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); + this.xrLabel28.SizeF = new System.Drawing.SizeF(100F, 23F); + this.xrLabel28.Text = "Firma"; + // + // xrLabel3 + // + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 117.7504F); + this.xrLabel3.Multiline = true; + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(100F, 23F); + this.xrLabel3.Text = "Data"; + // + // xrLabel26 + // + this.xrLabel26.ExpressionBindings.AddRange(new DevExpress.XtraReports.UI.ExpressionBinding[] { + new DevExpress.XtraReports.UI.ExpressionBinding("BeforePrint", "Text", "[totalPrice]")}); + this.xrLabel26.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(616.4581F, 10.49995F); + this.xrLabel26.Multiline = true; + this.xrLabel26.Name = "xrLabel26"; + this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); + this.xrLabel26.SizeF = new System.Drawing.SizeF(113.5417F, 23F); + this.xrLabel26.StylePriority.UseFont = false; + this.xrLabel26.StylePriority.UseTextAlignment = false; + this.xrLabel26.Text = "xrLabel26"; + this.xrLabel26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel25 + // + this.xrLabel25.Font = new DevExpress.Drawing.DXFont("Times New Roman", 9.75F, DevExpress.Drawing.DXFontStyle.Bold); + this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(480.0001F, 10.49995F); + this.xrLabel25.Multiline = true; + this.xrLabel25.Name = "xrLabel25"; + this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2F, 2F, 0F, 0F, 100F); + this.xrLabel25.SizeF = new System.Drawing.SizeF(136.4583F, 23F); + this.xrLabel25.StylePriority.UseFont = false; + this.xrLabel25.StylePriority.UseTextAlignment = false; + this.xrLabel25.Text = "Totale"; + this.xrLabel25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // // PageFooter // this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -787,13 +764,13 @@ this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] { this.jsonDataSource1}); this.DataSource = this.jsonDataSource1; - this.Margins = new DevExpress.Drawing.DXMargins(60F, 60F, 60F, 60F); + this.Margins = new DevExpress.Drawing.DXMargins(60F, 60F, 40F, 40F); this.ParameterPanelLayoutItems.AddRange(new DevExpress.XtraReports.Parameters.ParameterPanelLayoutItem[] { new DevExpress.XtraReports.Parameters.ParameterLayoutItem(this.pOfferId, DevExpress.XtraReports.Parameters.Orientation.Horizontal), - new DevExpress.XtraReports.Parameters.ParameterLayoutItem(this.pBasePath, DevExpress.XtraReports.Parameters.Orientation.Horizontal)}); + new DevExpress.XtraReports.Parameters.ParameterLayoutItem(this.pImgPath, DevExpress.XtraReports.Parameters.Orientation.Horizontal)}); this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] { this.pOfferId, - this.pBasePath}); + this.pImgPath}); this.Version = "25.2"; ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); @@ -813,11 +790,10 @@ private DevExpress.XtraReports.UI.XRLabel xrLabel6; private DevExpress.XtraReports.UI.XRLabel xrLabel5; private DevExpress.XtraReports.UI.XRLabel xrLabel4; - private DevExpress.XtraReports.UI.XRLabel xrLabel3; private DevExpress.XtraReports.UI.DetailReportBand DetailReport; private DevExpress.XtraReports.UI.DetailBand Detail1; private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; - private DevExpress.XtraReports.Parameters.Parameter pBasePath; + private DevExpress.XtraReports.Parameters.Parameter pImgPath; private DevExpress.XtraReports.UI.XRLabel xrLabel10; private DevExpress.XtraReports.UI.XRLabel xrLabel1; private DevExpress.XtraReports.UI.XRLabel xrLabel11; @@ -838,14 +814,11 @@ private DevExpress.XtraReports.UI.XRLabel xrLabel19; private DevExpress.XtraReports.UI.XRLabel xrLabel21; private DevExpress.XtraReports.UI.PageFooterBand PageFooter; - private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2; - private DevExpress.XtraReports.UI.XRLabel xrLabel27; - private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1; - private DevExpress.XtraReports.UI.XRLabel xrLabel29; - private DevExpress.XtraReports.UI.XRLabel xrLabel30; - private DevExpress.XtraReports.UI.XRLabel xrLabel28; private DevExpress.XtraReports.UI.XRLabel xrLabel25; + private DevExpress.XtraReports.UI.XRLabel xrLabel27; private DevExpress.XtraReports.UI.XRLabel xrLabel26; - private DevExpress.XtraReports.UI.XRPageBreak xrPageBreak1; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; + private DevExpress.XtraReports.UI.XRLabel xrLabel28; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; } } diff --git a/TestDevExpress/Components/Reports/OfferReport.cs b/TestDevExpress/Components/Reports/OfferReport.cs index efe1a8eb..12726f73 100644 --- a/TestDevExpress/Components/Reports/OfferReport.cs +++ b/TestDevExpress/Components/Reports/OfferReport.cs @@ -18,7 +18,7 @@ namespace TestDevExpress.Components.Reports public OfferReport(string baseUrl, int offerID) { InitializeComponent(); - Parameters["pBasePath"].Value = baseUrl; + Parameters["pImgPath"].Value = baseUrl; Parameters["pOfferId"].Value = offerID; _offerId = offerID; _basePath = baseUrl;