﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<StiSerializer version="1.02" 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="1">
      <DataSource1 Ref="2" type="Stimulsoft.Report.Dictionary.StiCsvSource" isKey="true">
        <Alias>DataSource1</Alias>
        <CodePage>0</CodePage>
        <Columns isList="true" count="3">
          <value>ID,System.String</value>
          <value>Argument,System.String</value>
          <value>TestSet,System.String</value>
        </Columns>
        <Dictionary isRef="1" />
        <Name>DataSource1</Name>
        <NameInSource>C:\Dokumente und Einstellungen\Administrator\Desktop\testData1.csv</NameInSource>
        <Path>C:\Dokumente und Einstellungen\Administrator\Desktop\testData1.csv</Path>
      </DataSource1>
    </DataSources>
    <Relations isList="true" count="0" />
    <Report isRef="0" />
    <Variables isList="true" count="3">
      <value>,valueArray,valueArray,in_x0020_this_x0020_variable_x0020_the_x0020_different_x0020_argument_x0020_values_x0020_that_x0020_are_x0020_retrieved_x0020_from_x0020_the_x0020_data_x0020_source_x0020_are_x0020_stored,Stimulsoft.Report.StringList,,False,False,False</value>
      <value>,countArray,countArray,contains_x0020_the_x0020_number_x0020_of_x0020_occurences_x0020_of_x0020_the_x0020_different_x0020_argument_x0020_values,Stimulsoft.Report.IntList,,False,False,False</value>
      <value>,index,index,System.Int32,_x0030_,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="3" type="Stimulsoft.Report.Dialogs.StiForm" isKey="true">
      <BackColor>Control</BackColor>
      <Components isList="true" count="3">
        <ComboBoxControl1 Ref="4" type="Stimulsoft.Report.Dialogs.StiComboBoxControl" isKey="true">
          <BackColor>Window</BackColor>
          <ClientRectangle>24,24,88,20</ClientRectangle>
          <Components isList="true" count="0" />
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Items isList="true" count="2">
            <value>testset1</value>
            <value>testset2</value>
          </Items>
          <Location>24, 24</Location>
          <Name>ComboBoxControl1</Name>
          <Page isRef="3" />
          <Parent isRef="3" />
          <Size>88, 20</Size>
          <Text>Combo Box</Text>
        </ComboBoxControl1>
        <LabelControl1 Ref="5" type="Stimulsoft.Report.Dialogs.StiLabelControl" isKey="true">
          <BackColor>Control</BackColor>
          <ClientRectangle>8,8,104,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="3" />
          <Parent isRef="3" />
          <Size>104, 16</Size>
          <Text>Select test data set:</Text>
        </LabelControl1>
        <ButtonControl1 Ref="6" type="Stimulsoft.Report.Dialogs.StiButtonControl" isKey="true">
          <ClientRectangle>72,48,40,24</ClientRectangle>
          <Components isList="true" count="0" />
          <DialogResult>OK</DialogResult>
          <Font>Microsoft Sans Serif,8</Font>
          <ForeColor>Black</ForeColor>
          <Location>72, 48</Location>
          <Name>ButtonControl1</Name>
          <Page isRef="3" />
          <Parent isRef="3" />
          <Size>40, 24</Size>
          <Text>OK</Text>
        </ButtonControl1>
      </Components>
      <Font>Microsoft Sans Serif,8</Font>
      <Guid>25bcb82975354a169ae33fa98bd3d249</Guid>
      <Location>0, 0</Location>
      <Name>Form1</Name>
      <Report isRef="0" />
      <Size>136, 104</Size>
      <Text>Form1</Text>
    </Form1>
    <Page1 Ref="7" type="Page" isKey="true">
      <Border>None;Black;2;Solid;False;4;Black</Border>
      <Brush>Transparent</Brush>
      <Components isList="true" count="4">
        <HeaderBand1 Ref="8" type="HeaderBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,0.4,19,0</ClientRectangle>
          <Components isList="true" count="0" />
          <Conditions isList="true" count="0" />
          <Name>HeaderBand1</Name>
          <Page isRef="7" />
          <Parent isRef="7" />
        </HeaderBand1>
        <DataBand1 Ref="9" type="DataBand" isKey="true">
          <BeforePrintEvent>// check if argument value is already in argValueList
index = valueArray.IndexOf(DataSource1.Argument);

// if not add the value to argValueList and also add a new array element to argCount array
// (otherwise you will get an "Index out of range error" later).
// Then get the index of the previously added argument value
if (index == -1) {
   valueArray.Add(DataSource1.Argument);
   countArray.Add(0);
   index = valueArray.IndexOf(DataSource1.Argument);
}

// now increase argCount for that value (same index)
countArray[index]++;

