From 1bd5ec3af1996e350d16a24aa7af373988ffe28b Mon Sep 17 00:00:00 2001 From: Marcel Hirschle Date: Mon, 29 Jan 2024 16:51:20 +0100 Subject: [PATCH] MH: ChristopherusHaus Unterschriften --- .../ServicesOverviewReport.Designer.cs | 185 +++++++++--------- 1 file changed, 91 insertions(+), 94 deletions(-) diff --git a/ReportImp/ChristopherusHaus/ServicesOverviewReport.Designer.cs b/ReportImp/ChristopherusHaus/ServicesOverviewReport.Designer.cs index abf95967f..ab82fc054 100644 --- a/ReportImp/ChristopherusHaus/ServicesOverviewReport.Designer.cs +++ b/ReportImp/ChristopherusHaus/ServicesOverviewReport.Designer.cs @@ -37,6 +37,7 @@ namespace BeWo.ChristopherusHaus this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); this.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); @@ -46,6 +47,8 @@ namespace BeWo.ChristopherusHaus this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); @@ -57,12 +60,8 @@ namespace BeWo.ChristopherusHaus this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell(); this.summeMinuten = new DevExpress.XtraReports.UI.XRTableCell(); this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); - this.rechnungsDatum = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); - this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); @@ -84,13 +83,14 @@ namespace BeWo.ChristopherusHaus this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule(); this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); - this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); - this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); - this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); // // Detail @@ -198,6 +198,17 @@ namespace BeWo.ChristopherusHaus this.xrTableCell10.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell10.Weight = 0.18669819216252054D; // + // xrTableCell14 + // + this.xrTableCell14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableCell14.Name = "xrTableCell14"; + this.xrTableCell14.StylePriority.UseBorders = false; + this.xrTableCell14.StylePriority.UseTextAlignment = false; + this.xrTableCell14.Text = "Kurzbeschreibung"; + this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell14.Weight = 0.24953301853070115D; + // // DetailReport // this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { @@ -297,6 +308,21 @@ namespace BeWo.ChristopherusHaus this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; this.xrTableCell12.Weight = 0.52766791842380978D; // + // xrTableCell15 + // + this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.GoalList")}); + this.xrTableCell15.Name = "xrTableCell15"; + this.xrTableCell15.StylePriority.UseBorders = false; + this.xrTableCell15.StylePriority.UseTextAlignment = false; + this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell15.Weight = 0.70525918695149692D; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + // // xrTableCell16 // this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { @@ -350,13 +376,13 @@ namespace BeWo.ChristopherusHaus | DevExpress.XtraPrinting.BorderSide.Right) | DevExpress.XtraPrinting.BorderSide.Bottom))); this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { - this.xrTable2, - this.xrLabel14, - this.rechnungsDatum, - this.xrLabel12, + this.xrLabel3, this.xrLabel2, - this.xrLabel5, - this.xrLabel3}); + this.xrPictureBox2, + this.xrPictureBox1, + this.xrTable2, + this.xrLabel12, + this.xrLabel5}); this.Detail2.HeightF = 119.4584F; this.Detail2.Name = "Detail2"; this.Detail2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); @@ -421,85 +447,36 @@ namespace BeWo.ChristopherusHaus this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; this.xrTableCell13.Weight = 1.7592825573253983D; // - // xrLabel14 - // - this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.None; - this.xrLabel14.Font = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 95.45835F); - this.xrLabel14.Multiline = true; - this.xrLabel14.Name = "xrLabel14"; - this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel14.SizeF = new System.Drawing.SizeF(121.1128F, 23.99999F); - this.xrLabel14.StylePriority.UseBorders = false; - this.xrLabel14.StylePriority.UseFont = false; - this.xrLabel14.StylePriority.UseTextAlignment = false; - this.xrLabel14.Text = "Datum"; - this.xrLabel14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; - // - // rechnungsDatum - // - this.rechnungsDatum.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.rechnungsDatum.Font = new System.Drawing.Font("Arial", 10F); - this.rechnungsDatum.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 71.45837F); - this.rechnungsDatum.Multiline = true; - this.rechnungsDatum.Name = "rechnungsDatum"; - this.rechnungsDatum.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.rechnungsDatum.SizeF = new System.Drawing.SizeF(121.1128F, 24F); - this.rechnungsDatum.StylePriority.UseBorders = false; - this.rechnungsDatum.StylePriority.UseFont = false; - this.rechnungsDatum.StylePriority.UseTextAlignment = false; - this.rechnungsDatum.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; - // // xrLabel12 // this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrLabel12.Font = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(359.9997F, 95.45835F); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(326.8747F, 95.45841F); this.xrLabel12.Multiline = true; this.xrLabel12.Name = "xrLabel12"; this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel12.SizeF = new System.Drawing.SizeF(169.512F, 24F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(250.0002F, 24F); this.xrLabel12.StylePriority.UseBorders = false; this.xrLabel12.StylePriority.UseFont = false; this.xrLabel12.StylePriority.UseTextAlignment = false; - this.xrLabel12.Text = "Unterschrift Klient / in"; + this.xrLabel12.Text = "Datum, Unterschrift Klient / in"; this.xrLabel12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // - // xrLabel2 - // - this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(360F, 70.45835F); - this.xrLabel2.Name = "xrLabel2"; - this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel2.SizeF = new System.Drawing.SizeF(210.21F, 25F); - this.xrLabel2.StylePriority.UseBorderDashStyle = false; - this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // // xrLabel5 // this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None; this.xrLabel5.Font = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold); - this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(149.7918F, 95.45835F); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.0001033147F, 95.45841F); this.xrLabel5.Multiline = true; this.xrLabel5.Name = "xrLabel5"; this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel5.SizeF = new System.Drawing.SizeF(181.0416F, 24F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(249.7916F, 24F); this.xrLabel5.StylePriority.UseBorders = false; this.xrLabel5.StylePriority.UseFont = false; this.xrLabel5.StylePriority.UseTextAlignment = false; - this.xrLabel5.Text = "Unterschrift Mitarbeiter / in"; + this.xrLabel5.Text = "Datum, Unterschrift Mitarbeiter / in"; this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; // - // xrLabel3 - // - this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; - this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(149.7918F, 70.45835F); - this.xrLabel3.Name = "xrLabel3"; - this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); - this.xrLabel3.SizeF = new System.Drawing.SizeF(181.0416F, 25.00001F); - this.xrLabel3.StylePriority.UseBorderDashStyle = false; - this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; - // // ReportHeader // this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { @@ -760,31 +737,51 @@ namespace BeWo.ChristopherusHaus this.bottomMarginBand1.HeightF = 30F; this.bottomMarginBand1.Name = "bottomMarginBand1"; // - // bindingSource1 + // xrPictureBox2 // - this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO); + this.xrPictureBox2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Image", null, "EmployeeSignature")}); + this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(81.52954F, 39.125F); + this.xrPictureBox2.Name = "xrPictureBox2"; + this.xrPictureBox2.SizeF = new System.Drawing.SizeF(168.2621F, 56.33342F); + this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.xrPictureBox2.StylePriority.UseBorders = false; // - // xrTableCell14 + // xrPictureBox1 // - this.xrTableCell14.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) - | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableCell14.Name = "xrTableCell14"; - this.xrTableCell14.StylePriority.UseBorders = false; - this.xrTableCell14.StylePriority.UseTextAlignment = false; - this.xrTableCell14.Text = "Kurzbeschreibung"; - this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell14.Weight = 0.24953301853070115D; + this.xrPictureBox1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Image", null, "CustomerSignature")}); + this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(407.8932F, 39.125F); + this.xrPictureBox1.Name = "xrPictureBox1"; + this.xrPictureBox1.Scripts.OnBeforePrint = "xrPictureBox1_BeforePrint"; + this.xrPictureBox1.SizeF = new System.Drawing.SizeF(168.9817F, 56.33342F); + this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage; + this.xrPictureBox1.StylePriority.UseBorders = false; // - // xrTableCell15 + // xrLabel2 // - this.xrTableCell15.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); - this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { - new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.GoalList")}); - this.xrTableCell15.Name = "xrTableCell15"; - this.xrTableCell15.StylePriority.UseBorders = false; - this.xrTableCell15.StylePriority.UseTextAlignment = false; - this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; - this.xrTableCell15.Weight = 0.70525918695149692D; + this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeSignatureDate", "{0:dd.MM.yyyy}")}); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 72.4584F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(81.52954F, 23F); + this.xrLabel2.StylePriority.UseBorders = false; + this.xrLabel2.Text = "xrLabel2"; + // + // xrLabel3 + // + this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerSignatureDate", "{0:dd.MM.yyyy}")}); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(326.8747F, 72.4584F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(81.01852F, 23F); + this.xrLabel3.StylePriority.UseBorders = false; // // Stundenzettel // @@ -808,8 +805,8 @@ namespace BeWo.ChristopherusHaus this.Version = "17.1"; ((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); } @@ -826,7 +823,6 @@ namespace BeWo.ChristopherusHaus private DevExpress.XtraReports.UI.DetailBand Detail2; private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; private DevExpress.XtraReports.UI.XRLabel xrLabel1; - private DevExpress.XtraReports.UI.XRLabel xrLabel3; private DevExpress.XtraReports.UI.XRLabel xrLabel5; private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1; private DevExpress.XtraReports.UI.XRTableRow xrTableRow2; @@ -848,9 +844,6 @@ namespace BeWo.ChristopherusHaus private DevExpress.XtraReports.UI.XRTableCell xrTableCell6; private DevExpress.XtraReports.UI.XRTableCell xrTableCell7; private DevExpress.XtraReports.UI.XRLabel xrLabel12; - private DevExpress.XtraReports.UI.XRLabel xrLabel2; - private DevExpress.XtraReports.UI.XRLabel xrLabel14; - private DevExpress.XtraReports.UI.XRLabel rechnungsDatum; private DevExpress.XtraReports.UI.XRTable xrTable2; private DevExpress.XtraReports.UI.XRTableRow xrTableRow3; private DevExpress.XtraReports.UI.XRTableCell xrTableCell8; @@ -874,5 +867,9 @@ namespace BeWo.ChristopherusHaus private DevExpress.XtraReports.UI.XRTableCell xrTableCell12; private DevExpress.XtraReports.UI.XRTableCell xrTableCell14; private DevExpress.XtraReports.UI.XRTableCell xrTableCell15; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox2; + private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; } }