﻿<?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="1">
      <Demo Ref="2" type="Stimulsoft.Report.Dictionary.StiXmlDatabase" isKey="true">
        <Alias>Demo</Alias>
        <Name>Demo</Name>
        <PathData>E:\Demo.xml</PathData>
        <PathSchema>E:\Demo.xsd</PathSchema>
      </Demo>
    </Databases>
    <DataSources isList="true" count="9">
      <Categories Ref="3" type="DataTableSource" isKey="true">
        <Alias>Categories</Alias>
        <Columns isList="true" count="3">
          <value>CategoryID,System.Int32</value>
          <value>CategoryName,System.String</value>
          <value>Description,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Categories</Name>
        <NameInSource>Demo.Categories</NameInSource>
      </Categories>
      <Countries Ref="4" type="DataTableSource" isKey="true">
        <Alias>Countries</Alias>
        <Columns isList="true" count="3">
          <value>CountriesID,System.Int32</value>
          <value>Flag,System.Byte[]</value>
          <value>CountryName,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Countries</Name>
        <NameInSource>Demo.Countries</NameInSource>
      </Countries>
      <Customers Ref="5" type="DataTableSource" isKey="true">
        <Alias>Customers</Alias>
        <Columns isList="true" count="11">
          <value>CustomerID,System.String</value>
          <value>CompanyName,System.String</value>
          <value>ContactName,System.String</value>
          <value>ContactTitle,System.String</value>
          <value>Address,System.String</value>
          <value>City,System.String</value>
          <value>Region,System.String</value>
          <value>PostalCode,System.String</value>
          <value>Country,System.String</value>
          <value>Phone,System.String</value>
          <value>Fax,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Customers</Name>
        <NameInSource>Demo.Customers</NameInSource>
      </Customers>
      <Employees Ref="6" type="DataTableSource" isKey="true">
        <Alias>Employees</Alias>
        <Columns isList="true" count="14">
          <value>EmployeeID,System.Int32</value>
          <value>LastName,System.String</value>
          <value>FirstName,System.String</value>
          <value>Title,System.String</value>
          <value>BirthDate,System.DateTime</value>
          <value>HireDate,System.DateTime</value>
          <value>Address,System.String</value>
          <value>City,System.String</value>
          <value>Region,System.String</value>
          <value>PostalCode,System.String</value>
          <value>Country,System.String</value>
          <value>HomePhone,System.String</value>
          <value>Notes,System.String</value>
          <value>ReportsTo,System.Int32</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Employees</Name>
        <NameInSource>Demo.Employees</NameInSource>
      </Employees>
      <Order_x0020_Details Ref="7" type="DataTableSource" isKey="true">
        <Alias>Order Details</Alias>
        <Columns isList="true" count="5">
          <value>OrderID,System.Int32</value>
          <value>ProductID,System.Int32</value>
          <value>UnitPrice,System.Decimal</value>
          <value>Quantity,System.Int16</value>
          <value>Discount,System.Single</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Order Details</Name>
        <NameInSource>Demo.Order Details</NameInSource>
      </Order_x0020_Details>
      <Orders Ref="8" type="DataTableSource" isKey="true">
        <Alias>Orders</Alias>
        <Columns isList="true" count="14">
          <value>OrderID,System.Int32</value>
          <value>CustomerID,System.String</value>
          <value>EmployeeID,System.Int32</value>
          <value>OrderDate,System.DateTime</value>
          <value>RequiredDate,System.DateTime</value>
          <value>ShippedDate,System.DateTime</value>
          <value>ShipVia,System.Int32</value>
          <value>Freight,System.Decimal</value>
          <value>ShipName,System.String</value>
          <value>ShipAddress,System.String</value>
          <value>ShipCity,System.String</value>
          <value>ShipRegion,System.String</value>
          <value>ShipPostalCode,System.String</value>
          <value>ShipCountry,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Orders</Name>
        <NameInSource>Demo.Orders</NameInSource>
      </Orders>
      <Products Ref="9" type="DataTableSource" isKey="true">
        <Alias>Products</Alias>
        <Columns isList="true" count="7">
          <value>ProductID,System.Int32</value>
          <value>ProductName,System.String</value>
          <value>SupplierID,System.Int32</value>
          <value>CategoryID,System.Int32</value>
          <value>QuantityPerUnit,System.String</value>
          <value>UnitPrice,System.Decimal</value>
          <value>UnitsInStock,System.Int16</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Products</Name>
        <NameInSource>Demo.Products</NameInSource>
      </Products>
      <Shippers Ref="10" type="DataTableSource" isKey="true">
        <Alias>Shippers</Alias>
        <Columns isList="true" count="3">
          <value>ShipperID,System.Int32</value>
          <value>CompanyName,System.String</value>
          <value>Phone,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Shippers</Name>
        <NameInSource>Demo.Shippers</NameInSource>
      </Shippers>
      <Suppliers Ref="11" type="DataTableSource" isKey="true">
        <Alias>Suppliers</Alias>
        <Columns isList="true" count="12">
          <value>SupplierID,System.Int32</value>
          <value>CompanyName,System.String</value>
          <value>ContactName,System.String</value>
          <value>ContactTitle,System.String</value>
          <value>Address,System.String</value>
          <value>City,System.String</value>
          <value>Region,System.String</value>
          <value>PostalCode,System.String</value>
          <value>Country,System.String</value>
          <value>Phone,System.String</value>
          <value>Fax,System.String</value>
          <value>HomePage,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>Suppliers</Name>
        <NameInSource>Demo.Suppliers</NameInSource>
      </Suppliers>
    </DataSources>
    <Relations isList="true" count="8">
      <Employees Ref="12" type="DataRelation" isKey="true">
        <Alias>Employees</Alias>
        <ChildColumns isList="true" count="1">
          <value>ReportsTo</value>
        </ChildColumns>
        <ChildSource isRef="6" />
        <Dictionary isRef="1" />
        <Name>Employees</Name>
        <NameInSource>EmployeesEmployees</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>EmployeeID</value>
        </ParentColumns>
        <ParentSource isRef="6" />
      </Employees>
      <Products Ref="13" type="DataRelation" isKey="true">
        <Alias>Products</Alias>
        <ChildColumns isList="true" count="1">
          <value>ProductID</value>
        </ChildColumns>
        <ChildSource isRef="7" />
        <Dictionary isRef="1" />
        <Name>Products</Name>
        <NameInSource>ProductsOrder_Details</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>ProductID</value>
        </ParentColumns>
        <ParentSource isRef="9" />
      </Products>
      <Orders Ref="14" type="DataRelation" isKey="true">
        <Alias>Orders</Alias>
        <ChildColumns isList="true" count="1">
          <value>OrderID</value>
        </ChildColumns>
        <ChildSource isRef="7" />
        <Dictionary isRef="1" />
        <Name>Orders</Name>
        <NameInSource>OrdersOrder_Details</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>OrderID</value>
        </ParentColumns>
        <ParentSource isRef="8" />
      </Orders>
      <Customers Ref="15" type="DataRelation" isKey="true">
        <Alias>Customers</Alias>
        <ChildColumns isList="true" count="1">
          <value>CustomerID</value>
        </ChildColumns>
        <ChildSource isRef="8" />
        <Dictionary isRef="1" />
        <Name>Customers</Name>
        <NameInSource>CustomersOrders</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>CustomerID</value>
        </ParentColumns>
        <ParentSource isRef="5" />
      </Customers>
      <Shippers Ref="16" type="DataRelation" isKey="true">
        <Alias>Shippers</Alias>
        <ChildColumns isList="true" count="1">
          <value>ShipVia</value>
        </ChildColumns>
        <ChildSource isRef="8" />
        <Dictionary isRef="1" />
        <Name>Shippers</Name>
        <NameInSource>ShippersOrders</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>ShipperID</value>
        </ParentColumns>
        <ParentSource isRef="10" />
      </Shippers>
      <Employees Ref="17" type="DataRelation" isKey="true">
        <Alias>Employees</Alias>
        <ChildColumns isList="true" count="1">
          <value>EmployeeID</value>
        </ChildColumns>
        <ChildSource isRef="8" />
        <Dictionary isRef="1" />
        <Name>Employees</Name>
        <NameInSource>EmployeesOrders</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>EmployeeID</value>
        </ParentColumns>
        <ParentSource isRef="6" />
      </Employees>
      <Categories Ref="18" type="DataRelation" isKey="true">
        <Alias>Categories</Alias>
        <ChildColumns isList="true" count="1">
          <value>CategoryID</value>
        </ChildColumns>
        <ChildSource isRef="9" />
        <Dictionary isRef="1" />
        <Name>Categories</Name>
        <NameInSource>CategoriesProducts</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>CategoryID</value>
        </ParentColumns>
        <ParentSource isRef="3" />
      </Categories>
      <Suppliers Ref="19" type="DataRelation" isKey="true">
        <Alias>Suppliers</Alias>
        <ChildColumns isList="true" count="1">
          <value>SupplierID</value>
        </ChildColumns>
        <ChildSource isRef="9" />
        <Dictionary isRef="1" />
        <Name>Suppliers</Name>
        <NameInSource>SuppliersProducts</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>SupplierID</value>
        </ParentColumns>
        <ParentSource isRef="11" />
      </Suppliers>
    </Relations>
    <Report isRef="0" />
    <Totals isList="true" count="0" />
    <Variables isList="true" count="0" />
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="2">
    <Page1 Ref="20" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="0" />
      <Conditions isList="true" count="0" />
      <Guid>da47910c42e6404b988ec558ab3adaae</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="21" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
    <Form1 Ref="22" type="Stimulsoft.Report.Dialogs.StiForm" isKey="true">
      <BackColor>Control</BackColor>
      <Components isList="true" count="4">
        <GridControl1 Ref="23" type="Stimulsoft.Report.Dialogs.StiGridControl" isKey="true">
          <AlternatingBackColor>Window</AlternatingBackColor>
          <BackColor>Control</BackColor>
          <BackgroundColor>AppWorkspace</BackgroundColor>
          <ClientRectangle>0,8,504,184</ClientRectangle>
          <Columns isList="true" count="0" />
          <Components isList="true" count="0" />
          <DataSourceName>Categories</DataSourceName>
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <GridLineColor>Control</GridLineColor>
          <HeaderBackColor>Control</HeaderBackColor>
          <HeaderFont>Microsoft Sans Serif,8</HeaderFont>
          <HeaderForeColor>ControlText</HeaderForeColor>
          <Location>0, 8</Location>
          <Name>GridControl1</Name>
          <Page isRef="22" />
          <Parent isRef="22" />
          <PositionChangedEvent>int index = 0;
