MH: SKM Rheydt Briefpapier
This commit is contained in:
138
ReportImp/skmRheydt/ServiceInvoiceReport.Designer.cs
generated
138
ReportImp/skmRheydt/ServiceInvoiceReport.Designer.cs
generated
@@ -33,12 +33,16 @@ namespace SkmRheydt
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.richTextSenderAdress = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.richTextHeaderRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pictureBoxLogoMg = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.pictureBoxLogoRy = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.richTextHeaderMg = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.richTextFooterMg = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.richTextFooterRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
|
||||
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
|
||||
@@ -64,6 +68,7 @@ namespace SkmRheydt
|
||||
this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -85,23 +90,17 @@ namespace SkmRheydt
|
||||
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.richTextFooterMg = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.richTextFooterRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pictureBoxLogoMg = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.richTextHeaderRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.richTextSenderAdress = new DevExpress.XtraReports.UI.XRRichText();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextSenderAdress)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderRy)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderMg)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterMg)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterRy)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterMg)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterRy)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderRy)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextSenderAdress)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -118,12 +117,35 @@ namespace SkmRheydt
|
||||
this.richTextHeaderRy,
|
||||
this.pictureBoxLogoMg,
|
||||
this.lblAdresse,
|
||||
this.pictureBoxLogoRy,
|
||||
this.richTextHeaderMg});
|
||||
this.ReportHeader.HeightF = 358.7917F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// richTextSenderAdress
|
||||
//
|
||||
this.richTextSenderAdress.CanShrink = true;
|
||||
this.richTextSenderAdress.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104.37F);
|
||||
this.richTextSenderAdress.Name = "richTextSenderAdress";
|
||||
this.richTextSenderAdress.SerializableRtfString = resources.GetString("richTextSenderAdress.SerializableRtfString");
|
||||
this.richTextSenderAdress.SizeF = new System.Drawing.SizeF(413.125F, 18.75F);
|
||||
//
|
||||
// richTextHeaderRy
|
||||
//
|
||||
this.richTextHeaderRy.LocationFloat = new DevExpress.Utils.PointFloat(486.4582F, 98.12001F);
|
||||
this.richTextHeaderRy.Name = "richTextHeaderRy";
|
||||
this.richTextHeaderRy.SerializableRtfString = resources.GetString("richTextHeaderRy.SerializableRtfString");
|
||||
this.richTextHeaderRy.SizeF = new System.Drawing.SizeF(233.5415F, 250.255F);
|
||||
this.richTextHeaderRy.Visible = false;
|
||||
//
|
||||
// pictureBoxLogoMg
|
||||
//
|
||||
this.pictureBoxLogoMg.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pictureBoxLogoMg.ImageSource"));
|
||||
this.pictureBoxLogoMg.LocationFloat = new DevExpress.Utils.PointFloat(486.4583F, 0F);
|
||||
this.pictureBoxLogoMg.Name = "pictureBoxLogoMg";
|
||||
this.pictureBoxLogoMg.SizeF = new System.Drawing.SizeF(95.61945F, 89.36F);
|
||||
this.pictureBoxLogoMg.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// lblAdresse
|
||||
//
|
||||
this.lblAdresse.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
@@ -136,15 +158,6 @@ namespace SkmRheydt
|
||||
this.lblAdresse.StylePriority.UseBorders = false;
|
||||
this.lblAdresse.StylePriority.UseFont = false;
|
||||
//
|
||||
// pictureBoxLogoRy
|
||||
//
|
||||
this.pictureBoxLogoRy.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pictureBoxLogoRy.ImageSource"));
|
||||
this.pictureBoxLogoRy.LocationFloat = new DevExpress.Utils.PointFloat(430.56F, 0F);
|
||||
this.pictureBoxLogoRy.Name = "pictureBoxLogoRy";
|
||||
this.pictureBoxLogoRy.SizeF = new System.Drawing.SizeF(247F, 89.36F);
|
||||
this.pictureBoxLogoRy.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
this.pictureBoxLogoRy.Visible = false;
|
||||
//
|
||||
// richTextHeaderMg
|
||||
//
|
||||
this.richTextHeaderMg.LocationFloat = new DevExpress.Utils.PointFloat(488.46F, 98.12001F);
|
||||
@@ -170,6 +183,25 @@ namespace SkmRheydt
|
||||
this.bottomMarginBand1.HeightF = 95.19176F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// richTextFooterMg
|
||||
//
|
||||
this.richTextFooterMg.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.richTextFooterMg.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.richTextFooterMg.Name = "richTextFooterMg";
|
||||
this.richTextFooterMg.SerializableRtfString = resources.GetString("richTextFooterMg.SerializableRtfString");
|
||||
this.richTextFooterMg.SizeF = new System.Drawing.SizeF(665.0014F, 73.85818F);
|
||||
this.richTextFooterMg.StylePriority.UseBorders = false;
|
||||
//
|
||||
// richTextFooterRy
|
||||
//
|
||||
this.richTextFooterRy.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.richTextFooterRy.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.richTextFooterRy.Name = "richTextFooterRy";
|
||||
this.richTextFooterRy.SerializableRtfString = resources.GetString("richTextFooterRy.SerializableRtfString");
|
||||
this.richTextFooterRy.SizeF = new System.Drawing.SizeF(665.0014F, 73.85818F);
|
||||
this.richTextFooterRy.StylePriority.UseBorders = false;
|
||||
this.richTextFooterRy.Visible = false;
|
||||
//
|
||||
// DetailReport
|
||||
//
|
||||
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -466,6 +498,10 @@ namespace SkmRheydt
|
||||
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell58.Weight = 0.30633278705788769D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -640,53 +676,6 @@ namespace SkmRheydt
|
||||
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
|
||||
this.xrTableCell4.Weight = 0.46204620462046225D;
|
||||
//
|
||||
// richTextFooterMg
|
||||
//
|
||||
this.richTextFooterMg.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.richTextFooterMg.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.richTextFooterMg.Name = "richTextFooterMg";
|
||||
this.richTextFooterMg.SerializableRtfString = resources.GetString("richTextFooterMg.SerializableRtfString");
|
||||
this.richTextFooterMg.SizeF = new System.Drawing.SizeF(665.0014F, 73.85818F);
|
||||
this.richTextFooterMg.StylePriority.UseBorders = false;
|
||||
//
|
||||
// richTextFooterRy
|
||||
//
|
||||
this.richTextFooterRy.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.richTextFooterRy.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.richTextFooterRy.Name = "richTextFooterRy";
|
||||
this.richTextFooterRy.SerializableRtfString = resources.GetString("richTextFooterRy.SerializableRtfString");
|
||||
this.richTextFooterRy.SizeF = new System.Drawing.SizeF(665.0014F, 73.85818F);
|
||||
this.richTextFooterRy.StylePriority.UseBorders = false;
|
||||
this.richTextFooterRy.Visible = false;
|
||||
//
|
||||
// pictureBoxLogoMg
|
||||
//
|
||||
this.pictureBoxLogoMg.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pictureBoxLogoMg.ImageSource"));
|
||||
this.pictureBoxLogoMg.LocationFloat = new DevExpress.Utils.PointFloat(486.4583F, 0F);
|
||||
this.pictureBoxLogoMg.Name = "pictureBoxLogoMg";
|
||||
this.pictureBoxLogoMg.SizeF = new System.Drawing.SizeF(95.61945F, 89.36F);
|
||||
this.pictureBoxLogoMg.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// richTextHeaderRy
|
||||
//
|
||||
this.richTextHeaderRy.LocationFloat = new DevExpress.Utils.PointFloat(486.4582F, 98.12001F);
|
||||
this.richTextHeaderRy.Name = "richTextHeaderRy";
|
||||
this.richTextHeaderRy.SerializableRtfString = resources.GetString("richTextHeaderRy.SerializableRtfString");
|
||||
this.richTextHeaderRy.SizeF = new System.Drawing.SizeF(233.5415F, 250.255F);
|
||||
this.richTextHeaderRy.Visible = false;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceInvoiceRO);
|
||||
//
|
||||
// richTextSenderAdress
|
||||
//
|
||||
this.richTextSenderAdress.CanShrink = true;
|
||||
this.richTextSenderAdress.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104.37F);
|
||||
this.richTextSenderAdress.Name = "richTextSenderAdress";
|
||||
this.richTextSenderAdress.SerializableRtfString = resources.GetString("richTextSenderAdress.SerializableRtfString");
|
||||
this.richTextSenderAdress.SizeF = new System.Drawing.SizeF(413.125F, 18.75F);
|
||||
//
|
||||
// ServiceInvoiceReport
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -707,17 +696,17 @@ namespace SkmRheydt
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextSenderAdress)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderRy)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderMg)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterMg)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterRy)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterMg)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterRy)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderRy)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextSenderAdress)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -735,7 +724,6 @@ namespace SkmRheydt
|
||||
private DevExpress.XtraReports.UI.DetailBand Detail3;
|
||||
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox pictureBoxLogoRy;
|
||||
private DevExpress.XtraReports.UI.XRRichText richTextHeaderMg;
|
||||
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
|
||||
private DevExpress.XtraReports.UI.XRTable xrTable2;
|
||||
|
||||
@@ -16,17 +16,15 @@ namespace SkmRheydt
|
||||
|
||||
public void SetReportDataSource(ServiceInvoiceRO pRO)
|
||||
{
|
||||
// ab Februar 2026 smk moenchengladbach, vorher smk rheydt
|
||||
// ab Februar 2026 skm moenchengladbach, vorher skm rheydt
|
||||
if (pRO.InvoiceBase != null && pRO.InvoiceBase.InvoiceDate < new DateTime(2026, 02, 01))
|
||||
{
|
||||
pictureBoxLogoMg.Visible = false;
|
||||
richTextHeaderMg.Visible = false;
|
||||
richTextFooterMg.Visible = false;
|
||||
pictureBoxLogoRy.Visible = true;
|
||||
richTextHeaderRy.Visible = true;
|
||||
richTextFooterRy.Visible = true;
|
||||
|
||||
richTextSenderAdress.Visible = false;
|
||||
richTextSenderAdress.Text = richTextSenderAdress.Text.Replace("Mönchengladbach", "Rheydt");
|
||||
}
|
||||
|
||||
if (!String.IsNullOrEmpty(pRO.SenderContactPersonMail))
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -58,7 +58,6 @@ namespace SkmRheydt
|
||||
this.richTextHeaderRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pictureBoxLogoMg = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.richTextHeaderMg = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pictureBoxLogoRy = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.cellTitel = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
@@ -360,7 +359,6 @@ namespace SkmRheydt
|
||||
this.richTextHeaderRy,
|
||||
this.pictureBoxLogoMg,
|
||||
this.richTextHeaderMg,
|
||||
this.pictureBoxLogoRy,
|
||||
this.xrTable1});
|
||||
this.ReportHeader.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
|
||||
this.ReportHeader.HeightF = 277.1995F;
|
||||
@@ -396,17 +394,6 @@ namespace SkmRheydt
|
||||
this.richTextHeaderMg.SizeF = new System.Drawing.SizeF(233.5414F, 175.64F);
|
||||
this.richTextHeaderMg.StylePriority.UseBorders = false;
|
||||
//
|
||||
// pictureBoxLogoRy
|
||||
//
|
||||
this.pictureBoxLogoRy.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
this.pictureBoxLogoRy.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pictureBoxLogoRy.ImageSource"));
|
||||
this.pictureBoxLogoRy.LocationFloat = new DevExpress.Utils.PointFloat(400.2085F, 0F);
|
||||
this.pictureBoxLogoRy.Name = "pictureBoxLogoRy";
|
||||
this.pictureBoxLogoRy.SizeF = new System.Drawing.SizeF(247F, 89.36F);
|
||||
this.pictureBoxLogoRy.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
this.pictureBoxLogoRy.StylePriority.UseBorders = false;
|
||||
this.pictureBoxLogoRy.Visible = false;
|
||||
//
|
||||
// xrTable1
|
||||
//
|
||||
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
|
||||
@@ -828,7 +815,6 @@ namespace SkmRheydt
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox pictureBoxLogoRy;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
|
||||
private DevExpress.XtraReports.UI.XRRichText richTextHeaderMg;
|
||||
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
|
||||
|
||||
@@ -22,13 +22,11 @@ namespace SkmRheydt
|
||||
cellTitel.Text = "Leistungsnachweis nach BeWo §67";
|
||||
}
|
||||
|
||||
// ab Februar 2026 smk moenchengladbach, vorher smk rheydt
|
||||
// ab Februar 2026 smk moenchengladbach text, vorher smk rheydt. Logo bleibt skm MG
|
||||
if (pRO.StartDate < new DateTime(2026, 02, 01))
|
||||
{
|
||||
pictureBoxLogoMg.Visible = false;
|
||||
richTextHeaderMg.Visible = false;
|
||||
richTextFooterMg.Visible = false;
|
||||
pictureBoxLogoRy.Visible = true;
|
||||
richTextHeaderRy.Visible = true;
|
||||
richTextFooterRy.Visible = true;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
140
ReportImp/skmRheydt/SettlementReport2.Designer.cs
generated
140
ReportImp/skmRheydt/SettlementReport2.Designer.cs
generated
@@ -33,15 +33,19 @@ namespace SkmRheydt
|
||||
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
|
||||
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
|
||||
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
|
||||
this.richTextSenderAdress = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.richTextHeaderRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pictureBoxLogoMg = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.lblAdresse = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.richTextHeaderMg = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pictureBoxLogoRy = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
|
||||
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
|
||||
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
|
||||
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
|
||||
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
|
||||
this.richTextFooterMg = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.richTextFooterRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
|
||||
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -83,6 +87,7 @@ namespace SkmRheydt
|
||||
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
|
||||
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
|
||||
this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
@@ -94,23 +99,17 @@ namespace SkmRheydt
|
||||
this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow();
|
||||
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
|
||||
this.richTextFooterMg = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.richTextFooterRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.pictureBoxLogoMg = new DevExpress.XtraReports.UI.XRPictureBox();
|
||||
this.richTextHeaderRy = new DevExpress.XtraReports.UI.XRRichText();
|
||||
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.richTextSenderAdress = new DevExpress.XtraReports.UI.XRRichText();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextSenderAdress)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderRy)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderMg)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterMg)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterRy)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterMg)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterRy)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderRy)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextSenderAdress)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
|
||||
//
|
||||
// Detail
|
||||
@@ -127,12 +126,35 @@ namespace SkmRheydt
|
||||
this.richTextHeaderRy,
|
||||
this.pictureBoxLogoMg,
|
||||
this.lblAdresse,
|
||||
this.richTextHeaderMg,
|
||||
this.pictureBoxLogoRy});
|
||||
this.richTextHeaderMg});
|
||||
this.ReportHeader.HeightF = 340F;
|
||||
this.ReportHeader.Name = "ReportHeader";
|
||||
this.ReportHeader.StylePriority.UseFont = false;
|
||||
//
|
||||
// richTextSenderAdress
|
||||
//
|
||||
this.richTextSenderAdress.CanShrink = true;
|
||||
this.richTextSenderAdress.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104.37F);
|
||||
this.richTextSenderAdress.Name = "richTextSenderAdress";
|
||||
this.richTextSenderAdress.SerializableRtfString = resources.GetString("richTextSenderAdress.SerializableRtfString");
|
||||
this.richTextSenderAdress.SizeF = new System.Drawing.SizeF(413.125F, 18.75F);
|
||||
//
|
||||
// richTextHeaderRy
|
||||
//
|
||||
this.richTextHeaderRy.LocationFloat = new DevExpress.Utils.PointFloat(488.4585F, 96.125F);
|
||||
this.richTextHeaderRy.Name = "richTextHeaderRy";
|
||||
this.richTextHeaderRy.SerializableRtfString = resources.GetString("richTextHeaderRy.SerializableRtfString");
|
||||
this.richTextHeaderRy.SizeF = new System.Drawing.SizeF(233.5415F, 236.8749F);
|
||||
this.richTextHeaderRy.Visible = false;
|
||||
//
|
||||
// pictureBoxLogoMg
|
||||
//
|
||||
this.pictureBoxLogoMg.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pictureBoxLogoMg.ImageSource"));
|
||||
this.pictureBoxLogoMg.LocationFloat = new DevExpress.Utils.PointFloat(486.4583F, 0F);
|
||||
this.pictureBoxLogoMg.Name = "pictureBoxLogoMg";
|
||||
this.pictureBoxLogoMg.SizeF = new System.Drawing.SizeF(95.61945F, 89.36F);
|
||||
this.pictureBoxLogoMg.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// lblAdresse
|
||||
//
|
||||
this.lblAdresse.Borders = DevExpress.XtraPrinting.BorderSide.None;
|
||||
@@ -152,15 +174,6 @@ namespace SkmRheydt
|
||||
this.richTextHeaderMg.SerializableRtfString = resources.GetString("richTextHeaderMg.SerializableRtfString");
|
||||
this.richTextHeaderMg.SizeF = new System.Drawing.SizeF(233.5415F, 236.8749F);
|
||||
//
|
||||
// pictureBoxLogoRy
|
||||
//
|
||||
this.pictureBoxLogoRy.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pictureBoxLogoRy.ImageSource"));
|
||||
this.pictureBoxLogoRy.LocationFloat = new DevExpress.Utils.PointFloat(430.5583F, 0F);
|
||||
this.pictureBoxLogoRy.Name = "pictureBoxLogoRy";
|
||||
this.pictureBoxLogoRy.SizeF = new System.Drawing.SizeF(247F, 89.36F);
|
||||
this.pictureBoxLogoRy.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
this.pictureBoxLogoRy.Visible = false;
|
||||
//
|
||||
// ruleRateFactorNull
|
||||
//
|
||||
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
|
||||
@@ -214,6 +227,25 @@ namespace SkmRheydt
|
||||
this.bottomMarginBand1.HeightF = 73.85818F;
|
||||
this.bottomMarginBand1.Name = "bottomMarginBand1";
|
||||
//
|
||||
// richTextFooterMg
|
||||
//
|
||||
this.richTextFooterMg.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.richTextFooterMg.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.richTextFooterMg.Name = "richTextFooterMg";
|
||||
this.richTextFooterMg.SerializableRtfString = resources.GetString("richTextFooterMg.SerializableRtfString");
|
||||
this.richTextFooterMg.SizeF = new System.Drawing.SizeF(665.0014F, 73.85818F);
|
||||
this.richTextFooterMg.StylePriority.UseBorders = false;
|
||||
//
|
||||
// richTextFooterRy
|
||||
//
|
||||
this.richTextFooterRy.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.richTextFooterRy.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.richTextFooterRy.Name = "richTextFooterRy";
|
||||
this.richTextFooterRy.SerializableRtfString = resources.GetString("richTextFooterRy.SerializableRtfString");
|
||||
this.richTextFooterRy.SizeF = new System.Drawing.SizeF(665.0014F, 73.85818F);
|
||||
this.richTextFooterRy.StylePriority.UseBorders = false;
|
||||
this.richTextFooterRy.Visible = false;
|
||||
//
|
||||
// GroupHeader1
|
||||
//
|
||||
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -620,6 +652,10 @@ namespace SkmRheydt
|
||||
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
|
||||
this.xrTableCell31.Weight = 0.18439219485560091D;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
//
|
||||
// GroupFooter1
|
||||
//
|
||||
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
|
||||
@@ -748,53 +784,6 @@ namespace SkmRheydt
|
||||
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
|
||||
this.xrTableCell58.Weight = 0.30633278705788769D;
|
||||
//
|
||||
// richTextFooterMg
|
||||
//
|
||||
this.richTextFooterMg.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.richTextFooterMg.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.richTextFooterMg.Name = "richTextFooterMg";
|
||||
this.richTextFooterMg.SerializableRtfString = resources.GetString("richTextFooterMg.SerializableRtfString");
|
||||
this.richTextFooterMg.SizeF = new System.Drawing.SizeF(665.0014F, 73.85818F);
|
||||
this.richTextFooterMg.StylePriority.UseBorders = false;
|
||||
//
|
||||
// richTextFooterRy
|
||||
//
|
||||
this.richTextFooterRy.Borders = DevExpress.XtraPrinting.BorderSide.Top;
|
||||
this.richTextFooterRy.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
|
||||
this.richTextFooterRy.Name = "richTextFooterRy";
|
||||
this.richTextFooterRy.SerializableRtfString = resources.GetString("richTextFooterRy.SerializableRtfString");
|
||||
this.richTextFooterRy.SizeF = new System.Drawing.SizeF(665.0014F, 73.85818F);
|
||||
this.richTextFooterRy.StylePriority.UseBorders = false;
|
||||
this.richTextFooterRy.Visible = false;
|
||||
//
|
||||
// pictureBoxLogoMg
|
||||
//
|
||||
this.pictureBoxLogoMg.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("pictureBoxLogoMg.ImageSource"));
|
||||
this.pictureBoxLogoMg.LocationFloat = new DevExpress.Utils.PointFloat(486.4583F, 0F);
|
||||
this.pictureBoxLogoMg.Name = "pictureBoxLogoMg";
|
||||
this.pictureBoxLogoMg.SizeF = new System.Drawing.SizeF(95.61945F, 89.36F);
|
||||
this.pictureBoxLogoMg.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
|
||||
//
|
||||
// richTextHeaderRy
|
||||
//
|
||||
this.richTextHeaderRy.LocationFloat = new DevExpress.Utils.PointFloat(488.4585F, 96.125F);
|
||||
this.richTextHeaderRy.Name = "richTextHeaderRy";
|
||||
this.richTextHeaderRy.SerializableRtfString = resources.GetString("richTextHeaderRy.SerializableRtfString");
|
||||
this.richTextHeaderRy.SizeF = new System.Drawing.SizeF(233.5415F, 236.8749F);
|
||||
this.richTextHeaderRy.Visible = false;
|
||||
//
|
||||
// bindingSource1
|
||||
//
|
||||
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.Settlement2RO);
|
||||
//
|
||||
// richTextSenderAdress
|
||||
//
|
||||
this.richTextSenderAdress.CanShrink = true;
|
||||
this.richTextSenderAdress.LocationFloat = new DevExpress.Utils.PointFloat(0F, 104.37F);
|
||||
this.richTextSenderAdress.Name = "richTextSenderAdress";
|
||||
this.richTextSenderAdress.SerializableRtfString = resources.GetString("richTextSenderAdress.SerializableRtfString");
|
||||
this.richTextSenderAdress.SizeF = new System.Drawing.SizeF(413.125F, 18.75F);
|
||||
//
|
||||
// Spitzabrechnung
|
||||
//
|
||||
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
|
||||
@@ -819,17 +808,17 @@ namespace SkmRheydt
|
||||
this.Version = "23.2";
|
||||
xrWatermark1.Id = "Watermark1";
|
||||
this.Watermarks.Add(xrWatermark1);
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextSenderAdress)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderRy)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderMg)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterMg)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterRy)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterMg)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextFooterRy)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextHeaderRy)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.richTextSenderAdress)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
|
||||
|
||||
}
|
||||
@@ -891,7 +880,6 @@ namespace SkmRheydt
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell35;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell38;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell39;
|
||||
private DevExpress.XtraReports.UI.XRPictureBox pictureBoxLogoRy;
|
||||
private DevExpress.XtraReports.UI.XRRichText richTextHeaderMg;
|
||||
private DevExpress.XtraReports.UI.XRLabel lblAdresse;
|
||||
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
|
||||
|
||||
@@ -19,17 +19,15 @@ namespace SkmRheydt
|
||||
|
||||
public void SetReportDataSource(Settlement2RO pRO)
|
||||
{
|
||||
// ab Februar 2026 smk moenchengladbach, vorher smk rheydt
|
||||
// ab Februar 2026 skm moenchengladbach, vorher skm rheydt
|
||||
if (pRO.InvoiceDate < new DateTime(2026, 02, 01))
|
||||
{
|
||||
pictureBoxLogoMg.Visible = false;
|
||||
richTextHeaderMg.Visible = false;
|
||||
richTextFooterMg.Visible = false;
|
||||
pictureBoxLogoRy.Visible = true;
|
||||
richTextHeaderRy.Visible = true;
|
||||
richTextFooterRy.Visible = true;
|
||||
|
||||
richTextSenderAdress.Visible = false;
|
||||
richTextSenderAdress.Text = richTextSenderAdress.Text.Replace("Mönchengladbach", "Rheydt");
|
||||
}
|
||||
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user