﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.01" type="Net" application="StiReport">
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <BusinessObjects isList="true" count="0" />
    <Databases isList="true" count="0" />
    <DataSources isList="true" count="10">
      <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>
      <Employee_Sales_by_Country Ref="11" type="Stimulsoft.Report.Dictionary.StiOleDbSource" isKey="true">
        <Alias>Employee_Sales_by_Country</Alias>
        <Columns isList="true" count="6">
          <value>Country,System.String</value>
          <value>LastName,System.String</value>
          <value>FirstName,System.String</value>
          <value>ShippedDate,System.DateTime</value>
          <value>OrderID,System.Int32</value>
          <value>SaleAmount,System.Decimal</value>
        </Columns>
        <CommandTimeout>30</CommandTimeout>
        <ConnectOnStart>False</ConnectOnStart>
        <Dictionary isRef="1" />
        <Name>Employee_Sales_by_Country</Name>
        <NameInSource>NorthWind</NameInSource>
        <Parameters isList="true" count="2">
          <value>_x0040_DateBeginning,DateTimePickerControl1.Value,7,10</value>
          <value>_x0040_DateEnding,DateTimePickerControl2.Value,7,10</value>
        </Parameters>
        <SqlCommand>SELECT DISTINCTROW Employees.Country, Employees.LastName, Employees.FirstName, Orders.ShippedDate, Orders.OrderID, [Order Subtotals].Subtotal AS SaleAmount
