<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="08/30/2017 16:21:45" ReportInfo.Modified="04/03/2018 14:00:35" ReportInfo.CreatorVersion="2016.1.0.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;

namespace FastReport
{
  public class ReportScript
  {

    private void PageHeader1_AfterData(object sender, EventArgs e)
    {
      String data = ((String)Report.GetParameterValue(&quot;Parameter&quot;));
      String[] datas = data.Split('|');
      Text_kh.Text =datas[0];
      Text_mc.Text =datas[1];
      Text_ch.Text =datas[2];
      Text_sj.Text =datas[3];
      Text_lr.Text =datas[4];
      Text_cs.Text =datas[5];
    }  
  }
}
</ScriptText>
  <Dictionary>
    <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqLrsFCkq0pbnlrNLcvFVkCVz36UnLxRHvgKV5wrWz7Lvg1IFOQ9D9BrCqMoSCZSFsH4ojIy4nLXCN88PM+DUOuI0OzfGIQHMJPhtVMNqtlSG3BfpPatnrQVr91HI8qUh3dD8AYiq4uvxnq/FIfd6+dKr/4ckNjVcdOqOm780sza8=">
      <TableDataSource Name="Table" Alias="sys_user" DataType="System.Int32" Enabled="true" SelectCommand="SELECT [information_MingCheng]&#13;&#10;      ,[title]&#13;&#10;      ,[information_LianXiDianHua]&#13;&#10;      ,[information_LianXiDiZhi]&#13;&#10;      ,[companyName],[information_FuKuanFangShi]&#13;&#10;  FROM [sys_information]">
        <Column Name="information_MingCheng" DataType="System.String"/>
        <Column Name="title" DataType="System.String"/>
        <Column Name="information_LianXiDianHua" DataType="System.String"/>
        <Column Name="information_LianXiDiZhi" DataType="System.String"/>
        <Column Name="companyName" DataType="System.String"/>
        <Column Name="information_FuKuanFangShi" DataType="System.String"/>
      </TableDataSource>
    </MsSqlDataConnection>
    <Parameter Name="Parameter" DataType="System.String"/>
  </Dictionary>
  <ReportPage Name="Page1" PaperWidth="58" LeftMargin="3" RightMargin="3">
    <PageHeaderBand Name="PageHeader1" Width="196.56" Height="142.75" AfterDataEvent="PageHeader1_AfterData">
      <TextObject Name="Text1" Left="51.03" Top="9.45" Width="94.5" Height="18.9" Text="次卡消费小票" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text3" Left="-28.35" Top="66.48" Width="75.6" Height="18.9" Text="名称：" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text5" Left="-28.35" Top="95.16" Width="75.6" Height="18.9" Text="号码：" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text_mc" Left="47.25" Top="66.48" Width="141.75" Height="18.9" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text_ch" Left="47.25" Top="95.16" Width="141.75" Height="18.9" HorzAlign="Center" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text13" Left="-28.35" Top="37.8" Width="75.6" Height="18.9" Text="编号：" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text_kh" Left="47.25" Top="37.8" Width="141.75" Height="18.9" HorzAlign="Right" Font="宋体, 9pt"/>
      <TextObject Name="Text9" Left="-28.35" Top="123.85" Width="75.6" Height="18.9" Text="时间：" HorzAlign="Right" Font="宋体, 9pt"/>
      <TextObject Name="Text_sj" Left="47.25" Top="123.85" Width="141.75" Height="18.9" HorzAlign="Right" Font="宋体, 9pt"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="146.75" Width="196.56" Height="56.7">
      <TextObject Name="Text18" Top="37.8" Width="75.6" Height="18.9" Text="剩余次数：" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text_cs" Left="75.6" Top="37.8" Width="113.4" Height="18.9" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
      <TextObject Name="Text12" Top="10.45" Width="75.6" Height="18.9" Text="消费内容：" HorzAlign="Right" Font="宋体, 9pt"/>
      <TextObject Name="Text_lr" Left="75.6" Top="10.45" Width="113.4" Height="18.9" HorzAlign="Right" Font="宋体, 9pt"/>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="207.45" Width="196.56" Height="28.35">
      <TextObject Name="Text20" Top="9.45" Width="189" Height="18.9" Text="[sys_user.information_MingCheng]" HorzAlign="Right" VertAlign="Center" Font="宋体, 9pt"/>
    </PageFooterBand>
  </ReportPage>
</Report>
