﻿<?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="9">
      <Categories Ref="2" 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>
      <Customers Ref="3" 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="4" 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="5" 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="6" 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="7" 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="8" 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="9" 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>
      <Countries Ref="10" 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>
    </DataSources>
    <Relations isList="true" count="8">
      <Employees Ref="11" type="DataRelation" isKey="true">
        <Alias>Employees</Alias>
        <ChildColumns isList="true" count="1">
          <value>ReportsTo</value>
        </ChildColumns>
        <ChildSource isRef="4" />
        <Dictionary isRef="1" />
        <Name>Employees</Name>
        <NameInSource>EmployeesEmployees</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>EmployeeID</value>
        </ParentColumns>
        <ParentSource isRef="4" />
      </Employees>
      <Products Ref="12" type="DataRelation" isKey="true">
        <Alias>Products</Alias>
        <ChildColumns isList="true" count="1">
          <value>ProductID</value>
        </ChildColumns>
        <ChildSource isRef="5" />
        <Dictionary isRef="1" />
        <Name>Products</Name>
        <NameInSource>ProductsOrder_Details</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>ProductID</value>
        </ParentColumns>
        <ParentSource isRef="7" />
      </Products>
      <Orders Ref="13" type="DataRelation" isKey="true">
        <Alias>Orders</Alias>
        <ChildColumns isList="true" count="1">
          <value>OrderID</value>
        </ChildColumns>
        <ChildSource isRef="5" />
        <Dictionary isRef="1" />
        <Name>Orders</Name>
        <NameInSource>OrdersOrder_Details</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>OrderID</value>
        </ParentColumns>
        <ParentSource isRef="6" />
      </Orders>
      <Customers Ref="14" type="DataRelation" isKey="true">
        <Alias>Customers</Alias>
        <ChildColumns isList="true" count="1">
          <value>CustomerID</value>
        </ChildColumns>
        <ChildSource isRef="6" />
        <Dictionary isRef="1" />
        <Name>Customers</Name>
        <NameInSource>CustomersOrders</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>CustomerID</value>
        </ParentColumns>
        <ParentSource isRef="3" />
      </Customers>
      <Shippers Ref="15" type="DataRelation" isKey="true">
        <Alias>Shippers</Alias>
        <ChildColumns isList="true" count="1">
          <value>ShipVia</value>
        </ChildColumns>
        <ChildSource isRef="6" />
        <Dictionary isRef="1" />
        <Name>Shippers</Name>
        <NameInSource>ShippersOrders</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>ShipperID</value>
        </ParentColumns>
        <ParentSource isRef="8" />
      </Shippers>
      <Employees Ref="16" type="DataRelation" isKey="true">
        <Alias>Employees</Alias>
        <ChildColumns isList="true" count="1">
          <value>EmployeeID</value>
        </ChildColumns>
        <ChildSource isRef="6" />
        <Dictionary isRef="1" />
        <Name>Employees</Name>
        <NameInSource>EmployeesOrders</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>EmployeeID</value>
        </ParentColumns>
        <ParentSource isRef="4" />
      </Employees>
      <Categories Ref="17" type="DataRelation" isKey="true">
        <Alias>Categories</Alias>
        <ChildColumns isList="true" count="1">
          <value>CategoryID</value>
        </ChildColumns>
        <ChildSource isRef="7" />
        <Dictionary isRef="1" />
        <Name>Categories</Name>
        <NameInSource>CategoriesProducts</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>CategoryID</value>
        </ParentColumns>
        <ParentSource isRef="2" />
      </Categories>
      <Suppliers Ref="18" type="DataRelation" isKey="true">
        <Alias>Suppliers</Alias>
        <ChildColumns isList="true" count="1">
          <value>SupplierID</value>
        </ChildColumns>
        <ChildSource isRef="7" />
        <Dictionary isRef="1" />
        <Name>Suppliers</Name>
        <NameInSource>SuppliersProducts</NameInSource>
        <ParentColumns isList="true" count="1">
          <value>SupplierID</value>
        </ParentColumns>
        <ParentSource isRef="9" />
      </Suppliers>
    </Relations>
    <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">
    <Form1 Ref="19" type="Stimulsoft.Report.Dialogs.StiForm" isKey="true">
      <BackColor>Control</BackColor>
      <Components isList="true" count="4">
        <GridControl1 Ref="20" type="Stimulsoft.Report.Dialogs.StiGridControl" isKey="true">
          <AlternatingBackColor>Window</AlternatingBackColor>
          <BackColor>Control</BackColor>
          <BackgroundColor>AppWorkspace</BackgroundColor>
          <ClientRectangle>8,8,360,208</ClientRectangle>
          <Columns isList="true" count="11">
            <value>Customers.CustomerID,True,0,Left,CustomerID,CustomerID</value>
            <value>Customers.CompanyName,True,0,Left,CompanyName,CompanyName</value>
            <value>Customers.ContactName,True,0,Left,ContactName,ContactName</value>
            <value>Customers.ContactTitle,True,0,Left,ContactTitle,ContactTitle</value>
            <value>Customers.Address,True,0,Left,Address,Address</value>
            <value>Customers.City,True,0,Left,City,City</value>
            <value>Customers.Region,True,0,Left,Region,Region</value>
            <value>Customers.PostalCode,True,0,Left,PostalCode,PostalCode</value>
            <value>Customers.Country,True,0,Left,Country,Country</value>
            <value>Customers.Phone,True,0,Left,Phone,Phone</value>
            <value>Customers.Fax,True,0,Left,Fax,Fax</value>
          </Columns>
          <Components isList="true" count="0" />
          <DataSourceName>Customers</DataSourceName>
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>ControlText</ForeColor>
          <GridLineColor>Control</GridLineColor>
          <HeaderBackColor>Control</HeaderBackColor>
          <HeaderFont>Microsoft Sans Serif,8</HeaderFont>
          <HeaderForeColor>ControlText</HeaderForeColor>
          <Location>8, 8</Location>
          <Name>GridControl1</Name>
          <Page isRef="19" />
          <Parent isRef="19" />
          <PositionChangedEvent>tbPosition.Text = GridControl1.Position.ToString();