FROM Employees INNER JOIN (Orders INNER JOIN [Order Subtotals] ON Orders.OrderID = [Order Subtotals].OrderID) ON Employees.EmployeeID = Orders.EmployeeID
WHERE Orders.ShippedDate BETWEEN @DateBeginning AND @DateEnding</SqlCommand>
      </Employee_Sales_by_Country>
    </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="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="13" 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="14" 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="15" 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="16" 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="17" 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="18" 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="19" 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="2">
      <value>,LastEmployeeName,LastEmployeeName,System.String,,False,False</value>
      <value>,LastCountryName,LastCountryName,System.String,,False,False</value>
    </Variables>
  </Dictionary>
  <EngineVersion>EngineV2</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <MetaTags isList="true" count="0" />
  <Pages isList="true" count="2">
    <Form1 Ref="20" type="Stimulsoft.Report.Dialogs.StiForm" isKey="true">
      <BackColor>Control</BackColor>
      <Components isList="true" count="6">
        <LabelControl1 Ref="21" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
          <BackColor>Control</BackColor>
          <ClientRectangle>8,8,88,16</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>8, 8</Location>
          <Name>LabelControl1</Name>
          <Page isRef="20" />
          <Parent isRef="20" />
          <Size>88, 16</Size>
          <Text>Beginning Date</Text>
        </LabelControl1>
        <LabelControl2 Ref="22" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
          <BackColor>Control</BackColor>
          <ClientRectangle>8,40,64,16</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>8, 40</Location>
          <Name>LabelControl2</Name>
          <Page isRef="20" />
          <Parent isRef="20" />
          <Size>64, 16</Size>
          <Text>Ending Date</Text>
        </LabelControl2>
        <DateTimePickerControl1 Ref="23" type="Stimulsoft.Report.Dialogs.StiDateTimePickerControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>104,8,128,20</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>104, 8</Location>
          <MaxDate>1/1/1997 12:00:00 AM</MaxDate>
          <MinDate>1/1/1994 12:00:00 AM</MinDate>
          <Name>DateTimePickerControl1</Name>
          <Page isRef="20" />
          <Parent isRef="20" />
          <Size>128, 20</Size>
          <Today>False</Today>
          <Value>8/16/1994 12:00:00 AM</Value>
        </DateTimePickerControl1>
        <DateTimePickerControl2 Ref="24" type="Stimulsoft.Report.Dialogs.StiDateTimePickerControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>104,40,128,20</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>104, 40</Location>
          <MaxDate>1/1/1997 12:00:00 AM</MaxDate>
          <MinDate>1/1/1994 12:00:00 AM</MinDate>
          <Name>DateTimePickerControl2</Name>
          <Page isRef="20" />
          <Parent isRef="20" />
          <Size>128, 20</Size>
          <Today>False</Today>
          <Value>6/5/1996 12:00:00 AM</Value>
        </DateTimePickerControl2>
        <ButtonControl1 Ref="25" type="Stimulsoft.Report.Dialogs.StiButtonControl" isKey="true">
          <ClickEvent>Employee_Sales_by_Country.Connect();</ClickEvent>
          <ClientRectangle>40,80,96,24</ClientRectangle>
          <Components isList="true" count="0" />
          <Default>True</Default>
          <DialogResult>OK</DialogResult>
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>40, 80</Location>
          <Name>ButtonControl1</Name>
          <Page isRef="20" />
          <Parent isRef="20" />
          <Size>96, 24</Size>
          <Text>Ok</Text>
        </ButtonControl1>
        <ButtonControl2 Ref="26" type="Stimulsoft.Report.Dialogs.StiButtonControl" isKey="true">
          <Cancel>True</Cancel>
          <ClientRectangle>144,80,96,24</ClientRectangle>
          <Components isList="true" count="0" />
          <DialogResult>Cancel</DialogResult>
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>144, 80</Location>
          <Name>ButtonControl2</Name>
          <Page isRef="20" />
          <Parent isRef="20" />
          <Size>96, 24</Size>
          <Text>Cancel</Text>
        </ButtonControl2>
      </Components>
      <Font>Microsoft Sans Serif,8</Font>
      <Guid>e461cde548f944468625b9b5ff68e63c</Guid>
      <Location>0, 0</Location>
      <Name>Form1</Name>
      <Report isRef="0" />
      <Size>256, 136</Size>
      <Text>Select range of dates from 1994 to 1996</Text>
    </Form1>
    <Page1 Ref="27" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Columns>1</Columns>
      <Components isList="true" count="10">
        <PageFooterBand1 Ref="28" type="PageFooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,27.3,19,0.4</ClientRectangle>
          <Components isList="true" count="1">
            <Text17 Ref="29" type="Text" isKey="true">
              <Border>None;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>6.8,0,12.2,0.4</ClientRectangle>
              <ComponentStyle>Footer1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <Guid>7b30c486094f4e16a0af90aadb422246</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text17</Name>
              <Page isRef="27" />
              <Parent isRef="28" />
              <Text>{PageNofM}</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text17>
          </Components>
          <Conditions isList="true" count="0" />
          <Guid>d4ff34a206724e3fbbe889d815549517</Guid>
          <Name>PageFooterBand1</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
        </PageFooterBand1>
        <ReportTitleBand1 Ref="30" type="ReportTitleBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,19,2</ClientRectangle>
          <Components isList="true" count="4">
            <Text20 Ref="31" type="Text" isKey="true">
              <Border>Bottom;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>9.4,0,9.6,0.8</ClientRectangle>
              <ComponentStyle>Title1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,19</Font>
              <Guid>58d1e833e69f4f3f81ae1660b6365ac7</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text20</Name>
              <Page isRef="27" />
              <Parent isRef="30" />
              <Text>Stimulsoft</Text>
              <TextBrush>[193:152:89]</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text20>
            <Text23 Ref="32" type="Text" isKey="true">
              <Border>Bottom;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0,9.4,0.8</ClientRectangle>
              <ComponentStyle>Title1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,19</Font>
              <Guid>ff7ac5c25d7c4b81b5c5836e209d7991</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text23</Name>
              <Page isRef="27" />
              <Parent isRef="30" />
              <Text>Parameters from Dialog Form</Text>
              <TextBrush>[193:152:89]</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text23>
            <Text5 Ref="33" type="Text" isKey="true">
              <Border>None;[102:77:38];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>0,1,14.6,0.8</ClientRectangle>
              <ComponentStyle>Title2</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <Guid>a23a16ed1a934758b4ee987a8ec7ecf0</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text5</Name>
              <Page isRef="27" />
              <Parent isRef="30" />
              <Text>{ReportDescription}</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
            </Text5>
            <Text18 Ref="34" type="Text" isKey="true">
              <Border>None;[102:77:38];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>14.6,1,4.4,0.8</ClientRectangle>
              <ComponentStyle>Title2</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <Guid>4398073840bb4f65b9a65eaf8e86d941</Guid>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text18</Name>
              <Page isRef="27" />
              <Parent isRef="30" />
              <Text>Date: {Today.ToString("Y")}</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <TextFormat Ref="35" type="DateFormat" isKey="true">
                <StringFormat>yyyy, MMMM</StringFormat>
              </TextFormat>
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <Type>Expression</Type>
            </Text18>
          </Components>
          <Conditions isList="true" count="0" />
          <Guid>3f26490529ff436b930bf559bb2ba029</Guid>
          <Name>ReportTitleBand1</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
        </ReportTitleBand1>
        <HeaderBand1 Ref="36" type="HeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,3.2,19,1.6</ClientRectangle>
          <Components isList="true" count="1">
            <Text15 Ref="37" type="Text" isKey="true">
              <Border>None;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0,19,1.6</ClientRectangle>
              <ComponentStyle>Title1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,19</Font>
              <Guid>01802cb83a714cd7ad0b76fee9838d83</Guid>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text15</Name>
              <Page isRef="27" />
              <Parent isRef="36" />
              <Text>Employee sales by country 
