сам вызов
файл репорта
///
/// show design window for letter's report
///
private void designLetterReportToolStripMenuItem_Click(object sender, EventArgs e)
{
if (this.log.IsDebugEnabled)
this.log.Debug("Enter mainWindow::designLetterReportToolStripMenuItem_Click.");
Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport();
System.Windows.Forms.Application.DoEvents();
List letters = new List();
foreach(Boldel2.BO.LetterRO letter in Boldel2.BO.DataProvider.getDataProvider().getROLetters()){
letters.Add(new Boldel2.Report.Proxy.LetterReportProxy(letter));
}
report.RegData("LettersList", letters);
report.Load("Letters.mrt");
report.Design();
if (this.log.IsDebugEnabled)
this.log.Debug("Leave mainWindow::designLetterReportToolStripMenuItem_Click.");
}
LettersList
Recipient,System.String
Sender,System.String
Patient,System.String
Document,System.String
Transmitted,System.DateTime
Period,System.String
PeriodFrom,System.DateTime
PeriodTo,System.DateTime
_ID,System.Int32
_Current,System.Object
LettersList
LettersList
None;Black;2;Solid;False;4;Black
Transparent
Transparent
0,26.89,19,0.81
Transparent
9.8,0,9.2,0.81
Right
Arial,14
Right
http://www.stimulsoft.com
0,0,0,0
Text10
Seite {PageNumber}/{TotalPageCount}
Black
Center
Bottom
PageFooterBand1
Transparent
0,0.4,19,0.76
Transparent
0,0,19,0.76
Fill
Arial,8
Center
0,0,0,0
Text1
Black
Center
Transparent
0,0,3.8,0.76
Left
Arial,12
0,0,0,0
Text2
DocuTheka Bericht
Black
Transparent
3.8,0,3,0.76
Left
Arial,12,Bold
0,0,0,0
Text22
“Briefe”
Black
Transparent
17.2,0,1.8,0.76
Right
Arial,12
Right
0,0,0,0
Text14
{Time}
Black
HH:mm:ss
Transparent
16.39,0,0.81,0.76
Right
Arial,12
0,0,0,0
Text15
um
Black
Transparent
14.08,0,2.31,0.76
Right
Arial,12
0,0,0,0
Text16
{Today}
Black
Transparent
11.69,0,2.39,0.76
Right
Arial,12
0,0,0,0
Text17
gedruckt am
Black
Top
HeaderBand1
Transparent
0,1.96,19,0.8
White
0,0,1.4,0.8
Left
Arial,12,Bold
0,0,0,0
Text12
Briefe
Black
White
1.4,0,6.6,0.8
Arial,12
0,0,0,0
Text13
(gefunden {Count()})
Black
Top
HeaderBand3
Transparent
0,3.56,19,0.6
Silver
0,0.01,1.6,0.6
Arial,12
Center
0,0,0,0
Text27
#
Black
Silver
1.6,0.01,2.6,0.6
Arial,12
0,0,0,0
Text28
Empfanger
Black
Silver
4.2,0.01,2.6,0.6
Arial,12
0,0,0,0
Text29
Absender
Black
Silver
6.8,0.01,3.2,0.6
Arial,12
0,0,0,0
Text30
Patient
Black
Silver
10,0.01,2.8,0.6
Arial,12
0,0,0,0
Text31
Dokumenttyp
Black
Silver
12.8,0.01,2.8,0.6
Arial,12
0,0,0,0
Text32
Versandt am
Black
Silver
15.6,0.01,3.4,0.6
Arial,12
0,0,0,0
Text33
Period
Black
Top
HeaderBand2
Transparent
0,4.96,19,0.43
White
True
1.6,0.04,2.6,0.6
_x007B_Line_x0020__x0025__x0020_2_x0020__x003D__x003D__x0020_0_x007D_,Black,[35:184:220],Arial_x002C_12_x002C_Regular_x002C_Point_x002C_False_x002C_204,True
Arial,12
True
0,0,0,0
Text4
{LettersList.Recipient}
Black
HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,
White
True
4.2,0.04,2.6,0.6
_x007B_Line_x0020__x0025__x0020_2_x0020__x003D__x003D__x0020_0_x007D_,Black,[35:184:220],Arial_x002C_12_x002C_Regular_x002C_Point_x002C_False_x002C_204,True
Arial,12
True
0,0,0,0
Text5
{LettersList.Sender}
Black
HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,
White
True
6.8,0.04,3.2,0.6
_x007B_Line_x0020__x0025__x0020_2_x0020__x003D__x003D__x0020_0_x007D_,Black,[35:184:220],Arial_x002C_12_x002C_Regular_x002C_Point_x002C_False_x002C_204,True
Arial,12
True
0,0,0,0
Text6
{LettersList.Patient}
Black
HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,
White
True
10,0.04,2.8,0.6
_x007B_Line_x0020__x0025__x0020_2_x0020__x003D__x003D__x0020_0_x007D_,Black,[35:184:220],Arial_x002C_12_x002C_Regular_x002C_Point_x002C_False_x002C_204,True
Arial,12
True
0,0,0,0
Text7
{LettersList.Document}
Black
HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,
White
True
12.8,0.04,2.8,0.6
_x007B_Line_x0020__x0025__x0020_2_x0020__x003D__x003D__x0020_0_x007D_,Black,[35:184:220],Arial_x002C_12_x002C_Regular_x002C_Point_x002C_False_x002C_204,True
Arial,12
True
0,0,0,0
Text8
{LettersList.Transmitted}
Black
HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,
White
True
15.6,0.04,3.4,0.6
_x007B_Line_x0020__x0025__x0020_2_x0020__x003D__x003D__x0020_0_x007D_,Black,[35:184:220],Arial_x002C_12_x002C_Regular_x002C_Point_x002C_False_x002C_204,True
Arial,12
True
0,0,0,0
Text9
{LettersList.Period}
Black
HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,
White
True
0,0.04,1.57,0.61
_x007B_Line_x0020__x0025__x0020_2_x0020__x003D__x003D__x0020_0_x007D_,Black,[35:184:220],Arial_x002C_12_x002C_Regular_x002C_Point_x002C_False_x002C_204,True
Arial,12
True
Center
0,0,0,0
Text3
{Line}
Black
HotkeyPrefix=None, LineLimit=False, RightToLeft=False, Trimming=None, WordWrap=True, Angle=0, FirstTabOffset=40, DistanceBetweenTabs=20,
LettersList
Top
DataBand1
1,1,1,1
Page1
29.7
21
Arial,100
[50:0:0:0]
System.Dll
System.Drawing.Dll
System.Windows.Forms.Dll
System.Data.Dll
System.Xml.Dll
Stimulsoft.Controls.Dll
Stimulsoft.Base.Dll
Stimulsoft.Report.Dll
Report
4/2/2007 11:08:07 PM
12/3/2006 8:57:00 PM
7aa909ea393c4b90b3eb5f952c0eaa7b
Report
Centimeters
2006.4
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Data;
using Stimulsoft.Controls;
using Stimulsoft.Base.Drawing;
using Stimulsoft.Report;
using Stimulsoft.Report.ReportControls;
using Stimulsoft.Report.Components;
namespace Reports
{
public class Report : Stimulsoft.Report.StiReport
{
public Report()
{
this.InitializeComponent();
}
#region StiReport Designer generated code - do not modify#endregion StiReport Designer generated code - do not modify
}
}
CSharp