foreach (object obj in GridControl1.Current.ItemArray)
{
	if (index == 0)   // CategoryID
    	TextBoxControl1.Text = obj.ToString();
	if (index == 2)   // Description
		TextBoxControl2.Text = obj.ToString();
	index++;
}</PositionChangedEvent>
          <SelectionBackColor>ActiveCaption</SelectionBackColor>
          <SelectionForeColor>ActiveCaptionText</SelectionForeColor>
          <Size>504, 184</Size>
        </GridControl1>
        <TextBoxControl1 Ref="24" type="Stimulsoft.Report.Dialogs.StiTextBoxControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>0,200,288,20</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>0, 200</Location>
          <Name>TextBoxControl1</Name>
          <Page isRef="22" />
          <Parent isRef="22" />
          <Size>288, 20</Size>
          <Text />
        </TextBoxControl1>
        <TextBoxControl2 Ref="25" type="Stimulsoft.Report.Dialogs.StiTextBoxControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>0,224,288,20</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>0, 224</Location>
          <Name>TextBoxControl2</Name>
          <Page isRef="22" />
          <Parent isRef="22" />
          <Size>288, 20</Size>
          <Text />
        </TextBoxControl2>
        <ButtonControl1 Ref="26" type="Stimulsoft.Report.Dialogs.StiButtonControl" isKey="true">
          <ClientRectangle>352,256,152,24</ClientRectangle>
          <Components isList="true" count="0" />
          <DialogResult>OK</DialogResult>
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>352, 256</Location>
          <Name>ButtonControl1</Name>
          <Page isRef="22" />
          <Parent isRef="22" />
          <Size>152, 24</Size>
          <Text>OK</Text>
        </ButtonControl1>
      </Components>
      <Font>Microsoft Sans Serif,8</Font>
      <Guid>1b02cf41596445ffbf7b547b57c34ff6</Guid>
      <Location>0, 0</Location>
      <Name>Form1</Name>
      <Report isRef="0" />
      <Size>512, 304</Size>
      <Text>Form1</Text>
    </Form1>
  </Pages>
  <PrinterSettings Ref="27" 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>1/4/2011 10:37:55 AM</ReportChanged>
  <ReportCreated>1/4/2011 10:09:00 AM</ReportCreated>
  <ReportFile />
  <ReportGuid>ecee0e3a692d4c38a4c5529adff3efd1</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2011.1.904</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>