MH: Forum Seitennummerierung

This commit is contained in:
Marcel Hirschle
2022-10-27 14:59:57 +02:00
parent bf94d56c37
commit a0f390493d
6 changed files with 91 additions and 46 deletions

View File

@@ -557,6 +557,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Wetterleuchten", "ReportImp
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FortisNova", "ReportImp\FortisNova\FortisNova.csproj", "{F38B83C7-A8EF-48EA-8B5B-9395174AA8AF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ForumEV", "ReportImp\ForumEV\ForumEV.csproj", "{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|.NET = Debug|.NET
@@ -4400,6 +4402,22 @@ Global
{F38B83C7-A8EF-48EA-8B5B-9395174AA8AF}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{F38B83C7-A8EF-48EA-8B5B-9395174AA8AF}.Release|x86.ActiveCfg = Release|Any CPU
{F38B83C7-A8EF-48EA-8B5B-9395174AA8AF}.Release|x86.Build.0 = Release|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Debug|.NET.ActiveCfg = Debug|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Debug|.NET.Build.0 = Debug|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Debug|x86.ActiveCfg = Debug|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Debug|x86.Build.0 = Debug|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Release|.NET.ActiveCfg = Release|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Release|.NET.Build.0 = Release|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Release|Any CPU.Build.0 = Release|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Release|x86.ActiveCfg = Release|Any CPU
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -4674,6 +4692,7 @@ Global
{8725A58B-AB80-4906-9B13-2D4144FF09EA} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{05241EF6-386F-4214-A0C8-DD08E5112BDE} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{F38B83C7-A8EF-48EA-8B5B-9395174AA8AF} = {D8A691C5-146D-4613-86CC-438F02FE9106}
{FB62ADF8-6CE8-44B5-9828-D9E31E7A5D2B} = {D8A691C5-146D-4613-86CC-438F02FE9106}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FBE985BB-9F0F-4DBB-8F94-ABC37A803FF9}

View File

@@ -62,9 +62,10 @@ namespace ForumEV
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPictureBox3 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
@@ -120,14 +121,14 @@ namespace ForumEV
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
this.fieldKontaktArt = new DevExpress.XtraReports.UI.CalculatedField();
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
this.lblPage = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -538,10 +539,6 @@ namespace ForumEV
this.xrTableCell49.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell49.Weight = 0.44692737430167606D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
@@ -567,6 +564,42 @@ namespace ForumEV
this.ReportHeader.HeightF = 214.6528F;
this.ReportHeader.Name = "ReportHeader";
//
// xrLabel19
//
this.xrLabel19.BackColor = System.Drawing.Color.Gainsboro;
this.xrLabel19.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel19.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(49.36113F, 150.8194F);
this.xrLabel19.Name = "xrLabel19";
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrLabel19.SizeF = new System.Drawing.SizeF(120.6389F, 41.33336F);
this.xrLabel19.StylePriority.UseBackColor = false;
this.xrLabel19.StylePriority.UseBorders = false;
this.xrLabel19.StylePriority.UseFont = false;
this.xrLabel19.StylePriority.UsePadding = false;
this.xrLabel19.StylePriority.UseTextAlignment = false;
this.xrLabel19.Text = "Verantwortliche Mitarbeiter/in";
this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel20
//
this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel20.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(170F, 150.8194F);
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrLabel20.SizeF = new System.Drawing.SizeF(209.3611F, 41.33336F);
this.xrLabel20.StylePriority.UseBackColor = false;
this.xrLabel20.StylePriority.UseBorders = false;
this.xrLabel20.StylePriority.UseFont = false;
this.xrLabel20.StylePriority.UsePadding = false;
this.xrLabel20.StylePriority.UseTextAlignment = false;
this.xrLabel20.Text = "[MainAttendant]";
this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrPictureBox3
//
this.xrPictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox3.Image")));
@@ -757,7 +790,9 @@ namespace ForumEV
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 30F;
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.lblPage});
this.bottomMarginBand1.HeightF = 56.87497F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// GroupFooter1
@@ -781,9 +816,10 @@ namespace ForumEV
this.xrLabel1,
this.xrPictureBox1,
this.xrLabel17});
this.GroupFooter1.HeightF = 270F;
this.GroupFooter1.HeightF = 305.4167F;
this.GroupFooter1.KeepTogether = true;
this.GroupFooter1.Name = "GroupFooter1";
this.GroupFooter1.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
//
// xrLabel18
//
@@ -818,7 +854,7 @@ namespace ForumEV
this.lblUnterschriftKlient.StylePriority.UseFont = false;
this.lblUnterschriftKlient.StylePriority.UsePadding = false;
this.lblUnterschriftKlient.StylePriority.UseTextAlignment = false;
this.lblUnterschriftKlient.Text = "Datum, Unterschrift Klient/in";
this.lblUnterschriftKlient.Text = "Datum, Unterschrift ([CustomerName])";
this.lblUnterschriftKlient.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// lblUnterschriftMitarbeiter
@@ -1239,41 +1275,24 @@ namespace ForumEV
this.fieldKontaktArt.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldKontaktArt.Name = "fieldKontaktArt";
//
// xrLabel19
// lblPage
//
this.xrLabel19.BackColor = System.Drawing.Color.Gainsboro;
this.xrLabel19.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel19.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(49.36113F, 150.8194F);
this.xrLabel19.Name = "xrLabel19";
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrLabel19.SizeF = new System.Drawing.SizeF(120.6389F, 41.33336F);
this.xrLabel19.StylePriority.UseBackColor = false;
this.xrLabel19.StylePriority.UseBorders = false;
this.xrLabel19.StylePriority.UseFont = false;
this.xrLabel19.StylePriority.UsePadding = false;
this.xrLabel19.StylePriority.UseTextAlignment = false;
this.xrLabel19.Text = "Verantwortliche Mitarbeiter/in";
this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.lblPage.Font = new System.Drawing.Font("Arial", 10F);
this.lblPage.LocationFloat = new DevExpress.Utils.PointFloat(417.8055F, 0F);
this.lblPage.Name = "lblPage";
this.lblPage.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.lblPage.SizeF = new System.Drawing.SizeF(321.6388F, 24.04162F);
this.lblPage.StylePriority.UseBackColor = false;
this.lblPage.StylePriority.UseBorders = false;
this.lblPage.StylePriority.UseFont = false;
this.lblPage.StylePriority.UsePadding = false;
this.lblPage.StylePriority.UseTextAlignment = false;
this.lblPage.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.lblPage.PrintOnPage += new DevExpress.XtraReports.UI.PrintOnPageEventHandler(this.lblPage_PrintOnPage);
//
// xrLabel20
// bindingSource1
//
this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel20.Font = new System.Drawing.Font("Arial", 10F);
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(170F, 150.8194F);
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrLabel20.SizeF = new System.Drawing.SizeF(209.3611F, 41.33336F);
this.xrLabel20.StylePriority.UseBackColor = false;
this.xrLabel20.StylePriority.UseBorders = false;
this.xrLabel20.StylePriority.UseFont = false;
this.xrLabel20.StylePriority.UsePadding = false;
this.xrLabel20.StylePriority.UseTextAlignment = false;
this.xrLabel20.Text = "[MainAttendant]";
this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServicesOverviewRO);
//
// Quittierungsbeleg
//
@@ -1293,17 +1312,17 @@ namespace ForumEV
this.formattingRuleServiceDesc,
this.formattingRuleCostBearer,
this.formattingRuleEmployeeName});
this.Margins = new System.Drawing.Printing.Margins(50, 30, 70, 30);
this.Margins = new System.Drawing.Printing.Margins(50, 30, 70, 57);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableAbwesenheiten)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
@@ -1401,5 +1420,6 @@ namespace ForumEV
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox3;
private DevExpress.XtraReports.UI.XRLabel xrLabel19;
private DevExpress.XtraReports.UI.XRLabel xrLabel20;
private DevExpress.XtraReports.UI.XRLabel lblPage;
}
}

View File

@@ -19,7 +19,7 @@ namespace ForumEV
public void SetReportDataSource(ServicesOverviewRO pRO)
{
// Get calling method name
//StackTrace stackTrace = new StackTrace();
//Debug.WriteLine(stackTrace.GetFrame(1).GetMethod().Name);
@@ -184,5 +184,10 @@ namespace ForumEV
return Image.FromStream(memoryStream);
}
}
private void lblPage_PrintOnPage(object sender, PrintOnPageEventArgs e)
{
lblPage.Text = String.Format("Seite {0} von {1}", e.PageIndex + 1, e.PageCount);
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@@ -175,6 +175,7 @@
<EmbeddedResource Include="OverlappingServiceRecords.resx">
<DependentUpon>OverlappingServiceRecords.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Quittierungsbeleg.resx">
<DependentUpon>Quittierungsbeleg.cs</DependentUpon>
<SubType>Designer</SubType>