tbCount.Text = GridControl1.Count.ToString();

Items.Items.Clear();
foreach (object obj in GridControl1.Current.ItemArray)
{
	Items.Items.Add(obj);	
}</PositionChangedEvent>
          <SelectionBackColor>ActiveCaption</SelectionBackColor>
          <SelectionForeColor>ActiveCaptionText</SelectionForeColor>
          <Size>360, 208</Size>
        </GridControl1>
        <Items Ref="21" type="Stimulsoft.Report.Dialogs.StiListBoxControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>368,8,128,208</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <Items isList="true" count="0" />
          <Location>368, 8</Location>
          <Name>Items</Name>
          <Page isRef="19" />
          <Parent isRef="19" />
          <Size>128, 208</Size>
        </Items>
        <GroupBoxControl1 Ref="22" type="Stimulsoft.Report.Dialogs.StiGroupBoxControl" isKey="true">
          <BackColor>Control</BackColor>
          <ClientRectangle>8,216,488,112</ClientRectangle>
          <Components isList="true" count="9">
            <LabelControl1 Ref="23" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
              <BackColor>Control</BackColor>
              <ClientRectangle>8,16,96,20</ClientRectangle>
              <Components isList="true" count="0" />
              <Font>Microsoft Sans Serif,8</Font>
              <ForeColor>Black</ForeColor>
              <Location>8, 16</Location>
              <Name>LabelControl1</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>96, 20</Size>
              <Text>Position</Text>
              <TextAlign>MiddleRight</TextAlign>
            </LabelControl1>
            <tbPosition Ref="24" type="Stimulsoft.Report.Dialogs.StiTextBoxControl" isKey="true">
              <BackColor>Window</BackColor>
              <ClientRectangle>112,16,144,20</ClientRectangle>
              <Components isList="true" count="0" />
              <Font>Microsoft Sans Serif,8</Font>
              <ForeColor>Black</ForeColor>
              <Location>112, 16</Location>
              <Name>tbPosition</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>144, 20</Size>
              <Text />
            </tbPosition>
            <tbCount Ref="25" type="Stimulsoft.Report.Dialogs.StiTextBoxControl" isKey="true">
              <BackColor>Window</BackColor>
              <ClientRectangle>112,40,144,20</ClientRectangle>
              <Components isList="true" count="0" />
              <Enabled>False</Enabled>
              <Font>Microsoft Sans Serif,8</Font>
              <ForeColor>Black</ForeColor>
              <Location>112, 40</Location>
              <Name>tbCount</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>144, 20</Size>
              <Text />
            </tbCount>
            <tbFilter Ref="26" type="Stimulsoft.Report.Dialogs.StiTextBoxControl" isKey="true">
              <BackColor>Window</BackColor>
              <ClientRectangle>112,64,144,20</ClientRectangle>
              <Components isList="true" count="0" />
              <Font>Microsoft Sans Serif,8</Font>
              <ForeColor>Black</ForeColor>
              <Location>112, 64</Location>
              <Name>tbFilter</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>144, 20</Size>
              <Text />
            </tbFilter>
            <ButtonControl2 Ref="27" type="Stimulsoft.Report.Dialogs.StiButtonControl" isKey="true">
              <ClickEvent>try
{
	GridControl1.Position = int.Parse(tbPosition.Text);
}
catch
{
}
</ClickEvent>
              <ClientRectangle>264,14,88,24</ClientRectangle>
              <Components isList="true" count="0" />
              <Font>Microsoft Sans Serif,8</Font>
              <ForeColor>Black</ForeColor>
              <Location>264, 14</Location>
              <Name>ButtonControl2</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>88, 24</Size>
              <Text>Set Position</Text>
            </ButtonControl2>
            <ButtonControl1 Ref="28" type="Stimulsoft.Report.Dialogs.StiButtonControl" isKey="true">
              <ClickEvent>try
{
	GridControl1.Filter = tbFilter.Text;
}
catch
{
	GridControl1.Filter = "";
	MessageBox.Show("Wrong filter expression.");
}</ClickEvent>
              <ClientRectangle>264,62,88,24</ClientRectangle>
              <Components isList="true" count="0" />
              <Font>Microsoft Sans Serif,8</Font>
              <ForeColor>Black</ForeColor>
              <Location>264, 62</Location>
              <Name>ButtonControl1</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>88, 24</Size>
              <Text>Set Filter</Text>
            </ButtonControl1>
            <LabelControl2 Ref="29" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
              <BackColor>Control</BackColor>
              <ClientRectangle>8,40,96,20</ClientRectangle>
              <Components isList="true" count="0" />
              <Font>Microsoft Sans Serif,8</Font>
              <ForeColor>Black</ForeColor>
              <Location>8, 40</Location>
              <Name>LabelControl2</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>96, 20</Size>
              <Text>Count</Text>
              <TextAlign>MiddleRight</TextAlign>
            </LabelControl2>
            <LabelControl3 Ref="30" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
              <BackColor>Control</BackColor>
              <ClientRectangle>8,64,96,20</ClientRectangle>
              <Components isList="true" count="0" />
              <Font>Microsoft Sans Serif,8</Font>
              <ForeColor>Black</ForeColor>
              <Location>8, 64</Location>
              <Name>LabelControl3</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>96, 20</Size>
              <Text>Filter</Text>
              <TextAlign>MiddleRight</TextAlign>
            </LabelControl3>
            <LabelControl4 Ref="31" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
              <BackColor>Control</BackColor>
              <ClientRectangle>112,88,144,16</ClientRectangle>
              <Components isList="true" count="0" />
              <Font>Microsoft Sans Serif,8.25,Italic,Point,False,204</Font>
              <ForeColor>Black</ForeColor>
              <Location>112, 88</Location>
              <Name>LabelControl4</Name>
              <Page isRef="19" />
              <Parent isRef="22" />
              <Size>144, 16</Size>
              <Text>Sample: Region='WA'</Text>
            </LabelControl4>
          </Components>
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>8, 216</Location>
          <Name>GroupBoxControl1</Name>
          <Page isRef="19" />
          <Parent isRef="19" />
          <Size>488, 112</Size>
          <Text>Settings</Text>
        </GroupBoxControl1>
        <ButtonControl3 Ref="32" type="Stimulsoft.Report.Dialogs.StiButtonControl" isKey="true">
          <ClickEvent>Form1.Close();</ClickEvent>
          <ClientRectangle>384,336,112,24</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>384, 336</Location>
          <Name>ButtonControl3</Name>
          <Page isRef="19" />
          <Parent isRef="19" />
          <Size>112, 24</Size>
          <Text>Ok</Text>
        </ButtonControl3>
      </Components>
      <Font>Microsoft Sans Serif,8</Font>
      <Guid>91da80dd84614bdfbb5f0c50de3e88e4</Guid>
      <LoadFormEvent>GridControl1_PositionChanged(sender, e);</LoadFormEvent>
      <Location>0, 0</Location>
      <Name>Form1</Name>
      <Report isRef="0" />
      <Size>512, 392</Size>
      <Text>Form</Text>
    </Form1>
  </Pages>
  <PrinterSettings Ref="33" 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.Base.Dll</value>
    <value>Stimulsoft.Controls.Dll</value>
    <value>Stimulsoft.Report.Dll</value>
  </ReferencedAssemblies>
  <ReportAlias>Report</ReportAlias>
  <ReportAuthor isNull="true" />
  <ReportChanged>11/17/2005 3:07:00 AM</ReportChanged>
  <ReportCreated>4/4/2005 12:31:00 PM</ReportCreated>
  <ReportDescription isNull="true" />
  <ReportFile>D:\__Version\2010.2\Stimulsoft Reports.Net 2010.2\Bin\Reports\Grid.mrt</ReportFile>
  <ReportGuid>5e17e7534012421d86d3e07c36c2b3b8</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2010.2.800</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.ReportControls;
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>