﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.0" application="StiReport">
  <CacheAllData>True</CacheAllData>
  <Dictionary Ref="1" type="Dictionary" isKey="true">
    <Databases isList="true" count="1">
      <NorthWind Ref="2" type="Stimulsoft.Report.Dictionary.StiOleDbDatabase" isKey="true">
        <Alias>NorthWind</Alias>
        <ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Stimulsoft Reports.Net 2008.2 Trial\Bin\Data\NWIND.MDB;Persist Security Info=False</ConnectionString>
        <Name>NorthWind</Name>
        <PromptUserNameAndPassword>False</PromptUserNameAndPassword>
      </NorthWind>
    </Databases>
    <DataSources isList="true" count="2">
      <Categories Ref="3" type="Stimulsoft.Report.Dictionary.StiOleDbSource" isKey="true">
        <Alias>Categories</Alias>
        <Columns isList="true" count="4">
          <value>CategoryID,System.Int32</value>
          <value>CategoryName,System.String</value>
          <value>Description,System.String</value>
          <value>Picture,System.Byte[]</value>
        </Columns>
        <CommandTimeout>30</CommandTimeout>
        <Dictionary isRef="1" />
        <Name>Categories</Name>
        <NameInSource>NorthWind</NameInSource>
        <Parameters isList="true" count="0" />
        <SqlCommand>SELECT Categories.*
FROM Categories</SqlCommand>
      </Categories>
      <Products Ref="4" type="Stimulsoft.Report.Dictionary.StiOleDbSource" isKey="true">
        <Alias>Products</Alias>
        <Columns isList="true" count="10">
          <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>
          <value>UnitsOnOrder,System.Int16</value>
          <value>ReorderLevel,System.Int16</value>
          <value>Discontinued,System.Boolean</value>
        </Columns>
        <CommandTimeout>30</CommandTimeout>
        <ConnectOnStart>False</ConnectOnStart>
        <Dictionary isRef="1" />
        <Name>Products</Name>
        <NameInSource>NorthWind</NameInSource>
        <Parameters isList="true" count="1">
          <value>_x0040_CategoryID,,3,0</value>
        </Parameters>
        <SqlCommand>SELECT Products.*
FROM Products where Products.CategoryID = @CategoryID</SqlCommand>
      </Products>
    </DataSources>
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Variables isList="true" count="0" />
  </Dictionary>
  <EngineVersion>EngineV1</EngineVersion>
  <GlobalizationStrings isList="true" count="0" />
  <Pages isList="true" count="2">
    <Form1 Ref="5" type="Stimulsoft.Report.Dialogs.StiForm" isKey="true">
      <BackColor>Control</BackColor>
      <Components isList="true" count="7">
        <t1 Ref="6" type="Stimulsoft.Report.Dialogs.StiTextBoxControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>240,32,192,20</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>240, 32</Location>
          <MaxSize>0,0</MaxSize>
          <MinSize>0,0</MinSize>
          <Name>t1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <Size>192, 20</Size>
          <Text />
        </t1>
        <LabelControl1 Ref="7" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
          <BackColor>Control</BackColor>
          <ClientRectangle>240,8,136,16</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>240, 8</Location>
          <MaxSize>0,0</MaxSize>
          <MinSize>0,0</MinSize>
          <Name>LabelControl1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <Size>136, 16</Size>
          <Text>SelectedItem property</Text>
        </LabelControl1>
        <ButtonControl2 Ref="8" type="Stimulsoft.Report.Dialogs.StiButtonControl" isKey="true">
          <ClickEvent>int myVar;
int.TryParse(Categories.GetData("CategoriesID", ComboBox1.SelectedIndex).ToString(),out myVar);
Products.Parameters["@CategoryID"].ParameterValue = myVar;
Products.Connect();</ClickEvent>
          <ClientRectangle>312,72,96,24</ClientRectangle>
          <Components isList="true" count="0" />
          <DialogResult>OK</DialogResult>
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>312, 72</Location>
          <MaxSize>0,0</MaxSize>
          <MinSize>0,0</MinSize>
          <Name>ButtonControl2</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <Size>96, 24</Size>
          <Text>Ok</Text>
        </ButtonControl2>
        <ComboBox1 Ref="9" type="Stimulsoft.Report.Dialogs.StiComboBoxControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>0,32,216,20</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Items isList="true" count="3">
            <value>1</value>
            <value>2</value>
            <value>3</value>
          </Items>
          <ItemsBinding>Categories.CategoryName</ItemsBinding>
          <Location>0, 32</Location>
          <MaxSize>0,0</MaxSize>
          <MinSize>0,0</MinSize>
          <Name>ComboBox1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <SelectedIndexChangedEvent>t1.Text = ComboBox1.SelectedItem.ToString();