from {DateTimePickerControl1.Value.ToString("MM.dd.yyyy")} to {DateTimePickerControl2.Value.ToString("MM.dd.yyyy")}</Text>
              <TextBrush>[193:152:89]</TextBrush>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text15>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>HeaderBand1</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
          <PrintOnAllPages>False</PrintOnAllPages>
        </HeaderBand1>
        <GroupHeaderBand1 Ref="38" type="GroupHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,5.6,19,1</ClientRectangle>
          <Components isList="true" count="1">
            <Text1 Ref="39" type="Text" isKey="true">
              <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.4,19,0.6</ClientRectangle>
              <ComponentStyle>Header2</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text1</Name>
              <Page isRef="27" />
              <Parent isRef="38" />
              <Text>{Employee_Sales_by_Country.Country}</Text>
              <TextBrush>[193:152:89]</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text1>
          </Components>
          <Condition>{Employee_Sales_by_Country.Country}</Condition>
          <Conditions isList="true" count="0" />
          <Name>GroupHeaderBand1</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
        </GroupHeaderBand1>
        <GroupHeaderBand2 Ref="40" type="GroupHeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,7.4,19,0.6</ClientRectangle>
          <Components isList="true" count="1">
            <Text4 Ref="41" type="Text" isKey="true">
              <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>[242:234:221]</Brush>
              <ClientRectangle>0,0,19,0.6</ClientRectangle>
              <ComponentStyle>Header3</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9,Bold</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text4</Name>
              <Page isRef="27" />
              <Parent isRef="40" />
              <Text>{Employee_Sales_by_Country.FirstName} {Employee_Sales_by_Country.LastName}</Text>
              <TextBrush>[193:152:89]</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text4>
          </Components>
          <Condition>{Employee_Sales_by_Country.LastName}</Condition>
          <Conditions isList="true" count="0" />
          <Name>GroupHeaderBand2</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
          <PrintOnAllPages>True</PrintOnAllPages>
        </GroupHeaderBand2>
        <DataBand1 Ref="42" type="DataBand" isKey="true">
          <BeforePrintEvent>LastEmployeeName = Employee_Sales_by_Country.FirstName + " " + Employee_Sales_by_Country.LastName;
