Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -35,12 +37,16 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Accessibility" />
<Reference Include="FastReport, Version=2019.1.20.0, Culture=neutral, PublicKeyToken=5ceb240df42bf6e8, processorArchitecture=MSIL">
<HintPath>..\packages\FastReport.OpenSource.2019.1.20\lib\net40\FastReport.dll</HintPath>
<Reference Include="FastReport, Version=2020.3.4.0, Culture=neutral, PublicKeyToken=5ceb240df42bf6e8, processorArchitecture=MSIL">
<HintPath>..\packages\FastReport.OpenSource.2020.3.4\lib\net40\FastReport.dll</HintPath>
</Reference>
<Reference Include="FastReport.Compat, Version=2020.3.2.0, Culture=neutral, PublicKeyToken=406e1f4c3c8ef97e, processorArchitecture=MSIL">
<HintPath>..\packages\FastReport.Compat.2020.3.2\lib\net40\FastReport.Compat.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Security" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Windows.Forms.DataVisualization" />
<Reference Include="System.Xml" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FastReport.OpenSource" version="2019.1.20" targetFramework="net461" />
<package id="FastReport.Compat" version="2020.3.2" targetFramework="net461" />
<package id="FastReport.OpenSource" version="2020.3.4" targetFramework="net461" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand All @@ -49,11 +51,15 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Accessibility" />
<Reference Include="FastReport, Version=2019.1.0.0, Culture=neutral, PublicKeyToken=5ceb240df42bf6e8, processorArchitecture=MSIL">
<HintPath>..\packages\FastReport.OpenSource.2019.1.0\lib\net40\FastReport.dll</HintPath>
<Reference Include="FastReport, Version=2020.3.4.0, Culture=neutral, PublicKeyToken=5ceb240df42bf6e8, processorArchitecture=MSIL">
<HintPath>..\packages\FastReport.OpenSource.2020.3.4\lib\net40\FastReport.dll</HintPath>
</Reference>
<Reference Include="FastReport.Compat, Version=2020.3.2.0, Culture=neutral, PublicKeyToken=406e1f4c3c8ef97e, processorArchitecture=MSIL">
<HintPath>..\packages\FastReport.Compat.2020.3.2\lib\net40\FastReport.Compat.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Security" />
<Reference Include="System.Windows.Forms.DataVisualization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="FastReport.OpenSource" version="2019.1.0" targetFramework="net461" />
<package id="FastReport.Compat" version="2020.3.2" targetFramework="net461" />
<package id="FastReport.OpenSource" version="2020.3.4" targetFramework="net461" />
</packages>
95 changes: 50 additions & 45 deletions Demos/Reports/Barcode.frx

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions Demos/Reports/Cascaded Data Filtering.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates how to implement the cascaded filter. When you select an employee, the orders list will be refreshed. To do this:&#13;&#10;- put two comboboxes on a form, EmployeesComboBox and OrdersComboBox;&#13;&#10;- connect EmployeesComboBox to Employees.FirstName data column via its DataColumn property;&#13;&#10;- connect OrdersComboBox to Orders.OrderID data column;&#13;&#10;- select EmployeesComboBox and set its DetailControl property to OrdersComboBox. &#13;&#10;That's all, you don't need to write any code!" ReportInfo.Created="03/19/2009 00:41:35" ReportInfo.Modified="02/25/2020 15:16:35" ReportInfo.CreatorVersion="2020.1.22.0">
<Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates how to implement the cascaded filter. When you select an employee, the orders list will be refreshed. To do this:&#13;&#10;- put two comboboxes on a form, EmployeesComboBox and OrdersComboBox;&#13;&#10;- connect EmployeesComboBox to Employees.FirstName data column via its DataColumn property;&#13;&#10;- connect OrdersComboBox to Orders.OrderID data column;&#13;&#10;- select EmployeesComboBox and set its DetailControl property to OrdersComboBox. &#13;&#10;That's all, you don't need to write any code!" ReportInfo.Created="03/19/2009 00:41:35" ReportInfo.Modified="05/27/2020 20:00:06" ReportInfo.CreatorVersion="2020.3.3.0">
<Dictionary>
<TableDataSource Name="Employees" ReferenceName="NorthWind.Employees" DataType="System.Int32" Enabled="true">
<Column Name="EmployeeID" DataType="System.Int32"/>
Expand Down Expand Up @@ -68,12 +68,12 @@
<TextObject Name="Text12" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" Cursor="Hand" Hyperlink.Value="http://fast.report/afd51" CanGrow="true" CanShrink="true" Text="Learn about various report objects on the Fast Reports Academy channel" Padding="4, 4, 4, 4" Font="Tahoma, 10pt, style=Bold, Underline" TextFill.Color="Blue"/>
<TextObject Name="Text14" Top="28.35" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/>
</ReportTitleBand>
<DataBand Name="Data1" Top="60.7" Width="718.2" Height="47.25" Fill.Color="Coral" DataSource="Employees">
<DataBand Name="Data1" Top="59.9" Width="718.2" Height="47.25" Fill.Color="Coral" DataSource="Employees">
<TextObject Name="Text1" Left="9.45" Width="538.65" Height="47.25" Text="[Employees.FirstName] [Employees.LastName]" VertAlign="Center" Font="Tahoma, 16pt, style=Bold" TextFill.Color="White"/>
<DataBand Name="Data2" Top="111.95" Width="718.2" Height="37.8" Fill.Color="LightSalmon" DataSource="Orders">
<DataBand Name="Data2" Top="110.35" Width="718.2" Height="37.8" Fill.Color="LightSalmon" DataSource="Orders">
<TextObject Name="Text2" Left="9.45" Top="9.45" Width="132.3" Height="18.9" Text="Order ID: [Orders.OrderID]" Font="Tahoma, 10pt"/>
<TextObject Name="Text3" Left="160.65" Top="9.45" Width="198.45" Height="18.9" Text="Date: [Orders.OrderDate]" Format="Date" Format.Format="d" Font="Tahoma, 10pt"/>
<DataBand Name="Data3" Top="153.75" Width="718.2" Height="37.8" Fill.Color="MistyRose" DataSource="Order Details">
<DataBand Name="Data3" Top="151.35" Width="718.2" Height="37.8" Fill.Color="MistyRose" DataSource="Order Details">
<TextObject Name="Text4" Left="28.35" Top="9.45" Width="207.9" Height="18.9" Text="[Order Details.Products.ProductName]" Font="Tahoma, 8pt"/>
<TextObject Name="Text5" Left="245.7" Top="9.45" Width="94.5" Height="18.9" Text="[Order Details.UnitPrice]" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Tahoma, 8pt"/>
<TextObject Name="Text6" Left="359.1" Top="9.45" Width="37.8" Height="18.9" Text="[Order Details.Quantity]" Font="Tahoma, 8pt"/>
Expand All @@ -83,21 +83,21 @@
</DataBand>
</DataBand>
</DataBand>
<ReportSummaryBand Name="ReportSummary1" Top="195.55" Width="718.2" Height="37.8" Fill.Color="LightSalmon">
<ReportSummaryBand Name="ReportSummary1" Top="192.35" Width="718.2" Height="37.8" Fill.Color="LightSalmon">
<TextObject Name="Text10" Left="415.8" Top="9.45" Width="75.6" Height="18.9" Text="[OrderTotal]" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Tahoma, 8pt"/>
<TextObject Name="Text11" Left="311.85" Top="9.45" Width="85.05" Height="18.9" Text="Total:" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Tahoma, 8pt"/>
</ReportSummaryBand>
<PageFooterBand Name="PageFooter1" Top="237.35" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<PageFooterBand Name="PageFooter1" Top="233.35" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<TextObject Name="Text13" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
</PageFooterBand>
</ReportPage>
<DialogPage Name="Form1" Width="298" Height="174" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt">
<ButtonControl Name="btnCancel" Left="205" Top="107" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="122" Top="107" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<ButtonControl Name="btnCancel" Left="205" Top="107" Anchor="Bottom, Right" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="122" Top="107" Anchor="Bottom, Right" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<LabelControl Name="Label1" Left="12" Top="40" Width="57" Height="13" Font="Tahoma, 8pt" TabIndex="3" Text="Employee:"/>
<ComboBoxControl Name="EmployeesComboBox" Left="92" Top="36" Width="185" Font="Tahoma, 8pt" TabIndex="4" Text="Anne" AutoFilter="false" DataColumn="Employees.FirstName" DetailControl="OrdersComboBox" DropDownStyle="DropDownList" DropDownWidth="185" ItemHeight="13" ItemsText="Anne&#13;&#10;Andrew&#13;&#10;Janet&#13;&#10;Margaret&#13;&#10;Steven&#13;&#10;Michael&#13;&#10;Robert&#13;&#10;Laura&#13;&#10;Nancy" SelectedIndexChangedEvent="EmployeesComboBox_SelectedIndexChanged"/>
<ComboBoxControl Name="EmployeesComboBox" Left="92" Top="36" Width="185" Height="21" Font="Tahoma, 8pt" TabIndex="4" AutoFilter="false" DataColumn="Employees.FirstName" DetailControl="OrdersComboBox" DropDownStyle="DropDownList" DropDownWidth="185" ItemHeight="13" ItemsText="Anne&#13;&#10;Andrew&#13;&#10;Janet&#13;&#10;Margaret&#13;&#10;Steven&#13;&#10;Michael&#13;&#10;Robert&#13;&#10;Laura&#13;&#10;Nancy" SelectedIndexChangedEvent="EmployeesComboBox_SelectedIndexChanged"/>
<LabelControl Name="Label2" Left="12" Top="72" Width="53" Height="13" Font="Tahoma, 8pt" TabIndex="6" Text="Order ID:"/>
<ComboBoxControl Name="OrdersComboBox" Left="92" Top="68" Width="89" Font="Tahoma, 8pt" TabIndex="7" Text="10255" AutoFill="false" DataColumn="Orders.OrderID" DropDownStyle="DropDownList" DropDownWidth="89" ItemHeight="13" ItemsText="10255&#13;&#10;10263&#13;&#10;10324&#13;&#10;10331&#13;&#10;10386&#13;&#10;10411&#13;&#10;10475&#13;&#10;10501&#13;&#10;10506&#13;&#10;10538&#13;&#10;10557&#13;&#10;10566&#13;&#10;10577&#13;&#10;10586&#13;&#10;10646&#13;&#10;10672&#13;&#10;10687&#13;&#10;10705&#13;&#10;10736&#13;&#10;10745&#13;&#10;10750&#13;&#10;10771&#13;&#10;10782&#13;&#10;10799&#13;&#10;10828&#13;&#10;10829&#13;&#10;10837&#13;&#10;10849&#13;&#10;10853&#13;&#10;10871&#13;&#10;10889&#13;&#10;10893&#13;&#10;10905&#13;&#10;10942&#13;&#10;10951&#13;&#10;10953&#13;&#10;10963&#13;&#10;10970&#13;&#10;10978&#13;&#10;11016&#13;&#10;11017&#13;&#10;11022&#13;&#10;11058"/>
<ComboBoxControl Name="OrdersComboBox" Left="92" Top="68" Width="89" Height="21" Font="Tahoma, 8pt" TabIndex="7" AutoFill="false" DataColumn="Orders.OrderID" DropDownStyle="DropDownList" DropDownWidth="89" ItemHeight="13" ItemsText="10255&#13;&#10;10263&#13;&#10;10324&#13;&#10;10331&#13;&#10;10386&#13;&#10;10411&#13;&#10;10475&#13;&#10;10501&#13;&#10;10506&#13;&#10;10538&#13;&#10;10557&#13;&#10;10566&#13;&#10;10577&#13;&#10;10586&#13;&#10;10646&#13;&#10;10672&#13;&#10;10687&#13;&#10;10705&#13;&#10;10736&#13;&#10;10745&#13;&#10;10750&#13;&#10;10771&#13;&#10;10782&#13;&#10;10799&#13;&#10;10828&#13;&#10;10829&#13;&#10;10837&#13;&#10;10849&#13;&#10;10853&#13;&#10;10871&#13;&#10;10889&#13;&#10;10893&#13;&#10;10905&#13;&#10;10942&#13;&#10;10951&#13;&#10;10953&#13;&#10;10963&#13;&#10;10970&#13;&#10;10978&#13;&#10;11016&#13;&#10;11017&#13;&#10;11022&#13;&#10;11058"/>
<LabelControl Name="Label3" Left="12" Top="12" Width="259" Height="13" Font="Tahoma, 8pt" TabIndex="8" Text="Select an employee and order ID to view order items"/>
</DialogPage>
</Report>
93 changes: 93 additions & 0 deletions Demos/Reports/Dialog Elements.frx
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" StartReportEvent="_StartReport" ReportInfo.Description="Demonstrates how to add simple dialog form to the report. To do this:&#13;&#10;&#13;&#10;- press the &quot;New Dialog&quot; button on a toolbar;&#13;&#10;&#13;&#10;- this will create an empty dialog form with two default buttons. Put some controls on it and set its properties as you want.&#13;&#10;&#13;&#10;When you run a report, you will see the dialog. If you close it by &quot;OK&quot; button, the report will be generated.&#13;&#10;&#13;&#10;Note: you may add several dialogs." ReportInfo.Created="01/18/2008 03:08:14" ReportInfo.Modified="06/04/2020 14:00:46" ReportInfo.CreatorVersion="1.0.0.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;