if (ComboBox1.SelectedIndex &gt;= 0)
{
	t2.Text = Categories.GetData("CategoriesID", ComboBox1.SelectedIndex).ToString();
}
  </SelectedIndexChangedEvent>
          <SelectedItemBinding>Categories.CategoryName</SelectedItemBinding>
          <Size>216, 20</Size>
          <Text>ComboBox</Text>
        </ComboBox1>
        <Label1 Ref="10" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
          <BackColor>Control</BackColor>
          <ClientRectangle>0,8,144,16</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>0, 8</Location>
          <MaxSize>0,0</MaxSize>
          <MinSize>0,0</MinSize>
          <Name>Label1</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <Size>144, 16</Size>
          <Text>Combobox Component</Text>
        </Label1>
        <Label2 Ref="11" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
          <BackColor>Control</BackColor>
          <ClientRectangle>448,8,264,24</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>448, 8</Location>
          <MaxSize>0,0</MaxSize>
          <MinSize>0,0</MinSize>
          <Name>Label2</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <Size>264, 24</Size>
          <Text>'CategoriesID' from the Categories DataSource</Text>
        </Label2>
        <t2 Ref="12" type="Stimulsoft.Report.Dialogs.StiTextBoxControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>448,32,264,20</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>448, 32</Location>
          <MaxSize>0,0</MaxSize>
          <MinSize>0,0</MinSize>
          <Name>t2</Name>
          <Page isRef="5" />
          <Parent isRef="5" />
          <Size>264, 20</Size>
          <Text />
        </t2>
      </Components>
      <Font>Microsoft Sans Serif,8</Font>
      <Guid>738cb1c16af549b5ac921e70864a8884</Guid>
      <Location>0, 0</Location>
      <Name>Form1</Name>
      <Page isRef="5" />
      <Report isRef="0" />
      <Size>736, 136</Size>
      <Text>Form</Text>
    </Form1>
    <Page1 Ref="13" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="3">
        <ReportTitle1 Ref="14" type="ReportTitleBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,19,1.6</ClientRectangle>
          <Components isList="true" count="1">
            <Text9 Ref="15" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <ClientRectangle>0.4,0,16.8,1.2</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,9,Bold</Font>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>Text9</Name>
              <Page isRef="13" />
              <Parent isRef="14" />
              <Text>Products.Parameters["@CategoryID"].ParameterValue = {Products.Parameters["@CategoryID"].ParameterValue}
