<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.0" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="0" />
    <DataSources isList="true" count="1">
      <tmp Ref="2" type="DataTableSource" isKey="true">
        <Alias>tmp</Alias>
        <Columns isList="true" count="3">
          <value>doctor_id,System.String</value>
          <value>doctor_name,System.String</value>
          <value>tno,System.Int64</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>tmp</Name>
        <NameInSource>NewDataSet.tmp</NameInSource>
      </tmp>
    </DataSources>
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Variables isList="true" count="0" />
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="1">
    <Page1 Ref="3" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="4">
        <PageHeaderBand1 Ref="4" type="PageHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,19,2.4</ClientRectangle>
          <Components isList="true" count="5">
            <Text8 Ref="5" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>5,0.2,8,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75,Bold,Point,False,222</Font>
              <Guid>3f7b851254234b388a6df09f94cf8620</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text8</Name>
              <Page isRef="3" />
              <Parent isRef="4" />
              <Text>รายงานผู้ป่วยส่งกลับ จำแนกตามแพทย์ผู้สั่ง</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text8>
            <Text23 Ref="6" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>15.2,0.2,3.4,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75,Regular,Point,False,222</Font>
              <Guid>e99b7a2a628c49f4ab3ab27bf5e56f2a</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text23</Name>
              <Page isRef="3" />
              <Parent isRef="4" />
              <Text>หน้า {PageNumber} / {TotalPageCount}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text23>
            <Text1 Ref="7" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>1.8,1.4,1.2,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75</Font>
              <Guid>84822b21a1e348c4bd4058fdf457b30b</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text1</Name>
              <Page isRef="3" />
              <Parent isRef="4" />
              <Text>แพทย์</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text1>
            <Text2 Ref="8" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>12,1.4,1.4,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75</Font>
              <Guid>232cd370501c46108b8b1bbccbb7eaf5</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text2</Name>
              <Page isRef="3" />
              <Parent isRef="4" />
              <Text>จำนวน</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text2>
            <HorizontalLinePrimitive1 Ref="9" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>0.8,2.2,13.6,0.0254</ClientRectangle>
              <Color>Black</Color>
              <EndCap Ref="10" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Name>HorizontalLinePrimitive1</Name>
              <Page isRef="3" />
              <Parent isRef="4" />
              <StartCap Ref="11" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLinePrimitive1>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>PageHeaderBand1</Name>
          <Page isRef="3" />
          <Parent isRef="3" />
        </PageHeaderBand1>
        <PageFooterBand1 Ref="12" type="PageFooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,26.9,19,0.8</ClientRectangle>
          <Components isList="true" count="0" />
          <Conditions isList="true" count="0" />
          <Name>PageFooterBand1</Name>
          <Page isRef="3" />
          <Parent isRef="3" />
        </PageFooterBand1>
        <DataBand1 Ref="13" type="DataBand" isKey="true">
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,3.6,19,0.8</ClientRectangle>
          <Components isList="true" count="2">
            <Text3 Ref="14" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>1.8,0,8.2,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75</Font>
              <Guid>84ff5d95081949f6905d5a0ce9b43301</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text3</Name>
              <Page isRef="3" />
              <Parent isRef="13" />
              <Text>{tmp.doctor_id} | {tmp.doctor_name}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text3>
            <Text4 Ref="15" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>11.2,0,2.2,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75</Font>
              <Guid>76f26d64ded046538cb5c7a7ada1e5d3</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text4</Name>
              <Page isRef="3" />
              <Parent isRef="13" />
              <Text>{tmp.tno}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text4>
          </Components>
          <Conditions isList="true" count="0" />
          <DataRelationName isNull="true" />
          <DataSourceName>tmp</DataSourceName>
          <Filters isList="true" count="0" />
          <Name>DataBand1</Name>
          <Page isRef="3" />
          <Parent isRef="3" />
          <Sort isList="true" count="0" />
        </DataBand1>
        <ReportSummaryBand1 Ref="16" type="ReportSummaryBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,5.2,19,1.6</ClientRectangle>
          <Components isList="true" count="4">
            <Text5 Ref="17" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>7.8,0.4,1.2,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75</Font>
              <Guid>5451d453ec5a4d46ac42d79d7e3563e0</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text5</Name>
              <Page isRef="3" />
              <Parent isRef="16" />
              <Text>รวม</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text5>
            <Text6 Ref="18" type="Text" isKey="true">
              <AutoWidth>True</AutoWidth>
              <Brush>Transparent</Brush>
              <ClientRectangle>10.4,0.4,3,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>AngsanaUPC,15.75,Bold</Font>
              <Guid>13dc7056ec5d4c1abe608accfa326f50</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text6</Name>
              <Page isRef="3" />
              <Parent isRef="16" />
              <Text>{cSum(DataBand1,tmp.tno)}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text6>
            <HorizontalLinePrimitive2 Ref="19" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>0.8,0.2,13.6,0.0254</ClientRectangle>
              <Color>Black</Color>
              <EndCap Ref="20" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Guid>1e006b9907f8416ea05400c4d182d6ce</Guid>
              <Name>HorizontalLinePrimitive2</Name>
              <Page isRef="3" />
              <Parent isRef="16" />
              <StartCap Ref="21" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLinePrimitive2>
            <HorizontalLinePrimitive3 Ref="22" type="HorizontalLinePrimitive" isKey="true">
              <ClientRectangle>6.8,1.2,7.6,0.0254</ClientRectangle>
              <Color>Black</Color>
              <EndCap Ref="23" type="Cap" isKey="true">
                <Color>Black</Color>
              </EndCap>
              <Guid>080aa89dae5847c29ffc967230b90bc2</Guid>
              <Name>HorizontalLinePrimitive3</Name>
              <Page isRef="3" />
              <Parent isRef="16" />
              <StartCap Ref="24" type="Cap" isKey="true">
                <Color>Black</Color>
              </StartCap>
            </HorizontalLinePrimitive3>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>ReportSummaryBand1</Name>
          <Page isRef="3" />
          <Parent isRef="3" />
        </ReportSummaryBand1>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>52d347c3b9bd4c559759e8da023e64be</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="25" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
  </Pages>
  <PrinterSettings Ref="26" type="Stimulsoft.Report.Print.StiPrinterSettings" isKey="true" />
  <ReferencedAssemblies isList="true" count="8">
    <value>System.Dll</value>
    <value>System.Drawing.Dll</value>
    <value>System.Windows.Forms.Dll</value>
    <value>System.Data.Dll</value>
    <value>System.Xml.Dll</value>
    <value>Stimulsoft.Controls.Dll</value>
    <value>Stimulsoft.Base.Dll</value>
    <value>Stimulsoft.Report.Dll</value>
  </ReferencedAssemblies>
  <ReportAlias>Report</ReportAlias>
  <ReportChanged>4/4/2011 12:42:40 AM</ReportChanged>
  <ReportCreated>2/13/2011 2:23:29 AM</ReportCreated>
  <ReportFile>C:\#dot Net\VC#2010\ReferLink\ReferLink\bin\Debug\reports\referback_doctor.mrt</ReportFile>
  <ReportGuid>6cf237f20ea3449f8daed541a88aaaa5</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2010.3.900</ReportVersion>
  <Script>using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.Dialogs;
using Stimulsoft.Report.Components;

namespace Reports
{
    public class Report : Stimulsoft.Report.StiReport
    {
        public Report()
        {
            this.InitializeComponent();
        }

        #region StiReport Designer generated code - do not modify
        #endregion StiReport Designer generated code - do not modify
    }
}
</Script>
  <ScriptLanguage>CSharp</ScriptLanguage>
  <Styles isList="true" count="0" />
</StiSerializer>