namespace FastReport
{
public class ReportScript
{
private void Form1_Load(object sender, EventArgs e)
{
DateTimePicker1.Value = DateTime.Now;
}

private void _StartReport(object sender, EventArgs e)
{
Report.SetParameterValue(&quot;Parameter&quot;, &quot;This value from Start_Report event&quot;);
}

private void Page1_StartPage(object sender, EventArgs e)
{
Report.SetParameterValue(&quot;Parameter&quot;, &quot;This value from StartPage event&quot;);
}

private void Form1_FormClosed(object sender, FormClosedEventArgs e)
{
Report.SetParameterValue(&quot;Parameter&quot;, &quot;This value from FormClosed event&quot;);
}


private void Text13_BeforePrint(object sender, EventArgs e)
{
for(int i = 0; i &lt; CheckedListBox1.CheckedItems.Count; i++)
Text13.Text += CheckedListBox1.CheckedItems[i].ToString() + &quot;,&quot;;
}

}
}
</ScriptText>
<Dictionary>
<Parameter Name="Parameter" DataType="System.String" Expression="&quot;Default value from designer&quot;"/>
</Dictionary>
<ReportPage Name="Page1" Watermark.Font="Arial, 60pt" StartPageEvent="Page1_StartPage">
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="453.6">
<TextObject Name="Text1" Top="9.45" Width="463.05" Height="18.9" Text="You have entered text: [TextBox1.Text]" Font="Arial, 10pt"/>
<TextObject Name="Text2" Top="189" Width="463.05" Height="37.8" Text="Selected date from DateTimePicker1: [DateTimePicker1.Value]&#13;&#10;Selected date from DateTimePicker2: [DateTimePicker2.Value]" Font="Arial, 10pt"/>
<TextObject Name="Text4" Top="283.5" Width="292.95" Height="18.9" Text="Parameter value: [Parameter]" Font="Arial, 10pt"/>
<TextObject Name="Text5" Top="28.35" Width="463.05" Height="18.9" Text="ComboBox selection: [ComboBox1.Text]" Font="Arial, 10pt"/>
<TextObject Name="Text6" Top="56.7" Width="463.05" Height="18.9" Text="CheckBox1 selection: [CheckBox1.Checked]" Font="Arial, 10pt"/>
<TextObject Name="Text7" Top="75.6" Width="463.05" Height="18.9" Text="CheckBox2 selection: [CheckBox2.Checked]" Font="Arial, 10pt"/>
<TextObject Name="Text8" Top="94.5" Width="463.05" Height="18.9" Text="CheckBox3 selection: [CheckBox3.Checked]" Font="Arial, 10pt"/>
<TextObject Name="Text9" Top="122.85" Width="463.05" Height="18.9" Text="RadioButton1 selection: [RadioButton1.Checked]" Font="Arial, 10pt"/>
<TextObject Name="Text10" Top="141.75" Width="463.05" Height="18.9" Text="RadioButton2 selection: [RadioButton2.Checked]" Font="Arial, 10pt"/>
<TextObject Name="Text11" Top="160.65" Width="463.05" Height="18.9" Text="RadioButton3 selection: [RadioButton3.Checked]" Font="Arial, 10pt"/>
<TextObject Name="Text12" Top="264.6" Width="463.05" Height="18.9" Text="ListBox selection: [ListBox1.SelectedItem]" Font="Arial, 10pt"/>
<TextObject Name="Text13" Top="245.7" Width="463.05" Height="18.9" CanGrow="true" BeforePrintEvent="Text13_BeforePrint" Text="CheckedListBox selection:" Font="Arial, 10pt"/>
<TextObject Name="Text14" Top="311.85" Width="463.05" Height="66.15" CanGrow="true" Text="You have entered text in multiline TextBox: [TextBox2.Text]" Font="Arial, 10pt"/>
</ReportTitleBand>
</ReportPage>
<DialogPage Name="Form1" Width="460" Height="604" Font="Tahoma, 8pt" LoadEvent="Form1_Load" FormClosedEvent="Form1_FormClosed">
<ButtonControl Name="Button1" Left="280" Top="532" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<ButtonControl Name="Button2" Left="360" Top="532" Font="Tahoma, 8pt" TabIndex="2" Text="Cancel" DialogResult="Cancel"/>
<LabelControl Name="Label1" Left="8" Top="12" Width="79" Height="13" Font="Tahoma, 8pt" TabIndex="3" Text="Enter the text:"/>
<TextBoxControl Name="TextBox1" Left="8" Top="32" Width="188" Font="Tahoma, 8pt" TabIndex="0" Text="Hello!"/>
<CheckBoxControl Name="CheckBox1" Left="8" Top="72" Width="79" Height="17" Font="Tahoma, 8pt" TabIndex="4" Text="CheckBox1" Checked="true" CheckState="Checked"/>
<CheckBoxControl Name="CheckBox2" Left="8" Top="96" Width="79" Height="17" Font="Tahoma, 8pt" TabIndex="5" Text="CheckBox2"/>
<CheckBoxControl Name="CheckBox3" Left="8" Top="120" Width="79" Height="17" Font="Tahoma, 8pt" TabIndex="6" Text="CheckBox3"/>
<RadioButtonControl Name="RadioButton1" Left="108" Top="72" Width="90" Height="17" Font="Tahoma, 8pt" TabIndex="7" Text="RadioButton1" Checked="true"/>
<RadioButtonControl Name="RadioButton2" Left="108" Top="96" Width="90" Height="17" Font="Tahoma, 8pt" TabIndex="8" TabStop="false" Text="RadioButton2"/>
<RadioButtonControl Name="RadioButton3" Left="108" Top="120" Width="90" Height="17" Font="Tahoma, 8pt" TabIndex="9" TabStop="false" Text="RadioButton3"/>
<ComboBoxControl Name="ComboBox1" Left="216" Top="32" Font="Tahoma, 8pt" TabIndex="10" Text="ComboBox" ItemHeight="13" ItemsText="Item 1&#13;&#10;Item 2&#13;&#10;Item 3&#13;&#10;Item 4&#13;&#10;Item 5&#13;&#10;Item 6&#13;&#10;Item 7&#13;&#10;Item 8"/>
<DateTimePickerControl Name="DateTimePicker1" Left="8" Top="176" Width="176" Font="Tahoma, 8pt" TabIndex="12" Checked="false" Value="03/11/2013 02:00:10"/>
<LabelControl Name="Label2" Left="8" Top="156" Width="86" Height="13" Font="Tahoma, 8pt" TabIndex="16" Text="DateTimePicker1"/>
<DateTimePickerControl Name="DateTimePicker2" Left="8" Top="232" Width="176" Font="Tahoma, 8pt" TabIndex="12" Checked="false" Value="03/11/2013 02:00:10"/>
<LabelControl Name="Label3" Left="8" Top="212" Width="86" Height="13" Font="Tahoma, 8pt" TabIndex="16" Text="DateTimePicker2"/>
<LabelControl Name="Label5" Left="216" Top="12" Width="58" Height="13" Font="Tahoma, 8pt" TabIndex="3" Text="ComboBox"/>
<CheckedListBoxControl Name="CheckedListBox1" Left="8" Top="316" Width="176" Height="104" Font="Tahoma, 8pt" TabIndex="17" Text="CheckedListBox" ClickEvent="" ItemsText="CheckListBox Value1&#13;&#10;CheckListBox Value2&#13;&#10;CheckListBox Value3&#13;&#10;CheckListBox Value4&#13;&#10;CheckListBox Value5&#13;&#10;CheckListBox Value6&#13;&#10;CheckListBox Value7&#13;&#10;CheckListBox Value8&#13;&#10;CheckListBox Value9&#13;&#10;CheckListBox Value10" CheckOnClick="true"/>
<ListBoxControl Name="ListBox1" Left="216" Top="316" Width="164" Height="104" Font="Tahoma, 8pt" TabIndex="18" Text="ListBox" ItemsText="ListBox Value1&#13;&#10;ListBox Value2&#13;&#10;ListBox Value3&#13;&#10;ListBox Value4&#13;&#10;ListBox Value5&#13;&#10;ListBox Value6&#13;&#10;ListBox Value7&#13;&#10;ListBox Value8"/>
<LabelControl Name="Label6" Left="8" Top="432" Width="120" Height="13" Font="Tahoma, 8pt" TabIndex="3" Text="Enter the multiline text:"/>
<TextBoxControl Name="TextBox2" Left="8" Top="452" Width="440" Height="68" Font="Tahoma, 8pt" TabIndex="0" Text="FastReport.Net is a full-featured reporting solution for Windows Forms, ASP.NET and MVC. It can be used in Microsoft Visual Studio 2005, 2008, Microsoft Visual Studio 2010-2015 and Delphi Prism." ClickEvent="" Multiline="true"/>
</DialogPage>
</Report>
12 changes: 6 additions & 6 deletions Demos/Reports/Dialog Events.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="This report demonstrates how to handle the dialog controls' events to modify the state of other controls. " ReportInfo.Created="05/29/2008 20:21:07" ReportInfo.Modified="01/22/2019 14:59:01" ReportInfo.CreatorVersion="2019.1.9.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="This report demonstrates how to handle the dialog controls' events to modify the state of other controls. " ReportInfo.Created="05/29/2008 20:21:07" ReportInfo.Modified="05/27/2020 20:01:28" ReportInfo.CreatorVersion="2020.3.3.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -32,14 +32,14 @@ namespace FastReport
}
</ScriptText>
<Dictionary/>
<DialogPage Name="Form1" Width="298" Height="190" AcceptButton="btnOk" CancelButton="btnCancel" LoadEvent="Form1_Load">
<ButtonControl Name="btnCancel" Left="205" Top="127" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="122" Top="127" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<DialogPage Name="Form1" Width="298" Height="190" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt" LoadEvent="Form1_Load">
<ButtonControl Name="btnCancel" Left="205" Top="127" Anchor="Bottom, Right" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="122" Top="127" Anchor="Bottom, Right" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<CheckBoxControl Name="CheckBox1" Left="12" Top="72" Width="262" Height="17" Font="Tahoma, 8pt" TabIndex="2" Text="Click this checkbox to enable/disable the TextBox" ClickEvent="" Checked="true" CheckState="Checked" CheckedChangedEvent="CheckBox1_CheckedChanged"/>
<TextBoxControl Name="TextBox1" Left="12" Top="92" Width="220" Font="Tahoma, 8pt" TabIndex="3" Text="TextBox1"/>
<TextBoxControl Name="TextBox1" Left="12" Top="92" Width="220" Height="20" Font="Tahoma, 8pt" TabIndex="3" Text="TextBox1"/>
<LabelControl Name="Label1" Left="8" Top="12" Width="272" Height="55" Font="Tahoma, 8pt" TabIndex="4" Text="Label" AutoSize="false"/>
</DialogPage>
<ReportPage Name="Page1">
<ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="28.35" CanGrow="true">
<TextObject Name="Text11" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/>
</ReportTitleBand>
Expand Down
122 changes: 122 additions & 0 deletions Demos/Reports/Dialog-WebResponse Book a room.frx
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReferencedAssemblies="System.dll&#13;&#10;System.Drawing.dll&#13;&#10;System.Windows.Forms.dll&#13;&#10;System.Data.dll&#13;&#10;System.Xml.dll&#13;&#10;System.Net.Http.dll" ReportInfo.Created="06/08/2020 10:48:38" ReportInfo.Modified="06/09/2020 08:31:34" ReportInfo.CreatorVersion="1.0.0.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
using System.Net.Http;
using System.Threading.Tasks;