ComboBox1.SelectedItem = {ComboBox1.SelectedItem.ToString()}
CategoriesID = {ComboBox1.SelectedIndex == -1?"":Categories.GetData("CategoriesID", ComboBox1.SelectedIndex).ToString()}</Text>
              <TextBrush>DarkBlue</TextBrush>
              <TextFormat Ref="16" type="GeneralFormat" isKey="true" />
              <Type>Expression</Type>
            </Text9>
          </Components>
          <Conditions isList="true" count="0" />
          <MaxHeight>0</MaxHeight>
          <MinHeight>0</MinHeight>
          <Name>ReportTitle1</Name>
          <Page isRef="13" />
          <Parent isRef="13" />
        </ReportTitle1>
        <Header1 Ref="17" type="HeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,2.8,19,0.8</ClientRectangle>
          <Components isList="true" count="4">
            <Text1 Ref="18" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>0,0,2.4,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>13cca43f29064b2fb0fcdf43245a661d</Guid>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>Text1</Name>
              <Page isRef="13" />
              <Parent isRef="17" />
              <Text>CategoryID</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="19" type="GeneralFormat" isKey="true" />
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <TextQuality>Wysiwyg</TextQuality>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text1>
            <Text2 Ref="20" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>2.4,0,3.4,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>71a3fa81dc80421986fae16fbcc3f5de</Guid>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>Text2</Name>
              <Page isRef="13" />
              <Parent isRef="17" />
              <Text>ProductID</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="21" type="GeneralFormat" isKey="true" />
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <TextQuality>Wysiwyg</TextQuality>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text2>
            <Text3 Ref="22" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>5.8,0,8.6,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>c023f448110e4081963136a558cc5a7d</Guid>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>Text3</Name>
              <Page isRef="13" />
              <Parent isRef="17" />
              <Text>ProductName</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="23" type="GeneralFormat" isKey="true" />
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <TextQuality>Wysiwyg</TextQuality>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text3>
            <Text4 Ref="24" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>14.4,0,4.6,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12,Bold</Font>
              <GrowToHeight>True</GrowToHeight>
              <Guid>075be510b6304cabbdf36054a9273d5c</Guid>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>Text4</Name>
              <Page isRef="13" />
              <Parent isRef="17" />
              <Text>UnitPrice</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="25" type="GeneralFormat" isKey="true" />
              <TextOptions>HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,</TextOptions>
              <TextQuality>Wysiwyg</TextQuality>
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text4>
          </Components>
          <Conditions isList="true" count="0" />
          <MaxHeight>0</MaxHeight>
          <MinHeight>0</MinHeight>
          <Name>Header1</Name>
          <Page isRef="13" />
          <Parent isRef="13" />
        </Header1>
        <DataProducts Ref="26" type="DataBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,4.4,19,0.8</ClientRectangle>
          <Components isList="true" count="4">
            <DataProducts_ProductID Ref="27" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>2.4,0,3.4,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>DataProducts_ProductID</Name>
              <Page isRef="13" />
              <Parent isRef="26" />
              <Text>{Products.ProductID}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="28" type="GeneralFormat" isKey="true" />
              <VertAlignment>Center</VertAlignment>
            </DataProducts_ProductID>
            <DataProducts_ProductName Ref="29" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>5.8,0,8.6,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>DataProducts_ProductName</Name>
              <Page isRef="13" />
              <Parent isRef="26" />
              <Text>{Products.ProductName}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="30" type="GeneralFormat" isKey="true" />
              <VertAlignment>Center</VertAlignment>
            </DataProducts_ProductName>
            <DataProducts_UnitPrice Ref="31" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>14.4,0,4.6,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>DataProducts_UnitPrice</Name>
              <Page isRef="13" />
              <Parent isRef="26" />
              <Text>{Products.UnitPrice}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="32" type="GeneralFormat" isKey="true" />
              <VertAlignment>Center</VertAlignment>
            </DataProducts_UnitPrice>
            <Text5 Ref="33" type="Text" isKey="true">
              <Border>All;Black;1;Solid;False;4;Black</Border>
              <Brush>Transparent</Brush>
              <CanGrow>True</CanGrow>
              <ClientRectangle>0,0,2.4,0.8</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,8</Font>
              <Guid>90f28da9b9394785b37b6f4d01d73580</Guid>
              <LinesOfUnderline>None</LinesOfUnderline>
              <Margins>0,0,0,0</Margins>
              <MaxSize>0,0</MaxSize>
              <MinSize>0,0</MinSize>
              <Name>Text5</Name>
              <Page isRef="13" />
              <Parent isRef="26" />
              <Text>{Products.CategoryID}</Text>
              <TextBrush>Black</TextBrush>
              <TextFormat Ref="34" type="GeneralFormat" isKey="true" />
              <Type>Expression</Type>
              <VertAlignment>Center</VertAlignment>
            </Text5>
          </Components>
          <Conditions isList="true" count="0" />
          <DataRelationName />
          <DataSourceName>Products</DataSourceName>
          <Filters isList="true" count="0" />
          <MaxHeight>0</MaxHeight>
          <MinHeight>0</MinHeight>
          <Name>DataProducts</Name>
          <Page isRef="13" />
          <Parent isRef="13" />
          <Sort isList="true" count="0" />
        </DataProducts>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>b606f9829d4546b09736bcdc6a2edbd3</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <Page isRef="13" />
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="35" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100,Bold</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
  </Pages>
  <PreviewMode>StandardAndDotMatrix</PreviewMode>
  <PreviewSettings>33538047</PreviewSettings>
  <PrinterSettings Ref="36" 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>Simple List</ReportAlias>
  <ReportAuthor isNull="true" />
  <ReportChanged>10/28/2008 1:37:09 AM</ReportChanged>
  <ReportCreated>5/29/2004 10:59:00 AM</ReportCreated>
  <ReportDescription isNull="true" />
  <ReportGuid>bd70a51b61e4499ebdd508f9a07da834</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2008.2.300</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 SimpleList : Stimulsoft.Report.StiReport
    {
        
		public SimpleList()
        {
            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="1">
    <Odd Ref="37" type="Stimulsoft.Report.StiStyle" isKey="true">
      <Brush>PapayaWhip</Brush>
      <Font>Arial,8</Font>
      <Name>Odd</Name>
      <TextBrush>Black</TextBrush>
    </Odd>
  </Styles>
</StiSerializer>