68 lines
3.1 KiB
XML
68 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Report ScriptLanguage="Vb" ReportInfo.Created="11/28/2015 07:43:07" ReportInfo.Modified="02/18/2019 13:37:47" ReportInfo.CreatorVersion="2018.4.2.0">
|
|
<ScriptText>Imports System
|
|
Imports System.Collections
|
|
Imports System.Collections.Generic
|
|
Imports System.ComponentModel
|
|
Imports System.Windows.Forms
|
|
Imports System.Drawing
|
|
Imports Microsoft.VisualBasic
|
|
Imports FastReport
|
|
Imports FastReport.Data
|
|
Imports FastReport.Dialog
|
|
Imports FastReport.Table
|
|
Imports FastReport.Barcode
|
|
Imports FastReport.Utils
|
|
|
|
Namespace FastReport
|
|
Public Class ReportScript
|
|
|
|
|
|
Private Sub Picture1_BeforePrint(ByVal sender As object, ByVal e As EventArgs)
|
|
dim s as String()
|
|
dim pfad as string
|
|
pfad=""
|
|
s=report.FileName.Split("\")
|
|
dim i as integer
|
|
for i=0 to s.length-3
|
|
pfad=pfad+s(i)+"\"
|
|
next i
|
|
Dim ReportLogo as String
|
|
ReportLogo=pfad+"Logo\reportlogo.png"
|
|
picture1.ImageLocation=Reportlogo
|
|
End Sub
|
|
End Class
|
|
End Namespace
|
|
</ScriptText>
|
|
<Dictionary>
|
|
<TableDataSource Name="Daten" ReferenceName="Data.Daten" DataType="System.Int32" Enabled="true">
|
|
<Column Name="Behandlungsbeginn" DataType="System.DateTime"/>
|
|
<Column Name="Behandlungsende" DataType="System.DateTime"/>
|
|
<Column Name="Total" DataType="System.Double"/>
|
|
<Column Name="Patient" DataType="System.String"/>
|
|
<Column Name="Behandler" DataType="System.String"/>
|
|
<Column Name="Status" DataType="System.Int32"/>
|
|
<Column Name="aktiv" DataType="System.Boolean" BindableControl="CheckBox"/>
|
|
<Column Name="Nrbehandlung" DataType="System.Int32"/>
|
|
<Column Name="Bezeichnung" DataType="System.String"/>
|
|
<Column Name="Rabatt" DataType="System.Double"/>
|
|
<Column Name="Taxpunktwert" DataType="System.Double"/>
|
|
<Column Name="Nrpatient" DataType="System.Int32"/>
|
|
</TableDataSource>
|
|
<Parameter Name="Absender" DataType="System.String"/>
|
|
</Dictionary>
|
|
<ReportPage Name="Page1">
|
|
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="75.6">
|
|
<TextObject Name="Text1" Left="444.15" Width="255.15" Height="18.9" Text="Titel" HorzAlign="Right" Font="Arial, 10pt, style=Bold, Underline"/>
|
|
<TextObject Name="Text12" Left="349.65" Top="18.9" Width="349.65" Height="18.9" Text="[Absender]" HorzAlign="Right"/>
|
|
<PictureObject Name="Picture1" Left="9.45" Width="132.3" Height="66.15" BeforePrintEvent="Picture1_BeforePrint" ImageLocation="E:\Software-Projekte\DPM\DPM2016\DPM2016\bin\Debug\\Reporting\Logo\reportlogo.png"/>
|
|
</ReportTitleBand>
|
|
<PageHeaderBand Name="PageHeader1" Top="78.46" Width="718.2" Height="28.35"/>
|
|
<DataBand Name="Data1" Top="109.66" Width="718.2" Height="18.9" DataSource="Daten"/>
|
|
<PageFooterBand Name="PageFooter1" Top="131.42" Width="718.2" Height="37.8">
|
|
<TextObject Name="Text10" Left="9.45" Top="9.45" Width="170.1" Height="18.9" Text="[Date]"/>
|
|
<TextObject Name="Text11" Left="604.8" Top="9.45" Width="94.5" Height="18.9" Text="[Page#]" HorzAlign="Right"/>
|
|
</PageFooterBand>
|
|
</ReportPage>
|
|
</Report>
|