BarcodePageReport.frx
3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReferencedAssemblies="System.dll System.Core.dll System.Drawing.dll System.Windows.Forms.dll System.Data.dll System.Xml.dll Sungero.Domain.Shared Sungero.CoreEntities.Shared Sungero.Reporting.Shared CommonLibrary Sungero.Domain.Interfaces Sungero.Docflow.Shared Sungero.Docflow.Server" ReportInfo.CreatorVersion="2020.2.12.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
using Sungero.Domain.Shared;
using Sungero.CoreEntities;
using Sungero.Core;
using Resources = Sungero.Docflow.Reports.Resources;
namespace FastReport
{
public class ReportScript
{
private void _Text1AfterData(object sender, EventArgs e)
{
if (Length(Text1.Text) > 23)
Text1.HorzAlign = HorzAlign.Left;
}
}
}
</ScriptText>
<Dictionary>
<SungeroSqlDataConnection Name="Sungero_Connection" Restrictions="DontModify, DontEdit, DontDelete, HideAllProperties" ConnectionStringExpression="[SungeroConnectionString]"/>
<SungeroParameter Name="SungeroConnectionString" Restrictions="DontModify, DontEdit, DontDelete, HideAllProperties, DontShow" Id="17b1b363-d6a5-44c7-bc16-b8db1a3dc4b6" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="barcode" Id="096c51f2-efb2-4a96-a68c-8cd4f920e2f8" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
<SungeroParameter Name="barcodeName" Id="4af5c72f-b973-4865-9ef2-8ff8ad65ebb4" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
</Dictionary>
<ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
<ReportTitleBand Name="ReportTitle1" Width="718.2"/>
<PageHeaderBand Name="PageHeader1" Top="4" Width="718.2" Height="113.4">
<TextObject Name="Text1" Left="-4.91" Top="56.7" Width="179.55" Height="18.9" CanGrow="true" AfterDataEvent="_Text1AfterData" Text="[barcodeName]" HorzAlign="Center" Font="Arial, 9pt"/>
<BarcodeObject Name="Barcode1" Left="-9.45" Width="189" Height="47.25" AutoSize="false" Expression="[barcode]" ShowText="false" Zoom="0.75" AllowExpressions="true" Barcode="Code128" Barcode.AutoEncode="true"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="121.4" Width="718.2" Height="75.6"/>
<PageFooterBand Name="PageFooter1" Top="201" Width="718.2" Height="18.9"/>
</ReportPage>
</Report>