</BeforePrintEvent>
          <Brush>Transparent</Brush>
          <BusinessObjectGuid isNull="true" />
          <ClientRectangle>0,1.2,19,1</ClientRectangle>
          <ColumnDirection>DownThenAcross</ColumnDirection>
          <ColumnGaps>0.2</ColumnGaps>
          <Columns>3</Columns>
          <Components isList="true" count="4">
            <Text1 Ref="10" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>0,0.2,1.8,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12</Font>
              <Margins>0,0,0,0</Margins>
              <Name>Text1</Name>
              <Page isRef="7" />
              <Parent isRef="9" />
              <Text>ID: {DataSource1.ID}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text1>
            <Text2 Ref="11" type="Text" isKey="true">
              <Brush>Transparent</Brush>
              <ClientRectangle>2.2,0.2,3.6,0.6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <Font>Arial,12</Font>
              <Guid>0eebe446a7e14bf08d317d2ed59f2cdb</Guid>
              <Margins>0,0,0,0</Margins>
              <Name>Text2</Name>
              <Page isRef="7" />
              <Parent isRef="9" />
              <Text>Argument: {DataSource1.Argument}</Text>
              <TextBrush>Black</TextBrush>
              <Type>Expression</Type>
            </Text2>
            <StartPointPrimitive1 Ref="12" type="Stimulsoft.Report.Components.StiStartPointPrimitive" isKey="true">
              <ClientRectangle>6.1,0,0,0</ClientRectangle>
              <Name>StartPointPrimitive1</Name>
              <Page isRef="7" />
              <Parent isRef="9" />
              <ReferenceToGuid>9f13d940d8254e31a993d10769738714</ReferenceToGuid>
            </StartPointPrimitive1>
            <EndPointPrimitive1 Ref="13" type="Stimulsoft.Report.Components.StiEndPointPrimitive" isKey="true">
              <ClientRectangle>6.1,1,0,0</ClientRectangle>
              <Name>EndPointPrimitive1</Name>
              <Page isRef="7" />
              <Parent isRef="9" />
              <ReferenceToGuid>9f13d940d8254e31a993d10769738714</ReferenceToGuid>
            </EndPointPrimitive1>
          </Components>
          <Conditions isList="true" count="0" />
          <DataRelationName isNull="true" />
          <DataSourceName>DataSource1</DataSourceName>
          <Filters isList="true" count="1">
            <value>_x007B_DataSource1.TestSet_x0020__x003D__x003D__x0020_ComboBoxControl1.Text_x007D_</value>
          </Filters>
          <Name>DataBand1</Name>
          <Page isRef="7" />
          <Parent isRef="7" />
          <Sort isList="true" count="0" />
        </DataBand1>
        <FooterBand1 Ref="14" type="FooterBand" isKey="true">
          <Brush>Transparent</Brush>
          <ClientRectangle>0,3,19,6.8</ClientRectangle>
          <Components isList="true" count="1">
            <Chart1 Ref="15" type="Stimulsoft.Report.Chart.StiChart" isKey="true">
              <Area Ref="16" type="Stimulsoft.Report.Chart.StiClusteredColumnArea" isKey="true">
                <BorderColor>95, 72, 29</BorderColor>
                <Brush>GradientBrush,[255:255:255],[255:255:219],90</Brush>
                <Chart isRef="15" />
                <GridLinesHor Ref="17" type="Stimulsoft.Report.Chart.StiGridLinesHor" isKey="true">
                  <Area isRef="16" />
                  <Color>100, 95, 72, 29</Color>
                  <MinorColor>100, 95, 72, 29</MinorColor>
                </GridLinesHor>
                <GridLinesHorRight Ref="18" type="Stimulsoft.Report.Chart.StiGridLinesHor" isKey="true">
                  <Area isRef="16" />
                  <Color>Silver</Color>
                  <MinorColor>Gainsboro</MinorColor>
                  <Visible>False</Visible>
                </GridLinesHorRight>
                <GridLinesVert Ref="19" type="Stimulsoft.Report.Chart.StiGridLinesVert" isKey="true">
                  <Area isRef="16" />
                  <Color>100, 95, 72, 29</Color>
                  <MinorColor>100, 95, 72, 29</MinorColor>
                </GridLinesVert>
                <InterlacingHor Ref="20" type="Stimulsoft.Report.Chart.StiInterlacingHor" isKey="true">
                  <Area isRef="16" />
                  <InterlacedBrush>[10:145:122:79]</InterlacedBrush>
                </InterlacingHor>
                <InterlacingVert Ref="21" type="Stimulsoft.Report.Chart.StiInterlacingVert" isKey="true">
                  <Area isRef="16" />
                  <InterlacedBrush>[10:145:122:79]</InterlacedBrush>
                </InterlacingVert>
                <XAxis Ref="22" type="Stimulsoft.Report.Chart.StiXBottomAxis" isKey="true">
                  <Area isRef="16" />
                  <Interaction Ref="23" type="Stimulsoft.Report.Chart.StiAxisInteraction" isKey="true" />
                  <Labels Ref="24" type="Stimulsoft.Report.Chart.StiAxisLabels" isKey="true">
                    <Color>95, 72, 29</Color>
                    <Font>Tahoma,8</Font>
                  </Labels>
                  <LineColor>95, 72, 29</LineColor>
                  <Range Ref="25" type="Stimulsoft.Report.Chart.StiAxisRange" isKey="true" />
                  <Ticks Ref="26" type="Stimulsoft.Report.Chart.StiAxisTicks" isKey="true" />
                  <Title Ref="27" type="Stimulsoft.Report.Chart.StiAxisTitle" isKey="true">
                    <Color>95, 72, 29</Color>
                    <Direction>LeftToRight</Direction>
                    <Font>Tahoma,12,Bold</Font>
                  </Title>
                </XAxis>
                <XTopAxis Ref="28" type="Stimulsoft.Report.Chart.StiXTopAxis" isKey="true">
                  <Area isRef="16" />
                  <Interaction Ref="29" type="Stimulsoft.Report.Chart.StiAxisInteraction" isKey="true" />
                  <Labels Ref="30" type="Stimulsoft.Report.Chart.StiAxisLabels" isKey="true">
                    <Color>95, 72, 29</Color>
                    <Font>Tahoma,8</Font>
                  </Labels>
                  <LineColor>95, 72, 29</LineColor>
                  <Ticks Ref="31" type="Stimulsoft.Report.Chart.StiAxisTicks" isKey="true" />
                  <Title Ref="32" type="Stimulsoft.Report.Chart.StiAxisTitle" isKey="true">
                    <Color>95, 72, 29</Color>
                    <Direction>LeftToRight</Direction>
                    <Font>Tahoma,12,Bold</Font>
                  </Title>
                </XTopAxis>
                <YAxis Ref="33" type="Stimulsoft.Report.Chart.StiYLeftAxis" isKey="true">
                  <Area isRef="16" />
                  <Interaction Ref="34" type="Stimulsoft.Report.Chart.StiAxisInteraction" isKey="true" />
                  <Labels Ref="35" type="Stimulsoft.Report.Chart.StiAxisLabels" isKey="true">
                    <Color>95, 72, 29</Color>
                    <Font>Tahoma,8</Font>
                  </Labels>
                  <LineColor>95, 72, 29</LineColor>
                  <Range Ref="36" type="Stimulsoft.Report.Chart.StiAxisRange" isKey="true" />
                  <Ticks Ref="37" type="Stimulsoft.Report.Chart.StiAxisTicks" isKey="true" />
                  <Title Ref="38" type="Stimulsoft.Report.Chart.StiAxisTitle" isKey="true">
                    <Color>95, 72, 29</Color>
                    <Direction>BottomToTop</Direction>
                    <Font>Tahoma,12,Bold</Font>
                  </Title>
                </YAxis>
                <YRightAxis Ref="39" type="Stimulsoft.Report.Chart.StiYRightAxis" isKey="true">
                  <Area isRef="16" />
                  <Interaction Ref="40" type="Stimulsoft.Report.Chart.StiAxisInteraction" isKey="true" />
                  <Labels Ref="41" type="Stimulsoft.Report.Chart.StiAxisLabels" isKey="true">
                    <Color>95, 72, 29</Color>
                    <Font>Tahoma,8</Font>
                    <TextAlignment>Left</TextAlignment>
                  </Labels>
                  <LineColor>95, 72, 29</LineColor>
                  <Range Ref="42" type="Stimulsoft.Report.Chart.StiAxisRange" isKey="true" />
                  <Ticks Ref="43" type="Stimulsoft.Report.Chart.StiAxisTicks" isKey="true" />
                  <Title Ref="44" type="Stimulsoft.Report.Chart.StiAxisTitle" isKey="true">
                    <Color>95, 72, 29</Color>
                    <Direction>TopToBottom</Direction>
                    <Font>Tahoma,12,Bold</Font>
                  </Title>
                </YRightAxis>
              </Area>
              <Brush>[255:255:255]</Brush>
              <ClientRectangle>0.6,0.2,17.8,6</ClientRectangle>
              <Conditions isList="true" count="0" />
              <ConstantLines isList="true" count="0" />
              <CustomStyleName />
              <Filters isList="true" count="0" />
              <Legend Ref="45" type="Stimulsoft.Report.Chart.StiLegend" isKey="true">
                <BorderColor>95, 72, 29</BorderColor>
                <Brush>GradientBrush,[255:255:255],[255:242:199],90</Brush>
                <Chart isRef="15" />
                <Font>Arial,8</Font>
                <LabelsColor>95, 72, 29</LabelsColor>
                <MarkerSize>10, 10</MarkerSize>
                <TitleColor>95, 72, 29</TitleColor>
                <TitleFont>Arial,14,Bold</TitleFont>
              </Legend>
              <Name>Chart1</Name>
              <Page isRef="7" />
              <Parent isRef="14" />
              <Series isList="true" count="1">
                <Item15 Ref="46" type="Stimulsoft.Report.Chart.StiClusteredColumnSeries" isKey="true">
                  <BorderColor>94, 17, 0</BorderColor>
                  <Brush>GlareBrush,[144:67:3],[194:117:53],0,0.5,1</Brush>
                  <Chart isRef="15" />
                  <Conditions isList="true" count="0" />
                  <Filters isList="true" count="0" />
                  <ListOfArguments>{valueArray[0]};{valueArray[1]}</ListOfArguments>
                  <ListOfValues>{countArray[0]};{countArray[1]}</ListOfValues>
                  <SeriesLabels Ref="47" type="Stimulsoft.Report.Chart.StiCenterAxisLabels" isKey="true">
                    <BorderColor>95, 72, 29</BorderColor>
                    <Brush>Wheat</Brush>
                    <Font>Arial,7</Font>
                    <LabelColor>95, 72, 29</LabelColor>
                    <MarkerSize>8, 6</MarkerSize>
                    <ValueTypeSeparator>-</ValueTypeSeparator>
                  </SeriesLabels>
                  <Title>Series 1</Title>
                </Item15>
              </Series>
              <SeriesLabels Ref="48" type="Stimulsoft.Report.Chart.StiInsideEndAxisLabels" isKey="true">
                <BorderColor>95, 72, 29</BorderColor>
                <Brush>Wheat</Brush>
                <Chart isRef="15" />
                <Font>Arial,7</Font>
                <LabelColor>95, 72, 29</LabelColor>
                <MarkerSize>8, 6</MarkerSize>
                <ValueTypeSeparator>-</ValueTypeSeparator>
              </SeriesLabels>
              <SeriesLabelsConditions isList="true" count="0" />
              <Sort isList="true" count="0" />
              <Strips isList="true" count="0" />
              <Style Ref="49" type="Stimulsoft.Report.Chart.StiStyle01" isKey="true" />
              <Title Ref="50" type="Stimulsoft.Report.Chart.StiChartTitle" isKey="true">
                <Brush>[95:72:29]</Brush>
                <Font>Tahoma,12,Bold</Font>
              </Title>
            </Chart1>
          </Components>
          <Conditions isList="true" count="0" />
          <Name>FooterBand1</Name>
          <Page isRef="7" />
          <Parent isRef="7" />
        </FooterBand1>
        <VerticalLinePrimitive1 Ref="51" type="VerticalLinePrimitive" isKey="true">
          <ClientRectangle>6.1,1.2,0.0254,1</ClientRectangle>
          <Color>Black</Color>
          <EndCap Ref="52" type="Cap" isKey="true">
            <Color>Black</Color>
          </EndCap>
          <Guid>9f13d940d8254e31a993d10769738714</Guid>
          <Name>VerticalLinePrimitive1</Name>
          <Page isRef="7" />
          <Parent isRef="7" />
          <StartCap Ref="53" type="Cap" isKey="true">
            <Color>Black</Color>
          </StartCap>
        </VerticalLinePrimitive1>
      </Components>
      <Conditions isList="true" count="0" />
      <Guid>7fc324f1bc1e443198da70bc21cf36d0</Guid>
      <Margins>1,1,1,1</Margins>
      <Name>Page1</Name>
      <PageHeight>29.7</PageHeight>
      <PageWidth>21</PageWidth>
      <Report isRef="0" />
      <Watermark Ref="54" type="Stimulsoft.Report.Components.StiWatermark" isKey="true">
        <Font>Arial,100</Font>
        <TextBrush>[50:0:0:0]</TextBrush>
      </Watermark>
    </Page1>
  </Pages>
  <PrinterSettings Ref="55" 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/18/2012 9:19:44 PM</ReportChanged>
  <ReportCreated>1/18/2012 5:07:40 PM</ReportCreated>
  <ReportFile>C:\Dokumente und Einstellungen\Administrator\Desktop\Report.mrt</ReportFile>
  <ReportGuid>416ecac914c04fad82b538e7575405e2</ReportGuid>
  <ReportName>Report</ReportName>
  <ReportUnit>Centimeters</ReportUnit>
  <ReportVersion>2011.3.1200</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>