LastCountryName = Employee_Sales_by_Country.Country;</BeforePrintEvent>
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,8.8,19,0.6</ClientRectangle>
          <Components isList="true" count="3">
            <Text2 Ref="43" type="Text" isKey="true">
              <Border>Left, Right;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0,6.8,0.6</ClientRectangle>
              <ComponentStyle>Data1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text2</Name>
              <Page isRef="27" />
              <Parent isRef="42" />
              <Text>{Employee_Sales_by_Country.OrderID}</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <TextFormat Ref="44" type="DateFormat" isKey="true">
                <NullDisplay>No Date</NullDisplay>
              </TextFormat>
              <VertAlignment>Center</VertAlignment>
            </Text2>
            <Text3 Ref="45" type="Text" isKey="true">
              <Border>Left, Right;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>6.8,0,5.2,0.6</ClientRectangle>
              <ComponentStyle>Data1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text3</Name>
              <Page isRef="27" />
              <Parent isRef="42" />
              <Text>{Employee_Sales_by_Country.ShippedDate}</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <TextFormat Ref="46" type="DateFormat" isKey="true" />
              <VertAlignment>Center</VertAlignment>
            </Text3>
            <Text9 Ref="47" type="Text" isKey="true">
              <Border>Left, Right;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>12,0,7,0.6</ClientRectangle>
              <ComponentStyle>Data1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text9</Name>
              <Page isRef="27" />
              <Parent isRef="42" />
              <Text>{Employee_Sales_by_Country.SaleAmount}</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <TextFormat Ref="48" type="CurrencyFormat" isKey="true">
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <PositivePattern>0</PositivePattern>
              </TextFormat>
              <VertAlignment>Center</VertAlignment>
            </Text9>
          </Components>
          <Conditions isList="true" count="0" />
          <DataSourceName>Employee_Sales_by_Country</DataSourceName>
          <EvenStyle>Data2</EvenStyle>
          <Filters isList="true" count="0" />
          <Name>DataBand1</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
          <Sort isList="true" count="8">
            <value>ASC</value>
            <value>Country</value>
            <value>ASC</value>
            <value>LastName</value>
            <value>ASC</value>
            <value>FirstName</value>
            <value>ASC</value>
            <value>ShippedDate</value>
          </Sort>
        </DataBand1>
        <FooterBand1 Ref="49" type="FooterBand" isKey="true">
          <Border>Top;[193:152:89];1;Solid;False;4;Black</Border>
          <Brush>Transparent</Brush>
          <ClientRectangle>0,10.2,19,0.2</ClientRectangle>
          <Components isList="true" count="0" />
          <ComponentStyle>Footer1</ComponentStyle>
          <Conditions isList="true" count="0" />
          <Name>FooterBand1</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
          <PrintOnAllPages>True</PrintOnAllPages>
        </FooterBand1>
        <GroupFooterBand2 Ref="50" type="GroupFooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,11.2,19,0.8</ClientRectangle>
          <Components isList="true" count="2">
            <Text13 Ref="51" type="Text" isKey="true">
              <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>[242:234:221]</Brush>
              <ClientRectangle>14.2,0,4.8,0.6</ClientRectangle>
              <ComponentStyle>Header3</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9,Bold</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text13</Name>
              <Page isRef="27" />
              <Parent isRef="50" />
              <Text>{SumD(Employee_Sales_by_Country.SaleAmount)}</Text>
              <TextBrush>[193:152:89]</TextBrush>
              <TextFormat Ref="52" type="CurrencyFormat" isKey="true">
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <PositivePattern>0</PositivePattern>
              </TextFormat>
              <VertAlignment>Center</VertAlignment>
            </Text13>
            <Text14 Ref="53" type="Text" isKey="true">
              <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>[242:234:221]</Brush>
              <ClientRectangle>0,0,14.2,0.6</ClientRectangle>
              <ComponentStyle>Header3</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9,Bold</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text14</Name>
              <Page isRef="27" />
              <Parent isRef="50" />
              <Text>Total by {LastEmployeeName}:</Text>
              <TextBrush>[193:152:89]</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text14>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>GroupFooterBand2</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
        </GroupFooterBand2>
        <GroupFooterBand1 Ref="54" type="GroupFooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,12.8,19,0.8</ClientRectangle>
          <Components isList="true" count="2">
            <Text6 Ref="55" type="Text" isKey="true">
              <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>14.2,0,4.8,0.6</ClientRectangle>
              <ComponentStyle>Footer1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text6</Name>
              <Page isRef="27" />
              <Parent isRef="54" />
              <Text>{SumD(Employee_Sales_by_Country.SaleAmount)}</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <TextFormat Ref="56" type="CurrencyFormat" isKey="true">
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <PositivePattern>0</PositivePattern>
              </TextFormat>
              <VertAlignment>Center</VertAlignment>
            </Text6>
            <Text7 Ref="57" type="Text" isKey="true">
              <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0,14.2,0.6</ClientRectangle>
              <ComponentStyle>Footer1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <HorAlignment>Center</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text7</Name>
              <Page isRef="27" />
              <Parent isRef="54" />
              <Text>Total by {LastCountryName}:</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text7>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>GroupFooterBand1</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
        </GroupFooterBand1>
        <ReportSummaryBand1 Ref="58" type="ReportSummaryBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,14.4,19,1.2</ClientRectangle>
          <Components isList="true" count="2">
            <Text11 Ref="59" type="Text" isKey="true">
              <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>14.2,0,4.8,1.2</ClientRectangle>
              <ComponentStyle>Footer1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text11</Name>
              <Page isRef="27" />
              <Parent isRef="58" />
              <Text>{SumD(Employee_Sales_by_Country.SaleAmount)}</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <TextFormat Ref="60" type="CurrencyFormat" isKey="true">
                <GroupSeparator>,</GroupSeparator>
                <NegativePattern>0</NegativePattern>
                <PositivePattern>0</PositivePattern>
              </TextFormat>
              <VertAlignment>Center</VertAlignment>
            </Text11>
            <Text12 Ref="61" type="Text" isKey="true">
              <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0,14.2,1.2</ClientRectangle>
              <ComponentStyle>Footer1</ComponentStyle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9</Font>
              <HorAlignment>Right</HorAlignment>
              <Margins>0,0,0,0</Margins>
              <Name>Text12</Name>
              <Page isRef="27" />
              <Parent isRef="58" />
              <Text>Total by all employees:</Text>
              <TextBrush>[102:77:38]</TextBrush>
              <VertAlignment>Center</VertAlignment>
            </Text12>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>ReportSummaryBand1</Name>
          <Page isRef="27" />
          <Parent isRef="27" />
        </ReportSummaryBand1>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>bbdd06f4012e439fbed8a081530472a3</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="62" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
  </Pages>
  <PrinterSettings Ref="63" 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>Parameters from Dialog Form</ReportAlias>
  <ReportAuthor isNull="true" />
  <ReportChanged>6/17/2011 1:27:11 PM</ReportChanged>
  <ReportCreated>6/1/2006 11:13:09 AM</ReportCreated>
  <ReportDescription>This sample demonstrates how to use parameters.</ReportDescription>
  <ReportFile>E:\__Version\2011.1\Stimulsoft Reports.Net 2011.1 Trial\Bin\Reports\SQLParameters.mrt</ReportFile>
  <ReportGuid>8d18fe1c6fd64c19a8aa9136e194609a</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2011.1.1000</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="12">
    <Title1 Ref="64" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>None;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Font>Arial,19</Font>
      <HorAlignment>Right</HorAlignment>
      <Name>Title1</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[193:152:89]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Title1>
    <Title2 Ref="65" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>None;[102:77:38];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Font>Arial,9</Font>
      <Name>Title2</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[102:77:38]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Title2>
    <Header1 Ref="66" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>None;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Font>Arial,19</Font>
      <Name>Header1</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[193:152:89]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Header1>
    <Header2 Ref="67" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>None;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Font>Arial,12,Bold</Font>
      <HorAlignment>Center</HorAlignment>
      <Name>Header2</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[193:152:89]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Header2>
    <Header3 Ref="68" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <AllowUseHorAlignment>True</AllowUseHorAlignment>
      <AllowUseVertAlignment>True</AllowUseVertAlignment>
      <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>[242:234:221]</Brush>
      <Font>Arial,9,Bold</Font>
      <HorAlignment>Center</HorAlignment>
      <Name>Header3</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[193:152:89]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Header3>
    <Header4 Ref="69" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>All;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Font>Arial,9,Bold</Font>
      <HorAlignment>Center</HorAlignment>
      <Name>Header4</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[193:152:89]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Header4>
    <Data1 Ref="70" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>None;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Font>Arial,9</Font>
      <Name>Data1</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[102:77:38]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Data1>
    <Data2 Ref="71" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderFormatting>False</AllowUseBorderFormatting>
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <AllowUseFont>False</AllowUseFont>
      <AllowUseTextBrush>False</AllowUseTextBrush>
      <AllowUseTextOptions>False</AllowUseTextOptions>
      <Brush>[240:237:232]</Brush>
      <Font>Arial,9</Font>
      <Name>Data2</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>Black</TextBrush>
    </Data2>
    <Data3 Ref="72" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>None;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>[240:237:232]</Brush>
      <Font>Arial,9</Font>
      <Name>Data3</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[102:77:38]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Data3>
    <Footer1 Ref="73" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>Top;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Font>Arial,9</Font>
      <Name>Footer1</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[102:77:38]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Footer1>
    <Footer2 Ref="74" type="Stimulsoft.Report.StiStyle" isKey="true">
      <AllowUseBorderSides>False</AllowUseBorderSides>
      <Border>None;[193:152:89];1;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Font>Arial,12,Bold</Font>
      <HorAlignment>Right</HorAlignment>
      <Name>Footer2</Name>
      <StyleCode>None</StyleCode>
      <TextBrush>[193:152:89]</TextBrush>
      <VertAlignment>Center</VertAlignment>
    </Footer2>
    <CrossTab Ref="75" type="Stimulsoft.Report.StiCrossTabStyle" isKey="true">
      <Color>242, 234, 221</Color>
      <Name>CrossTab</Name>
    </CrossTab>
  </Styles>
</StiSerializer>