Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5409 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61pull/1/head
22 changed files with 0 additions and 2859 deletions
Before Width: | Height: | Size: 298 B |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 273 B |
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><ReportModel><ReportSettings><ReportSettings><DataModel>FormSheet</DataModel><UseStandardPrinter>True</UseStandardPrinter><CommandType>Text</CommandType><NoDataMessage>No Data for this Report</NoDataMessage><ReportType>FormSheet</ReportType><Padding>5, 5, 5, 5</Padding><GraphicsUnit>Millimeter</GraphicsUnit><GridSize>8, 8</GridSize><DefaultFont>Microsoft Sans Serif, 10pt</DefaultFont><ReportName>Report1</ReportName><GroupColumnsCollection /><ConnectionString /><AvailableFieldsCollection /><SortColumnCollection /><DefaultMargins>50, 50, 50, 50</DefaultMargins><LandSacpe>False</LandSacpe></ReportSettings></ReportSettings><SectionCollection><BaseSection><CanShrink>False</CanShrink><Location>50, 50</Location><SectionMargin>50</SectionMargin><Name>ReportHeader</Name><Items><BaseImageItem><ImageSource>File</ImageSource><Location>103, 24</Location><Name>ReportImageControl</Name><Size>582, 50</Size><ScaleImageToSize>False</ScaleImageToSize><Name>ReportImageControl</Name><BackColor>Window</BackColor><RelativeFileName>D:\SharpReportTester\TestReports\GoodFiles\Logos\Bannerbeige2.gif</RelativeFileName><ImageFileName>D:\SharpReportTester\TestReports\GoodFiles\Logos\Bannerbeige2.gif</ImageFileName></BaseImageItem></Items><DrawBorder>False</DrawBorder><PageBreakAfter>False</PageBreakAfter><SectionOffset>0</SectionOffset><BackColor>Window</BackColor><CanGrow>False</CanGrow><Size>718, 85</Size></BaseSection><BaseSection><CanShrink>False</CanShrink><Location>50, 150</Location><SectionMargin>50</SectionMargin><Name>ReportPageHeader</Name><Items><BaseTextItem><FrameColor>WindowFrame</FrameColor><Name>reportTextItem1</Name><Location>90, 10</Location><Name>reportTextItem1</Name><ContentAlignment>TopCenter</ContentAlignment><Visible>True</Visible><FormatString /><Size>599, 57</Size><Text>#develop Open Source Project |
||||
Joint Copyright Assignment by Contributor To AlphaSierraPapa</Text><BackColor>White</BackColor><Font>Microsoft Sans Serif, 14pt, style=Bold</Font><DrawBorder>False</DrawBorder><ForeColor>ControlText</ForeColor></BaseTextItem><BaseLineItem><StartLineCap>Flat</StartLineCap><FromPoint>10, 5</FromPoint><Location>92, 82</Location><Name>reportLineControl1</Name><Size>597, 9</Size><Name>reportLineControl1</Name><EndLineCap>Flat</EndLineCap><DashStyle>Solid</DashStyle><BackColor>White</BackColor><DashLineCap>Flat</DashLineCap><ForeColor>ControlText</ForeColor><ToPoint>40, 5</ToPoint><Thickness>1</Thickness></BaseLineItem></Items><DrawBorder>False</DrawBorder><PageBreakAfter>False</PageBreakAfter><SectionOffset>0</SectionOffset><BackColor>Window</BackColor><CanGrow>False</CanGrow><Size>718, 95</Size></BaseSection><BaseSection><CanShrink>False</CanShrink><Location>50, 260</Location><SectionMargin>50</SectionMargin><Name>ReportDetail</Name><Items><BaseTextItem><FrameColor>WindowFrame</FrameColor><Name>reportTextItem1</Name><Location>50, 8</Location><ContentAlignment>TopLeft</ContentAlignment><Visible>True</Visible><FormatString /><Size>622, 135</Size><Name>reportTextItem1</Name><Text>Contact Information: |
||||
Full Name:_________________________________ (the "Contributor") |
||||
|
||||
Mailing Address_________________________ e-mail :_________________________ |
||||
|
||||
______________________________________ Telephone :_________________________ |
||||
|
||||
Country:_______________________________ Facsimile :_________________________</Text><BackColor>White</BackColor><Font>Microsoft Sans Serif, 10pt</Font><DrawBorder>True</DrawBorder><ForeColor>ControlText</ForeColor></BaseTextItem><BaseTextItem><FrameColor>WindowFrame</FrameColor><Name>reportTextItem2</Name><Location>50, 171</Location><ContentAlignment>TopLeft</ContentAlignment><Visible>True</Visible><FormatString /><Size>675, 67</Size><Name>reportTextItem2</Name><Text>1. Contributor owns, and has sufficient rights to contribute, all source code and related material intended |
||||
to be compiled or integrated with the source code for the #develop open source product (the |
||||
"Contribution") which Contributor has ever delivered, and AlphaSierraPapa has accepted, for |
||||
incorporation into the technology made available under the #develop open source project.</Text><BackColor>White</BackColor><Font>Microsoft Sans Serif, 10pt</Font><DrawBorder>True</DrawBorder><ForeColor>ControlText</ForeColor></BaseTextItem><BaseTextItem><FrameColor>WindowFrame</FrameColor><Name>reportTextItem3</Name><Location>50, 257</Location><ContentAlignment>TopLeft</ContentAlignment><Visible>True</Visible><FormatString /><Size>695, 113</Size><Name>reportTextItem3</Name><Text>2. Contributor hereby assigns to AlphaSierraPapa joint ownership in all worldwide common law and |
||||
statutory rights associated with the copyrights, copyright application, copyright registration and moral |
||||
rights in the Contribution to the extent allowable under applicable local laws and copyright |
||||
conventions. Contributor agrees that this assignment may be submitted by AlphaSierraPapa to register |
||||
a copyright in the Contribution. Contributor retains the right to use the Contribution for Contributor's |
||||
own purposes. This Joint Copyright Assignment supersedes and replaces all prior copyright |
||||
assignments made by Contributor to AlphaSierraPapa under the #develop project.</Text><BackColor>White</BackColor><Font>Microsoft Sans Serif, 10pt</Font><DrawBorder>True</DrawBorder><ForeColor>ControlText</ForeColor></BaseTextItem><BaseTextItem><FrameColor>WindowFrame</FrameColor><Name>reportTextItem4</Name><Location>50, 380</Location><ContentAlignment>TopLeft</ContentAlignment><Visible>True</Visible><FormatString /><Size>696, 37</Size><Text>3. Contributor is legally entitled to grant the above assignment and agrees not to provide any |
||||
Contribution that violates any law or breaches any contract.</Text><Name>reportTextItem4</Name><BackColor>White</BackColor><Font>Microsoft Sans Serif, 10pt</Font><DrawBorder>False</DrawBorder><ForeColor>ControlText</ForeColor></BaseTextItem><BaseTextItem><FrameColor>WindowFrame</FrameColor><Name>reportTextItem5</Name><Name>reportTextItem5</Name><Location>50, 443</Location><ContentAlignment>TopLeft</ContentAlignment><Visible>True</Visible><FormatString /><Size>695, 80</Size><Text>Signed:________________________________________ Date_______________ |
||||
|
||||
Printed Name:__________________________________ |
||||
|
||||
Please send a signed copy of this assignment by facsimile to AlphaSierraPapa at:</Text><BackColor>White</BackColor><Font>Microsoft Sans Serif, 10pt</Font><DrawBorder>True</DrawBorder><ForeColor>ControlText</ForeColor></BaseTextItem><BaseTextItem><Name>reportTextItem6</Name><FrameColor>WindowFrame</FrameColor><Name>reportTextItem6</Name><Location>50, 551</Location><ContentAlignment>TopLeft</ContentAlignment><Visible>True</Visible><FormatString /><Size>213, 139</Size><Text>+43-3842-22620 |
||||
|
||||
or mail it to: |
||||
|
||||
AlphaSierraPapa |
||||
Christoph Wille |
||||
Vordernbergerstrasse 27/8 |
||||
8700 Leoben |
||||
AUSTRIA</Text><BackColor>White</BackColor><Font>Microsoft Sans Serif, 10pt</Font><DrawBorder>False</DrawBorder><ForeColor>ControlText</ForeColor></BaseTextItem></Items><DrawBorder>False</DrawBorder><PageBreakAfter>False</PageBreakAfter><SectionOffset>0</SectionOffset><BackColor>Window</BackColor><CanGrow>False</CanGrow><Size>718, 723</Size></BaseSection><BaseSection><CanShrink>False</CanShrink><Location>50, 998</Location><SectionMargin>50</SectionMargin><Name>ReportPageFooter</Name><Items /><DrawBorder>False</DrawBorder><PageBreakAfter>False</PageBreakAfter><SectionOffset>0</SectionOffset><BackColor>Window</BackColor><CanGrow>False</CanGrow><Size>718, 50</Size></BaseSection><BaseSection><CanShrink>False</CanShrink><Location>50, 1063</Location><SectionMargin>50</SectionMargin><Name>ReportFooter</Name><Items /><DrawBorder>False</DrawBorder><PageBreakAfter>False</PageBreakAfter><SectionOffset>0</SectionOffset><BackColor>Window</BackColor><CanGrow>False</CanGrow><Size>718, 50</Size></BaseSection></SectionCollection></ReportModel> |
@ -1,286 +0,0 @@
@@ -1,286 +0,0 @@
|
||||
<ReportModel> |
||||
<ReportSettings> |
||||
<ReportSettings> |
||||
<ReportName>Report1</ReportName> |
||||
<ReportType>DataReport</ReportType> |
||||
<UseStandardPrinter>True</UseStandardPrinter> |
||||
<DefaultMargins>50, 50, 50, 50</DefaultMargins> |
||||
<GraphicsUnit>Millimeter</GraphicsUnit> |
||||
<GridSize>8, 8</GridSize> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<AvailableFieldsCollection /> |
||||
<SortColumnCollection /> |
||||
<GroupColumnsCollection /> |
||||
<ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\SharpReportTester\TestReports\Nwind.mdb;Persist Security Info=False</ConnectionString> |
||||
<CommandText>SELECT Employees.EmployeeID, Employees.FirstName, Employees.LastName, Employees.HireDate from Employees</CommandText> |
||||
<CommandType>Text</CommandType> |
||||
<DataModel>PullData</DataModel> |
||||
<NoDataMessage>No Data for this Report</NoDataMessage> |
||||
<DefaultFont>Microsoft Sans Serif, 10pt</DefaultFont> |
||||
</ReportSettings> |
||||
</ReportSettings> |
||||
<SectionCollection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>803, 35</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportHeader</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>803, 92</Size> |
||||
<CanGrow>True</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseTextItem> |
||||
<Location>50, 0</Location> |
||||
<Size>226, 26</Size> |
||||
<Font>Microsoft Sans Serif, 15pt</Font> |
||||
<Text>Employees HireDate</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>55, 40</Location> |
||||
<Size>176, 25</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>EmployeeID</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>236, 40</Location> |
||||
<Size>176, 25</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>FirstName</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>417, 40</Location> |
||||
<Size>176, 25</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>LastName</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>598, 40</Location> |
||||
<Size>176, 25</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>HireDate</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>415, 5</Location> |
||||
<Size>179, 23</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Date printed ${date}</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportPageHeader</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>803, 66</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseRowItem> |
||||
<Size>727, 45</Size> |
||||
<Location>55, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<AlternateBackColor /> |
||||
<ChangeBackColorEveryNRow>0</ChangeBackColorEveryNRow> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<Items> |
||||
<BaseDataItem> |
||||
<Size>176, 25</Size> |
||||
<Location>5, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>EmployeeID</Text> |
||||
<ColumnName>EmployeeID</ColumnName> |
||||
<DataType>System.Int32</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportDbTextItem1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>176, 25</Size> |
||||
<Location>186, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>FirstName</Text> |
||||
<ColumnName>FirstName</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportDbTextItem2</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>176, 25</Size> |
||||
<Location>367, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>LastName</Text> |
||||
<ColumnName>LastName</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportDbTextItem3</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>176, 25</Size> |
||||
<Location>548, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>HireDate</Text> |
||||
<ColumnName>HireDate</ColumnName> |
||||
<DataType>System.DateTime</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString>dd/MMM/yyyy</FormatString> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportDbTextItem4</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
</Items> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>row1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseRowItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportDetail</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>803, 47</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseTextItem> |
||||
<Location>270, 0</Location> |
||||
<Size>178, 20</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>User: ${user}</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>TopLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>458, 0</Location> |
||||
<Size>244, 23</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Version of SDR : ${version}</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>52, 6</Location> |
||||
<Size>134, 20</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Page : ${page}</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>ReportTextItem</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportPageFooter</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>803, 55</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportFooter</Name> |
||||
</BaseSection> |
||||
</SectionCollection> |
||||
</ReportModel> |
@ -1,246 +0,0 @@
@@ -1,246 +0,0 @@
|
||||
<ReportModel> |
||||
<ReportSettings> |
||||
<ReportSettings> |
||||
<ReportName>Report1</ReportName> |
||||
<ReportType>DataReport</ReportType> |
||||
<UseStandardPrinter>True</UseStandardPrinter> |
||||
<DefaultMargins>50, 50, 50, 50</DefaultMargins> |
||||
<GraphicsUnit>Millimeter</GraphicsUnit> |
||||
<GridSize>8, 8</GridSize> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<ConnectionString>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\SharpReportTester\TestReports\Nwind.mdb;Persist Security Info=False</ConnectionString> |
||||
<CommandText>SELECT Employees.EmployeeID, Employees.FirstName, Employees.Photo from employees</CommandText> |
||||
<CommandType>Text</CommandType> |
||||
<DataModel>PullData</DataModel> |
||||
<NoDataMessage>No Data for this Report</NoDataMessage> |
||||
<DefaultFont>Microsoft Sans Serif, 10pt</DefaultFont> |
||||
</ReportSettings> |
||||
</ReportSettings> |
||||
<SectionCollection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportHeader</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 90</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseTextItem> |
||||
<Location>50, 0</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Report1</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportTextItem1</Name> |
||||
<Size>242, 26</Size> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>55, 40</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>EmployeeID</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportTextItem2</Name> |
||||
<Size>111, 25</Size> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>192, 40</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>FirstName</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportTextItem3</Name> |
||||
<Size>164, 25</Size> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>408, 40</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Photo</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportTextItem4</Name> |
||||
<Size>202, 25</Size> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseLineItem> |
||||
<Size>637, 12</Size> |
||||
<Location>56, 75</Location> |
||||
<Thickness>1</Thickness> |
||||
<DashStyle>Solid</DashStyle> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportLineControl1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseLineItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportPageHeader</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 176</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseRowItem> |
||||
<Size>727, 141</Size> |
||||
<Location>55, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<AlternateBackColor /> |
||||
<ChangeBackColorEveryNRow>0</ChangeBackColorEveryNRow> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<Items> |
||||
<BaseDataItem> |
||||
<Size>108, 25</Size> |
||||
<Location>5, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>9</Text> |
||||
<ColumnName>EmployeeID</ColumnName> |
||||
<DataType>System.Int32</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportDbTextItem1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>170, 25</Size> |
||||
<Location>127, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Anne</Text> |
||||
<ColumnName>FirstName</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportDbTextItem2</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseImageItem> |
||||
<Size>290, 125</Size> |
||||
<Location>350, 5</Location> |
||||
<ImageFileName /> |
||||
<ColumnName>Photo</ColumnName> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<ScaleImageToSize>False</ScaleImageToSize> |
||||
<Thickness>1</Thickness> |
||||
<DashStyle>Solid</DashStyle> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportImageControl1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseImageItem> |
||||
</Items> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>row1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseRowItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportDetail</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BasePageNumber> |
||||
<Size>242, 25</Size> |
||||
<Location>50, 0</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Seiten Nummer</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>pageNumber1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BasePageNumber> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportPageFooter</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportFooter</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
</SectionCollection> |
||||
</ReportModel> |
@ -1,233 +0,0 @@
@@ -1,233 +0,0 @@
|
||||
<ReportModel> |
||||
<ReportSettings> |
||||
<ReportSettings> |
||||
<ReportName>Report1</ReportName> |
||||
<ReportType>DataReport</ReportType> |
||||
<UseStandardPrinter>True</UseStandardPrinter> |
||||
<DefaultMargins>50, 50, 50, 50</DefaultMargins> |
||||
<GraphicsUnit>Millimeter</GraphicsUnit> |
||||
<GridSize>8, 8</GridSize> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<ConnectionString /> |
||||
<CommandText>SELECT * FROM Shippers</CommandText> |
||||
<CommandType>Text</CommandType> |
||||
<DataModel>PullData</DataModel> |
||||
<NoDataMessage>No Data for this Report</NoDataMessage> |
||||
<DefaultFont>Microsoft Sans Serif, 10pt</DefaultFont> |
||||
</ReportSettings> |
||||
</ReportSettings> |
||||
<SectionCollection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportHeader</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 90</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseTextItem> |
||||
<Location>50, 0</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Report1</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportTextItem1</Name> |
||||
<Size>242, 26</Size> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>55, 40</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>ShipperID</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportTextItem2</Name> |
||||
<Size>237, 25</Size> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>297, 40</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>CompanyName</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportTextItem3</Name> |
||||
<Size>237, 25</Size> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>539, 40</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Phone</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportTextItem4</Name> |
||||
<Size>237, 25</Size> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportPageHeader</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseRowItem> |
||||
<Size>727, 35</Size> |
||||
<Location>55, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<AlternateBackColor /> |
||||
<ChangeBackColorEveryNRow>0</ChangeBackColorEveryNRow> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<Items> |
||||
<BaseDataItem> |
||||
<Size>237, 25</Size> |
||||
<Location>5, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>ShipperID</Text> |
||||
<ColumnName>ShipperID</ColumnName> |
||||
<DataType>System.Int32</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportDbTextItem1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>237, 25</Size> |
||||
<Location>247, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>CompanyName</Text> |
||||
<ColumnName>CompanyName</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportDbTextItem2</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>237, 25</Size> |
||||
<Location>489, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Phone</Text> |
||||
<ColumnName>Phone</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>reportDbTextItem3</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
</Items> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>row1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseRowItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportDetail</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BasePageNumber> |
||||
<Size>242, 25</Size> |
||||
<Location>50, 0</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Seiten Nummer</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>pageNumber1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BasePageNumber> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportPageFooter</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<Name>ReportFooter</Name> |
||||
<Location>0, 0</Location> |
||||
</BaseSection> |
||||
</SectionCollection> |
||||
</ReportModel> |
@ -1,299 +0,0 @@
@@ -1,299 +0,0 @@
|
||||
<ReportModel> |
||||
<ReportSettings> |
||||
<ReportSettings> |
||||
<ReportName>Report1</ReportName> |
||||
<ReportType>DataReport</ReportType> |
||||
<UseStandardPrinter>True</UseStandardPrinter> |
||||
<DefaultMargins>50, 50, 50, 50</DefaultMargins> |
||||
<GraphicsUnit>Millimeter</GraphicsUnit> |
||||
<GridSize>8, 8</GridSize> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<AvailableFieldsCollection> |
||||
<AbstractColumn> |
||||
<ColumnName>EmployeeID</ColumnName> |
||||
<DataTypeName>System.Int32</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>LastName</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>FirstName</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>Title</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>TitleOfCourtesy</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>BirthDate</ColumnName> |
||||
<DataTypeName>System.DateTime</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>HireDate</ColumnName> |
||||
<DataTypeName>System.DateTime</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>Address</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>City</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>Region</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>PostalCode</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>Country</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>HomePhone</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>Extension</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>Photo</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>Notes</ColumnName> |
||||
<DataTypeName>System.String</DataTypeName> |
||||
</AbstractColumn> |
||||
<AbstractColumn> |
||||
<ColumnName>ReportsTo</ColumnName> |
||||
<DataTypeName>System.Int32</DataTypeName> |
||||
</AbstractColumn> |
||||
</AvailableFieldsCollection> |
||||
<SortColumnCollection /> |
||||
<GroupColumnsCollection /> |
||||
<ConnectionString /> |
||||
<!--System.ArgumentException: Der Wert "0" ist für die Enumeration "CommandType" ungültig. |
||||
bei System.ComponentModel.EnumConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) |
||||
bei System.ComponentModel.TypeConverter.ConvertToString(ITypeDescriptorContext context, CultureInfo culture, Object value) |
||||
bei System.ComponentModel.TypeConverter.ConvertToInvariantString(Object value) |
||||
bei ICSharpCode.Reports.Core.MycroWriter.Save(Object obj, XmlWriter writer) in d:\SharpReport\trunk\src\ICSharpCode.Reports.Core\Project\Xml\MycroWriter.cs:Zeile 51.--> |
||||
<DataModel>PushData</DataModel> |
||||
<NoDataMessage>No Data for this Report</NoDataMessage> |
||||
<DefaultFont>Microsoft Sans Serif, 10pt</DefaultFont> |
||||
</ReportSettings> |
||||
</ReportSettings> |
||||
<SectionCollection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportHeader</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 90</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseTextItem> |
||||
<Location>50, 0</Location> |
||||
<Size>292, 26</Size> |
||||
<Font>Microsoft Sans Serif, 15pt, style=Bold</Font> |
||||
<Text>Employees with PushModell</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportTextItem1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>577, 5</Location> |
||||
<Size>200, 20</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Tagesdatum ${Date}</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportTextItem2</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>55, 40</Location> |
||||
<Size>176, 25</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>EmployeeID</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportTextItem3</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>236, 40</Location> |
||||
<Size>176, 25</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>LastName</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportTextItem4</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
<BaseTextItem> |
||||
<Location>417, 40</Location> |
||||
<Size>176, 25</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>FirstName</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportTextItem5</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportPageHeader</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseRowItem> |
||||
<Size>727, 35</Size> |
||||
<Location>55, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<AlternateBackColor /> |
||||
<ChangeBackColorEveryNRow>0</ChangeBackColorEveryNRow> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<Items> |
||||
<BaseDataItem> |
||||
<Size>237, 25</Size> |
||||
<Location>5, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>9</Text> |
||||
<ColumnName>EmployeeID</ColumnName> |
||||
<DataType>System.Int32</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportDbTextItem1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>237, 25</Size> |
||||
<Location>247, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Dodsworth</Text> |
||||
<ColumnName>LastName</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportDbTextItem2</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>237, 25</Size> |
||||
<Location>489, 5</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Anne</Text> |
||||
<ColumnName>FirstName</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<BaseTableName>Table</BaseTableName> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportDbTextItem3</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
</Items> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>row1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseRowItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportDetail</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseTextItem> |
||||
<Location>50, 5</Location> |
||||
<Size>200, 20</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Seiten Nummer ${Page}</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>reportTextItem1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportPageFooter</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 50</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportFooter</Name> |
||||
</BaseSection> |
||||
</SectionCollection> |
||||
</ReportModel> |
Binary file not shown.
@ -1,176 +0,0 @@
@@ -1,176 +0,0 @@
|
||||
<ReportModel> |
||||
<ReportSettings> |
||||
<ReportSettings> |
||||
<ReportName>Report1</ReportName> |
||||
<ReportType>DataReport</ReportType> |
||||
<UseStandardPrinter>True</UseStandardPrinter> |
||||
<DefaultMargins>50, 50, 50, 50</DefaultMargins> |
||||
<GraphicsUnit>Millimeter</GraphicsUnit> |
||||
<GridSize>8, 8</GridSize> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<AvailableFieldsCollection /> |
||||
<SortColumnCollection /> |
||||
<GroupColumnsCollection /> |
||||
<ConnectionString /> |
||||
<!--System.ArgumentException: Der Wert "0" ist für die Enumeration "CommandType" ungültig. |
||||
bei System.ComponentModel.EnumConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) |
||||
bei System.ComponentModel.TypeConverter.ConvertToString(ITypeDescriptorContext context, CultureInfo culture, Object value) |
||||
bei System.ComponentModel.TypeConverter.ConvertToInvariantString(Object value) |
||||
bei ICSharpCode.Reports.Core.MycroWriter.Save(Object obj, XmlWriter writer) in d:\SharpReport\src\ICSharpCode.Reports.Core\Project\Xml\MycroWriter.cs:Zeile 51.--> |
||||
<DataModel>PushData</DataModel> |
||||
<NoDataMessage>No Data for this Report</NoDataMessage> |
||||
<DefaultFont>Microsoft Sans Serif, 10pt</DefaultFont> |
||||
</ReportSettings> |
||||
</ReportSettings> |
||||
<SectionCollection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 35</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportHeader</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 108</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseImageItem> |
||||
<Size>661, 42</Size> |
||||
<Location>47, 6</Location> |
||||
<Name>ReportImageControl</Name> |
||||
<ImageFileName>D:\SharpReport\samples\Reports\Logos\Bannerbeige2.gif</ImageFileName> |
||||
<RelativeFileName>..\Logos\Bannerbeige2.gif</RelativeFileName> |
||||
<ScaleImageToSize>False</ScaleImageToSize> |
||||
<Visible>True</Visible> |
||||
</BaseImageItem> |
||||
<BaseLineItem> |
||||
<Size>661, 19</Size> |
||||
<Location>47, 87</Location> |
||||
<FromPoint>47, 87</FromPoint> |
||||
<ToPoint>708, 87</ToPoint> |
||||
<Thickness>1</Thickness> |
||||
<DashStyle>Solid</DashStyle> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<BackColor>White</BackColor> |
||||
</BaseLineItem> |
||||
<BaseTextItem> |
||||
<Name>reportTextItem1</Name> |
||||
<Location>46, 63</Location> |
||||
<Size>109, 20</Size> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Firstname</Text> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<BackColor>White</BackColor> |
||||
</BaseTextItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportPageHeader</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 51</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items> |
||||
<BaseRowItem> |
||||
<Name>Row</Name> |
||||
<Size>655, 40</Size> |
||||
<Location>47, 10</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<AlternateBackColor /> |
||||
<ChangeBackColorEveryNRow>0</ChangeBackColorEveryNRow> |
||||
<Padding>5, 5, 5, 5</Padding> |
||||
<Items> |
||||
<BaseDataItem> |
||||
<Size>147, 25</Size> |
||||
<Location>10, 10</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>First</Text> |
||||
<ColumnName>First</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>unbound1</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>139, 25</Size> |
||||
<Location>187, 10</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>last</Text> |
||||
<ColumnName>last</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>unbound2</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
<BaseDataItem> |
||||
<Size>216, 25</Size> |
||||
<Location>382, 10</Location> |
||||
<Font>Microsoft Sans Serif, 10pt</Font> |
||||
<Text>Job</Text> |
||||
<ColumnName>Job</ColumnName> |
||||
<DataType>System.String</DataType> |
||||
<FormatString /> |
||||
<StringTrimming>EllipsisCharacter</StringTrimming> |
||||
<ContentAlignment>MiddleLeft</ContentAlignment> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<Name>unbound3</Name> |
||||
<BackColor>White</BackColor> |
||||
</BaseDataItem> |
||||
</Items> |
||||
<DrawBorder>False</DrawBorder> |
||||
<ForeColor>ControlText</ForeColor> |
||||
<Visible>True</Visible> |
||||
<BackColor>White</BackColor> |
||||
</BaseRowItem> |
||||
</Items> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportDetail</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 47</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportPageFooter</Name> |
||||
</BaseSection> |
||||
<BaseSection> |
||||
<BackColor>Window</BackColor> |
||||
<Size>786, 55</Size> |
||||
<CanGrow>False</CanGrow> |
||||
<CanShrink>False</CanShrink> |
||||
<SectionMargin>50</SectionMargin> |
||||
<Items /> |
||||
<PageBreakAfter>False</PageBreakAfter> |
||||
<Name>ReportFooter</Name> |
||||
</BaseSection> |
||||
</SectionCollection> |
||||
</ReportModel> |
@ -1,31 +0,0 @@
@@ -1,31 +0,0 @@
|
||||
using System.Reflection; |
||||
using System.Runtime.CompilerServices; |
||||
using System.Runtime.InteropServices; |
||||
|
||||
// Information about this assembly is defined by the following
|
||||
// attributes.
|
||||
//
|
||||
// change them to the information which is associated with the assembly
|
||||
// you compile.
|
||||
|
||||
[assembly: AssemblyTitle("SDR Samples")] |
||||
[assembly: AssemblyDescription("")] |
||||
[assembly: AssemblyConfiguration("")] |
||||
[assembly: AssemblyCompany("")] |
||||
[assembly: AssemblyProduct("SDR Samples")] |
||||
[assembly: AssemblyCopyright("")] |
||||
[assembly: AssemblyTrademark("")] |
||||
[assembly: AssemblyCulture("")] |
||||
|
||||
// This sets the default COM visibility of types in the assembly to invisible.
|
||||
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
||||
[assembly: ComVisible(false)] |
||||
|
||||
// The assembly version has following format :
|
||||
//
|
||||
// Major.Minor.Build.Revision
|
||||
//
|
||||
// You can specify all values by your own or you can build default build and revision
|
||||
// numbers with the '*' character (the default):
|
||||
|
||||
[assembly: AssemblyVersion("2.1.*")] |
@ -1,96 +0,0 @@
@@ -1,96 +0,0 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="Peter Forstmeier" email="peter.forstmeier@t-online.de"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Data; |
||||
using System.Windows.Forms; |
||||
|
||||
using ICSharpCode.Reports.Core; |
||||
|
||||
namespace ReportSamples |
||||
{ |
||||
/// <summary>
|
||||
/// Description of BaseSample.
|
||||
/// </summary>
|
||||
public class BaseSample |
||||
{ |
||||
// string msdeConnection = @"Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Northwind";
|
||||
|
||||
ReportEngine engine = new ReportEngine(); |
||||
|
||||
string reportName; |
||||
|
||||
public BaseSample() |
||||
{ |
||||
engine = new ReportEngine(); |
||||
} |
||||
|
||||
public virtual void Run() |
||||
{ |
||||
try |
||||
{ |
||||
using (OpenFileDialog dg = new OpenFileDialog()) |
||||
{ |
||||
dg.Filter = "SharpDevelop Reports report templates|*.srd"; |
||||
dg.Title = "Select a report file"; |
||||
|
||||
if (dg.ShowDialog() == DialogResult.OK) |
||||
{ |
||||
this.reportName = dg.FileName; |
||||
} |
||||
} |
||||
} |
||||
catch (Exception er) |
||||
{ |
||||
MessageBox.Show(er.ToString(), "MainForm"); |
||||
} |
||||
} |
||||
|
||||
|
||||
protected DataTable SelectData() |
||||
{ |
||||
OpenFileDialog dg = new OpenFileDialog(); |
||||
dg.Filter = "SharpDevelop Reports data files|*.xsd"; |
||||
dg.Title = "Select a data file"; |
||||
if (dg.ShowDialog() == DialogResult.OK) |
||||
{ |
||||
DataSet ds = new DataSet(); |
||||
ds.ReadXml(dg.FileName); |
||||
return ds.Tables[0]; |
||||
} |
||||
return null; |
||||
} |
||||
|
||||
|
||||
public ReportEngine Engine |
||||
{ |
||||
get |
||||
{ |
||||
return engine; |
||||
} |
||||
} |
||||
|
||||
|
||||
public string ReportName |
||||
{ |
||||
get |
||||
{ |
||||
return reportName; |
||||
} |
||||
} |
||||
|
||||
|
||||
// protected string MSDEConnection {
|
||||
// get {
|
||||
// return msdeConnection;
|
||||
// }
|
||||
//
|
||||
// }
|
||||
|
||||
} |
||||
} |
||||
|
@ -1,134 +0,0 @@
@@ -1,134 +0,0 @@
|
||||
/* |
||||
* Created by SharpDevelop. |
||||
* User: Forstmeier Peter |
||||
* Date: 26.07.2006 |
||||
* Time: 08:07 |
||||
* |
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
||||
*/ |
||||
|
||||
using System; |
||||
using System.IO; |
||||
using System.Reflection; |
||||
using System.Collections; |
||||
using System.Diagnostics; |
||||
using System.Drawing; |
||||
using System.Resources; |
||||
using System.Windows.Forms; |
||||
|
||||
using ICSharpCode.Reports.Core; |
||||
|
||||
//using System.Collections.Generic;
|
||||
|
||||
namespace ReportSamples |
||||
{ |
||||
// public class EventList: List<EventLogEntry>{
|
||||
// }
|
||||
//
|
||||
//
|
||||
/// <summary>
|
||||
/// Description of EventLogger.
|
||||
/// </summary>
|
||||
public class EventLogger:ReportSamples.BaseSample |
||||
{ |
||||
ImageList imageList ; |
||||
public EventLogger():base() |
||||
{ |
||||
} |
||||
|
||||
public override void Run() { |
||||
EventLog ev = new EventLog(); |
||||
ev.Log = "System"; |
||||
ev.MachineName = "."; // Lokale Maschine
|
||||
FillImageList(); |
||||
|
||||
try |
||||
{ |
||||
base.Run(); |
||||
if (!String.IsNullOrEmpty(base.ReportName)) { |
||||
// EventLog dosn't implement IList, so we have to convert it to the 'cheapest'
|
||||
// IList implementaion
|
||||
ArrayList ar = new ArrayList(); |
||||
ar.AddRange(ev.Entries); |
||||
|
||||
ReportEngine engine = new ReportEngine(); |
||||
|
||||
engine.SectionRendering += new EventHandler<SectionRenderEventArgs>(PushPrinting); |
||||
// engine.SectionRendered += new EventHandler<SectionRenderEventArgs>(PushPrinted);
|
||||
engine.PreviewPushDataReport(base.ReportName,ar,null); |
||||
} |
||||
|
||||
} |
||||
|
||||
catch (Exception e){ |
||||
MessageBox.Show(e.Message,this.ToString()); |
||||
} |
||||
|
||||
} |
||||
|
||||
private void PushPrinting (object sender,SectionRenderEventArgs e) { |
||||
|
||||
switch (e.CurrentSection) { |
||||
case GlobalEnums.ReportSection.ReportHeader: |
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportPageHeader: |
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportDetail: |
||||
BaseRowItem ri = e.Section.Items[0] as BaseRowItem; |
||||
// if (ri != null) {
|
||||
// BaseDataItem r = (BaseDataItem)ri.Items.Find("unbound1");
|
||||
// if (r != null) {
|
||||
// System.Console.WriteLine("ubound1");
|
||||
//
|
||||
// }
|
||||
// }
|
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportPageFooter: |
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportFooter: |
||||
break; |
||||
|
||||
default: |
||||
break; |
||||
} |
||||
} |
||||
|
||||
private void PushPrinted (object sender,SectionRenderEventArgs e) { |
||||
//// System.Console.WriteLine("MainForm:Rendering done for <{0}>",e.CurrentSection);
|
||||
// System.Console.WriteLine("----------");
|
||||
} |
||||
|
||||
void FillImageList() { |
||||
string ns = this.GetType().Namespace; |
||||
|
||||
System.Console.WriteLine("{0}",ns); |
||||
|
||||
Assembly a = Assembly.GetExecutingAssembly(); |
||||
string [] resNames = a.GetManifestResourceNames(); |
||||
foreach(string s in resNames) |
||||
{ |
||||
System.Console.WriteLine("{0}",s); |
||||
} |
||||
|
||||
this.imageList = new ImageList(); |
||||
|
||||
Stream imgStream = a.GetManifestResourceStream("ReportSamples.Resources.Error.png"); |
||||
this.imageList.Images.Add(Image.FromStream(imgStream)); |
||||
|
||||
imgStream = a.GetManifestResourceStream("ReportSamples.Resources.Info.png"); |
||||
this.imageList.Images.Add(Image.FromStream(imgStream)); |
||||
|
||||
imgStream = a.GetManifestResourceStream("ReportSamples.Resources.Warning.png"); |
||||
this.imageList.Images.Add(Image.FromStream(imgStream)); |
||||
|
||||
System.Console.WriteLine("imagelist contains {0} images",this.imageList.Images.Count); |
||||
} |
||||
} |
||||
} |
||||
|
||||
|
||||
|
@ -1,320 +0,0 @@
@@ -1,320 +0,0 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="Peter Forstmeier" email="peter.forstmeier@t-online.de"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
namespace ReportSamples |
||||
{ |
||||
partial class MainForm |
||||
{ |
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null; |
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the form.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing) |
||||
{ |
||||
if (disposing) { |
||||
if (components != null) { |
||||
components.Dispose(); |
||||
} |
||||
} |
||||
base.Dispose(disposing); |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// This method is required for Windows Forms designer support.
|
||||
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||
/// not be able to load this method if it was changed manually.
|
||||
/// </summary>
|
||||
private void InitializeComponent() |
||||
{ |
||||
this.previewControl1 = new ICSharpCode.Reports.Core.ReportViewer.PreviewControl(); |
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip(); |
||||
this.formSheetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.jACToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.pullModelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.employeesHiredateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.missingConnectionStringToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.mSDESqlExpressToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.SaleyByYearWithParametersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.pushModelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.employeesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.iListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.contributorsListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.customizedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.contributorsCustomizedToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.contributorsSortedByLastnameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.groupBox1 = new System.Windows.Forms.GroupBox(); |
||||
this.btnPDF = new System.Windows.Forms.RadioButton(); |
||||
this.btnPrinter = new System.Windows.Forms.RadioButton(); |
||||
this.btnPreviewControl = new System.Windows.Forms.RadioButton(); |
||||
this.btnReportViewer = new System.Windows.Forms.RadioButton(); |
||||
this.label1 = new System.Windows.Forms.Label(); |
||||
this.eventLoggerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
||||
this.menuStrip1.SuspendLayout(); |
||||
this.groupBox1.SuspendLayout(); |
||||
this.SuspendLayout(); |
||||
//
|
||||
// previewControl1
|
||||
//
|
||||
this.previewControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) |
||||
| System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.previewControl1.BackColor = System.Drawing.SystemColors.GradientActiveCaption; |
||||
this.previewControl1.Location = new System.Drawing.Point(34, 83); |
||||
this.previewControl1.Messages = null; |
||||
this.previewControl1.Name = "previewControl1"; |
||||
this.previewControl1.Padding = new System.Windows.Forms.Padding(5); |
||||
// this.previewControl1.PageSettings = null;
|
||||
this.previewControl1.Size = new System.Drawing.Size(605, 294); |
||||
this.previewControl1.TabIndex = 0; |
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.formSheetToolStripMenuItem, |
||||
this.pullModelToolStripMenuItem, |
||||
this.pushModelToolStripMenuItem, |
||||
this.iListToolStripMenuItem, |
||||
this.customizedToolStripMenuItem}); |
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0); |
||||
this.menuStrip1.Name = "menuStrip1"; |
||||
this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; |
||||
this.menuStrip1.Size = new System.Drawing.Size(671, 24); |
||||
this.menuStrip1.TabIndex = 1; |
||||
this.menuStrip1.Text = "menuStrip1"; |
||||
//
|
||||
// formSheetToolStripMenuItem
|
||||
//
|
||||
this.formSheetToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.jACToolStripMenuItem}); |
||||
this.formSheetToolStripMenuItem.Name = "formSheetToolStripMenuItem"; |
||||
this.formSheetToolStripMenuItem.Size = new System.Drawing.Size(76, 20); |
||||
this.formSheetToolStripMenuItem.Text = "FormSheet"; |
||||
//
|
||||
// jACToolStripMenuItem
|
||||
//
|
||||
this.jACToolStripMenuItem.Name = "jACToolStripMenuItem"; |
||||
this.jACToolStripMenuItem.Size = new System.Drawing.Size(94, 22); |
||||
this.jACToolStripMenuItem.Text = "JAC"; |
||||
this.jACToolStripMenuItem.Click += new System.EventHandler(this.FormSheetToolStripMenuItemClick); |
||||
//
|
||||
// pullModelToolStripMenuItem
|
||||
//
|
||||
this.pullModelToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.employeesHiredateToolStripMenuItem, |
||||
this.missingConnectionStringToolStripMenuItem, |
||||
this.mSDESqlExpressToolStripMenuItem}); |
||||
this.pullModelToolStripMenuItem.Name = "pullModelToolStripMenuItem"; |
||||
this.pullModelToolStripMenuItem.Size = new System.Drawing.Size(73, 20); |
||||
this.pullModelToolStripMenuItem.Text = "PullModel"; |
||||
//
|
||||
// employeesHiredateToolStripMenuItem
|
||||
//
|
||||
this.employeesHiredateToolStripMenuItem.Name = "employeesHiredateToolStripMenuItem"; |
||||
this.employeesHiredateToolStripMenuItem.Size = new System.Drawing.Size(220, 22); |
||||
this.employeesHiredateToolStripMenuItem.Text = "StandardPullModel-Reports"; |
||||
this.employeesHiredateToolStripMenuItem.Click += new System.EventHandler(this.StandartPullModelClick); |
||||
//
|
||||
// missingConnectionStringToolStripMenuItem
|
||||
//
|
||||
this.missingConnectionStringToolStripMenuItem.Name = "missingConnectionStringToolStripMenuItem"; |
||||
this.missingConnectionStringToolStripMenuItem.Size = new System.Drawing.Size(220, 22); |
||||
this.missingConnectionStringToolStripMenuItem.Text = "ProviderIndependent"; |
||||
this.missingConnectionStringToolStripMenuItem.Click += new System.EventHandler(this.ProviderIndependentClick); |
||||
//
|
||||
// mSDESqlExpressToolStripMenuItem
|
||||
//
|
||||
this.mSDESqlExpressToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.SaleyByYearWithParametersToolStripMenuItem}); |
||||
this.mSDESqlExpressToolStripMenuItem.Name = "mSDESqlExpressToolStripMenuItem"; |
||||
this.mSDESqlExpressToolStripMenuItem.Size = new System.Drawing.Size(220, 22); |
||||
this.mSDESqlExpressToolStripMenuItem.Text = "MSDE_SqlExpress"; |
||||
//
|
||||
// SaleyByYearWithParametersToolStripMenuItem
|
||||
//
|
||||
this.SaleyByYearWithParametersToolStripMenuItem.Name = "SaleyByYearWithParametersToolStripMenuItem"; |
||||
this.SaleyByYearWithParametersToolStripMenuItem.Size = new System.Drawing.Size(231, 22); |
||||
this.SaleyByYearWithParametersToolStripMenuItem.Text = "Saley by Year with Parameters"; |
||||
this.SaleyByYearWithParametersToolStripMenuItem.Click += new System.EventHandler(this.SaleyByYearWithParameters); |
||||
//
|
||||
// pushModelToolStripMenuItem
|
||||
//
|
||||
this.pushModelToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.employeesToolStripMenuItem}); |
||||
this.pushModelToolStripMenuItem.Name = "pushModelToolStripMenuItem"; |
||||
this.pushModelToolStripMenuItem.Size = new System.Drawing.Size(79, 20); |
||||
this.pushModelToolStripMenuItem.Text = "PushModel"; |
||||
//
|
||||
// employeesToolStripMenuItem
|
||||
//
|
||||
this.employeesToolStripMenuItem.Name = "employeesToolStripMenuItem"; |
||||
this.employeesToolStripMenuItem.Size = new System.Drawing.Size(131, 22); |
||||
this.employeesToolStripMenuItem.Text = "Employees"; |
||||
this.employeesToolStripMenuItem.Click += new System.EventHandler(this.StandartPushModelClick); |
||||
//
|
||||
// iListToolStripMenuItem
|
||||
//
|
||||
this.iListToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.contributorsListToolStripMenuItem, |
||||
this.eventLoggerToolStripMenuItem}); |
||||
this.iListToolStripMenuItem.Name = "iListToolStripMenuItem"; |
||||
this.iListToolStripMenuItem.Size = new System.Drawing.Size(40, 20); |
||||
this.iListToolStripMenuItem.Text = "IList"; |
||||
//
|
||||
// contributorsListToolStripMenuItem
|
||||
//
|
||||
this.contributorsListToolStripMenuItem.Name = "contributorsListToolStripMenuItem"; |
||||
this.contributorsListToolStripMenuItem.Size = new System.Drawing.Size(165, 22); |
||||
this.contributorsListToolStripMenuItem.Text = "Contributor\'s List"; |
||||
this.contributorsListToolStripMenuItem.ToolTipText = "Customized, draw a frame on every second row"; |
||||
// this.contributorsListToolStripMenuItem.Click += new System.EventHandler(this.ContributorsListClick);
|
||||
//
|
||||
// customizedToolStripMenuItem
|
||||
//
|
||||
this.customizedToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
||||
this.contributorsCustomizedToolStripMenuItem, |
||||
this.contributorsSortedByLastnameToolStripMenuItem}); |
||||
this.customizedToolStripMenuItem.Name = "customizedToolStripMenuItem"; |
||||
this.customizedToolStripMenuItem.Size = new System.Drawing.Size(82, 20); |
||||
this.customizedToolStripMenuItem.Text = "Customized"; |
||||
//
|
||||
// contributorsCustomizedToolStripMenuItem
|
||||
//
|
||||
this.contributorsCustomizedToolStripMenuItem.Name = "contributorsCustomizedToolStripMenuItem"; |
||||
this.contributorsCustomizedToolStripMenuItem.Size = new System.Drawing.Size(251, 22); |
||||
this.contributorsCustomizedToolStripMenuItem.Text = "Contributor\'s Customized"; |
||||
this.contributorsCustomizedToolStripMenuItem.Click += new System.EventHandler(this.ContributorsCustomizedClick); |
||||
//
|
||||
// contributorsSortedByLastnameToolStripMenuItem
|
||||
//
|
||||
this.contributorsSortedByLastnameToolStripMenuItem.Name = "contributorsSortedByLastnameToolStripMenuItem"; |
||||
this.contributorsSortedByLastnameToolStripMenuItem.Size = new System.Drawing.Size(251, 22); |
||||
this.contributorsSortedByLastnameToolStripMenuItem.Text = "Contributor\'s Sorted by Lastname"; |
||||
this.contributorsSortedByLastnameToolStripMenuItem.Click += new System.EventHandler(this.ContributorsSortedByLastnameClick); |
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.groupBox1.Controls.Add(this.btnPDF); |
||||
this.groupBox1.Controls.Add(this.btnPrinter); |
||||
this.groupBox1.Controls.Add(this.btnPreviewControl); |
||||
this.groupBox1.Controls.Add(this.btnReportViewer); |
||||
this.groupBox1.Location = new System.Drawing.Point(39, 27); |
||||
this.groupBox1.Name = "groupBox1"; |
||||
this.groupBox1.Size = new System.Drawing.Size(600, 50); |
||||
this.groupBox1.TabIndex = 2; |
||||
this.groupBox1.TabStop = false; |
||||
this.groupBox1.Text = "Send Report to"; |
||||
//
|
||||
// btnPDF
|
||||
//
|
||||
this.btnPDF.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); |
||||
this.btnPDF.Location = new System.Drawing.Point(448, 19); |
||||
this.btnPDF.Name = "btnPDF"; |
||||
this.btnPDF.Size = new System.Drawing.Size(62, 20); |
||||
this.btnPDF.TabIndex = 6; |
||||
this.btnPDF.TabStop = true; |
||||
this.btnPDF.Text = "PDF"; |
||||
this.btnPDF.UseVisualStyleBackColor = true; |
||||
//
|
||||
// btnPrinter
|
||||
//
|
||||
this.btnPrinter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) |
||||
| System.Windows.Forms.AnchorStyles.Right))); |
||||
this.btnPrinter.Location = new System.Drawing.Point(308, 15); |
||||
this.btnPrinter.Name = "btnPrinter"; |
||||
this.btnPrinter.Size = new System.Drawing.Size(65, 26); |
||||
this.btnPrinter.TabIndex = 5; |
||||
this.btnPrinter.TabStop = true; |
||||
this.btnPrinter.Text = "Printer"; |
||||
this.btnPrinter.UseVisualStyleBackColor = true; |
||||
//
|
||||
// btnPreviewControl
|
||||
//
|
||||
this.btnPreviewControl.Location = new System.Drawing.Point(146, 19); |
||||
this.btnPreviewControl.Name = "btnPreviewControl"; |
||||
this.btnPreviewControl.Size = new System.Drawing.Size(106, 16); |
||||
this.btnPreviewControl.TabIndex = 4; |
||||
this.btnPreviewControl.TabStop = true; |
||||
this.btnPreviewControl.Text = "PreviewControl"; |
||||
this.btnPreviewControl.UseVisualStyleBackColor = true; |
||||
//
|
||||
// btnReportViewer
|
||||
//
|
||||
this.btnReportViewer.Location = new System.Drawing.Point(20, 19); |
||||
this.btnReportViewer.Name = "btnReportViewer"; |
||||
this.btnReportViewer.Size = new System.Drawing.Size(120, 18); |
||||
this.btnReportViewer.TabIndex = 3; |
||||
this.btnReportViewer.TabStop = true; |
||||
this.btnReportViewer.Text = "ReportViewer"; |
||||
this.btnReportViewer.UseVisualStyleBackColor = true; |
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Location = new System.Drawing.Point(35, 390); |
||||
this.label1.Name = "label1"; |
||||
this.label1.Size = new System.Drawing.Size(247, 22); |
||||
this.label1.TabIndex = 3; |
||||
//
|
||||
// eventLoggerToolStripMenuItem
|
||||
//
|
||||
this.eventLoggerToolStripMenuItem.Name = "eventLoggerToolStripMenuItem"; |
||||
this.eventLoggerToolStripMenuItem.Size = new System.Drawing.Size(165, 22); |
||||
this.eventLoggerToolStripMenuItem.Text = "EventLogger"; |
||||
this.eventLoggerToolStripMenuItem.Click += new System.EventHandler(this.EventLoggerClick); |
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||||
this.ClientSize = new System.Drawing.Size(671, 421); |
||||
this.Controls.Add(this.label1); |
||||
this.Controls.Add(this.groupBox1); |
||||
this.Controls.Add(this.previewControl1); |
||||
this.Controls.Add(this.menuStrip1); |
||||
this.MainMenuStrip = this.menuStrip1; |
||||
this.Name = "MainForm"; |
||||
this.Text = "SharpDevelop Reports Samples"; |
||||
this.menuStrip1.ResumeLayout(false); |
||||
this.menuStrip1.PerformLayout(); |
||||
this.groupBox1.ResumeLayout(false); |
||||
this.ResumeLayout(false); |
||||
this.PerformLayout(); |
||||
} |
||||
private System.Windows.Forms.ToolStripMenuItem eventLoggerToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem jACToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem SaleyByYearWithParametersToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem mSDESqlExpressToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem contributorsSortedByLastnameToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem contributorsCustomizedToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem customizedToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem contributorsListToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem iListToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem employeesToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem missingConnectionStringToolStripMenuItem; |
||||
private System.Windows.Forms.Label label1; |
||||
private System.Windows.Forms.RadioButton btnPDF; |
||||
private System.Windows.Forms.RadioButton btnPrinter; |
||||
private System.Windows.Forms.RadioButton btnReportViewer; |
||||
private System.Windows.Forms.RadioButton btnPreviewControl; |
||||
private System.Windows.Forms.GroupBox groupBox1; |
||||
private System.Windows.Forms.ToolStripMenuItem employeesHiredateToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem pushModelToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem pullModelToolStripMenuItem; |
||||
private System.Windows.Forms.ToolStripMenuItem formSheetToolStripMenuItem; |
||||
private System.Windows.Forms.MenuStrip menuStrip1; |
||||
private ICSharpCode.Reports.Core.ReportViewer.PreviewControl previewControl1; |
||||
|
||||
|
||||
} |
||||
} |
||||
|
@ -1,664 +0,0 @@
@@ -1,664 +0,0 @@
|
||||
// <file>
|
||||
// <copyright see="prj:///doc/copyright.txt"/>
|
||||
// <license see="prj:///doc/license.txt"/>
|
||||
// <owner name="Peter Forstmeier" email="peter.forstmeier@t-online.de"/>
|
||||
// <version>$Revision$</version>
|
||||
// </file>
|
||||
|
||||
using System; |
||||
using System.Data; |
||||
using System.Collections; |
||||
using System.IO; |
||||
using System.Windows.Forms; |
||||
|
||||
using ICSharpCode.Reports.Core; |
||||
using ICSharpCode.Reports.Core.Exporter.ExportRenderer; |
||||
|
||||
namespace ReportSamples |
||||
{ |
||||
/// <summary>
|
||||
/// Description of MainForm.
|
||||
/// </summary>
|
||||
public partial class MainForm : Form |
||||
{ |
||||
ReportEngine engine; |
||||
|
||||
[STAThread] |
||||
public static void Main(string[] args) |
||||
{ |
||||
Application.EnableVisualStyles(); |
||||
Application.SetCompatibleTextRenderingDefault(false); |
||||
Application.Run(new MainForm()); |
||||
} |
||||
|
||||
public MainForm() |
||||
{ |
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
InitializeComponent(); |
||||
this.btnReportViewer.Checked = true; |
||||
|
||||
// Localisation of ReportViewer
|
||||
// this.previewControl1.Messages = new ReportViewerMessagesProvider();
|
||||
ShowPath(); |
||||
} |
||||
|
||||
private void ShowPath() |
||||
{ |
||||
|
||||
foreach (string d in Directory.GetDirectories(Application.StartupPath)) |
||||
{ |
||||
Console.WriteLine(d); |
||||
} |
||||
|
||||
string path1 = Path.GetFullPath(Application.StartupPath); |
||||
string[] folders1 = path1.Split(Path.DirectorySeparatorChar); |
||||
Console.WriteLine (path1); |
||||
|
||||
foreach (string dd in folders1){ |
||||
Console.WriteLine(dd); |
||||
} |
||||
|
||||
int i = path1.IndexOf("samples"); |
||||
|
||||
string subPath = path1.Substring (0,i + 8); |
||||
|
||||
string reportsDirPath = string.Concat(subPath,"Reports" + Path.DirectorySeparatorChar); |
||||
Console.WriteLine(subPath); |
||||
|
||||
|
||||
foreach (string dir in Directory.GetDirectories(reportsDirPath)) |
||||
{ |
||||
if ( !dir.StartsWith(".")) { |
||||
string []dn = dir.Split(Path.DirectorySeparatorChar); |
||||
Console.WriteLine (dn.GetLength(0)); |
||||
Console.WriteLine("Directory : {0}",dn[dn.GetLength(0) -1]); |
||||
} |
||||
|
||||
Console.WriteLine("FileList"); |
||||
foreach (string fileName in Directory.GetFiles(dir,"*.srd")) { |
||||
Console.WriteLine ("\t{0}",Path.GetFileNameWithoutExtension(fileName)); |
||||
} |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
#region FormSheet
|
||||
|
||||
void FormSheetToolStripMenuItemClick(object sender, EventArgs e) |
||||
{ |
||||
/* |
||||
JointCopyright jca = new JointCopyright(); |
||||
this.engine = jca.Engine; |
||||
this.DisplayFormSheet(jca.ReportName); |
||||
*/ |
||||
MessageBox.Show("Not implemented"); |
||||
} |
||||
|
||||
#endregion
|
||||
|
||||
|
||||
void StandartPullModelClick(object sender, EventArgs e) |
||||
{ |
||||
/* |
||||
StandartPullModel emp = new StandartPullModel(); |
||||
this.engine = emp.Engine; |
||||
this.DisplayPullData(emp.ReportName,null); |
||||
*/ |
||||
MessageBox.Show("Not implemented"); |
||||
} |
||||
|
||||
void ProviderIndependentClick(object sender, EventArgs e){ |
||||
|
||||
// ProviderIndependent ms = new ProviderIndependent();
|
||||
// this.engine = ms.Engine;
|
||||
// this.DisplayPullData(ms.ReportName,ms.Parameters);
|
||||
|
||||
} |
||||
|
||||
void StandartPushModelClick(object sender, EventArgs e) |
||||
{ |
||||
/* |
||||
StandartPushModel emp = new StandartPushModel(); |
||||
if (emp.DataTable != null) { |
||||
this.engine = emp.Engine; |
||||
this.DisplayPushDataStandart(emp.ReportName,emp.ReportModel,emp.DataTable); |
||||
} |
||||
*/ |
||||
MessageBox.Show("Not implemented"); |
||||
} |
||||
|
||||
|
||||
#region EventLogger
|
||||
|
||||
void EventLoggerClick(object sender, EventArgs e) |
||||
{ |
||||
// EventLogger ev = new EventLogger();
|
||||
// ev.Run();
|
||||
MessageBox.Show("Not implementet yet"); |
||||
} |
||||
|
||||
#endregion
|
||||
|
||||
#region Contributor#s sorted by Lastname
|
||||
|
||||
void ContributorsSortedByLastnameClick(object sender, EventArgs e) |
||||
{ |
||||
/* |
||||
ContributorsList conReport = new ContributorsList(); |
||||
this.engine = conReport.Engine; |
||||
ReportParameters parameters = ReportEngine.LoadParameters(conReport.ReportName); |
||||
parameters.SortColumnCollection.Add(new SortColumn("First", |
||||
System.ComponentModel.ListSortDirection.Ascending)); |
||||
|
||||
this.rowNr = 0; |
||||
this.ContributorsbyLastname(conReport.ReportName,conReport.ReportModel,conReport.Contributors,parameters); |
||||
*/ |
||||
MessageBox.Show("Not implemented"); |
||||
} |
||||
|
||||
/* |
||||
void ContributorsbyLastname (string fileName,ReportModel model,IList list,ReportParameters reportParameters) { |
||||
ICSharpCode.Reports.Core.Exporter.BasePager pageBuilder; |
||||
if (this.btnReportViewer.Checked) { |
||||
this.previewControl1.SetupAsynchron(model,list); |
||||
}else if(this.btnPreviewControl.Checked){ |
||||
engine.SectionRendering += new EventHandler<SectionRenderEventArgs>(OnRenderSortedContributors); |
||||
engine.PreviewPushDataReport (fileName,list,reportParameters); |
||||
}else if (this.btnPrinter.Checked){ |
||||
pageBuilder = engine.CreatePageBuilder(model,list,reportParameters); |
||||
pageBuilder.BuildExportList(); |
||||
using (PrintRenderer printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages)){ |
||||
this.OutputToPrinter(printRenderer); |
||||
} |
||||
}else if(this.btnPDF.Checked){ |
||||
|
||||
string fN = this.SelectFilename(); |
||||
if (!String.IsNullOrEmpty(fN)) { |
||||
pageBuilder = engine.CreatePageBuilder(model,list,reportParameters); |
||||
pageBuilder.Rendering += new EventHandler<SectionRenderEventArgs>(OnRenderSortedContributors); |
||||
pageBuilder.BuildExportList(); |
||||
// set to false means no PdfWindow
|
||||
using (PdfRenderer pdfRenderer = PdfRenderer.CreateInstance(pageBuilder.Pages,fN,true)){ |
||||
this.OutputToPdf(pdfRenderer); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
*/ |
||||
|
||||
private void OnRenderSortedContributors (object sender, SectionRenderEventArgs e){ |
||||
|
||||
switch (e.CurrentSection) { |
||||
case GlobalEnums.ReportSection.ReportHeader: |
||||
// System.Console.WriteLine("\tReportHeader");
|
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportPageHeader: |
||||
// System.Console.WriteLine("\tPageheader");
|
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportDetail: |
||||
// this.rowNr ++;
|
||||
BaseRowItem rowItem = e.Section.Items[0] as BaseRowItem; |
||||
if (rowItem != null) { |
||||
if(e.RowNumber %2 == 0){ |
||||
rowItem.DrawBorder = true; |
||||
|
||||
} else { |
||||
rowItem.DrawBorder = false; |
||||
} |
||||
if (e.Section.Items.Count > 0){ |
||||
foreach(BaseReportItem bri in rowItem.Items) { |
||||
BaseDataItem dbi = bri as BaseDataItem; |
||||
if (dbi != null) { |
||||
if (String.IsNullOrEmpty(dbi.DBValue)) { |
||||
dbi.DBValue = "Misc."; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportPageFooter: |
||||
// System.Console.WriteLine("\tPageFooter");
|
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportFooter: |
||||
// System.Console.WriteLine("\tReportFooter");
|
||||
|
||||
BaseTextItem item1 = new BaseTextItem(); |
||||
item1.Text = "Nr of Contributor's:"; |
||||
item1.Location =new System.Drawing.Point(70,10); |
||||
item1.Size = new System.Drawing.Size(110,20); |
||||
item1.Font = new System.Drawing.Font("Microsoft Sans Serif",12); |
||||
item1.ForeColor = System.Drawing.Color.Black; |
||||
e.Section.Items.Add (item1); |
||||
|
||||
BaseTextItem item = new BaseTextItem(); |
||||
// item.Text = rowNr.ToString();
|
||||
item.Location =new System.Drawing.Point(180,10); |
||||
item.Size = new System.Drawing.Size(20,20); |
||||
item.Font = new System.Drawing.Font("Microsoft Sans Serif",12); |
||||
|
||||
item.ForeColor = System.Drawing.Color.Black; |
||||
e.Section.Items.Add (item); |
||||
break; |
||||
|
||||
default: |
||||
break; |
||||
} |
||||
|
||||
} |
||||
|
||||
#endregion
|
||||
|
||||
#region standart Contributors
|
||||
|
||||
|
||||
|
||||
/* |
||||
void DisplayContributors (string fileName,ReportModel model,IList list) |
||||
{ |
||||
ICSharpCode.Reports.Core.Exporter.BasePager pageBuilder; |
||||
if (this.btnReportViewer.Checked) { |
||||
this.previewControl1.SetupAsynchron(model,list); |
||||
}else if(this.btnPreviewControl.Checked){ |
||||
this.engine.SectionRendering += new EventHandler<SectionRenderEventArgs>(OnRenderContributors); |
||||
this.engine.PreviewPushDataReport (fileName,list,null); |
||||
|
||||
}else if (this.btnPrinter.Checked){ |
||||
pageBuilder = engine.CreatePageBuilder(model,list,null); |
||||
pageBuilder.Rendering += new EventHandler<SectionRenderEventArgs>(OnRenderContributors); |
||||
pageBuilder.BuildExportList(); |
||||
using (PrintRenderer printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages)){ |
||||
this.OutputToPrinter(printRenderer); |
||||
} |
||||
}else if(this.btnPDF.Checked){ |
||||
|
||||
string fN = this.SelectFilename(); |
||||
if (!String.IsNullOrEmpty(fN)) { |
||||
|
||||
pageBuilder = engine.CreatePageBuilder(model,list,null); |
||||
pageBuilder.Rendering += new EventHandler<SectionRenderEventArgs>(OnRenderContributors); |
||||
pageBuilder.BuildExportList(); |
||||
// set to false means no PdfWindow
|
||||
using (PdfRenderer pdfRenderer = PdfRenderer.CreateInstance(pageBuilder.Pages,fN,true)){ |
||||
this.OutputToPdf(pdfRenderer); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
*/ |
||||
#endregion
|
||||
|
||||
#region Contributors Customized
|
||||
|
||||
void ContributorsCustomizedClick(object sender, EventArgs e) |
||||
{ |
||||
/* |
||||
ContributorsList conReport = new ContributorsList(); |
||||
this.engine = conReport.Engine; |
||||
this.rowNr = 0; |
||||
this.CustomizedContributors(conReport.ReportName,conReport.ReportModel,conReport.Contributors); |
||||
*/ |
||||
MessageBox.Show("Not implemented"); |
||||
} |
||||
|
||||
|
||||
/* |
||||
void CustomizedContributors (string fileName,ReportModel model,IList list) |
||||
{ |
||||
ICSharpCode.Reports.Core.Exporter.BasePager pageBuilder; |
||||
if (this.btnReportViewer.Checked) { |
||||
this.previewControl1.SetupAsynchron(model,list); |
||||
}else if(this.btnPreviewControl.Checked){ |
||||
engine.SectionRendering += new EventHandler<SectionRenderEventArgs>(OnRenderContributors); |
||||
engine.PreviewPushDataReport (fileName,list,null); |
||||
|
||||
}else if (this.btnPrinter.Checked){ |
||||
pageBuilder = engine.CreatePageBuilder(model,list,null); |
||||
pageBuilder.Rendering += new EventHandler<SectionRenderEventArgs>(OnRenderContributors); |
||||
pageBuilder.BuildExportList(); |
||||
using (PrintRenderer printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages)){ |
||||
this.OutputToPrinter(printRenderer); |
||||
} |
||||
}else if(this.btnPDF.Checked){ |
||||
|
||||
string fN = this.SelectFilename(); |
||||
if (!String.IsNullOrEmpty(fN)) { |
||||
pageBuilder = engine.CreatePageBuilder(model,list,null); |
||||
pageBuilder.Rendering += new EventHandler<SectionRenderEventArgs>(OnRenderContributors); |
||||
pageBuilder.BuildExportList(); |
||||
// set to false means no PdfWindow
|
||||
using (PdfRenderer pdfRenderer = PdfRenderer.CreateInstance(pageBuilder.Pages,fN,true)){ |
||||
this.OutputToPdf(pdfRenderer); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
int rowNr; |
||||
private void OnRenderContributors (object sender, SectionRenderEventArgs e) |
||||
{ |
||||
|
||||
switch (e.CurrentSection) { |
||||
case GlobalEnums.ReportSection.ReportHeader: |
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportPageHeader: |
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportDetail: |
||||
this.rowNr ++; |
||||
|
||||
BaseRowItem rowItem = e.Section.Items[0] as BaseRowItem; |
||||
if (rowItem != null) { |
||||
|
||||
if(e.RowNumber %2 == 0){ |
||||
rowItem.BackColor = System.Drawing.Color.LightGray; |
||||
} else { |
||||
rowItem.BackColor = System.Drawing.Color.White; |
||||
} |
||||
|
||||
if (e.Section.Items.Count > 0){ |
||||
foreach(BaseReportItem baseReportItem in rowItem.Items) { |
||||
BaseDataItem baseDataItem = baseReportItem as BaseDataItem; |
||||
if (baseDataItem != null) { |
||||
if (String.IsNullOrEmpty(baseDataItem.DBValue)) { |
||||
baseDataItem.DBValue = "Misc."; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportPageFooter: |
||||
break; |
||||
|
||||
case GlobalEnums.ReportSection.ReportFooter: |
||||
|
||||
BaseTextItem item1 = new BaseTextItem(); |
||||
item1.Text = "Nr of Contributor's:"; |
||||
item1.Location =new System.Drawing.Point(70,10); |
||||
item1.Size = new System.Drawing.Size(200,20); |
||||
item1.Font = new System.Drawing.Font("Microsoft Sans Serif",12); |
||||
item1.BackColor = System.Drawing.Color.AliceBlue; |
||||
item1.ForeColor = System.Drawing.Color.Black; |
||||
e.Section.Items.Add (item1); |
||||
|
||||
BaseTextItem item = new BaseTextItem(); |
||||
item.Text = rowNr.ToString(); |
||||
item.Location =new System.Drawing.Point(300 ,10); |
||||
|
||||
item.Font = new System.Drawing.Font("Microsoft Sans Serif",12); |
||||
item.BackColor = System.Drawing.Color.AliceBlue; |
||||
item.ForeColor = System.Drawing.Color.Black; |
||||
|
||||
e.Section.Items.Add (item); |
||||
break; |
||||
|
||||
default: |
||||
break; |
||||
} |
||||
} |
||||
|
||||
*/ |
||||
#endregion
|
||||
|
||||
#region SaleybyYear with parameters
|
||||
void SaleyByYearWithParameters(object sender, EventArgs e) |
||||
{ |
||||
/* |
||||
NorthwindSalesbyYear nws = new NorthwindSalesbyYear(); |
||||
this.engine = nws.Engine; |
||||
this.CustomizedSalesbyYear(nws.ReportName,nws.Parameters,null,null); |
||||
*/ |
||||
MessageBox.Show("Not implemented"); |
||||
} |
||||
|
||||
/* |
||||
void CustomizedSalesbyYear (string fileName,ReportParameters parameters,ReportModel model,DataManager dataManager) { |
||||
ICSharpCode.Reports.Core.Exporter.BasePager pageBuilder; |
||||
|
||||
if (this.btnReportViewer.Checked) { |
||||
if (parameters == null) { |
||||
this.previewControl1.SetupAsynchron(model,dataManager); |
||||
} else { |
||||
this.previewControl1.SetupAsynchron(model,parameters); |
||||
} |
||||
|
||||
} else if(this.btnPreviewControl.Checked){ |
||||
// send the report to the standart Windows.Forms.PreviewControl
|
||||
engine.SectionRendering += new EventHandler<SectionRenderEventArgs>(NorthwindSalesbyYear.OnRenderSalesByYear); |
||||
this.RunStandartPreview(engine,fileName,parameters); |
||||
} |
||||
|
||||
else if (this.btnPrinter.Checked){ |
||||
// send report directly to the printer using the same code as we use in creating the pdf files
|
||||
stopWatch = new System.Diagnostics.Stopwatch(); |
||||
stopWatch.Start(); |
||||
|
||||
pageBuilder = this.CreatePageBuilder(engine,fileName,parameters); |
||||
pageBuilder.BuildExportList(); |
||||
pageBuilder.Rendering += new EventHandler<SectionRenderEventArgs>(NorthwindSalesbyYear.OnRenderSalesByYear); |
||||
using (PrintRenderer printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages)){ |
||||
this.OutputToPrinter(printRenderer); |
||||
} |
||||
this.ShowTime(pageBuilder.Pages.Count); |
||||
}else if(this.btnPDF.Checked){ |
||||
string fN = this.SelectFilename(); |
||||
if (!String.IsNullOrEmpty(fN)) { |
||||
stopWatch = new System.Diagnostics.Stopwatch(); |
||||
stopWatch.Start(); |
||||
|
||||
pageBuilder = this.CreatePageBuilder(engine,fileName,parameters); |
||||
pageBuilder.Rendering += new EventHandler<SectionRenderEventArgs>(NorthwindSalesbyYear.OnRenderSalesByYear); |
||||
pageBuilder.BuildExportList(); |
||||
|
||||
// set to false means no PdfWindow
|
||||
using (PdfRenderer pdfRenderer = PdfRenderer.CreateInstance(pageBuilder.Pages,fN,true)){ |
||||
this.OutputToPdf(pdfRenderer); |
||||
this.ShowTime(pageBuilder.Pages.Count); |
||||
} |
||||
|
||||
} |
||||
} |
||||
} |
||||
*/ |
||||
|
||||
#endregion
|
||||
|
||||
|
||||
/* |
||||
void DisplayPushDataStandart (string fileName,ReportModel model,DataTable dataTable) |
||||
{ |
||||
ICSharpCode.Reports.Core.Exporter.BasePager pageBuilder; |
||||
if (this.btnReportViewer.Checked) { |
||||
this.previewControl1.SetupAsynchron(model,dataTable); |
||||
|
||||
} else if(this.btnPreviewControl.Checked){ |
||||
// send the report to the standart Windows.Forms.PreviewControl
|
||||
engine.PreviewPushDataReport(fileName,dataTable,null); |
||||
}else if (this.btnPrinter.Checked){ |
||||
stopWatch = new System.Diagnostics.Stopwatch(); |
||||
stopWatch.Start(); |
||||
|
||||
pageBuilder = engine.CreatePageBuilder(model,dataTable,null); |
||||
pageBuilder.BuildExportList(); |
||||
using (PrintRenderer printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages)){ |
||||
this.OutputToPrinter(printRenderer); |
||||
} |
||||
this.ShowTime(pageBuilder.Pages.Count); |
||||
|
||||
}else if(this.btnPDF.Checked){ |
||||
string fN = this.SelectFilename(); |
||||
if (!String.IsNullOrEmpty(fN)) { |
||||
stopWatch = new System.Diagnostics.Stopwatch(); |
||||
stopWatch.Start(); |
||||
|
||||
pageBuilder = engine.CreatePageBuilder(model,dataTable,null); |
||||
pageBuilder.BuildExportList(); |
||||
|
||||
// set to false means no PdfWindow
|
||||
using (PdfRenderer pdfRenderer = PdfRenderer.CreateInstance(pageBuilder.Pages,fN,true)){ |
||||
this.OutputToPdf(pdfRenderer); |
||||
this.ShowTime(pageBuilder.Pages.Count); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
*/ |
||||
|
||||
void DisplayPullData (string fileName,ReportParameters parameters) |
||||
{ |
||||
ICSharpCode.Reports.Core.IReportCreator pageBuilder; |
||||
|
||||
if (this.btnReportViewer.Checked) { |
||||
this.previewControl1.SetupAsynchron(fileName,parameters); |
||||
} else if(this.btnPreviewControl.Checked){ |
||||
// send the report to the standart Windows.Forms.PreviewControl
|
||||
this.RunStandartPreview(engine,fileName,parameters); |
||||
} |
||||
|
||||
else if (this.btnPrinter.Checked){ |
||||
// send report directly to the printer using the same code as we use in creating the pdf files
|
||||
pageBuilder = ReportEngine.CreatePageBuilder(fileName,parameters); |
||||
pageBuilder.BuildExportList(); |
||||
PrintRenderer printRenderer = null; |
||||
|
||||
using (PrintDialog dlg = new PrintDialog()) { |
||||
DialogResult result = dlg.ShowDialog(); |
||||
if (result==DialogResult.OK){ |
||||
printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages,dlg.PrinterSettings); |
||||
} else { |
||||
printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages); |
||||
} |
||||
} |
||||
|
||||
this.OutputToPrinter (printRenderer); |
||||
printRenderer.Dispose(); |
||||
|
||||
|
||||
}else if(this.btnPDF.Checked){ |
||||
//Output to PdfFile
|
||||
string saveTo = this.SelectFilename(); |
||||
if (!String.IsNullOrEmpty(fileName)) { |
||||
|
||||
pageBuilder = ReportEngine.CreatePageBuilder(fileName,parameters); |
||||
pageBuilder.BuildExportList(); |
||||
|
||||
// set to false means no PdfWindow
|
||||
using (PdfRenderer pdfRenderer = PdfRenderer.CreateInstance(pageBuilder,saveTo,true)){ |
||||
this.OutputToPdf(pdfRenderer); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
/* |
||||
void DisplayFormSheet (string fileName) |
||||
{ |
||||
ICSharpCode.Reports.Core.Exporter.BasePager pageBuilder; |
||||
|
||||
if (this.btnReportViewer.Checked) { |
||||
this.previewControl1.SetupAsynchron(fileName,null); |
||||
|
||||
} else if(this.btnPreviewControl.Checked){ |
||||
this.RunStandartPreview(engine,fileName,null); |
||||
} |
||||
|
||||
else if (this.btnPrinter.Checked){ |
||||
pageBuilder = engine.CreatePageBuilder(fileName,null); |
||||
pageBuilder.BuildExportList(); |
||||
PrintRenderer printRenderer = null; |
||||
|
||||
using (PrintDialog dlg = new PrintDialog()) { |
||||
DialogResult result = dlg.ShowDialog(); |
||||
if (result==DialogResult.OK){ |
||||
printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages,dlg.PrinterSettings); |
||||
} else { |
||||
printRenderer = PrintRenderer.CreateInstance(pageBuilder.Pages); |
||||
} |
||||
} |
||||
this.OutputToPrinter (printRenderer); |
||||
printRenderer.Dispose(); |
||||
|
||||
}else if(this.btnPDF.Checked){ |
||||
string fN = this.SelectFilename(); |
||||
if (!String.IsNullOrEmpty(fN)) { |
||||
pageBuilder = engine.CreatePageBuilder(fileName,null); |
||||
pageBuilder.BuildExportList(); |
||||
|
||||
// set to false means no PdfWindow
|
||||
using (PdfRenderer pdfRenderer = PdfRenderer.CreateInstance(pageBuilder.Pages,fN,true)){ |
||||
this.OutputToPdf(pdfRenderer); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
*/ |
||||
|
||||
private IReportCreator CreatePageBuilder (string fileName, |
||||
ReportParameters parameters) |
||||
{ |
||||
|
||||
return CreatePageBuilder(fileName,parameters); |
||||
} |
||||
|
||||
|
||||
private void RunStandartPreview(ReportEngine engine,string fileName,ReportParameters parameters) |
||||
{ |
||||
engine.PreviewStandardReport(fileName,parameters); |
||||
} |
||||
|
||||
|
||||
private void OutputToPdf (ICSharpCode.Reports.Core.Exporter.ExportRenderer.PdfRenderer renderer) |
||||
{ |
||||
renderer.Start(); |
||||
renderer.RenderOutput(); |
||||
renderer.End(); |
||||
} |
||||
|
||||
|
||||
private void OutputToPrinter (ICSharpCode.Reports.Core.Exporter.ExportRenderer.PrintRenderer renderer) |
||||
{ |
||||
renderer.Start(); |
||||
renderer.RenderOutput(); |
||||
renderer.End(); |
||||
} |
||||
|
||||
|
||||
|
||||
private string SelectFilename() |
||||
{ |
||||
using (SaveFileDialog saveDialog = new SaveFileDialog()){ |
||||
|
||||
saveDialog.FileName = "_pdf"; |
||||
saveDialog.DefaultExt = "PDF"; |
||||
saveDialog.ValidateNames = true; |
||||
if(saveDialog.ShowDialog() == DialogResult.OK){ |
||||
return saveDialog.FileName; |
||||
} else { |
||||
return String.Empty; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,126 +0,0 @@
@@ -1,126 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<root> |
||||
<!-- |
||||
Microsoft ResX Schema |
||||
|
||||
Version 2.0 |
||||
|
||||
The primary goals of this format is to allow a simple XML format |
||||
that is mostly human readable. The generation and parsing of the |
||||
various data types are done through the TypeConverter classes |
||||
associated with the data types. |
||||
|
||||
Example: |
||||
|
||||
... ado.net/XML headers & schema ... |
||||
<resheader name="resmimetype">text/microsoft-resx</resheader> |
||||
<resheader name="version">2.0</resheader> |
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
||||
<value>[base64 mime encoded serialized .NET Framework object]</value> |
||||
</data> |
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
||||
<comment>This is a comment</comment> |
||||
</data> |
||||
|
||||
There are any number of "resheader" rows that contain simple |
||||
name/value pairs. |
||||
|
||||
Each data row contains a name, and value. The row also contains a |
||||
type or mimetype. Type corresponds to a .NET class that support |
||||
text/value conversion through the TypeConverter architecture. |
||||
Classes that don't support this are serialized and stored with the |
||||
mimetype set. |
||||
|
||||
The mimetype is used for serialized objects, and tells the |
||||
ResXResourceReader how to depersist the object. This is currently not |
||||
extensible. For a given mimetype the value must be set accordingly: |
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format |
||||
that the ResXResourceWriter will generate, however the reader can |
||||
read any of the formats listed below. |
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64 |
||||
value : The object must be serialized with |
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
||||
: and then encoded with base64 encoding. |
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64 |
||||
value : The object must be serialized into a byte array |
||||
: using a System.ComponentModel.TypeConverter |
||||
: and then encoded with base64 encoding. |
||||
--> |
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
||||
<xsd:element name="root" msdata:IsDataSet="true"> |
||||
<xsd:complexType> |
||||
<xsd:choice maxOccurs="unbounded"> |
||||
<xsd:element name="metadata"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" use="required" type="xsd:string" /> |
||||
<xsd:attribute name="type" type="xsd:string" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="assembly"> |
||||
<xsd:complexType> |
||||
<xsd:attribute name="alias" type="xsd:string" /> |
||||
<xsd:attribute name="name" type="xsd:string" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="data"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
||||
<xsd:attribute ref="xml:space" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
<xsd:element name="resheader"> |
||||
<xsd:complexType> |
||||
<xsd:sequence> |
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
||||
</xsd:sequence> |
||||
<xsd:attribute name="name" type="xsd:string" use="required" /> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:choice> |
||||
</xsd:complexType> |
||||
</xsd:element> |
||||
</xsd:schema> |
||||
<resheader name="resmimetype"> |
||||
<value>text/microsoft-resx</value> |
||||
</resheader> |
||||
<resheader name="version"> |
||||
<value>2.0</value> |
||||
</resheader> |
||||
<resheader name="reader"> |
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<resheader name="writer"> |
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
||||
</resheader> |
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
||||
<value>17, 17</value> |
||||
</metadata> |
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
||||
<value>28</value> |
||||
</metadata> |
||||
</root> |
@ -1,142 +0,0 @@
@@ -1,142 +0,0 @@
|
||||
/* |
||||
* Created by SharpDevelop. |
||||
* User: Forstmeier Helmut |
||||
* Date: 09.08.2006 |
||||
* Time: 13:55 |
||||
* |
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers. |
||||
*/ |
||||
|
||||
using System; |
||||
using SharpReportCore; |
||||
|
||||
namespace ReportSamples{ |
||||
/// <summary>
|
||||
/// Description of ParameterDialog.
|
||||
/// </summary>
|
||||
public class ParameterDialog : System.Windows.Forms.Form |
||||
{ |
||||
private SqlParametersCollection collection; |
||||
public ParameterDialog(SqlParametersCollection collection):this(){ |
||||
|
||||
this.collection = collection; |
||||
this.dataGrid1.DataSource = this.collection; |
||||
} |
||||
|
||||
public ParameterDialog() |
||||
{ |
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
InitializeComponent(); |
||||
} |
||||
|
||||
#region Designer generated
|
||||
|
||||
/// <summary>
|
||||
/// Designer variable used to keep track of non-visual components.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null; |
||||
|
||||
/// <summary>
|
||||
/// Disposes resources used by the form.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing) |
||||
{ |
||||
if (disposing) { |
||||
if (components != null) { |
||||
components.Dispose(); |
||||
} |
||||
} |
||||
base.Dispose(disposing); |
||||
} |
||||
|
||||
/// <summary>
|
||||
/// This method is required for Windows Forms designer support.
|
||||
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||
/// not be able to load this method if it was changed manually.
|
||||
/// </summary>
|
||||
private void InitializeComponent() |
||||
{ |
||||
this.dataGrid1 = new System.Windows.Forms.DataGrid(); |
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); |
||||
this.cancelButton = new System.Windows.Forms.Button(); |
||||
this.okButton = new System.Windows.Forms.Button(); |
||||
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); |
||||
this.tableLayoutPanel1.SuspendLayout(); |
||||
this.SuspendLayout(); |
||||
//
|
||||
// dataGrid1
|
||||
//
|
||||
this.dataGrid1.DataMember = ""; |
||||
this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; |
||||
this.dataGrid1.Location = new System.Drawing.Point(48, 26); |
||||
this.dataGrid1.Name = "dataGrid1"; |
||||
this.dataGrid1.Size = new System.Drawing.Size(363, 120); |
||||
this.dataGrid1.TabIndex = 1; |
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.ColumnCount = 2; |
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 77.28119F)); |
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 22.71881F)); |
||||
this.tableLayoutPanel1.Controls.Add(this.cancelButton, 1, 0); |
||||
this.tableLayoutPanel1.Controls.Add(this.okButton, 0, 0); |
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; |
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(10, 175); |
||||
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(10, 3, 10, 3); |
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; |
||||
this.tableLayoutPanel1.RowCount = 1; |
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); |
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(457, 30); |
||||
this.tableLayoutPanel1.TabIndex = 3; |
||||
//
|
||||
// cancelButton
|
||||
//
|
||||
this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; |
||||
this.cancelButton.Dock = System.Windows.Forms.DockStyle.Right; |
||||
this.cancelButton.Location = new System.Drawing.Point(374, 3); |
||||
this.cancelButton.Name = "cancelButton"; |
||||
this.cancelButton.Size = new System.Drawing.Size(80, 24); |
||||
this.cancelButton.TabIndex = 0; |
||||
this.cancelButton.Text = "Cancel"; |
||||
this.cancelButton.UseVisualStyleBackColor = true; |
||||
//
|
||||
// okButton
|
||||
//
|
||||
this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; |
||||
this.okButton.Dock = System.Windows.Forms.DockStyle.Right; |
||||
this.okButton.Location = new System.Drawing.Point(275, 3); |
||||
this.okButton.Name = "okButton"; |
||||
this.okButton.Size = new System.Drawing.Size(75, 24); |
||||
this.okButton.TabIndex = 1; |
||||
this.okButton.Text = "Ok"; |
||||
this.okButton.UseVisualStyleBackColor = true; |
||||
//
|
||||
// ParameterDialog
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||||
this.CancelButton = this.cancelButton; |
||||
this.ClientSize = new System.Drawing.Size(477, 215); |
||||
this.ControlBox = false; |
||||
this.Controls.Add(this.tableLayoutPanel1); |
||||
this.Controls.Add(this.dataGrid1); |
||||
this.Name = "ParameterDialog"; |
||||
this.Padding = new System.Windows.Forms.Padding(10); |
||||
this.ShowInTaskbar = false; |
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
||||
this.Text = "ParameterDialog"; |
||||
((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); |
||||
this.tableLayoutPanel1.ResumeLayout(false); |
||||
this.ResumeLayout(false); |
||||
} |
||||
private System.Windows.Forms.Button okButton; |
||||
private System.Windows.Forms.Button cancelButton; |
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; |
||||
private System.Windows.Forms.DataGrid dataGrid1; |
||||
#endregion
|
||||
} |
||||
} |
@ -1,69 +0,0 @@
@@ -1,69 +0,0 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||
<PropertyGroup> |
||||
<ProjectGuid>{9BFECB53-827E-44BF-9DFD-C15F0A6106BE}</ProjectGuid> |
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
||||
<OutputType>Exe</OutputType> |
||||
<RootNamespace>ReportSamples</RootNamespace> |
||||
<AssemblyName>ReportSamples</AssemblyName> |
||||
<SourceAnalysisOverrideSettingsFile>C:\Users\Peter Forstmeier\AppData\Roaming\ICSharpCode/SharpDevelop3.0\Settings.SourceAnalysis</SourceAnalysisOverrideSettingsFile> |
||||
<AllowUnsafeBlocks>False</AllowUnsafeBlocks> |
||||
<NoStdLib>False</NoStdLib> |
||||
<WarningLevel>4</WarningLevel> |
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> |
||||
<OutputPath>bin\Debug\</OutputPath> |
||||
<DebugSymbols>true</DebugSymbols> |
||||
<DebugType>Full</DebugType> |
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow> |
||||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
||||
<Optimize>False</Optimize> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> |
||||
<OutputPath>bin\Release\</OutputPath> |
||||
<DebugSymbols>False</DebugSymbols> |
||||
<DebugType>None</DebugType> |
||||
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> |
||||
<DefineConstants>TRACE</DefineConstants> |
||||
</PropertyGroup> |
||||
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' "> |
||||
<RegisterForComInterop>False</RegisterForComInterop> |
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies> |
||||
<BaseAddress>4194304</BaseAddress> |
||||
<PlatformTarget>x86</PlatformTarget> |
||||
<FileAlignment>4096</FileAlignment> |
||||
</PropertyGroup> |
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" /> |
||||
<ItemGroup> |
||||
<Reference Include="System" /> |
||||
<Reference Include="System.Data" /> |
||||
<Reference Include="System.Drawing" /> |
||||
<Reference Include="System.Windows.Forms" /> |
||||
<Reference Include="System.Xml" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Compile Include="AssemblyInfo.cs" /> |
||||
<Compile Include="BaseSample.cs" /> |
||||
<Compile Include="EventLogger.cs" /> |
||||
<Compile Include="MainForm.cs"> |
||||
<SubType>Form</SubType> |
||||
</Compile> |
||||
<Compile Include="MainForm.Designer.cs"> |
||||
<DependentUpon>MainForm.cs</DependentUpon> |
||||
</Compile> |
||||
<EmbeddedResource Include="MainForm.resx"> |
||||
<DependentUpon>MainForm.cs</DependentUpon> |
||||
</EmbeddedResource> |
||||
<EmbeddedResource Include="Resources\Error.png" /> |
||||
<EmbeddedResource Include="Resources\Info.png" /> |
||||
<EmbeddedResource Include="Resources\Warning.png" /> |
||||
</ItemGroup> |
||||
<ItemGroup> |
||||
<Folder Include="Resources" /> |
||||
<ProjectReference Include="..\..\..\..\src\AddIns\Misc\SharpReport\ICSharpCode.Reports.Core\ICSharpCode.Reports.Core.csproj"> |
||||
<Project>{4B2239FF-8FD6-431D-9D22-1B8049BA6917}</Project> |
||||
<Name>ICSharpCode.Reports.Core</Name> |
||||
</ProjectReference> |
||||
</ItemGroup> |
||||
</Project> |
Before Width: | Height: | Size: 298 B |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 273 B |
Loading…
Reference in new issue