namespace FastReport
{
public class ReportScript
{
private static readonly HttpClient client = new HttpClient();
private const string DateTimePickerFormat = &quot;yyyy-MM-dd&quot;;
private const string URL = @&quot;http://fastreportworker.azurewebsites.net/weatherforecast&quot;;

private async Task&lt;string&gt; Post()
{
string date1 = DateTimePicker1.Value.ToString(DateTimePickerFormat);
string date2 = DateTimePicker2.Value.ToString(DateTimePickerFormat);

var values = new Dictionary&lt;string, string&gt;
{
{ &quot;date1&quot;, date1 },
{ &quot;date2&quot;, date2 }
};

var content = new FormUrlEncodedContent(values);

var response = await client.PostAsync(URL, content);

return await response.Content.ReadAsStringAsync();
}


private void UpdateComboBox()
{
string response = Post().Result;
ComboBox1.Items.Clear();

if(!string.IsNullOrEmpty(response))
{
String[] array = response.Split(',');
foreach(var element in array)
{
ComboBox1.Items.Add(element);
}
}
}

private void DateTimePicker_ValueChanged(object sender, EventArgs e)
{
UpdateComboBox();
}

private void Form2_Load(object sender, EventArgs e)
{
Label15.Text = TextBox1.Text;
Label16.Text = TextBox2.Text;
Label17.Text = DateTimePicker1.Value.ToString();
Label18.Text = DateTimePicker2.Value.ToString();
Label19.Text = ComboBox1.Text;
}

private void Form1_Load(object sender, EventArgs e)
{
UpdateComboBox();
}
}
}
</ScriptText>
<Dictionary/>
<ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
<PageHeaderBand Name="PageHeader1" Width="718.2" Height="151.2">
<TextObject Name="Text1" Left="47.25" Top="18.9" Width="585.9" Height="113.4" Text="Dear [TextBox1.Text], thanks for your order! On dates from [DateTimePicker1.Value.ToString()] to [DateTimePicker2.Value.ToString()] you have reserved room number [ComboBox1.Text]. Have a nice day!" Font="Arial, 10pt"/>
</PageHeaderBand>
</ReportPage>
<DialogPage Name="Form1" Width="504" Height="604" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt" LoadEvent="Form1_Load">
<ButtonControl Name="btnOk" Left="322" Top="534" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="OK" DialogResult="OK"/>
<ButtonControl Name="btnCancel" Left="405" Top="534" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="Cancel" DialogResult="Cancel"/>
<LabelControl Name="Label1" Left="20" Top="94" Width="102" Font="Tahoma, 14.25pt" TabIndex="2" Text="Your name"/>
<TextBoxControl Name="TextBox1" Left="124" Top="92" Width="112" Height="27" Font="Tahoma, 12pt" TabIndex="3" Text="Robert Martin"/>
<LabelControl Name="Label2" Left="68" Top="8" Width="343" Height="25" Font="Georgia, 15.75pt" TabIndex="4" Text="Hello! Welcome to Hotel California!"/>
<LabelControl Name="Label3" Left="136" Top="56" Height="19" Font="Tahoma, 12pt" TabIndex="5" Text="Book a room"/>
<LabelControl Name="Label4" Left="260" Top="96" Width="37" Height="19" Font="Tahoma, 12pt" TabIndex="6" Text="Age"/>
<DateTimePickerControl Name="DateTimePicker1" Left="156" Top="180" Font="Tahoma, 9.75pt" TabIndex="7" Text="Monday, June 8, 2020" Value="06/08/2020 12:20:19" ValueChangedEvent="DateTimePicker_ValueChanged"/>
<LabelControl Name="Label5" Left="28" Top="184" Width="83" Height="19" Font="Tahoma, 12pt" TabIndex="6" Text="Start date:"/>
<LabelControl Name="Label6" Left="28" Top="236" Width="77" Height="19" Font="Tahoma, 12pt" TabIndex="6" Text="End date:"/>
<DateTimePickerControl Name="DateTimePicker2" Left="156" Top="232" Font="Tahoma, 9.75pt" TabIndex="7" Text="Monday, June 15, 2020" Value="2020-06-15" ValueChangedEvent="DateTimePicker_ValueChanged"/>
<TextBoxControl Name="TextBox2" Left="304" Top="92" Width="112" Height="27" Font="Tahoma, 12pt" TabIndex="3" Text="30"/>
<LabelControl Name="Label7" Left="16" Top="372" Width="207" Height="19" Font="Tahoma, 12pt" TabIndex="6" Text="Choose your room number:"/>
<LabelControl Name="Label8" Left="260" Top="352" Width="230" Height="13" Font="Tahoma, 8pt" ForeColor="DarkGray" TabIndex="9" Text="These items are received in the POST request."/>
<ComboBoxControl Name="ComboBox1" Left="268" Top="376" Height="21" Font="Tahoma, 8pt" TabIndex="10" Text="ComboBox" ItemHeight="13"/>
</DialogPage>
<DialogPage Name="Form2" Width="388" Height="464" AcceptButton="btnOk1" CancelButton="btnCancel1" Font="Tahoma, 8pt" LoadEvent="Form2_Load">
<ButtonControl Name="btnOk1" Left="206" Top="394" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="Apply" DialogResult="OK"/>
<ButtonControl Name="btnCancel1" Left="289" Top="394" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="Cancel" DialogResult="Cancel"/>
<LabelControl Name="Label9" Left="52" Top="44" Width="248" Height="21" Font="Segoe UI, 12pt" TabIndex="2" Text="Check general information, please:"/>
<LabelControl Name="Label10" Left="12" Top="90" Width="102" Font="Tahoma, 14.25pt" TabIndex="2" Text="Your name"/>
<LabelControl Name="Label11" Left="16" Top="128" Width="37" Height="19" Font="Tahoma, 12pt" TabIndex="6" Text="Age"/>
<LabelControl Name="Label12" Left="24" Top="184" Width="83" Height="19" Font="Tahoma, 12pt" TabIndex="6" Text="Start date:"/>
<LabelControl Name="Label13" Left="24" Top="224" Width="77" Height="19" Font="Tahoma, 12pt" TabIndex="6" Text="End date:"/>
<LabelControl Name="Label14" Left="16" Top="308" Width="117" Height="19" Font="Tahoma, 12pt" TabIndex="6" Text="Room number:"/>
<LabelControl Name="Label15" Left="156" Top="92" Width="109" Height="21" Font="Segoe UI, 12pt" TabIndex="7" Text="[TextBox1.Text]" ClickEvent=""/>
<LabelControl Name="Label16" Left="88" Top="128" Width="109" Height="21" Font="Segoe UI, 12pt" TabIndex="7" Text="[TextBox2.Text]" ClickEvent=""/>
<LabelControl Name="Label17" Left="136" Top="184" Width="178" Height="21" Font="Segoe UI, 12pt" TabIndex="7" Text="[DateTimePicker1.Value]" ClickEvent=""/>
<LabelControl Name="Label18" Left="136" Top="224" Width="178" Height="21" Font="Segoe UI, 12pt" TabIndex="7" Text="[DateTimePicker2.Value]" ClickEvent=""/>
<LabelControl Name="Label19" Left="160" Top="308" Width="134" Height="21" Font="Segoe UI, 12pt" TabIndex="7" Text="[ComboBox1.Text]" ClickEvent=""/>
</DialogPage>
</Report>
14 changes: 7 additions & 7 deletions Demos/Reports/Filtering with CheckedListBox.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates the data filtering feature of dialog controls. To create this report:&#13;&#10;- create the report layout;&#13;&#10;- add a new dialog form;&#13;&#10;- put the CheckedListBox control on it;&#13;&#10;- go to the &quot;Properties&quot; window and set the &quot;DataColumn&quot; property to the data column you want to display.&#13;&#10;When you run a report, the CheckedListBox will be filled automatically (&quot;AutoFill&quot; property is true by default). You may check some items that you want to see. When you switch to another control, the data will be automatically filtered (the &quot;AutoFilter&quot; property is true by default)." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="02/25/2020 15:12:13" ReportInfo.CreatorVersion="2020.1.22.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates the data filtering feature of dialog controls. To create this report:&#13;&#10;- create the report layout;&#13;&#10;- add a new dialog form;&#13;&#10;- put the CheckedListBox control on it;&#13;&#10;- go to the &quot;Properties&quot; window and set the &quot;DataColumn&quot; property to the data column you want to display.&#13;&#10;When you run a report, the CheckedListBox will be filled automatically (&quot;AutoFill&quot; property is true by default). You may check some items that you want to see. When you switch to another control, the data will be automatically filtered (the &quot;AutoFilter&quot; property is true by default)." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="05/27/2020 19:57:28" ReportInfo.CreatorVersion="2020.3.3.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -70,29 +70,29 @@ namespace FastReport
<TextObject Name="Text13" Top="28.35" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/>
<TextObject Name="Text14" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" Cursor="Hand" Hyperlink.Value="http://fast.report/afd51" CanGrow="true" CanShrink="true" Text="Learn about various report objects on the Fast Reports Academy channel" Padding="4, 4, 4, 4" Font="Tahoma, 10pt, style=Bold, Underline" TextFill.Color="Blue"/>
</ReportTitleBand>
<GroupHeaderBand Name="GroupHeader1" Top="98.5" Width="718.2" Height="47.25" Fill.Color="SandyBrown" RepeatOnEveryPage="true" Condition="[Orders.CustomerID]">
<GroupHeaderBand Name="GroupHeader1" Top="97.7" Width="718.2" Height="47.25" Fill.Color="SandyBrown" RepeatOnEveryPage="true" Condition="[Orders.CustomerID]">
<TextObject Name="Text1" Width="349.65" Height="28.35" Text="[Orders.Customers.CompanyName]" Font="Tahoma, 12pt, style=Bold"/>
<TextObject Name="Text5" Top="28.35" Width="94.5" Height="18.9" Text="OrderID" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text3" Left="122.85" Top="28.35" Width="94.5" Height="18.9" Text="OrderDate" HorzAlign="Right" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text8" Left="255.15" Top="28.35" Width="94.5" Height="18.9" Text="ShippedDate" HorzAlign="Right" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text11" Left="623.7" Width="94.5" Height="18.9" Fill.Color="SandyBrown" PrintOn="RepeatedBand" Text="continued..." HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<DataBand Name="Data2" Top="149.75" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
<DataBand Name="Data2" Top="148.15" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
<TextObject Name="Text4" Width="94.5" Height="18.9" Text="[Orders.OrderID]" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text2" Left="122.85" Width="94.5" Height="18.9" Text="[Orders.OrderDate]" Format="Date" Format.Format="d" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text7" Left="255.15" Width="94.5" Height="18.9" Text="[Orders.ShippedDate]" Format="Date" Format.Format="d" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
</DataBand>
<GroupFooterBand Name="GroupFooter1" Top="172.65" Width="718.2" Height="18.9">
<GroupFooterBand Name="GroupFooter1" Top="170.25" Width="718.2" Height="18.9">
<TextObject Name="Text9" Width="349.65" Height="18.9" Text="Total orders: [TotalOrders]" HorzAlign="Right" Font="Tahoma, 8pt, style=Bold"/>
</GroupFooterBand>
</GroupHeaderBand>
<PageFooterBand Name="PageFooter1" Top="195.55" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<PageFooterBand Name="PageFooter1" Top="192.35" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<TextObject Name="Text10" Left="614.25" Width="94.5" Height="28.35" Text="[PageN]" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
</PageFooterBand>
</ReportPage>
<DialogPage Name="Form1" Width="486" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt" LoadEvent="Form1_Load">
<ButtonControl Name="btnCancel" Left="395" Top="237" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="312" Top="237" Font="Tahoma, 8pt" TabIndex="1" Text="OK" ClickEvent="" DialogResult="OK"/>
<ButtonControl Name="btnCancel" Left="395" Top="237" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="312" Top="237" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="OK" ClickEvent="" DialogResult="OK"/>
<LabelControl Name="Label1" Left="216" Top="8" Width="250" Height="13" Font="Tahoma, 8pt" TabIndex="2" Text="Select one or several customers to view its orders:"/>
<CheckedListBoxControl Name="lbCustomers" Left="220" Top="32" Width="248" Height="192" Font="Tahoma, 8pt" TabIndex="3" Text="Ernst Handel" DataColumn="Orders.Customers.CompanyName" ItemsText="Alfreds Futterkiste&#13;&#10;Ana Trujillo Emparedados y helados&#13;&#10;Antonio Moreno Taquería&#13;&#10;Around the Horn&#13;&#10;Berglunds snabbköp&#13;&#10;Blauer See Delikatessen&#13;&#10;Blondel père et fils&#13;&#10;Bólido Comidas preparadas&#13;&#10;Bon app'&#13;&#10;Bottom-Dollar Markets&#13;&#10;B's Beverages&#13;&#10;Cactus Comidas para llevar&#13;&#10;Centro comercial Moctezuma&#13;&#10;Chop-suey Chinese&#13;&#10;Comércio Mineiro&#13;&#10;Consolidated Holdings&#13;&#10;Drachenblut Delikatessen&#13;&#10;Du monde entier&#13;&#10;Eastern Connection&#13;&#10;Ernst Handel&#13;&#10;Familia Arquibaldo&#13;&#10;FISSA Fabrica Inter. Salchichas S.A.&#13;&#10;Folies gourmandes&#13;&#10;Folk och fä HB&#13;&#10;Frankenversand&#13;&#10;France restauration&#13;&#10;Franchi S.p.A.&#13;&#10;Furia Bacalhau e Frutos do Mar&#13;&#10;Galería del gastrónomo&#13;&#10;Godos Cocina Típica&#13;&#10;Gourmet Lanchonetes&#13;&#10;Great Lakes Food Market&#13;&#10;GROSELLA-Restaurante&#13;&#10;Hanari Carnes&#13;&#10;HILARIÓN-Abastos&#13;&#10;Hungry Coyote Import Store&#13;&#10;Hungry Owl All-Night Grocers&#13;&#10;Island Trading&#13;&#10;Königlich Essen&#13;&#10;La corne d'abondance&#13;&#10;La maison d'Asie&#13;&#10;Laughing Bacchus Wine Cellars&#13;&#10;Lazy K Kountry Store&#13;&#10;Lehmanns Marktstand&#13;&#10;Let's Stop N Shop&#13;&#10;LILA-Supermercado&#13;&#10;LINO-Delicateses&#13;&#10;Lonesome Pine Restaurant&#13;&#10;Magazzini Alimentari Riuniti&#13;&#10;Maison Dewey&#13;&#10;Mère Paillarde&#13;&#10;Morgenstern Gesundkost&#13;&#10;North/South&#13;&#10;Océano Atlántico Ltda.&#13;&#10;Old World Delicatessen&#13;&#10;Ottilies Käseladen&#13;&#10;Paris spécialités&#13;&#10;Pericles Comidas clásicas&#13;&#10;Piccolo und mehr&#13;&#10;Princesa Isabel Vinhos&#13;&#10;Que Delícia&#13;&#10;Queen Cozinha&#13;&#10;QUICK-Stop&#13;&#10;Rancho grande&#13;&#10;Rattlesnake Canyon Grocery&#13;&#10;Reggiani Caseifici&#13;&#10;Ricardo Adocicados&#13;&#10;Richter Supermarkt&#13;&#10;Romero y tomillo&#13;&#10;Santé Gourmet&#13;&#10;Save-a-lot Markets&#13;&#10;Seven Seas Imports&#13;&#10;Simons bistro&#13;&#10;Spécialités du monde&#13;&#10;Split Rail Beer &amp; Ale&#13;&#10;Suprêmes délices&#13;&#10;The Big Cheese&#13;&#10;The Cracker Box&#13;&#10;Toms Spezialitäten&#13;&#10;Tortuga Restaurante&#13;&#10;Tradição Hipermercados&#13;&#10;Trail's Head Gourmet Provisioners&#13;&#10;Vaffeljernet&#13;&#10;Victuailles en stock&#13;&#10;Vins et alcools Chevalier&#13;&#10;Die Wandernde Kuh&#13;&#10;Wartian Herkku&#13;&#10;Wellington Importadora&#13;&#10;White Clover Markets&#13;&#10;Wilman Kala&#13;&#10;Wolski Zajazd" CheckOnClick="true"/>
<LabelControl Name="Label2" Left="8" Top="8" Width="200" Height="223" Font="Tahoma, 8pt" TabIndex="4" Text="Label" AutoSize="false"/>
Expand Down
14 changes: 7 additions & 7 deletions Demos/Reports/Filtering with DataSelector.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to use the DataSelector control. To do this:&#13;&#10;- just put a DataSelector control on a dialog form and connect it to the data column (using its &quot;DataColumn&quot; property);&#13;&#10;- that's all!&#13;&#10;Note: to allow filtering, use the same datasource for a data band and DataSelector control. In this example: the data band is connected to the &quot;Orders&quot; table, and the DataSelector is connected to the &quot;Orders.Customers.CompanyName&quot; column. You may connect the DataSelector to the &quot;Customers.CompanyName&quot; data column, but in this case filtering won't work." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="02/25/2020 15:13:06" ReportInfo.CreatorVersion="2020.1.22.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to use the DataSelector control. To do this:&#13;&#10;- just put a DataSelector control on a dialog form and connect it to the data column (using its &quot;DataColumn&quot; property);&#13;&#10;- that's all!&#13;&#10;Note: to allow filtering, use the same datasource for a data band and DataSelector control. In this example: the data band is connected to the &quot;Orders&quot; table, and the DataSelector is connected to the &quot;Orders.Customers.CompanyName&quot; column. You may connect the DataSelector to the &quot;Customers.CompanyName&quot; data column, but in this case filtering won't work." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="05/27/2020 19:58:03" ReportInfo.CreatorVersion="2020.3.3.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -70,29 +70,29 @@ namespace FastReport
<TextObject Name="Text12" Top="28.35" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/>
<TextObject Name="Text14" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" Cursor="Hand" Hyperlink.Value="http://fast.report/afd51" CanGrow="true" CanShrink="true" Text="Learn about various report objects on the Fast Reports Academy channel" Padding="4, 4, 4, 4" Font="Tahoma, 10pt, style=Bold, Underline" TextFill.Color="Blue"/>
</ReportTitleBand>
<GroupHeaderBand Name="GroupHeader1" Top="98.5" Width="718.2" Height="47.25" Fill.Color="Plum" RepeatOnEveryPage="true" Condition="[Orders.CustomerID]">
<GroupHeaderBand Name="GroupHeader1" Top="97.7" Width="718.2" Height="47.25" Fill.Color="Plum" RepeatOnEveryPage="true" Condition="[Orders.CustomerID]">
<TextObject Name="Text1" Width="349.65" Height="28.35" Text="[Orders.Customers.CompanyName]" VertAlign="Center" Font="Tahoma, 12pt, style=Bold"/>
<TextObject Name="Text5" Top="28.35" Width="94.5" Height="18.9" Text="OrderID" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text3" Left="122.85" Top="28.35" Width="94.5" Height="18.9" Text="OrderDate" HorzAlign="Right" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text8" Left="255.15" Top="28.35" Width="94.5" Height="18.9" Text="ShippedDate" HorzAlign="Right" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text11" Left="623.7" Width="94.5" Height="18.9" PrintOn="RepeatedBand" Text="continued..." HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<DataBand Name="Data2" Top="149.75" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
<DataBand Name="Data2" Top="148.15" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
<TextObject Name="Text4" Width="94.5" Height="18.9" Text="[Orders.OrderID]" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text2" Left="122.85" Width="94.5" Height="18.9" Text="[Orders.OrderDate]" Format="Date" Format.Format="d" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text7" Left="255.15" Width="94.5" Height="18.9" Text="[Orders.ShippedDate]" Format="Date" Format.Format="d" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
</DataBand>
<GroupFooterBand Name="GroupFooter1" Top="172.65" Width="718.2" Height="37.8">
<GroupFooterBand Name="GroupFooter1" Top="170.25" Width="718.2" Height="37.8">
<TextObject Name="Text9" Width="349.65" Height="18.9" Text="Total orders: [TotalOrders]" HorzAlign="Right" Font="Tahoma, 8pt, style=Bold"/>
</GroupFooterBand>
</GroupHeaderBand>
<PageFooterBand Name="PageFooter1" Top="214.45" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<PageFooterBand Name="PageFooter1" Top="211.25" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<TextObject Name="Text10" Left="614.25" Width="94.5" Height="28.35" Text="[PageN]" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text13" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
</PageFooterBand>
</ReportPage>
<DialogPage Name="Form1" Width="422" Height="412" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt" LoadEvent="Form1_Load">
<ButtonControl Name="btnCancel" Left="331" Top="349" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="248" Top="349" Font="Tahoma, 8pt" TabIndex="1" Text="OK" ClickEvent="" DialogResult="OK"/>
<ButtonControl Name="btnCancel" Left="331" Top="349" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="248" Top="349" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="OK" ClickEvent="" DialogResult="OK"/>
<LabelControl Name="Label1" Left="8" Top="128" Width="250" Height="13" Font="Tahoma, 8pt" TabIndex="2" Text="Select one or several customers to view its orders:"/>
<DataSelectorControl Name="DataSelector1" Left="8" Top="152" Width="400" Height="188" Font="Tahoma, 8pt" TabIndex="3" Text="DataSelector1" DataColumn="Orders.Customers.CompanyName"/>
<LabelControl Name="Label2" Left="8" Top="8" Width="396" Height="115" Font="Tahoma, 7pt" TabIndex="4" Text="Label" AutoSize="false"/>
Expand Down
16 changes: 8 additions & 8 deletions Demos/Reports/Filtering with Date Ranges.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to use the range filtering with DateTimePicker control. To do this:&#13;&#10;- put two DateTimePicker controls on a dialog form;&#13;&#10;- connect both of them to the same data column (using the &quot;DataColumn&quot; property);&#13;&#10;- select the first DateTimePicker and set its &quot;FilterOperation&quot; property to &quot;GreaterThanOrEqual&quot;;&#13;&#10;- select the second DateTimePicker and set its &quot;FilterOperation&quot; property to &quot;LessThanOrEqual&quot;;&#13;&#10;- the simpler way to do this: just drag&amp;drop the &quot;Orders.OrderDate&quot; data column on a dialog twice. FastReport will create the DateTimePicker controls and setup them automatically;&#13;&#10;- run a report." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="02/25/2020 15:13:51" ReportInfo.CreatorVersion="2020.1.22.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to use the range filtering with DateTimePicker control. To do this:&#13;&#10;- put two DateTimePicker controls on a dialog form;&#13;&#10;- connect both of them to the same data column (using the &quot;DataColumn&quot; property);&#13;&#10;- select the first DateTimePicker and set its &quot;FilterOperation&quot; property to &quot;GreaterThanOrEqual&quot;;&#13;&#10;- select the second DateTimePicker and set its &quot;FilterOperation&quot; property to &quot;LessThanOrEqual&quot;;&#13;&#10;- the simpler way to do this: just drag&amp;drop the &quot;Orders.OrderDate&quot; data column on a dialog twice. FastReport will create the DateTimePicker controls and setup them automatically;&#13;&#10;- run a report." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="05/27/2020 19:59:46" ReportInfo.CreatorVersion="2020.3.3.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -70,26 +70,26 @@ namespace FastReport
<TextObject Name="Text11" Top="28.35" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/>
<TextObject Name="Text13" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" Cursor="Hand" Hyperlink.Value="http://fast.report/afd51" CanGrow="true" CanShrink="true" Text="Learn about various report objects on the Fast Reports Academy channel" Padding="4, 4, 4, 4" Font="Tahoma, 10pt, style=Bold, Underline" TextFill.Color="Blue"/>
</ReportTitleBand>
<PageHeaderBand Name="PageHeader1" Top="136.3" Width="718.2" Height="37.8" Fill.Color="DeepSkyBlue">
<PageHeaderBand Name="PageHeader1" Top="135.5" Width="718.2" Height="37.8" Fill.Color="DeepSkyBlue">
<TextObject Name="Text5" Top="9.45" Width="94.5" Height="18.9" Text="OrderID" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text3" Left="103.95" Top="9.45" Width="94.5" Height="18.9" Text="OrderDate" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text7" Left="207.9" Top="9.45" Width="302.4" Height="18.9" Text="CompanyName" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data2" Top="178.1" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
<DataBand Name="Data2" Top="176.5" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
<TextObject Name="Text4" Width="94.5" Height="18.9" Text="[Orders.OrderID]" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text2" Left="103.95" Width="94.5" Height="18.9" Text="[Orders.OrderDate]" Format="Date" Format.Format="d" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text1" Left="207.9" Width="302.4" Height="18.9" Text="[Orders.Customers.CompanyName]" VertAlign="Center" Font="Tahoma, 8pt"/>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="201" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<PageFooterBand Name="PageFooter1" Top="198.6" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<TextObject Name="Text10" Left="614.25" Width="94.5" Height="28.35" Text="[PageN]" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
</PageFooterBand>
</ReportPage>
<DialogPage Name="Form1" Width="430" Height="384" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt" LoadEvent="Form1_Load">
<ButtonControl Name="btnCancel" Left="207" Top="309" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="124" Top="309" Font="Tahoma, 8pt" TabIndex="1" Text="OK" ClickEvent="" DialogResult="OK"/>
<DateTimePickerControl Name="DateTimePicker1" Left="104" Top="196" Font="Tahoma, 8pt" TabIndex="2" DataColumn="Orders.OrderDate" FilterOperation="GreaterThanOrEqual" Value="2013-01-01"/>
<DateTimePickerControl Name="DateTimePicker2" Left="104" Top="260" Font="Tahoma, 8pt" TabIndex="3" DataColumn="Orders.OrderDate" FilterOperation="LessThanOrEqual" Value="2015-12-31"/>
<ButtonControl Name="btnCancel" Left="207" Top="309" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="124" Top="309" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="OK" ClickEvent="" DialogResult="OK"/>
<DateTimePickerControl Name="DateTimePicker1" Left="104" Top="196" Width="200" Height="20" Font="Tahoma, 8pt" TabIndex="2" DataColumn="Orders.OrderDate" FilterOperation="GreaterThanOrEqual" Value="2013-01-01"/>
<DateTimePickerControl Name="DateTimePicker2" Left="104" Top="260" Width="200" Height="20" Font="Tahoma, 8pt" TabIndex="3" DataColumn="Orders.OrderDate" FilterOperation="LessThanOrEqual" Value="2015-12-31"/>
<LabelControl Name="Label1" Left="104" Top="172" Width="67" Height="13" Font="Tahoma, 8pt" TabIndex="4" Text="Range from:"/>
<LabelControl Name="Label2" Left="104" Top="236" Width="21" Height="13" Font="Tahoma, 8pt" TabIndex="5" Text="to:"/>
<LabelControl Name="Label3" Left="12" Top="12" Width="400" Height="149" Font="Tahoma, 8.25pt" TabIndex="6" Text="Label" AutoSize="false"/>
Expand Down
16 changes: 8 additions & 8 deletions Demos/Reports/Filtering with Ranges.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to use the range filtering. To do this:&#13;&#10;- put two TextBox controls on a dialog form;&#13;&#10;- connect each one to the same data column (using the &quot;DataColumn&quot; property);&#13;&#10;- select the first textbox and set its &quot;FilterOperation&quot; property to &quot;GreaterThanOrEqual&quot;;&#13;&#10;- select the second textbox and set its &quot;FilterOperation&quot; property to &quot;LessThanOrEqual&quot;;&#13;&#10;- run a report." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="02/25/2020 15:14:28" ReportInfo.CreatorVersion="2020.1.22.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to use the range filtering. To do this:&#13;&#10;- put two TextBox controls on a dialog form;&#13;&#10;- connect each one to the same data column (using the &quot;DataColumn&quot; property);&#13;&#10;- select the first textbox and set its &quot;FilterOperation&quot; property to &quot;GreaterThanOrEqual&quot;;&#13;&#10;- select the second textbox and set its &quot;FilterOperation&quot; property to &quot;LessThanOrEqual&quot;;&#13;&#10;- run a report." ReportInfo.Created="01/18/2008 00:04:46" ReportInfo.Modified="05/27/2020 19:59:24" ReportInfo.CreatorVersion="2020.3.3.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -70,28 +70,28 @@ namespace FastReport
<TextObject Name="Text11" Top="28.35" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/>
<TextObject Name="Text13" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" Cursor="Hand" Hyperlink.Value="http://fast.report/afd51" CanGrow="true" CanShrink="true" Text="Learn about various report objects on the Fast Reports Academy channel" Padding="4, 4, 4, 4" Font="Tahoma, 10pt, style=Bold, Underline" TextFill.Color="Blue"/>
</ReportTitleBand>
<PageHeaderBand Name="PageHeader1" Top="117.4" Width="718.2" Height="37.8" Fill.Color="SandyBrown">
<PageHeaderBand Name="PageHeader1" Top="116.6" Width="718.2" Height="37.8" Fill.Color="SandyBrown">
<TextObject Name="Text5" Top="9.45" Width="94.5" Height="18.9" Text="OrderID" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text3" Left="103.95" Top="9.45" Width="94.5" Height="18.9" Text="OrderDate" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text7" Left="207.9" Top="9.45" Width="302.4" Height="18.9" Text="CompanyName" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
</PageHeaderBand>
<DataBand Name="Data2" Top="159.2" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
<DataBand Name="Data2" Top="157.6" Width="718.2" Height="18.9" EvenStyle="EvenRows" DataSource="Orders">
<TextObject Name="Text4" Width="94.5" Height="18.9" Text="[Orders.OrderID]" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text2" Left="103.95" Width="94.5" Height="18.9" Text="[Orders.OrderDate]" Format="Date" Format.Format="d" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text1" Left="207.9" Width="302.4" Height="18.9" Text="[Orders.Customers.CompanyName]" VertAlign="Center" Font="Tahoma, 8pt"/>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="182.1" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<PageFooterBand Name="PageFooter1" Top="179.7" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<TextObject Name="Text10" Left="614.25" Width="94.5" Height="28.35" Text="[PageN]" HorzAlign="Right" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
</PageFooterBand>
</ReportPage>
<DialogPage Name="Form1" Width="362" Height="376" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt" LoadEvent="Form1_Load">
<ButtonControl Name="btnCancel" Left="179" Top="305" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="96" Top="305" Font="Tahoma, 8pt" TabIndex="1" Text="OK" ClickEvent="" DialogResult="OK"/>
<ButtonControl Name="btnCancel" Left="179" Top="305" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="96" Top="305" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="OK" ClickEvent="" DialogResult="OK"/>
<LabelControl Name="Label1" Left="80" Top="160" Width="103" Height="13" Font="Tahoma, 8pt" TabIndex="4" Text="Order number from:"/>
<LabelControl Name="Label2" Left="80" Top="228" Width="21" Height="13" Font="Tahoma, 8pt" TabIndex="5" Text="to:"/>
<TextBoxControl Name="TextBox1" Left="80" Top="188" Width="196" Font="Tahoma, 8pt" TabIndex="6" Text="10000" DataColumn="Orders.OrderID" FilterOperation="GreaterThanOrEqual"/>
<TextBoxControl Name="TextBox2" Left="80" Top="252" Width="196" Font="Tahoma, 8pt" TabIndex="7" Text="12000" DataColumn="Orders.OrderID" FilterOperation="LessThanOrEqual"/>
<TextBoxControl Name="TextBox1" Left="80" Top="188" Width="196" Height="20" Font="Tahoma, 8pt" TabIndex="6" Text="10000" DataColumn="Orders.OrderID" FilterOperation="GreaterThanOrEqual"/>
<TextBoxControl Name="TextBox2" Left="80" Top="252" Width="196" Height="20" Font="Tahoma, 8pt" TabIndex="7" Text="12000" DataColumn="Orders.OrderID" FilterOperation="LessThanOrEqual"/>
<LabelControl Name="Label3" Left="16" Top="12" Width="320" Height="131" Font="Tahoma, 8pt" TabIndex="8" Text="Label" AutoSize="false"/>
</DialogPage>
</Report>
16 changes: 8 additions & 8 deletions Demos/Reports/Handle Dialog Forms.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to handle the visibility of several dialog forms.&#13;&#10;&#13;&#10;The report can contain several dialog forms. When you run the report, it will show the first dialog; if you click OK you will see the next dialog and so on. When you finish with all the dialogs, you will see the report. If you click Cancel or close any dialog by the X button, the report execution will be terminated.&#13;&#10;&#13;&#10;You can skip the dialog if you set its Visible property to false." ReportInfo.Created="05/29/2008 20:29:50" ReportInfo.Modified="01/22/2019 15:07:09" ReportInfo.CreatorVersion="2019.1.9.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to handle the visibility of several dialog forms.&#13;&#10;&#13;&#10;The report can contain several dialog forms. When you run the report, it will show the first dialog; if you click OK you will see the next dialog and so on. When you finish with all the dialogs, you will see the report. If you click Cancel or close any dialog by the X button, the report execution will be terminated.&#13;&#10;&#13;&#10;You can skip the dialog if you set its Visible property to false." ReportInfo.Created="05/29/2008 20:29:50" ReportInfo.Modified="06/08/2020 11:53:15" ReportInfo.CreatorVersion="1.0.0.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -27,18 +27,18 @@ namespace FastReport
}
</ScriptText>
<Dictionary/>
<DialogPage Name="Form2" Height="132" AcceptButton="btnOk1" CancelButton="btnCancel1" Text="Dialog 2">
<ButtonControl Name="btnCancel1" Left="211" Top="69" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk1" Left="128" Top="69" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<LabelControl Name="li" Left="12" Top="12" Width="147" Height="26" Font="Tahoma, 8pt" TabIndex="3" Text="There is second dialog forms.&#13;&#10;Click the OK to view report."/>
</DialogPage>
<DialogPage Name="Form1" Width="290" Height="166" AcceptButton="btnOk" CancelButton="btnCancel" Text="Dialog 1" FormClosedEvent="Form1_FormClosed">
<DialogPage Name="Form1" Width="290" Height="166" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt" Text="Dialog 1" FormClosedEvent="Form1_FormClosed">
<ButtonControl Name="btnCancel" Left="201" Top="103" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="118" Top="103" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<CheckBoxControl Name="CheckBox1" Left="12" Top="60" Width="248" Height="17" Font="Tahoma, 8pt" TabIndex="2" Text="After closing this dialog, show the next dialog."/>
<LabelControl Name="Label1" Left="12" Top="12" Width="257" Height="26" Font="Tahoma, 8pt" TabIndex="3" Text="This report has two dialog forms.&#13;&#10;Check the checkbox to view the second dialog form."/>
</DialogPage>
<ReportPage Name="Page1">
<DialogPage Name="Form2" Height="132" AcceptButton="btnOk1" CancelButton="btnCancel1" Font="Tahoma, 8pt" Text="Dialog 2">
<ButtonControl Name="btnCancel1" Left="211" Top="69" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk1" Left="128" Top="69" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<LabelControl Name="li" Left="12" Top="12" Width="147" Height="26" Font="Tahoma, 8pt" TabIndex="3" Text="There is second dialog forms.&#13;&#10;Click the OK to view report."/>
</DialogPage>
<ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="28.35" CanGrow="true">
<TextObject Name="Text11" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanShrink="true" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" Font="Tahoma, 8pt"/>
</ReportTitleBand>
Expand Down
6 changes: 3 additions & 3 deletions Demos/Reports/Hello, FastReport!.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to add a simple dialog form to the report. To do this:&#13;&#10;- press the &quot;New Dialog&quot; button on a toolbar;&#13;&#10;- this will create an empty dialog form with two default buttons. Put some controls on it and set its properties as you want.&#13;&#10;When you run a report, you will see the dialog. If you close it by the &quot;OK&quot; button, a report will be generated.&#13;&#10;Note: you may add several dialogs." ReportInfo.Created="01/18/2008 03:08:14" ReportInfo.Modified="02/25/2020 15:07:18" ReportInfo.CreatorVersion="2020.1.22.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to add a simple dialog form to the report. To do this:&#13;&#10;- press the &quot;New Dialog&quot; button on a toolbar;&#13;&#10;- this will create an empty dialog form with two default buttons. Put some controls on it and set its properties as you want.&#13;&#10;When you run a report, you will see the dialog. If you close it by the &quot;OK&quot; button, a report will be generated.&#13;&#10;Note: you may add several dialogs." ReportInfo.Created="01/18/2008 03:08:14" ReportInfo.Modified="05/27/2020 19:41:09" ReportInfo.CreatorVersion="2020.3.3.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -38,8 +38,8 @@ namespace FastReport
</PageFooterBand>
</ReportPage>
<DialogPage Name="Form1" Width="308" Height="324" Font="Tahoma, 8pt" Text="Hello, FastReport.Net!" LoadEvent="Form1_Load">
<ButtonControl Name="Button1" Left="68" Top="244" Font="Tahoma, 8pt" TabIndex="0" Text="OK" DialogResult="OK"/>
<ButtonControl Name="Button2" Left="148" Top="244" Font="Tahoma, 8pt" TabIndex="1" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="Button1" Left="68" Top="244" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="0" Text="OK" DialogResult="OK"/>
<ButtonControl Name="Button2" Left="148" Top="244" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="Cancel" DialogResult="Cancel"/>
<LabelControl Name="Label1" Left="60" Top="176" Width="172" Height="55" Font="Tahoma, 8pt" TabIndex="2" Text="Press OK button to run a report; press Cancel to terminate it." ClickEvent="" AutoSize="false" TextAlign="MiddleCenter"/>
<LabelControl Name="Label2" Left="12" Top="12" Width="276" Height="159" Font="Tahoma, 8pt" TabIndex="3" Text="Description" ClickEvent="" AutoSize="false"/>
</DialogPage>
Expand Down
24 changes: 12 additions & 12 deletions Demos/Reports/Labels With Dialog.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to offset starting position when printing labels. See the report's script for more details." ReportInfo.Created="01/17/2008 17:08:04" ReportInfo.Modified="01/22/2019 12:28:45" ReportInfo.CreatorVersion="2019.1.9.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to offset starting position when printing labels. See the report's script for more details." ReportInfo.Created="01/17/2008 17:08:04" ReportInfo.Modified="05/27/2020 20:00:48" ReportInfo.CreatorVersion="2020.3.3.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -50,9 +50,9 @@ namespace FastReport
<Style Name="Title" Font="Arial, 12pt, style=Bold"/>
<Style Name="Header" Font="Arial, 10pt, style=Bold"/>
<Style Name="Group" Font="Arial, 10pt, style=Bold"/>
<Style Name="Data"/>
<Style Name="Footer"/>
<Style Name="EvenRows" Fill.Color="WhiteSmoke"/>
<Style Name="Data" Font="Arial, 10pt"/>
<Style Name="Footer" Font="Arial, 10pt"/>
<Style Name="EvenRows" Fill.Color="WhiteSmoke" Font="Arial, 10pt"/>
</Styles>
<Dictionary>
<TableDataSource Name="Customers" ReferenceName="NorthWind.Customers" DataType="System.Int32" Enabled="true">
Expand All @@ -69,11 +69,11 @@ namespace FastReport
<Column Name="Fax" DataType="System.String"/>
</TableDataSource>
</Dictionary>
<ReportPage Name="Page1" Columns.Count="2" Columns.Width="95" Columns.Positions="0,95">
<ReportPage Name="Page1" Columns.Count="2" Columns.Width="95" Columns.Positions="0,95" Watermark.Font="Arial, 60pt">
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="28.35" CanGrow="true">
<TextObject Name="Text11" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" CanBreak="false" Text="[Report.ReportInfo.Description]&#13;&#10;" Padding="4, 4, 4, 4" VertAlign="Center" Font="Tahoma, 8pt"/>
</ReportTitleBand>
<DataBand Name="Data1" Top="32.35" Width="359.1" Height="113.4" CanGrow="true" BeforePrintEvent="Data1_BeforePrint" DataSource="Customers">
<DataBand Name="Data1" Top="31.55" Width="359.1" Height="113.4" CanGrow="true" BeforePrintEvent="Data1_BeforePrint" DataSource="Customers">
<TableObject Name="Table1" Left="9.45" Top="9.45" Width="340.2" Height="103.95">
<TableColumn Name="Column1" Width="151.2"/>
<TableColumn Name="Column2" Width="189"/>
Expand All @@ -99,16 +99,16 @@ namespace FastReport
</TableRow>
</TableObject>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="149.75" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<PageFooterBand Name="PageFooter1" Top="148.15" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
</PageFooterBand>
</ReportPage>
<DialogPage Name="Form1" Width="298" Height="234" AcceptButton="btnOk" CancelButton="btnCancel" LoadEvent="Form1_Load">
<ButtonControl Name="btnCancel" Left="201" Top="167" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="118" Top="167" Anchor="Bottom, Right" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<DialogPage Name="Form1" Width="298" Height="234" AcceptButton="btnOk" CancelButton="btnCancel" Font="Tahoma, 8pt" LoadEvent="Form1_Load">
<ButtonControl Name="btnCancel" Left="201" Top="167" Anchor="Bottom, Right" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="0" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="btnOk" Left="118" Top="167" Anchor="Bottom, Right" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<GroupBoxControl Name="GroupBox1" Left="12" Top="64" Width="268" Height="84" Font="Tahoma, 8pt" TabIndex="4" Text="Starting position">
<NumericUpDownControl Name="udColumn" Left="136" Top="20" Font="Tahoma, 8pt" TabIndex="2" Text="1" Maximum="2" Minimum="1" Value="1"/>
<NumericUpDownControl Name="udRow" Left="136" Top="48" Font="Tahoma, 8pt" TabIndex="3" Text="1" Maximum="8" Minimum="1" Value="1"/>
<NumericUpDownControl Name="udColumn" Left="136" Top="20" Width="120" Height="20" Font="Tahoma, 8pt" TabIndex="2" Text="1" Maximum="2" Minimum="1" Value="1"/>
<NumericUpDownControl Name="udRow" Left="136" Top="48" Width="120" Height="20" Font="Tahoma, 8pt" TabIndex="3" Text="1" Maximum="8" Minimum="1" Value="1"/>
<LabelControl Name="Label1" Left="12" Top="24" Width="46" Height="13" Font="Tahoma, 8pt" TabIndex="5" Text="Column:"/>
<LabelControl Name="Label2" Left="12" Top="52" Width="32" Height="13" Font="Tahoma, 8pt" TabIndex="5" Text="Row:"/>
</GroupBoxControl>
Expand Down
8 changes: 4 additions & 4 deletions Demos/Reports/Print Entered Value.frx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to add a simple dialog form to the report. To do this:&#13;&#10;- press the &quot;New Dialog&quot; button on a toolbar;&#13;&#10;- this will create an empty dialog form with two default buttons. Put some controls on it and set its properties as you want.&#13;&#10;When you run a report, you will see the dialog. If you close it by the &quot;OK&quot; button, a report will be generated.&#13;&#10;Note: you may add several dialogs." ReportInfo.Created="01/18/2008 03:08:14" ReportInfo.Modified="02/25/2020 15:08:00" ReportInfo.CreatorVersion="2020.1.22.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="Demonstrates how to add a simple dialog form to the report. To do this:&#13;&#10;- press the &quot;New Dialog&quot; button on a toolbar;&#13;&#10;- this will create an empty dialog form with two default buttons. Put some controls on it and set its properties as you want.&#13;&#10;When you run a report, you will see the dialog. If you close it by the &quot;OK&quot; button, a report will be generated.&#13;&#10;Note: you may add several dialogs." ReportInfo.Created="01/18/2008 03:08:14" ReportInfo.Modified="05/27/2020 19:46:36" ReportInfo.CreatorVersion="2020.3.3.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
Expand Down Expand Up @@ -37,10 +37,10 @@ namespace FastReport
</PageFooterBand>
</ReportPage>
<DialogPage Name="Form1" Width="368" Height="276" Font="Tahoma, 8pt" LoadEvent="Form1_Load">
<ButtonControl Name="Button1" Left="96" Top="200" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<ButtonControl Name="Button2" Left="176" Top="200" Font="Tahoma, 8pt" TabIndex="2" Text="Cancel" DialogResult="Cancel"/>
<ButtonControl Name="Button1" Left="96" Top="200" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="1" Text="OK" DialogResult="OK"/>
<ButtonControl Name="Button2" Left="176" Top="200" Width="75" Height="23" Font="Tahoma, 8pt" TabIndex="2" Text="Cancel" DialogResult="Cancel"/>
<LabelControl Name="Label1" Left="84" Top="132" Width="79" Height="13" Font="Tahoma, 8pt" TabIndex="3" Text="Enter the text:"/>
<TextBoxControl Name="TextBox1" Left="84" Top="152" Width="188" Font="Tahoma, 8pt" TabIndex="0" Text="Hello!"/>
<TextBoxControl Name="TextBox1" Left="84" Top="152" Width="188" Height="20" Font="Tahoma, 8pt" TabIndex="0" Text="Hello!"/>
<LabelControl Name="Label2" Left="12" Top="8" Width="332" Height="127" Font="Tahoma, 8pt" TabIndex="4" Text="Label" ClickEvent="" AutoSize="false"/>
</DialogPage>
</Report>
12 changes: 7 additions & 5 deletions Demos/Reports/QR-Codes.frx
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="This report demonstrates different QR-Code and Aztec types developed in FastReport Designer: Text, vCard, URI, GEolocation, E-Mail address, E-Mail message, SMS, Call, Event, Wi-Fi. You can create it with a double-click on BarcodeObject (Barcode Type should be set to &quot;QR Code or Aztec&quot;)." ReportInfo.Created="02/21/2008 20:44:59" ReportInfo.Modified="01/18/2019 15:50:42" ReportInfo.CreatorVersion="2019.1.9.0">
<Report ScriptLanguage="CSharp" TextQuality="Regular" ReportInfo.Description="This report demonstrates different QR-Code and Aztec types developed in FastReport Designer: Text, vCard, URI, GEolocation, E-Mail address, E-Mail message, SMS, Call, Event, Wi-Fi. You can create it with a double-click on BarcodeObject (Barcode Type should be set to &quot;QR Code or Aztec&quot;)." ReportInfo.Created="02/21/2008 20:44:59" ReportInfo.Modified="08/12/2020 14:04:04" ReportInfo.CreatorVersion="2020.3.11.0">
<Dictionary/>
<ReportPage Name="Page1">
<ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
<ReportTitleBand Name="ReportTitle1" Width="718.2" Height="94.5" CanGrow="true">
<TextObject Name="Text29" Width="718.2" Height="28.35" Anchor="Top, Left, Right" Fill.Color="WhiteSmoke" CanGrow="true" Text="[Report.ReportInfo.Description]" Padding="4, 4, 4, 4" VertAlign="Center" Font="Tahoma, 8pt"/>
<TextObject Name="Text30" Top="47.25" Width="718.2" Height="37.8" Text="BarcodeObject - QR Code, Aztec" HorzAlign="Center" VertAlign="Center" Font="Tahoma, 14pt, style=Bold"/>
</ReportTitleBand>
<DataBand Name="Data1" Top="98.5" Width="718.2" Height="907.2">
<BarcodeObject Name="Barcode47" Left="396.9" Top="604.8" Width="302.4" Height="291.06" AutoSize="false" Text="SPC&#13;&#10;0200&#13;&#10;1&#13;&#10;CH4431999123000889012&#13;&#10;S&#13;&#10;Carl Ltd.&#13;&#10;Luber&#13;&#10;16&#13;&#10;123321&#13;&#10;Berlin&#13;&#10;GE&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;&#13;&#10;50050&#13;&#10;EUR&#13;&#10;S&#13;&#10;Sigmunt Shuld&#13;&#10;Lunglen&#13;&#10;23&#13;&#10;123322&#13;&#10;Ferburg&#13;&#10;GE&#13;&#10;NON&#13;&#10;&#13;&#10;&#13;&#10;EPD&#13;&#10;" ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="M" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
<TextObject Name="Text36" Left="510.3" Top="406.35" Width="189" Height="170.1" Text="E-Mail message" Padding="2, 7, 2, 0" HorzAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text49" Left="264.6" Top="406.35" Width="189" Height="170.1" Text="Call" Padding="2, 7, 2, 0" HorzAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
<TextObject Name="Text37" Left="18.9" Top="406.35" Width="189" Height="170.1" Text="SMS" Padding="2, 7, 2, 0" HorzAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
Expand All @@ -25,10 +26,11 @@
<BarcodeObject Name="Barcode46" Left="529.2" Top="66.15" Width="151.2" Height="147.42" AutoSize="false" Text="WIFI:T:WPA;S:Honeypot;P:youarewelcome;H:true;" ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="L" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
<BarcodeObject Name="Barcode42" Left="283.5" Top="245.7" Width="151.2" Height="147.42" AutoSize="false" Text="geo:-50.737563,-79.490016,120" ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="L" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
<BarcodeObject Name="Barcode39" Left="37.8" Top="66.15" Width="151.2" Height="147.42" AutoSize="false" Text="http://www.fast-report.com/en/product/fast-report-net/" ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="L" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
<TextObject Name="Text32" Left="189" Top="595.35" Width="340.2" Height="311.85" Text="Text" Padding="2, 7, 2, 0" HorzAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
<BarcodeObject Name="Barcode19" Left="207.9" Top="614.25" Width="302.4" Height="291.06" AutoSize="false" Text="With FastReport.Net, you can create application-independent .Net reports. In other words, FastReport.Net can be used as a standalone reporting tool." ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="H" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
<TextObject Name="Text2" Left="302.4" Top="718.2" Width="122.85" Height="94.5" Fill.Color="White" Text="With &#13;&#10;Error &#13;&#10;Correction" Padding="15, 0, 2, 0" VertAlign="Center" Font="Arial, 14pt"/>
<TextObject Name="Text32" Top="595.35" Width="340.2" Height="311.85" Text="With error correction" Padding="2, 7, 2, 0" HorzAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
<BarcodeObject Name="Barcode19" Left="18.9" Top="604.8" Width="302.4" Height="291.06" AutoSize="false" Text="With FastReport.Net, you can create application-independent .Net reports. In other words, FastReport.Net can be used as a standalone reporting tool." ShowText="false" AllowExpressions="true" Barcode="QR Code" Barcode.ErrorCorrection="H" Barcode.Encoding="UTF8" Barcode.QuietZone="true"/>
<TextObject Name="Text1" Left="18.9" Width="680.4" Height="37.8" Fill.Color="Orange" Text="QR-Codes" VertAlign="Center" Font="Tahoma, 16pt"/>
<PictureObject Name="Picture1" Left="132.3" Top="708.75" Width="75.6" Height="75.6" Image="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"/>
<TextObject Name="Text51" Left="378" Top="595.35" Width="340.2" Height="311.85" CanGrow="true" Text="Swiss QR" Padding="2, 7, 2, 0" HorzAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="1009.7" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
<TextObject Name="Text31" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport .NET" VertAlign="Center" Font="Tahoma, 8pt, style=Underline" TextFill.Color="Blue"/>
Expand Down
22 changes: 11 additions & 11 deletions Demos/Reports/reports.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Reports>
<Folder Name="General">
<Folder Name="General" Description="Reports containing simple objects and demonstrating primitive work with data connection and display.">
<Report File="Simple List.frx"/>
<Report File="Groups.frx"/>
<Report File="Master-Detail.frx"/>
Expand All @@ -15,7 +15,7 @@
<Report File="Inherited Report.frx" WebDemo="false"/>
<Report File="Badges.frx" WebDemo="false"/>
</Folder>
<Folder Name="Report Objects">
<Folder Name="Report Objects" Description="Reports that superficially show complex objects.">
<Report File="Text.frx"/>
<Report File="Image.frx"/>
<Report File="Lines and Shapes.frx" WebDemo="false"/>
Expand All @@ -35,7 +35,7 @@
<Report File="Gauge.frx" Basic="false"/>
<Report File="SVG.frx" Basic="false"/>
</Folder>
<Folder Name="Interactive Reports">
<Folder Name="Interactive Reports" Description="Reports showing interactivity capabilities.">
<Report File="Interactive Report.frx"/>
<Report File="Interactive Report, 2-in-1.frx"/>
<Report File="Interactive Matrix.frx" Basic="false"/>
Expand All @@ -47,7 +47,7 @@
<Report File="Handle Preview Clicks.frx" Basic="false" WebDemo="false"/>
<Report File="Interactive Forms.frx"/>
</Folder>
<Folder Name="Table" Basic="false">
<Folder Name="Table" Basic="false" Description="Reports that demonstrate various scenarios for working with a table object.">
<Report File="Labels.frx" WebDemo="false"/>
<Report File="Row Datasource.frx"/>
<Report File="Column Datasource.frx" WebDemo="false"/>
Expand All @@ -60,7 +60,7 @@
<Report File="Row Datasource, Master-Detail.frx" WebDemo="false"/>
<Report File="Fit Dynamic Table To Page.frx" WebDemo="false"/>
</Folder>
<Folder Name="Matrix" Basic="false">
<Folder Name="Matrix" Basic="false" Description="Reports showing the various capabilities of the matrix.">
<Report File="Simple Matrix.frx" WebDemo="false"/>
<Report File="Matrix With Rows Only.frx" WebDemo="false"/>
<Report File="Matrix With Columns Only.frx" WebDemo="false"/>
Expand All @@ -77,7 +77,7 @@
<Report File="Pictures Inside The Matrix.frx"/>
<Report File="Two Matrices.frx" WebDemo="false"/>
</Folder>
<Folder Name="Dialogs" Core="false" Basic="false">
<Folder Name="Dialogs" Core="false" Basic="false" Description="Reports that demonstrate how dialog boxes work.">
<Report File="Hello, FastReport!.frx"/>
<Report File="Print Entered Value.frx"/>
<Report File="Filtering with CheckedListBox.frx" WebDemo="false"/>
Expand All @@ -87,20 +87,20 @@
<Report File="Cascaded Data Filtering.frx"/>
<Report File="Labels With Dialog.frx" WebDemo="false"/>
</Folder>
<Folder Name="Script" WebDemo="false" Basic="false">
<Folder Name="Script" WebDemo="false" Basic="false" Description="Reports showing how scripts work.">
<Report File="Print Total in The Group Header.frx"/>
<Report File="Sort Group By Total.frx"/>
<Report File="Shift Object Position.frx"/>
<Report File="Dialog Events.frx"/>
<Report File="Handle Dialog Forms.frx"/>
</Folder>
<Folder Name="Charts" Core="false" Basic="false">
<Folder Name="Charts" Core="false" Basic="false" Description="Reports with sample charts, and their combination with other features.">
<Report File="About Microsoft Chart.frx" WebDemo="false"/>
<Report File="Microsoft Chart Sample.frx"/>
<Report File="Interactive Chart.frx" WebDemo="false"/>
<Report File="Sparkline.frx" />
</Folder>
<Folder Name="Maps" Core="false" Basic="false">
<Folder Name="Maps" Core="false" Basic="false" Description="Reports with sample maps, and their combination with other features.">
<Report File="World Map.frx"/>
<Report File="USA Map.frx"/>
<Report File="World Sales.frx"/>
Expand All @@ -109,7 +109,7 @@
<Report File="World Sales, Interactive.frx"/>
<Report File="World Sales by City.frx"/>
</Folder>
<Folder Name="Features">
<Folder Name="Features" Description="Reports that demonstrate interesting and unusual features.">
<Report File="Double Pass, Total Pages.frx" WebDemo="false"/>
<Report File="Odd-Even Rows.frx"/>
<Report File="Odd-Even Pages, Mirror Margins.frx" WebDemo="false"/>
Expand All @@ -126,7 +126,7 @@
<Report File="Print Copy Names.frx" WebDemo="false"/>
<Report File="Box.frx" Basic="false" WebDemo="false"/>
<Report File="Unicode.frx" />
<Report File="TextureFill.frx" />
<Report File="TextureFill.frx" />
<Report File="Purchase Order.frx" Basic="false" WebDemo="false"/>
</Folder>
</Reports>
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ProjectReference>
<ProjectReference Include="..\FastReport.Data.Json\FastReport.Data.Json.csproj" />
</ItemGroup>
<ItemGroup >
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Data.Entity.Design" />
Expand All @@ -36,15 +36,13 @@
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup >
<Compile Update="CouchbaseConnectionEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<ItemGroup>
<Compile Update="CouchbaseConnectionEditor.cs" />
<Compile Update="CouchbaseConnectionEditor.Designer.cs">
<DependentUpon>CouchbaseConnectionEditor.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup >
<ItemGroup>
<EmbeddedResource Update="CouchbaseConnectionEditor.resx">
<DependentUpon>CouchbaseConnectionEditor.cs</DependentUpon>
<SubType>Designer</SubType>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Update="JsonConnectionEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="JsonConnectionEditor.cs" />
<Compile Update="JsonConnectionEditor.Designer.cs">
<DependentUpon>JsonConnectionEditor.cs</DependentUpon>
</Compile>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net4.5</TargetFrameworks>
<TargetFrameworks>net4.5;net4.5.2</TargetFrameworks>
<SignAssembly>false</SignAssembly>
<AssemblyOriginatorKeyFile>../../../FastReport.Plugins.snk</AssemblyOriginatorKeyFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
Expand All @@ -20,36 +20,41 @@
<RootNamespace>FastReport.Data</RootNamespace>
<PackageReleaseNotes>fixed a bug with wrong database name</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup >
<ItemGroup>
<ProjectReference Include="..\..\..\..\FastReport\FastReport.csproj">
<PrivateAssets>all</PrivateAssets>
</ProjectReference>
</ItemGroup>
<ItemGroup >
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup >
<ItemGroup>
<Compile Update="MongoDBConnectionEditor.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Update="MongoDBConnectionEditor.Designer.cs">
<DependentUpon>MongoDBConnectionEditor.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup >
<ItemGroup>
<EmbeddedResource Update="MongoDBConnectionEditor.resx">
<DependentUpon>MongoDBConnectionEditor.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup >
<PackageReference Include="MongoDB.Bson" Version="[2.3.0,)" />
<PackageReference Include="MongoDB.Driver" Version="[2.3.0,)" />
<PackageReference Include="MongoDB.Driver.Core" Version="[2.3.0,)" />
<ItemGroup Condition="'$(TargetFramework)'=='net4.5'">
<PackageReference Include="MongoDB.Bson" Version="2.7.3" />
<PackageReference Include="MongoDB.Driver" Version="2.7.3" />
<PackageReference Include="MongoDB.Driver.Core" Version="2.7.3" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='net4.5.2'">
<PackageReference Include="MongoDB.Bson" Version="[2.11.0,)" />
<PackageReference Include="MongoDB.Driver" Version="[2.11.0,)" />
<PackageReference Include="MongoDB.Driver.Core" Version="[2.11.0,)" />
</ItemGroup>
</Project>
Loading