19.1.3-ctp

This commit is contained in:
Alexander Mikhailov
2019-05-16 10:20:43 +03:00
committed by GitHub
parent 2e45b5d38f
commit a2371dfb0b
187 changed files with 32565 additions and 3985 deletions

View File

@@ -1,55 +0,0 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Text;
namespace DevExpress.DevAV
{
public class DevAVByteImageConverter
{
public static Image FromByteArray(byte[] b)
{
if (b == null || b.Length == 0) return null;
Image i = null;
if (b.Length > 78)
{
if (b[0] == 0x15 && b[1] == 0x1c) //check signature
i = FromByteArray(b, 78);
}
if (i == null)
i = FromByteArray(b, 0);
return i;
}
protected static Image FromByteArray(byte[] b, int offset)
{
if (b == null || b.Length - offset <= 0) return null;
Image tempI = null;
System.IO.MemoryStream s = new System.IO.MemoryStream(b, offset, (int)b.Length - offset);
try
{
tempI = ImageFromStream(s);
}
catch { }
//s.Close();
return tempI;
}
static Image ImageFromStream(Stream stream)
{
if (Object.ReferenceEquals(stream, null))
return null;
//if (!IsWin7 || !IsUnmanagedCodeGranted)
// return Image.FromStream(stream);
//else
return Image.FromStream(stream, false, false);
}
static bool IsWin7 {
get {
Version version = Environment.OSVersion.Version;
return (version.Major == 6 && version.Minor >= 1) || version.Major > 6;
}
}
}
}

View File

@@ -1,107 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Drawing;
namespace DevExpress.DevAV {
public enum CustomerStatus {
Active,
Suspended
}
public partial class Customer : DatabaseObject {
public Customer() {
Employees = new List<CustomerEmployee>();
Orders = new List<Order>();
_homeOffice = new Address();
_billingAddress = new Address();
}
[Required]
public string Name { get; set; }
Address _homeOffice;
[NotMapped]
public Address HomeOffice {
get {
AddressHelper.UpdateAddress(_homeOffice, HomeOffice_Line, HomeOffice_City, HomeOffice_State, HomeOffice_ZipCode, HomeOffice_Latitude, HomeOffice_Longitude);
return _homeOffice;
}
set {
AddressHelper.UpdateAddress(_homeOffice, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude);
HomeOffice_Line = _homeOffice.Line;
HomeOffice_City = _homeOffice.City;
HomeOffice_State = _homeOffice.State;
HomeOffice_ZipCode = _homeOffice.ZipCode;
HomeOffice_Latitude = _homeOffice.Latitude;
HomeOffice_Longitude = _homeOffice.Longitude;
}
}
Address _billingAddress;
[NotMapped]
public Address BillingAddress {
get {
AddressHelper.UpdateAddress(_billingAddress, BillingAddress_Line, BillingAddress_City, BillingAddress_State, BillingAddress_ZipCode, BillingAddress_Latitude, BillingAddress_Longitude);
return _billingAddress;
}
set {
AddressHelper.UpdateAddress(_billingAddress, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude);
BillingAddress_Line = _billingAddress.Line;
BillingAddress_City = _billingAddress.City;
BillingAddress_State = _billingAddress.State;
BillingAddress_ZipCode = _billingAddress.ZipCode;
BillingAddress_Latitude = _billingAddress.Latitude;
BillingAddress_Longitude = _billingAddress.Longitude;
}
}
#region EFCore
public string HomeOffice_Line { get; set; }
public string HomeOffice_City { get; set; }
public StateEnum HomeOffice_State { get; set; }
public string HomeOffice_ZipCode { get; set; }
public double HomeOffice_Latitude { get; set; }
public double HomeOffice_Longitude { get; set; }
public string BillingAddress_Line { get; set; }
public string BillingAddress_City { get; set; }
public StateEnum BillingAddress_State { get; set; }
public string BillingAddress_ZipCode { get; set; }
public double BillingAddress_Latitude { get; set; }
public double BillingAddress_Longitude { get; set; }
#endregion
public virtual List<CustomerEmployee> Employees { get; set; }
[Phone]
public string Phone { get; set; }
[Phone]
public string Fax { get; set; }
[Url]
public string Website { get; set; }
[DataType(DataType.Currency)]
public decimal AnnualRevenue { get; set; }
[Display(Name = "Total Stores")]
public int TotalStores { get; set; }
[Display(Name = "Total Employees")]
public int TotalEmployees { get; set; }
public CustomerStatus Status { get; set; }
[InverseProperty("Customer")]
public virtual List<Order> Orders { get; set; }
[InverseProperty("Customer")]
public virtual List<Quote> Quotes { get; set; }
[InverseProperty("Customer")]
public virtual List<CustomerStore> CustomerStores { get; set; }
public virtual string Profile { get; set; }
public byte[] Logo { get; set; }
Image img = null;
public Image Image {
get {
if(img == null)
img = CreateImage(Logo);
return img;
}
}
internal static Image CreateImage(byte[] data) {
if (data == null)
return null;// ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly);
else
return DevAVByteImageConverter.FromByteArray(data);
}
}
}

View File

@@ -0,0 +1,185 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
#if !REALTORWORLDDEMO
#if !DXCORE3
using System.Deployment.Application;
#endif
using System.Windows.Interop;
using System.Threading;
using System.Diagnostics;
using System.Security;
using System.Runtime.InteropServices;
using Microsoft.Win32;
#endif
namespace DevExpress.Internal {
#if DEVAV
public class DevAVDataDirectoryHelper {
#else
public class DataDirectoryHelper {
#endif
#if !REALTORWORLDDEMO && !DXCORE3
static bool? _isClickOnce = null;
public static bool IsClickOnce {
get {
if(_isClickOnce == null) {
#if DEBUG && !CLICKONCE
_isClickOnce = false;
#else
_isClickOnce = !BrowserInteropHelper.IsBrowserHosted && ApplicationDeployment.IsNetworkDeployed;
#endif
}
return (bool)_isClickOnce;
}
}
#endif
public static string GetDataDirectory() {
#if DXCORE3
return GetEntryAssemblyDirectory();
#else
#if REALTORWORLDDEMO
return AppDomain.CurrentDomain.BaseDirectory;
#else
return IsClickOnce
? ApplicationDeployment.CurrentDeployment.DataDirectory
: GetEntryAssemblyDirectory();
#endif
#endif
}
public const string DataFolderName = "Data";
public static string GetFile(string fileName, string directoryName) {
if(DataPath != null)
return Path.Combine(DataPath, fileName);
string dataDirectory = GetDataDirectory();
if(dataDirectory == null) return null;
string dirName = Path.GetFullPath(dataDirectory);
for(int n = 0; n < 9; n++) {
string path = dirName + "\\" + directoryName + "\\" + fileName;
try {
if(File.Exists(path) || Directory.Exists(path))
return path;
} catch { }
dirName += @"\..";
}
throw new FileNotFoundException(string.Format("{0} not found. ({1})", fileName, dirName));
}
public static string GetDirectory(string directoryName) {
string dataDirectory = GetDataDirectory();
if(dataDirectory == null) return null;
string dirName = Path.GetFullPath(dataDirectory);
for(int n = 0; n < 9; n++) {
string path = dirName + "\\" + directoryName;
try {
if(Directory.Exists(path))
return path;
} catch { }
dirName += @"\..";
}
throw new DirectoryNotFoundException(directoryName + " not found");
}
#if !REALTORWORLDDEMO
public static void SetWebBrowserMode() {
try {
RegistryKey key = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION", true);
if(key == null)
key = Registry.CurrentUser.CreateSubKey(@"SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION");
if(key != null)
key.SetValue(Path.GetFileName(Process.GetCurrentProcess().ProcessName + ".exe"), 0, RegistryValueKind.DWord); //Latest IE
} catch { }
}
public static string LocalPrefix { get; set; }
public static string DataPath { get; set; }
public static string GetFileLocalCopy(string fileName, string directoryName) {
if(string.IsNullOrEmpty(LocalPrefix))
throw new InvalidOperationException();
string localName = LocalPrefix + fileName;
string filePath = GetFile(fileName, directoryName);
string fileDirectoryPath = Path.GetDirectoryName(filePath);
string localFilePath = Path.Combine(fileDirectoryPath, localName);
if(File.Exists(localFilePath)) return localFilePath;
File.Copy(filePath, localFilePath);
FileAttributes attributes = File.GetAttributes(localFilePath);
if((attributes & FileAttributes.ReadOnly) != 0)
File.SetAttributes(localFilePath, attributes & ~FileAttributes.ReadOnly);
return localFilePath;
}
public static IDisposable SingleInstanceApplicationGuard(string applicationName, out bool exit) {
Mutex mutex = new Mutex(true, applicationName + AssemblyInfo.VersionShort);
if(mutex.WaitOne(0, false)) {
exit = false;
} else {
Process current = Process.GetCurrentProcess();
foreach(Process process in Process.GetProcessesByName(current.ProcessName)) {
if(process.Id != current.Id && process.MainWindowHandle != IntPtr.Zero) {
WinApiHelper.SetForegroundWindow(process.MainWindowHandle);
WinApiHelper.RestoreWindowAsync(process.MainWindowHandle);
break;
}
}
exit = true;
}
return mutex;
}
static class WinApiHelper {
[SecuritySafeCritical]
public static bool SetForegroundWindow(IntPtr hwnd) {
return Import.SetForegroundWindow(hwnd);
}
[SecuritySafeCritical]
public static bool RestoreWindowAsync(IntPtr hwnd) {
return Import.ShowWindowAsync(hwnd, IsMaxmimized(hwnd) ? (int)Import.ShowWindowCommands.ShowMaximized : (int)Import.ShowWindowCommands.Restore);
}
[SecuritySafeCritical]
public static bool IsMaxmimized(IntPtr hwnd) {
Import.WINDOWPLACEMENT placement = new Import.WINDOWPLACEMENT();
placement.length = Marshal.SizeOf(placement);
if(!Import.GetWindowPlacement(hwnd, ref placement)) return false;
return placement.showCmd == Import.ShowWindowCommands.ShowMaximized;
}
static class Import {
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool GetWindowPlacement(IntPtr hWnd, ref WINDOWPLACEMENT lpwndpl);
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool SetForegroundWindow(IntPtr hWnd);
[DllImport("user32.dll")]
public static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow);
[StructLayout(LayoutKind.Sequential)]
public struct WINDOWPLACEMENT {
public int length;
public int flags;
public ShowWindowCommands showCmd;
public System.Drawing.Point ptMinPosition;
public System.Drawing.Point ptMaxPosition;
public System.Drawing.Rectangle rcNormalPosition;
}
public enum ShowWindowCommands : int {
Hide = 0,
Normal = 1,
ShowMinimized = 2,
ShowMaximized = 3,
ShowNoActivate = 4,
Show = 5,
Minimize = 6,
ShowMinNoActive = 7,
ShowNA = 8,
Restore = 9,
ShowDefault = 10,
ForceMinimize = 11
}
}
}
static string GetEntryAssemblyDirectory() {
Assembly entryAssembly = Assembly.GetEntryAssembly();
if(entryAssembly == null) return null;
string appPath = entryAssembly.Location;
return Path.GetDirectoryName(appPath);
}
#endif
}
}

View File

@@ -1,4 +1,6 @@
using System;
using DevExpress.Utils;
using DevExpress.XtraEditors.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Drawing;
@@ -14,11 +16,11 @@ namespace DevExpress.DevAV {
Image img;
public Image LargeImageEx {
get {
if (img == null)
if (LargeImage == null)
return null; //ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly);
if(img == null)
if(LargeImage == null)
return ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly);
else
img = DevAVByteImageConverter.FromByteArray(LargeImage);
img = ByteImageConverter.FromByteArray(LargeImage);
return img;
}
}

View File

@@ -0,0 +1,122 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Drawing;
using System.Runtime.Serialization;
using DevExpress.DataAnnotations;
using DevExpress.Utils;
using DevExpress.XtraEditors.Controls;
namespace DevExpress.DevAV {
public enum CustomerStatus {
Active,
Suspended
}
public partial class Customer : DatabaseObject {
public Customer() {
Employees = new List<CustomerEmployee>();
Orders = new List<Order>();
#if DXCORE3
_homeOffice = new Address();
_billingAddress = new Address();
_homeOffice.PropertyChanged += (s, e) => SetPropertyValue(e.PropertyName, "HomeOffice", (Address)s);
_billingAddress.PropertyChanged += (s, e) => SetPropertyValue(e.PropertyName, "BillingAddress", (Address)s);
#else
HomeOffice = new Address();
BillingAddress = new Address();
#endif
}
[Required]
public string Name { get; set; }
#if DXCORE3
Address _homeOffice;
[NotMapped]
public Address HomeOffice {
get {
AddressHelper.UpdateAddress(_homeOffice, HomeOfficeLine, HomeOfficeCity, HomeOfficeState, HomeOfficeZipCode, HomeOfficeLatitude, HomeOfficeLongitude);
return _homeOffice;
}
set { AddressHelper.UpdateAddress(_homeOffice, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude); }
}
Address _billingAddress;
[NotMapped]
public Address BillingAddress {
get {
AddressHelper.UpdateAddress(_billingAddress, BillingAddressLine, BillingAddressCity, BillingAddressState, BillingAddressZipCode, BillingAddressLatitude, BillingAddressLongitude);
return _billingAddress;
}
set { AddressHelper.UpdateAddress(_billingAddress, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude); }
}
#else
public Address HomeOffice { get; set; }
public Address BillingAddress { get; set; }
#endif
#if ONGENERATEDATABASE || DXCORE3
[EditorBrowsable(EditorBrowsableState.Never)]
public string HomeOfficeLine { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string HomeOfficeCity { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public StateEnum HomeOfficeState { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string HomeOfficeZipCode { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public double HomeOfficeLatitude { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public double HomeOfficeLongitude { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string BillingAddressLine { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string BillingAddressCity { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public StateEnum BillingAddressState { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string BillingAddressZipCode { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public double BillingAddressLatitude { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public double BillingAddressLongitude { get; set; }
#endif
public virtual List<CustomerEmployee> Employees { get; set; }
[Phone]
public string Phone { get; set; }
[Phone]
public string Fax { get; set; }
[Url]
public string Website { get; set; }
[DataType(DataType.Currency)]
public decimal AnnualRevenue { get; set; }
[Display(Name = "Total Stores")]
public int TotalStores { get; set; }
[Display(Name = "Total Employees")]
public int TotalEmployees { get; set; }
public CustomerStatus Status { get; set; }
[InverseProperty("Customer")]
public virtual List<Order> Orders { get; set; }
[InverseProperty("Customer")]
public virtual List<Quote> Quotes { get; set; }
[InverseProperty("Customer")]
public virtual List<CustomerStore> CustomerStores { get; set; }
public virtual string Profile { get; set; }
public byte[] Logo { get; set; }
Image img = null;
public Image Image {
get {
if(img == null)
img = CreateImage(Logo);
return img;
}
}
internal static Image CreateImage(byte[] data) {
if(data == null)
return ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly);
else
return ByteImageConverter.FromByteArray(data);
}
}
}

View File

@@ -30,7 +30,6 @@ namespace DevExpress.DevAV {
public virtual ICollection<CustomerCommunication> CustomerCommunications { get; set; }
public Address Address {
get { return (CustomerStore != null) ? CustomerStore.Address : null; }
set { }
}
public virtual ICollection<EmployeeTask> EmployeeTasks { get; set; }
Image _photo = null;

View File

@@ -3,15 +3,21 @@ using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Drawing;
using System.Linq;
using DevExpress.Utils;
using DevExpress.XtraEditors.Controls;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using System.ComponentModel;
namespace DevExpress.DevAV {
public class CustomerStore : DatabaseObject {
public CustomerStore() {
_address = new Address();
}
public virtual Customer Customer { get; set; }
public long? CustomerId { get; set; }
#if DXCORE3
public CustomerStore() {
_address = new Address();
_address.PropertyChanged += (s, e) => SetPropertyValue(e.PropertyName, "Address_", (Address)s);
}
Address _address;
[NotMapped]
public Address Address {
@@ -19,24 +25,25 @@ namespace DevExpress.DevAV {
AddressHelper.UpdateAddress(_address, Address_Line, Address_City, Address_State, Address_ZipCode, Address_Latitude, Address_Longitude);
return _address;
}
set {
AddressHelper.UpdateAddress(_address, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude);
Address_Line = _address.Line;
Address_City = _address.City;
Address_State = _address.State;
Address_ZipCode = _address.ZipCode;
Address_Latitude = _address.Latitude;
Address_Longitude = _address.Longitude;
set { AddressHelper.UpdateAddress(_address, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude); }
}
}
#region EFCore
#else
public Address Address { get; set; }
#endif
#if ONGENERATEDATABASE || DXCORE3
[EditorBrowsable(EditorBrowsableState.Never)]
public string Address_Line { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string Address_City { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public StateEnum Address_State { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string Address_ZipCode { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public double Address_Latitude { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public double Address_Longitude { get; set; }
#endregion
#endif
public string Phone { get; set; }
public string Fax { get; set; }
public int TotalEmployees { get; set; }
@@ -80,10 +87,10 @@ namespace DevExpress.DevAV {
}
}
Image CreateImage(byte[] data) {
if (data == null)
return null;// ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly);
if(data == null)
return ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly);
else
return DevAVByteImageConverter.FromByteArray(data);
return ByteImageConverter.FromByteArray(data);
}
}
}

View File

@@ -15,5 +15,14 @@ namespace DevExpress.DevAV {
get { return IDataErrorInfoHelper.GetErrorText(this, columnName); }
}
#endregion
#if DXCORE3
protected void SetPropertyValue<T>(string sourcePropertyName, string targetPrefix, T source) {
string actualTargetName = targetPrefix + sourcePropertyName;
var sourceProperty = source.GetType().GetProperty(sourcePropertyName);
var targetProperty = GetType().GetProperty(actualTargetName);
var sourceValue = sourceProperty.GetValue(source);
targetProperty.SetValue(this, sourceValue);
}
#endif
}
}

View File

@@ -0,0 +1,67 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<OutputType>Library</OutputType>
<EnableDefaultItems>false</EnableDefaultItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SignAssembly>true</SignAssembly>
<Configurations>Debug;Release</Configurations>
<RootNamespace>DevExpress.DevAV</RootNamespace>
<AssemblyName>DevExpress.DevAV.v19.1.Data</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>..\..\bin\</OutputPath>
<DefineConstants>TRACE;DEBUG;DEVAV;DXCORE3</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>..\..\bin\</OutputPath>
<DefineConstants>TRACE;DEVAV;DXCORE3</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="AttachedFile.cs" />
<Compile Include="Common\DataDirectoryHelper.cs" />
<Compile Include="Common\IDataErrorInfoHelper.cs" />
<Compile Include="Common\ValidationAttributes.cs" />
<Compile Include="Crest.cs" />
<Compile Include="CustomerComminication.cs" />
<Compile Include="CustomerStore.cs" />
<Compile Include="Evaluation.cs" />
<Compile Include="NetCore\Address.cs" />
<Compile Include="NetCore\DevAVDb.cs" />
<Compile Include="NetCore\ObservableObject.cs" />
<Compile Include="Order.cs" />
<Compile Include="OrderItem.cs" />
<Compile Include="Picture.cs" />
<Compile Include="Probation.cs" />
<Compile Include="ProductCatalog.cs" />
<Compile Include="ProductImage.cs" />
<Compile Include="Quote.cs" />
<Compile Include="QuoteItem.cs" />
<Compile Include="Queries.cs" />
<Compile Include="State.cs" />
<Compile Include="StateEnum.cs" />
<Compile Include="Customer.cs" />
<Compile Include="CustomerEmployee.cs" />
<Compile Include="DatabaseObject.cs" />
<Compile Include="Employee.cs" />
<Compile Include="Person.cs" />
<Compile Include="Product.cs" />
<Compile Include="Task.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utils.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Unknown-user.png" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DevExpress.WindowsDesktop.Core" Version="19.1.3-ctp" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.0.0-preview3.19153.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.0.0-preview3.19153.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="3.0.0-preview3.19153.1" />
</ItemGroup>
</Project>

View File

@@ -47,7 +47,12 @@ namespace DevExpress.DevAV {
public Employee() {
AssignedTasks = new List<EmployeeTask>();
OwnedTasks = new List<EmployeeTask>();
#if DXCORE3
_address = new Address();
_address.PropertyChanged += (s, e) => SetPropertyValue(e.PropertyName, "Address", (Address)s);
#else
Address = new Address();
#endif
AssignedEmployeeTasks = new List<EmployeeTask>();
}
[InverseProperty("AssignedEmployees")]
@@ -85,31 +90,33 @@ namespace DevExpress.DevAV {
public DateTime? BirthDate { get; set; }
public virtual Picture Picture { get; set; }
public long? PictureId { get; set; }
#if DXCORE3
Address _address;
[NotMapped]
public Address Address { get {
AddressHelper.UpdateAddress(_address, Address_Line, Address_City, Address_State, Address_ZipCode, Address_Latitude, Address_Longitude);
public Address Address {
get {
AddressHelper.UpdateAddress(_address, AddressLine, AddressCity, AddressState, AddressZipCode, AddressLatitude, AddressLongitude);
return _address;
}
set {
AddressHelper.UpdateAddress(_address, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude);
Address_Line = _address.Line;
Address_City = _address.City;
Address_State = _address.State;
Address_ZipCode = _address.ZipCode;
Address_Latitude = _address.Latitude;
Address_Longitude = _address.Longitude;
set { AddressHelper.UpdateAddress(_address, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude); }
}
}
#region EFCore
public string Address_Line { get; set; }
public string Address_City { get; set; }
public StateEnum Address_State { get; set; }
public string Address_ZipCode { get; set; }
public double Address_Latitude { get; set; }
public double Address_Longitude { get; set; }
#endregion
#else
public Address Address { get; set; }
#endif
#if ONGENERATEDATABASE || DXCORE3
[EditorBrowsable(EditorBrowsableState.Never)]
public string AddressLine { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string AddressCity { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public StateEnum AddressState { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public string AddressZipCode { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public double AddressLatitude { get; set; }
[EditorBrowsable(EditorBrowsableState.Never)]
public double AddressLongitude { get; set; }
#endif
Image _photo = null;
[NotMapped]

View File

@@ -1,21 +1,44 @@
using System;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DevExpress.Common;
using DevExpress.DataAnnotations;
namespace DevExpress.DevAV {
[NotMapped]
public partial class Address : IDataErrorInfo {
public partial class Address : ObservableObject, IDataErrorInfo {
string line;
[Display(Name = "Address")]
public string Line { get; set; }
public string City { get; set; }
public StateEnum State { get; set; }
public string Line {
get { return line; }
set { SetPropertyValue(ref line, value); }
}
string city;
public string City {
get { return city; }
set { SetPropertyValue(ref city, value); }
}
StateEnum state;
public StateEnum State {
get { return state; }
set { SetPropertyValue(ref state, value); }
}
string zipCode;
[ZipCode, Display(Name = "Zip code")]
public string ZipCode { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
public string ZipCode {
get { return zipCode; }
set { SetPropertyValue(ref zipCode, value); }
}
double latitude;
public double Latitude {
get { return latitude; }
set { SetPropertyValue(ref latitude, value); }
}
double longitude;
public double Longitude {
get { return longitude; }
set { SetPropertyValue(ref longitude, value); }
}
public string CityLine {
get { return GetCityLine(City, State, ZipCode); }
}
@@ -28,23 +51,13 @@ namespace DevExpress.DevAV {
get { return IDataErrorInfoHelper.GetErrorText(this, columnName); }
}
#endregion
internal static string GetCityLine(string city, StateEnum state, string zipCode) {
return string.Format("{0}, {1} {2}", city, state, zipCode);
}
}
public static class AddressHelper {
public static Address DevAVHomeOffice { get { return devAVHomeOffice; } }
static Address devAVHomeOffice = new Address {
City = "Glendale",
Line = "505 N. Brand Blvd",
State = StateEnum.CA,
ZipCode = "91203",
Latitude = 34.1532866,
Longitude = -118.2555815
};
public static void UpdateAddress(Address address, string line, string city, StateEnum state, string zipCode, double latitude, double longtitude){
public static partial class AddressHelper {
public static void UpdateAddress(Address address, string line, string city, StateEnum state, string zipCode, double latitude, double longtitude) {
address.Line = line;
address.City = city;
address.State = state;

View File

@@ -1,29 +1,25 @@
using Microsoft.EntityFrameworkCore;
using System;
namespace DevExpress.DevAV
{
namespace DevExpress.DevAV {
[CLSCompliant(false)]
public class DevAVDb : DbContext {
public DevAVDb(string connectionStringOrName) {
connectionString = connectionStringOrName;
}
string connectionString = @"Data Source=C:\Work\OutlookWpf\Data\devav.sqlite3";
string connectionString = string.Empty;
public DevAVDb() : base()
{
public DevAVDb() : base() {
}
protected override void OnConfiguring(DbContextOptionsBuilder optionbuilder)
{
protected override void OnConfiguring(DbContextOptionsBuilder optionbuilder) {
optionbuilder.UseLazyLoadingProxies().UseSqlite(connectionString);
}
public DbSet<Customer> Customers { get; set; }
public DbSet<Employee> Employees { get; set; }
public DbSet<Product> Products { get; set; }
public DbSet<EmployeeTask> Tasks { get; set; }
public DbSet<Crest> Crests { get; set; }
public DbSet<CustomerCommunication> Communications { get; set; }
public DbSet<CustomerStore> CustomerStores { get; set; }
public DbSet<Order> Orders { get; set; }
public DbSet<OrderItem> OrderItems { get; set; }
@@ -36,13 +32,37 @@ namespace DevExpress.DevAV
public DbSet<CustomerEmployee> CustomerEmployees { get; set; }
public DbSet<Evaluation> Evaluations { get; set; }
public DbSet<Picture> Pictures { get; set; }
public DbSet<TaskAttachedFile> AttachedFiles { get; set; }
public DbSet<DatabaseVersion> Version { get; set; }
public DbSet<EmployeeTask> EmployeeTasks { get; set; }
public DbSet<CustomerCommunication> CustomerCommunications { get; set; }
public DbSet<TaskAttachedFile> TaskAttachedFiles { get; set; }
public DbSet<DatabaseVersion> DatabaseVersions { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder) {
base.OnModelCreating(modelBuilder);
modelBuilder.Entity<Employee>()
.Ignore(x => x.AssignedEmployeeTasks);
modelBuilder.Entity<EmployeeTask>()
.Ignore(x => x.AssignedEmployees);
modelBuilder.Entity<TaskAttachedFile>()
.HasOne(t => t.EmployeeTask)
.WithMany(p => p.AttachedFiles)
.HasForeignKey(t => t.EmployeeTaskId);
modelBuilder.Entity<EmployeeTask>()
.HasOne(x => x.AssignedEmployee)
.WithMany(x => x.AssignedTasks);
modelBuilder.Entity<EmployeeTask>()
.HasOne(x => x.Owner)
.WithMany(x => x.OwnedTasks);
modelBuilder.Entity<EmployeeTask>()
.HasOne(x => x.CustomerEmployee)
.WithMany(x => x.EmployeeTasks);
modelBuilder.Entity<Employee>()
.HasOne(x => x.Picture)
.WithMany(x => x.Employees);
@@ -111,17 +131,6 @@ namespace DevExpress.DevAV
modelBuilder.Entity<CustomerCommunication>()
.HasOne(x => x.Employee)
.WithMany(x => x.Employees);
modelBuilder.Entity<Employee>()
.Ignore(x => x.AssignedEmployeeTasks);
modelBuilder.Entity<EmployeeTask>()
.Ignore(x => x.AssignedEmployees);
modelBuilder.Entity<Employee>()
.Ignore(x => x.AssignedTasks);
modelBuilder.Entity<Employee>()
.Ignore(x => x.OwnedTasks);
modelBuilder.Entity<Employee>()
.Ignore(x => x.Employees);
}
}
public class DatabaseVersion : DatabaseObject {

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace DevExpress.DevAV {
public class ObservableObject : INotifyPropertyChanged {
public event PropertyChangedEventHandler PropertyChanged;
void RaisePropertyChangedEvent(string propertyName) {
var handler = PropertyChanged;
if(handler != null)
handler(this, new PropertyChangedEventArgs(propertyName));
}
protected void SetPropertyValue<T>(ref T valueHolder, T newValue, [CallerMemberName]string propertyName = null) {
if(object.Equals(valueHolder, newValue))
return;
valueHolder = newValue;
RaisePropertyChangedEvent(propertyName);
}
}
}

View File

@@ -1,4 +1,8 @@
using System.Drawing;
using System.ComponentModel.DataAnnotations.Schema;
using System.Drawing;
using DevExpress.Utils;
using DevExpress.XtraEditors.Controls;
using System.Runtime.Serialization;
using System.Collections.Generic;
namespace DevExpress.DevAV {
@@ -13,21 +17,18 @@ namespace DevExpress.DevAV {
public const string DefaultPic = DefaultUserPic;
public const string DefaultUserPic = "DevExpress.DevAV.Resources.Unknown-user.png";
internal static Image CreateImage(this Picture picture, string defaultImage = null) {
if (picture == null)
{
return null;
//if (string.IsNullOrEmpty(defaultImage))
// defaultImage = DefaultPic;
//return ResourceImageHelper.CreateImageFromResourcesEx(defaultImage, typeof(Picture).Assembly);
if(picture == null) {
if(string.IsNullOrEmpty(defaultImage))
defaultImage = DefaultPic;
return ResourceImageHelper.CreateImageFromResourcesEx(defaultImage, typeof(Picture).Assembly);
}
else return DevAVByteImageConverter.FromByteArray(picture.Data);
else return ByteImageConverter.FromByteArray(picture.Data);
}
internal static Picture FromImage(Image image) {
return null;
//return (image == null) ? null : new Picture()
//{
// Data = DevAVByteImageConverter.ToByteArray(image, image.RawFormat)
//};
return (image == null) ? null : new Picture()
{
Data = ByteImageConverter.ToByteArray(image, image.RawFormat)
};
}
}
}

View File

@@ -4,6 +4,8 @@ using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Drawing;
using System.IO;
using DevExpress.Utils;
using System.Runtime.Serialization;
namespace DevExpress.DevAV {
public enum ProductCategory {
@@ -65,10 +67,10 @@ namespace DevExpress.DevAV {
}
}
Image CreateImage(byte[] data) {
if (data == null)
return null;// ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly);
if(data == null)
return ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly);
else
return DevAVByteImageConverter.FromByteArray(data);
return DevExpress.XtraEditors.Controls.ByteImageConverter.FromByteArray(data);
}
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Security;
[assembly: AssemblyTitle("DevExpress.DevAV.Data")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct("DevExpress.DevAV.Data")]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: SatelliteContractVersion(AssemblyInfo.SatelliteContractVersion)]
[assembly: AssemblyVersion(AssemblyInfo.Version)]
[assembly: AssemblyFileVersion(AssemblyInfo.FileVersion)]

View File

@@ -0,0 +1,73 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34011
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace DevExpress.DevAV.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DevExpress.DevAV.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Unknown_user {
get {
object obj = ResourceManager.GetObject("Unknown_user", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

View File

@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Unknown_user" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Unknown-user.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@@ -305,7 +305,7 @@ namespace DevExpress.DevAV {
InvoiceNumber = x.InvoiceNumber,
OrderDate = x.OrderDate,
Company = x.Customer.Name,
//Store = x.Customer.HomeOffice.City,
Store = x.Customer.HomeOffice.City,
TotalAmount = x.TotalAmount,
}).ToList();
}

View File

@@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.IO;
using System.Runtime.Serialization;
//using System.Windows.Media;
using System.Windows.Media;
using System.Linq;
namespace DevExpress.DevAV {

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace DevExpress.DevAV {
public static partial class AddressHelper {
public static Address DevAVHomeOffice { get { return devAVHomeOffice; } }
static Address devAVHomeOffice = new Address {
City = "Glendale",
Line = "505 N. Brand Blvd",
State = StateEnum.CA,
ZipCode = "91203",
Latitude = 34.1532866,
Longitude = -118.2555815
};
}
}

View File

@@ -0,0 +1,513 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class CustomerContactsDirectory : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.PageHeaderBand PageHeader;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRLine xrLine1;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow10;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.XRLabel xrLabel1;
private XtraReports.UI.CalculatedField FirstLetter;
private XtraReports.Parameters.Parameter paramAscending;
private XtraReports.UI.GroupHeaderBand GroupHeader1;
private XtraReports.UI.XRTableCell xrTableCell3;
public CustomerContactsDirectory() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerContactsDirectory));
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.FirstLetter = new DevExpress.XtraReports.UI.CalculatedField();
this.paramAscending = new DevExpress.XtraReports.Parameters.Parameter();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.HeightF = 125F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(466.6667F, 52.20191F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(173.9583F, 56.41183F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel1,
this.xrTable2});
this.detailBand1.HeightF = 224F;
this.detailBand1.KeepTogether = true;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("FirstName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrLabel1
//
this.xrLabel1.CanGrow = false;
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FirstLetter")});
this.xrLabel1.Font = new System.Drawing.Font("Segoe UI", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.27706F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge;
this.xrLabel1.SizeF = new System.Drawing.SizeF(69.79166F, 78.125F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrLabel1.WordWrap = false;
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(180.0856F, 11.44531F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2,
this.xrTableRow3,
this.xrTableRow4,
this.xrTableRow5,
this.xrTableRow6,
this.xrTableRow7,
this.xrTableRow8,
this.xrTableRow9,
this.xrTableRow10});
this.xrTable2.SizeF = new System.Drawing.SizeF(460.0477F, 187.119F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 0.6338577290674352D;
//
// xrTableCell4
//
this.xrTableCell4.CanGrow = false;
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "[Prefix]. [FullName]";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableCell4.Weight = 3D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 0.34068025346384434D;
//
// xrTableCell5
//
this.xrTableCell5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UseForeColor = false;
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "[CustomerStore.CustomerName] ([CustomerStore.City] Store)";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell5.Weight = 3D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6});
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 0.37828530166861157D;
//
// xrTableCell6
//
this.xrTableCell6.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLine1});
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Weight = 3D;
//
// xrLine1
//
this.xrLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 0F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(460.0477F, 12.71196F);
this.xrLine1.StylePriority.UseForeColor = false;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell8});
this.xrTableRow5.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.StylePriority.UseFont = false;
this.xrTableRow5.StylePriority.UseForeColor = false;
this.xrTableRow5.Weight = 0.21567219504415658D;
//
// xrTableCell7
//
this.xrTableCell7.CanGrow = false;
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseBorderColor = false;
this.xrTableCell7.StylePriority.UseForeColor = false;
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.Text = "STORE ADDRESS";
this.xrTableCell7.Weight = 1.4868341453229292D;
//
// xrTableCell8
//
this.xrTableCell8.CanGrow = false;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Text = "PHONE";
this.xrTableCell8.Weight = 1.5131658546770708D;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell9,
this.xrTableCell10});
this.xrTableRow6.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.StylePriority.UseFont = false;
this.xrTableRow6.Weight = 0.23600393509690332D;
//
// xrTableCell9
//
this.xrTableCell9.CanGrow = false;
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.RowSpan = 2;
this.xrTableCell9.Text = "[CustomerStore.Address.Line]\r\n[CustomerStore.Address.CityLine]";
this.xrTableCell9.Weight = 1.4868341548048936D;
this.xrTableCell9.WordWrap = false;
//
// xrTableCell10
//
this.xrTableCell10.CanGrow = false;
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.Text = "[CustomerStore.Phone] (Store)";
this.xrTableCell10.Weight = 1.5131658451951064D;
this.xrTableCell10.WordWrap = false;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell11,
this.xrTableCell12});
this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.StylePriority.UseFont = false;
this.xrTableRow7.Weight = 0.23926277709568763D;
//
// xrTableCell11
//
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Text = "xrTableCell8";
this.xrTableCell11.Weight = 1.4868341548048936D;
//
// xrTableCell12
//
this.xrTableCell12.CanGrow = false;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Text = "[MobilePhone] (Mobile)";
this.xrTableCell12.Weight = 1.5131658451951064D;
this.xrTableCell12.WordWrap = false;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell13});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 0.12622171748791217D;
//
// xrTableCell13
//
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Weight = 3D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell14,
this.xrTableCell15});
this.xrTableRow9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.StylePriority.UseFont = false;
this.xrTableRow9.StylePriority.UseForeColor = false;
this.xrTableRow9.Weight = 0.22588296444312883D;
//
// xrTableCell14
//
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.Text = "POSITION";
this.xrTableCell14.Weight = 1.486834109845256D;
//
// xrTableCell15
//
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.Text = "EMAIL";
this.xrTableCell15.Weight = 1.513165890154744D;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell17});
this.xrTableRow10.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.StylePriority.UseFont = false;
this.xrTableRow10.Weight = 0.34098411262588169D;
//
// xrTableCell16
//
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Position")});
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Weight = 1.4868337384779746D;
//
// xrTableCell17
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Email")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Weight = 1.5131662615220254D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 104F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.CustomerEmployee);
//
// PageHeader
//
this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.PageHeader.HeightF = 31F;
this.PageHeader.Name = "PageHeader";
this.PageHeader.StylePriority.UseFont = false;
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(641.6667F, 29.69642F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell3});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Multiline = true;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Directory";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.7808441558441559D;
//
// xrTableCell2
//
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Weight = 0.043932629870129913D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.Weight = 2.1752232142857144D;
//
// FirstLetter
//
this.FirstLetter.Expression = "Substring([LastName], 0, 1)";
this.FirstLetter.Name = "FirstLetter";
//
// paramAscending
//
this.paramAscending.Description = "Ascending";
this.paramAscending.Name = "paramAscending";
this.paramAscending.Type = typeof(bool);
this.paramAscending.ValueInfo = "True";
this.paramAscending.Visible = false;
//
// GroupHeader1
//
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("LastName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.HeightF = 0F;
this.GroupHeader1.Name = "GroupHeader1";
//
// CustomerContactsDirectory
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.PageHeader,
this.GroupHeader1});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.FirstLetter});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(104, 104, 125, 104);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramAscending});
this.Version = "14.1";
this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.CustomerContactDirectory_BeforePrint);
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void CustomerContactDirectory_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
if(Equals(true, paramAscending.Value)) {
this.GroupHeader1.GroupFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Ascending;
this.detailBand1.SortFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Ascending;
} else {
this.GroupHeader1.GroupFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Descending;
this.detailBand1.SortFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Descending;
}
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJ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ahQSZAGI
PD2/QM779yX2A0ByjspyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,671 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class CustomerLocationsDirectory : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell3;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.XRPictureBox xrPictureBox4;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.Parameters.Parameter paramAscending;
private XtraReports.UI.DetailReportBand DetailReport;
private XtraReports.UI.DetailBand Detail;
private XtraReports.UI.XRTable xrTable3;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRLine xrLine1;
private XtraReports.UI.XRTableRow xrTableRow10;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTableRow xrTableRow11;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.XRTableRow xrTableRow12;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.UI.ReportHeaderBand ReportHeader1;
private XtraReports.UI.XRTable xrTable4;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.XRTableRow xrTableRow13;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableRow xrTableRow14;
private XtraReports.UI.XRTableCell xrTableCell21;
private XtraReports.UI.XRTableCell xrTableCell22;
private XtraReports.UI.XRTableCell xrTableCell19;
public CustomerLocationsDirectory() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerLocationsDirectory));
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrPictureBox4 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramAscending = new DevExpress.XtraReports.Parameters.Parameter();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.Font = new System.Drawing.Font("Segoe UI", 9.75F);
this.topMarginBand1.HeightF = 124.875F;
this.topMarginBand1.Name = "topMarginBand1";
this.topMarginBand1.StylePriority.UseFont = false;
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(473.1667F, 52.58816F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox4,
this.xrTable2});
this.detailBand1.HeightF = 237.2124F;
this.detailBand1.KeepTogether = true;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Name", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrPictureBox4
//
this.xrPictureBox4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrPictureBox4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrPictureBox4.BorderWidth = 1F;
this.xrPictureBox4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Image")});
this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(10F, 16.05509F);
this.xrPictureBox4.Name = "xrPictureBox4";
this.xrPictureBox4.SizeF = new System.Drawing.SizeF(158.7394F, 190.1483F);
this.xrPictureBox4.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.xrPictureBox4.StylePriority.UseBorderColor = false;
this.xrPictureBox4.StylePriority.UseBorders = false;
this.xrPictureBox4.StylePriority.UseBorderWidth = false;
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(179.1667F, 14.58333F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow8,
this.xrTableRow7,
this.xrTableRow3,
this.xrTableRow4,
this.xrTableRow5});
this.xrTable2.SizeF = new System.Drawing.SizeF(462.5F, 184.1186F);
this.xrTable2.StylePriority.UsePadding = false;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 1.3733330546061278D;
//
// xrTableCell15
//
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name")});
this.xrTableCell15.Font = new System.Drawing.Font("Segoe UI", 26.25F);
this.xrTableCell15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseFont = false;
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.Text = "[Prefix].[FullName]";
this.xrTableCell15.Weight = 3D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell14});
this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableRow7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.StylePriority.UseFont = false;
this.xrTableRow7.StylePriority.UseForeColor = false;
this.xrTableRow7.StylePriority.UsePadding = false;
this.xrTableRow7.StylePriority.UseTextAlignment = false;
this.xrTableRow7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow7.Weight = 1.1629306803809705D;
//
// xrTableCell7
//
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Text = "HOME OFFICE";
this.xrTableCell7.Weight = 1.4122964395059121D;
//
// xrTableCell14
//
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseFont = false;
this.xrTableCell14.StylePriority.UseForeColor = false;
this.xrTableCell14.Text = "BILLING ADDRESS";
this.xrTableCell14.Weight = 1.5877035604940879D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell8,
this.xrTableCell9});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 1.2264701559025575D;
//
// xrTableCell8
//
this.xrTableCell8.Multiline = true;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Text = "[HomeOffice.Line]\r\n[HomeOffice.CityLine]";
this.xrTableCell8.Weight = 1.4122964395059121D;
//
// xrTableCell9
//
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Text = "[BillingAddress.Line]\r\n[BillingAddress.CityLine]";
this.xrTableCell9.Weight = 1.5877035604940879D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10,
this.xrTableCell11});
this.xrTableRow4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.StylePriority.UseForeColor = false;
this.xrTableRow4.StylePriority.UsePadding = false;
this.xrTableRow4.StylePriority.UseTextAlignment = false;
this.xrTableRow4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow4.Weight = 0.84523535774366332D;
//
// xrTableCell10
//
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Text = "PHONE";
this.xrTableCell10.Weight = 1.4122964395059121D;
//
// xrTableCell11
//
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Text = "FAX";
this.xrTableCell11.Weight = 1.5877035604940879D;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12,
this.xrTableCell13});
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.Weight = 0.61225922764545693D;
//
// xrTableCell12
//
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Phone")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Weight = 1.4122964395059121D;
//
// xrTableCell13
//
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Fax")});
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Weight = 1.5877035604940879D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.HeightF = 127.0833F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM dd, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(544.5415F, 18.00003F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(99.95856F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(2.000014F, 18.00003F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(102.0834F, 23.00008F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.Customer);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.ReportHeader.HeightF = 31.62498F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(647.9999F, 31.62498F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell3});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.1244439019097223D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Directory";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.8195229174103581D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.Weight = 2.1804770825896416D;
//
// paramAscending
//
this.paramAscending.Description = "Ascending";
this.paramAscending.Name = "paramAscending";
this.paramAscending.Type = typeof(bool);
this.paramAscending.ValueInfo = "True";
this.paramAscending.Visible = false;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.ReportHeader1});
this.DetailReport.DataMember = "CustomerStores";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2,
this.xrTable3});
this.Detail.HeightF = 158.1212F;
this.Detail.Name = "Detail";
this.Detail.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("City", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrPictureBox2
//
this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Image")});
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 10.00001F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(158.7394F, 110.6212F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(218.5357F, 5.374962F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2,
this.xrTableRow9,
this.xrTableRow10,
this.xrTableRow11,
this.xrTableRow12,
this.xrTableRow13,
this.xrTableRow14});
this.xrTable3.SizeF = new System.Drawing.SizeF(418.3811F, 136.6395F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 0.37957053365601223D;
//
// xrTableCell4
//
this.xrTableCell4.CanGrow = false;
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "[City] Store";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableCell4.Weight = 3D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 0.16309914112449067D;
//
// xrTableCell6
//
this.xrTableCell6.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLine1});
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Weight = 3D;
//
// xrLine1
//
this.xrLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 2.861023E-06F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(418.3811F, 12.71197F);
this.xrLine1.StylePriority.UseForeColor = false;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell2});
this.xrTableRow10.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.StylePriority.UseFont = false;
this.xrTableRow10.StylePriority.UseForeColor = false;
this.xrTableRow10.Weight = 0.1703697919742812D;
//
// xrTableCell2
//
this.xrTableCell2.CanGrow = false;
this.xrTableCell2.Font = new System.Drawing.Font("Segoe UI", 9F);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseBorderColor = false;
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UseForeColor = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.Text = "STORE ADDRESS";
this.xrTableCell2.Weight = 3D;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell17});
this.xrTableRow11.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.StylePriority.UseFont = false;
this.xrTableRow11.Weight = 0.19070146981369218D;
//
// xrTableCell17
//
this.xrTableCell17.CanGrow = false;
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerStores.Address.Line")});
this.xrTableCell17.Font = new System.Drawing.Font("Segoe UI", 9F);
this.xrTableCell17.Multiline = true;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.StylePriority.UseFont = false;
this.xrTableCell17.Weight = 3D;
this.xrTableCell17.WordWrap = false;
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow12.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.StylePriority.UseFont = false;
this.xrTableRow12.Weight = 0.19396043623914788D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerStores.Address.CityLine")});
this.xrTableCell19.Font = new System.Drawing.Font("Segoe UI", 9F);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
this.xrTableCell19.Weight = 3D;
//
// ReportHeader1
//
this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable4});
this.ReportHeader1.HeightF = 31.62498F;
this.ReportHeader1.Name = "ReportHeader1";
//
// xrTable4
//
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(2.000205F, 0F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6});
this.xrTable4.SizeF = new System.Drawing.SizeF(647.9999F, 31.62498F);
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5,
this.xrTableCell16});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 1.1244439019097223D;
//
// xrTableCell5
//
this.xrTableCell5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell5.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell5.ForeColor = System.Drawing.Color.White;
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell5.StylePriority.UseBackColor = false;
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UseForeColor = false;
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "Stores";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell5.Weight = 0.8195229174103581D;
//
// xrTableCell16
//
this.xrTableCell16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseBackColor = false;
this.xrTableCell16.Weight = 2.1804770825896416D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20,
this.xrTableCell18});
this.xrTableRow13.Font = new System.Drawing.Font("Segoe UI", 9F);
this.xrTableRow13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.StylePriority.UseFont = false;
this.xrTableRow13.StylePriority.UseForeColor = false;
this.xrTableRow13.Weight = 0.19396043623914788D;
//
// xrTableCell18
//
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Text = "FAX";
this.xrTableCell18.Weight = 1.5D;
//
// xrTableCell20
//
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.Text = "PHONE";
this.xrTableCell20.Weight = 1.5D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21,
this.xrTableCell22});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.19396043623914788D;
//
// xrTableCell21
//
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerStores.Phone")});
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.Text = "xrTableCell21";
this.xrTableCell21.Weight = 1.5D;
//
// xrTableCell22
//
this.xrTableCell22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CustomerStores.Fax")});
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.Text = "xrTableCell22";
this.xrTableCell22.Weight = 1.5D;
//
// CustomerLocationsDirectory
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.DetailReport});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 100, 125, 127);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramAscending});
this.Version = "14.1";
this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.CustomerLocationsDirectory_BeforePrint);
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void CustomerLocationsDirectory_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
if(Equals(true, paramAscending.Value)) {
this.detailBand1.SortFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Ascending;
} else {
this.detailBand1.SortFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Descending;
}
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhE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iD9nkLvy/2FRBRUsrAIq7V697KEcvQKrvQsUCFWyYVxScAx13SGPcvd7z30KU5XTvZ9aLsFGv2
4QecTQDyJYA8pZJNSk2I6A8k2xUkb9GTWCLCQqKBY5GkAchnABI8kt1VUlmXxgWUHqKtOUlPeT83/LuM
ozscZ3Y3IMCxEjhMP3cDIFYa9Apv8YHaT0BkqPUtjvP6A34AshFAjFVK4JCh1QwFx8k1l+TcahQSZAGI
PD2/QM779yX2A0ByjspyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,595 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class CustomerProfile : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell3;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.DetailReportBand DetailReport;
private XtraReports.UI.DetailBand Detail;
private XtraReports.UI.ReportHeaderBand ReportHeader1;
private XtraReports.UI.XRTable xrTable4;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.XRPictureBox xrPictureBox4;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTable xrTable3;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTableRow xrTableRow10;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableCell xrTableCell19;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.CalculatedField employeePosition;
private XtraReports.UI.GroupHeaderBand GroupHeader1;
private XtraReports.Parameters.Parameter paramContacts;
public CustomerProfile() {
InitializeComponent();
BeforePrint += CustomerProfile_BeforePrint;
}
private void CustomerProfile_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
SetShowEvaluations((bool)Parameters["paramContacts"].Value);
}
public void SetShowEvaluations(bool show) {
if(DetailReport.Visible != show) DetailReport.Visible = show;
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerProfile));
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrPictureBox4 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramContacts = new DevExpress.XtraReports.Parameters.Parameter();
this.employeePosition = new DevExpress.XtraReports.UI.CalculatedField();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.Font = new System.Drawing.Font("Segoe UI", 9.75F);
this.topMarginBand1.HeightF = 124.875F;
this.topMarginBand1.Name = "topMarginBand1";
this.topMarginBand1.StylePriority.UseFont = false;
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(473.1667F, 52.58816F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox4,
this.xrTable2});
this.detailBand1.HeightF = 237.2124F;
this.detailBand1.KeepTogether = true;
this.detailBand1.Name = "detailBand1";
//
// xrPictureBox4
//
this.xrPictureBox4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrPictureBox4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrPictureBox4.BorderWidth = 1F;
this.xrPictureBox4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Image")});
this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(10F, 16.05509F);
this.xrPictureBox4.Name = "xrPictureBox4";
this.xrPictureBox4.SizeF = new System.Drawing.SizeF(158.7394F, 190.1483F);
this.xrPictureBox4.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.xrPictureBox4.StylePriority.UseBorderColor = false;
this.xrPictureBox4.StylePriority.UseBorders = false;
this.xrPictureBox4.StylePriority.UseBorderWidth = false;
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(179.1667F, 14.58333F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow8,
this.xrTableRow7,
this.xrTableRow3,
this.xrTableRow4,
this.xrTableRow5});
this.xrTable2.SizeF = new System.Drawing.SizeF(462.5F, 184.1186F);
this.xrTable2.StylePriority.UsePadding = false;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 1.3733330546061278D;
//
// xrTableCell15
//
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name")});
this.xrTableCell15.Font = new System.Drawing.Font("Segoe UI", 26.25F);
this.xrTableCell15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseFont = false;
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.Text = "[Prefix].[FullName]";
this.xrTableCell15.Weight = 3D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell14});
this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableRow7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.StylePriority.UseFont = false;
this.xrTableRow7.StylePriority.UseForeColor = false;
this.xrTableRow7.StylePriority.UsePadding = false;
this.xrTableRow7.StylePriority.UseTextAlignment = false;
this.xrTableRow7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow7.Weight = 1.1629306803809705D;
//
// xrTableCell7
//
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Text = "HOME OFFICE";
this.xrTableCell7.Weight = 1.4122964395059121D;
//
// xrTableCell14
//
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseFont = false;
this.xrTableCell14.StylePriority.UseForeColor = false;
this.xrTableCell14.Text = "BILLING ADDRESS";
this.xrTableCell14.Weight = 1.5877035604940879D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell8,
this.xrTableCell9});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 1.2264701559025575D;
//
// xrTableCell8
//
this.xrTableCell8.Multiline = true;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Text = "[HomeOffice.Line]\r\n[HomeOffice.CityLine]";
this.xrTableCell8.Weight = 1.4122964395059121D;
//
// xrTableCell9
//
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Text = "[BillingAddress.Line]\r\n[BillingAddress.CityLine]";
this.xrTableCell9.Weight = 1.5877035604940879D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10,
this.xrTableCell11});
this.xrTableRow4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.StylePriority.UseForeColor = false;
this.xrTableRow4.StylePriority.UsePadding = false;
this.xrTableRow4.StylePriority.UseTextAlignment = false;
this.xrTableRow4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow4.Weight = 0.84523535774366332D;
//
// xrTableCell10
//
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Text = "PHONE";
this.xrTableCell10.Weight = 1.4122964395059121D;
//
// xrTableCell11
//
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Text = "FAX";
this.xrTableCell11.Weight = 1.5877035604940879D;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12,
this.xrTableCell13});
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.Weight = 0.61225922764545693D;
//
// xrTableCell12
//
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Phone")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Weight = 1.4122964395059121D;
//
// xrTableCell13
//
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Fax")});
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Weight = 1.5877035604940879D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.HeightF = 127.0833F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM dd, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(544.5415F, 18.00003F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(99.95856F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(2.000014F, 18.00003F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(102.0834F, 23.00008F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.Customer);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.ReportHeader.HeightF = 31.62498F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(647.9999F, 31.62498F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell3});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.1244439019097223D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Customer Profile";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.8195229174103581D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.Weight = 2.1804770825896416D;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.ReportHeader1,
this.GroupHeader1});
this.DetailReport.DataMember = "Employees";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable3});
this.Detail.HeightF = 90.21397F;
this.Detail.KeepTogether = true;
this.Detail.Name = "Detail";
this.Detail.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("FirstName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 14F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6,
this.xrTableRow10,
this.xrTableRow9});
this.xrTable3.SizeF = new System.Drawing.SizeF(605.5085F, 68.64409F);
this.xrTable3.StylePriority.UsePadding = false;
this.xrTable3.StylePriority.UseTextAlignment = false;
this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell2,
this.xrTableCell5});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 1D;
//
// xrTableCell2
//
this.xrTableCell2.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.Text = "[Prefix]. [FullName]";
this.xrTableCell2.Weight = 0.83865710918719949D;
//
// xrTableCell5
//
this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees.Address.Line")});
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Weight = 1.9559974318284257D;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18,
this.xrTableCell19});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 0.84110173306221525D;
//
// xrTableCell18
//
this.xrTableCell18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "employeePosition")});
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Weight = 0.8386571091871996D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees.Address.CityLine")});
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.Weight = 1.9559974318284259D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell20,
this.xrTableCell17});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 0.90466097880219154D;
//
// xrTableCell16
//
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Text = "[CustomerStore.City] Store";
this.xrTableCell16.Weight = 0.83865710918719949D;
//
// xrTableCell20
//
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.Text = "[CustomerStore.Phone] (Store)";
this.xrTableCell20.Weight = 0.69990013709435117D;
//
// xrTableCell17
//
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Text = "[MobilePhone] (Mobile)";
this.xrTableCell17.Weight = 1.2560972947340747D;
//
// ReportHeader1
//
this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable4});
this.ReportHeader1.HeightF = 31.30298F;
this.ReportHeader1.Name = "ReportHeader1";
//
// xrTable4
//
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable4.SizeF = new System.Drawing.SizeF(647.9999F, 31.30298F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell6});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1.1129949951171876D;
//
// xrTableCell4
//
this.xrTableCell4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.ForeColor = System.Drawing.Color.White;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell4.StylePriority.UseBackColor = false;
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Contacts";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell4.Weight = 0.81952277612524749D;
//
// xrTableCell6
//
this.xrTableCell6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employees.Id")});
this.xrTableCell6.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell6.Multiline = true;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell6.StylePriority.UseBackColor = false;
this.xrTableCell6.StylePriority.UseFont = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
xrSummary1.FormatString = "# of Employees: {0}";
xrSummary1.Func = DevExpress.XtraReports.UI.SummaryFunc.Count;
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell6.Summary = xrSummary1;
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell6.Weight = 2.1804772238747523D;
//
// paramContacts
//
this.paramContacts.Description = "Contacts";
this.paramContacts.Name = "paramContacts";
this.paramContacts.Type = typeof(bool);
this.paramContacts.ValueInfo = "True";
this.paramContacts.Visible = false;
//
// employeePosition
//
this.employeePosition.Expression = "Upper([Employees.Position])";
this.employeePosition.Name = "employeePosition";
//
// GroupHeader1
//
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("LastName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.HeightF = 0F;
this.GroupHeader1.Name = "GroupHeader1";
//
// CustomerProfile
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.DetailReport});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.employeePosition});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 100, 125, 127);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramContacts});
this.Version = "14.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5
QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk
n16kiV6kzhpt89qLAMhGAHkYQHye0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83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5
QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBk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oZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4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4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
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UAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgG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7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,147 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<OutputType>Library</OutputType>
<EnableDefaultItems>false</EnableDefaultItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
<SignAssembly>true</SignAssembly>
<Configurations>Debug;Release</Configurations>
<RootNamespace>DevExpress.DevAV.Reports</RootNamespace>
<AssemblyName>DevExpress.DevAV.v19.1.Reports</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>..\..\bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>..\..\bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Compile Include="Customers\CustomerContactsDirectory.cs" />
<Compile Include="Customers\CustomerLocationsDirectory.cs" />
<Compile Include="Customers\CustomerProfile.cs" />
<Compile Include="Customers\CustomerSalesDetail.cs" />
<Compile Include="Customers\CustomerSalesDetailReport.cs" />
<Compile Include="Customers\CustomerSalesSummary.cs" />
<Compile Include="Customers\CustomerSalesSummaryReport.cs" />
<Compile Include="Employees\EmployeeDirectory.cs" />
<Compile Include="Employees\EmployeeProfile.cs" />
<Compile Include="Employees\EmployeeSummary.cs" />
<Compile Include="Employees\EmployeeTaskList.cs" />
<Compile Include="EnumDisplayTextHelper.cs" />
<Compile Include="ParameterHelper.cs" />
<Compile Include="Products\ProductProfile.cs" />
<Compile Include="Products\ProductOrders.cs" />
<Compile Include="Products\ProductSalesSummary.cs" />
<Compile Include="Products\ProductTopSalesperson.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ReportFactory.cs" />
<Compile Include="ReportFinder.cs" />
<Compile Include="Sales\InvoiceHelper\CellsHelper.cs" />
<Compile Include="Sales\InvoiceHelper\Enums.cs" />
<Compile Include="Sales\InvoiceHelper\InvoiceHelper.cs" />
<Compile Include="Sales\InvoiceHelper\OrderPropertiesHelper.cs" />
<Compile Include="Sales\SalesAnalysis.cs" />
<Compile Include="Sales\SalesAnalysisReport.cs" />
<Compile Include="Sales\SalesInvoice.cs" />
<Compile Include="Sales\SalesOrdersSummary.cs" />
<Compile Include="Sales\SalesOrdersSummaryReport.cs" />
<Compile Include="Sales\SalesRevenueAnalysisReport.cs" />
<Compile Include="Sales\SalesRevenueReport.cs" />
<Compile Include="Tasks\TaskListReport.cs" />
<Compile Include="Tasks\TaskDetailReport.cs" />
<Compile Include="Shipping\FedExGroundLabel.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Images\droplet.png" />
<EmbeddedResource Include="Sales\SalesRevenueAnalysisReport.resx">
<DependentUpon>SalesRevenueAnalysisReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Sales\SalesRevenueReport.resx">
<DependentUpon>SalesRevenueReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Shipping\FedExGroundLabel.resx">
<DependentUpon>FedExGroundLabel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Customers\CustomerContactsDirectory.resx">
<DependentUpon>CustomerContactsDirectory.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Customers\CustomerLocationsDirectory.resx">
<DependentUpon>CustomerLocationsDirectory.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Customers\CustomerProfile.resx">
<DependentUpon>CustomerProfile.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Customers\CustomerSalesDetail.resx">
<DependentUpon>CustomerSalesDetail.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Customers\CustomerSalesDetailReport.resx">
<DependentUpon>CustomerSalesDetailReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Customers\CustomerSalesSummary.resx">
<DependentUpon>CustomerSalesSummary.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Customers\CustomerSalesSummaryReport.resx">
<DependentUpon>CustomerSalesSummaryReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Employees\EmployeeDirectory.resx">
<DependentUpon>EmployeeDirectory.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Employees\EmployeeProfile.resx">
<DependentUpon>EmployeeProfile.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Employees\EmployeeSummary.resx">
<DependentUpon>EmployeeSummary.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Employees\EmployeeTaskList.resx">
<DependentUpon>EmployeeTaskList.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Products\ProductProfile.resx">
<DependentUpon>ProductProfile.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Products\ProductOrders.resx">
<DependentUpon>ProductOrders.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Products\ProductSalesSummary.resx">
<DependentUpon>ProductSalesSummary.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Products\ProductTopSalesperson.resx">
<DependentUpon>ProductTopSalesperson.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Sales\SalesAnalysis.resx">
<DependentUpon>SalesAnalysis.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Sales\SalesAnalysisReport.resx">
<DependentUpon>SalesAnalysisReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Sales\SalesInvoice.resx">
<DependentUpon>SalesInvoice.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Sales\SalesOrdersSummary.resx">
<DependentUpon>SalesOrdersSummary.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Sales\SalesOrdersSummaryReport.resx">
<DependentUpon>SalesOrdersSummaryReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tasks\TaskListReport.resx">
<DependentUpon>TaskListReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Tasks\TaskDetailReport.resx">
<DependentUpon>TaskDetailReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Sales\SalesInvoice.xltx" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="DevExpress.WindowsDesktop.Core" Version="19.1.3-ctp" />
<PackageReference Include="DevExpress.WindowsDesktop.Win" Version="19.1.3-ctp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DevExpress.DevAV.Data\DevExpress.DevAV.Data.csproj" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,538 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class EmployeeDirectory : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.PageHeaderBand PageHeader;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRLine xrLine1;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow10;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.XRLabel xrLabel1;
private XtraReports.UI.CalculatedField FirstLetter;
private XtraReports.Parameters.Parameter paramAscending;
private XtraReports.UI.XRTableCell xrTableCell3;
public EmployeeDirectory() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeDirectory));
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.PageHeader = new DevExpress.XtraReports.UI.PageHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.FirstLetter = new DevExpress.XtraReports.UI.CalculatedField();
this.paramAscending = new DevExpress.XtraReports.Parameters.Parameter();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.Dpi = 100F;
this.topMarginBand1.HeightF = 125F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox1
//
this.xrPictureBox1.Dpi = 100F;
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(466.6667F, 52.20191F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(173.9583F, 56.41184F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel1,
this.xrTable2});
this.detailBand1.Dpi = 100F;
this.detailBand1.HeightF = 224F;
this.detailBand1.KeepTogether = true;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("LastName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrLabel1
//
this.xrLabel1.CanGrow = false;
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FirstLetter")});
this.xrLabel1.Dpi = 100F;
this.xrLabel1.Font = new System.Drawing.Font("Segoe UI", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.27707F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.ProcessDuplicatesMode = DevExpress.XtraReports.UI.ProcessDuplicatesMode.Merge;
this.xrLabel1.SizeF = new System.Drawing.SizeF(69.79166F, 78.125F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrLabel1.WordWrap = false;
//
// xrTable2
//
this.xrTable2.Dpi = 100F;
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(180.0856F, 16.86198F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2,
this.xrTableRow3,
this.xrTableRow4,
this.xrTableRow5,
this.xrTableRow6,
this.xrTableRow7,
this.xrTableRow8,
this.xrTableRow9,
this.xrTableRow10});
this.xrTable2.SizeF = new System.Drawing.SizeF(460.0477F, 176.7023F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4});
this.xrTableRow2.Dpi = 100F;
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 0.48150076635820022D;
//
// xrTableCell4
//
this.xrTableCell4.CanGrow = false;
this.xrTableCell4.Dpi = 100F;
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "[Prefix]. [FullName]";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableCell4.Weight = 3D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5});
this.xrTableRow3.Dpi = 100F;
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 0.34068025346384434D;
//
// xrTableCell5
//
this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Title")});
this.xrTableCell5.Dpi = 100F;
this.xrTableCell5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UseForeColor = false;
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell5.Weight = 3D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6});
this.xrTableRow4.Dpi = 100F;
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 0.37828530166861157D;
//
// xrTableCell6
//
this.xrTableCell6.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLine1});
this.xrTableCell6.Dpi = 100F;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Weight = 3D;
//
// xrLine1
//
this.xrLine1.Dpi = 100F;
this.xrLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 0F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(460.0477F, 12.71196F);
this.xrLine1.StylePriority.UseForeColor = false;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell8});
this.xrTableRow5.Dpi = 100F;
this.xrTableRow5.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.StylePriority.UseFont = false;
this.xrTableRow5.StylePriority.UseForeColor = false;
this.xrTableRow5.Weight = 0.21567219504415658D;
//
// xrTableCell7
//
this.xrTableCell7.CanGrow = false;
this.xrTableCell7.Dpi = 100F;
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseBorderColor = false;
this.xrTableCell7.StylePriority.UseForeColor = false;
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.Text = "HOME ADDRESS";
this.xrTableCell7.Weight = 1.4868341453229292D;
//
// xrTableCell8
//
this.xrTableCell8.CanGrow = false;
this.xrTableCell8.Dpi = 100F;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Text = "PHONE";
this.xrTableCell8.Weight = 1.5131658546770708D;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell9,
this.xrTableCell10});
this.xrTableRow6.Dpi = 100F;
this.xrTableRow6.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.StylePriority.UseFont = false;
this.xrTableRow6.Weight = 0.22076846350092508D;
//
// xrTableCell9
//
this.xrTableCell9.CanGrow = false;
this.xrTableCell9.Dpi = 100F;
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Text = "[Address.Line]";
this.xrTableCell9.Weight = 1.4868341548048936D;
//
// xrTableCell10
//
this.xrTableCell10.CanGrow = false;
this.xrTableCell10.Dpi = 100F;
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.StylePriority.UsePadding = false;
this.xrTableCell10.Text = "[MobilePhone] (Mobile)";
this.xrTableCell10.Weight = 1.5131658451951064D;
this.xrTableCell10.WordWrap = false;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell11,
this.xrTableCell12});
this.xrTableRow7.Dpi = 100F;
this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.StylePriority.UseFont = false;
this.xrTableRow7.Weight = 0.25449824869166587D;
//
// xrTableCell11
//
this.xrTableCell11.Dpi = 100F;
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Text = "[Address.CityLine]";
this.xrTableCell11.Weight = 1.4868341548048936D;
//
// xrTableCell12
//
this.xrTableCell12.CanGrow = false;
this.xrTableCell12.Dpi = 100F;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Text = "[HomePhone] (Home)";
this.xrTableCell12.Weight = 1.5131658451951064D;
this.xrTableCell12.WordWrap = false;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell13});
this.xrTableRow8.Dpi = 100F;
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 0.12622171748791217D;
//
// xrTableCell13
//
this.xrTableCell13.Dpi = 100F;
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Weight = 3D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell14,
this.xrTableCell15});
this.xrTableRow9.Dpi = 100F;
this.xrTableRow9.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.StylePriority.UseFont = false;
this.xrTableRow9.StylePriority.UseForeColor = false;
this.xrTableRow9.Weight = 0.22588296444312883D;
//
// xrTableCell14
//
this.xrTableCell14.Dpi = 100F;
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.Text = "EMAIL";
this.xrTableCell14.Weight = 1.486834109845256D;
//
// xrTableCell15
//
this.xrTableCell15.Dpi = 100F;
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.Text = "SKYPE";
this.xrTableCell15.Weight = 1.513165890154744D;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell17});
this.xrTableRow10.Dpi = 100F;
this.xrTableRow10.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.StylePriority.UseFont = false;
this.xrTableRow10.Weight = 0.34098411262588169D;
//
// xrTableCell16
//
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Email")});
this.xrTableCell16.Dpi = 100F;
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Weight = 1.4868337384779746D;
//
// xrTableCell17
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Skype")});
this.xrTableCell17.Dpi = 100F;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Weight = 1.5131662615220254D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Dpi = 100F;
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 104F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.Dpi = 100F;
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(408.0904F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(233.5763F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.Dpi = 100F;
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.Employee);
//
// PageHeader
//
this.PageHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.PageHeader.Dpi = 100F;
this.PageHeader.HeightF = 31F;
this.PageHeader.Name = "PageHeader";
this.PageHeader.StylePriority.UseFont = false;
//
// xrTable1
//
this.xrTable1.Dpi = 100F;
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(641.6667F, 29.69642F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell3});
this.xrTableRow1.Dpi = 100F;
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Dpi = 100F;
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Multiline = true;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Directory";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.7808441558441559D;
//
// xrTableCell2
//
this.xrTableCell2.Dpi = 100F;
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Weight = 0.043932629870129913D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrTableCell3.Dpi = 100F;
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.Weight = 2.1752232142857144D;
//
// FirstLetter
//
this.FirstLetter.Expression = "Substring([LastName], 0, 1)";
this.FirstLetter.Name = "FirstLetter";
//
// paramAscending
//
this.paramAscending.Description = "Ascending";
this.paramAscending.Name = "paramAscending";
this.paramAscending.Type = typeof(bool);
this.paramAscending.ValueInfo = "True";
this.paramAscending.Visible = false;
//
// EmployeeDirectory
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.PageHeader});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.FirstLetter});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(104, 104, 125, 104);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramAscending});
this.Version = "16.2";
this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.EmployeeDirectory_BeforePrint);
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void EmployeeDirectory_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
if(Equals(true, paramAscending.Value)) {
this.detailBand1.SortFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Ascending;
} else {
this.detailBand1.SortFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Descending;
}
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z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QqKBY5GkAchnABI8kt1VUlmXxgWUHqKtOUlPeT83/LuM
ozscZ3Y3IMCxEjhMP3cDIFYa9Apv8YHaT0BkqPUtjvP6A34AshFAjFVK4JCh1QwFx8k1l+TcahQSZAGI
PD2/QM779yX2A0ByjspyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,677 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class EmployeeProfile : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTableCell xrTableCell3;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTable xrTable3;
private XtraReports.UI.XRTableRow xrTableRow13;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.XRTableCell xrTableCell21;
private XtraReports.UI.XRTableRow xrTableRow14;
private XtraReports.UI.XRTableCell xrTableCell22;
private XtraReports.UI.XRTableCell xrTableCell23;
private XtraReports.UI.XRTableRow xrTableRow15;
private XtraReports.UI.XRTableCell xrTableCell24;
private XtraReports.UI.XRTableCell xrTableCell25;
private XtraReports.UI.XRTableRow xrTableRow16;
private XtraReports.UI.XRTableCell xrTableCell26;
private XtraReports.UI.XRTableCell xrTableCell27;
private XtraReports.UI.XRTableRow xrTableRow17;
private XtraReports.UI.XRTableCell xrTableCell28;
private XtraReports.UI.XRTableCell xrTableCell29;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.DetailReportBand DetailReport;
private XtraReports.UI.DetailBand Detail;
private XtraReports.UI.XRTable xrTable5;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.ReportHeaderBand ReportHeader1;
private XtraReports.UI.XRTable xrTable4;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.GroupHeaderBand GroupHeader1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.Parameters.Parameter paramEvaluations;
public EmployeeProfile() {
InitializeComponent();
BeforePrint += EmployeeProfile_BeforePrint;
}
private void EmployeeProfile_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
SetShowEvaluations((bool)Parameters["paramEvaluations"].Value);
}
public void SetShowEvaluations(bool show) {
if(DetailReport.Visible != show) DetailReport.Visible = show;
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeProfile));
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramEvaluations = new DevExpress.XtraReports.Parameters.Parameter();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.Dpi = 100F;
this.topMarginBand1.Font = new System.Drawing.Font("Segoe UI", 9.75F);
this.topMarginBand1.HeightF = 128F;
this.topMarginBand1.Name = "topMarginBand1";
this.topMarginBand1.StylePriority.UseFont = false;
//
// xrPictureBox1
//
this.xrPictureBox1.Dpi = 100F;
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(465.2917F, 52F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(182.7083F, 54.16668F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.Squeeze;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable3,
this.xrTable2,
this.xrPictureBox2});
this.detailBand1.Dpi = 100F;
this.detailBand1.HeightF = 308.9286F;
this.detailBand1.KeepTogether = true;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("FirstName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrTable3
//
this.xrTable3.Dpi = 100F;
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(179.1667F, 181.25F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15,
this.xrTableRow16,
this.xrTableRow17});
this.xrTable3.SizeF = new System.Drawing.SizeF(461.5F, 114.1369F);
this.xrTable3.StylePriority.UsePadding = false;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20,
this.xrTableCell21});
this.xrTableRow13.Dpi = 100F;
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 0.65333328891811748D;
//
// xrTableCell20
//
this.xrTableCell20.Dpi = 100F;
this.xrTableCell20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseForeColor = false;
this.xrTableCell20.Text = "HOME ADDRESS";
this.xrTableCell20.Weight = 1.5238964537134105D;
//
// xrTableCell21
//
this.xrTableCell21.Dpi = 100F;
this.xrTableCell21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.StylePriority.UseForeColor = false;
this.xrTableCell21.Text = "PHONE";
this.xrTableCell21.Weight = 1.4761035462865895D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell22,
this.xrTableCell23});
this.xrTableRow14.Dpi = 100F;
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.47484509486472504D;
//
// xrTableCell22
//
this.xrTableCell22.Dpi = 100F;
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.Text = "[Address.Line]";
this.xrTableCell22.Weight = 1.5238964675999105D;
//
// xrTableCell23
//
this.xrTableCell23.Dpi = 100F;
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.Text = "[MobilePhone] (Mobile)";
this.xrTableCell23.Weight = 1.4761035324000895D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell24,
this.xrTableCell25});
this.xrTableRow15.Dpi = 100F;
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 1.2140452917989133D;
//
// xrTableCell24
//
this.xrTableCell24.Dpi = 100F;
this.xrTableCell24.Name = "xrTableCell24";
this.xrTableCell24.Text = "[Address.CityLine]";
this.xrTableCell24.Weight = 1.5238964514898998D;
//
// xrTableCell25
//
this.xrTableCell25.Dpi = 100F;
this.xrTableCell25.Name = "xrTableCell25";
this.xrTableCell25.Text = "[HomePhone] (Home)";
this.xrTableCell25.Weight = 1.4761035485101002D;
//
// xrTableRow16
//
this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell26,
this.xrTableCell27});
this.xrTableRow16.Dpi = 100F;
this.xrTableRow16.Name = "xrTableRow16";
this.xrTableRow16.Weight = 0.56444328332196525D;
//
// xrTableCell26
//
this.xrTableCell26.Dpi = 100F;
this.xrTableCell26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell26.Name = "xrTableCell26";
this.xrTableCell26.StylePriority.UseForeColor = false;
this.xrTableCell26.Text = "EMAIL";
this.xrTableCell26.Weight = 1.5238964900469829D;
//
// xrTableCell27
//
this.xrTableCell27.Dpi = 100F;
this.xrTableCell27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell27.Name = "xrTableCell27";
this.xrTableCell27.StylePriority.UseForeColor = false;
this.xrTableCell27.Text = "SKYPE";
this.xrTableCell27.Weight = 1.4761035099530171D;
//
// xrTableRow17
//
this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell28,
this.xrTableCell29});
this.xrTableRow17.Dpi = 100F;
this.xrTableRow17.Name = "xrTableRow17";
this.xrTableRow17.Weight = 0.50222112518535189D;
//
// xrTableCell28
//
this.xrTableCell28.Dpi = 100F;
this.xrTableCell28.Name = "xrTableCell28";
this.xrTableCell28.Text = "[Email]";
this.xrTableCell28.Weight = 1.523896534941128D;
//
// xrTableCell29
//
this.xrTableCell29.Dpi = 100F;
this.xrTableCell29.Name = "xrTableCell29";
this.xrTableCell29.Text = "[Skype]";
this.xrTableCell29.Weight = 1.476103465058872D;
//
// xrTable2
//
this.xrTable2.Dpi = 100F;
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(179.1667F, 14.58333F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow8,
this.xrTableRow7,
this.xrTableRow9});
this.xrTable2.SizeF = new System.Drawing.SizeF(462.5F, 129.6131F);
this.xrTable2.StylePriority.UsePadding = false;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15});
this.xrTableRow8.Dpi = 100F;
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 1.3733330546061278D;
//
// xrTableCell15
//
this.xrTableCell15.Dpi = 100F;
this.xrTableCell15.Font = new System.Drawing.Font("Segoe UI", 26.25F);
this.xrTableCell15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseFont = false;
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.Text = "[Prefix]. [FullName]";
this.xrTableCell15.Weight = 3D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell14});
this.xrTableRow7.Dpi = 100F;
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.Weight = 1.7263104059547862D;
//
// xrTableCell14
//
this.xrTableCell14.Dpi = 100F;
this.xrTableCell14.Font = new System.Drawing.Font("Segoe UI", 14.25F);
this.xrTableCell14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseFont = false;
this.xrTableCell14.StylePriority.UseForeColor = false;
this.xrTableCell14.Text = "[TItle]";
this.xrTableCell14.Weight = 3D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16});
this.xrTableRow9.Dpi = 100F;
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 0.57521688842586149D;
//
// xrTableCell16
//
this.xrTableCell16.Dpi = 100F;
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Text = "[PersonalProfile]";
this.xrTableCell16.Weight = 3D;
//
// xrPictureBox2
//
this.xrPictureBox2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrPictureBox2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrPictureBox2.BorderWidth = 2F;
this.xrPictureBox2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Photo")});
this.xrPictureBox2.Dpi = 100F;
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 10.00001F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(154.5417F, 205F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.xrPictureBox2.StylePriority.UseBorderColor = false;
this.xrPictureBox2.StylePriority.UseBorders = false;
this.xrPictureBox2.StylePriority.UseBorderWidth = false;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo1,
this.xrPageInfo2});
this.bottomMarginBand1.Dpi = 100F;
this.bottomMarginBand1.HeightF = 127.0833F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.Employee);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.ReportHeader.Dpi = 100F;
this.ReportHeader.HeightF = 41F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable1
//
this.xrTable1.Dpi = 100F;
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(647.9999F, 28.125F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell3});
this.xrTableRow1.Dpi = 100F;
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Dpi = 100F;
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Employee List";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.79745375929065565D;
//
// xrTableCell2
//
this.xrTableCell2.Dpi = 100F;
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Weight = 0.036651192371484773D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell3.Dpi = 100F;
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.Weight = 2.1658950483378594D;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.ReportHeader1});
this.DetailReport.DataMember = "Evaluations";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Dpi = 100F;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable5});
this.Detail.Dpi = 100F;
this.Detail.HeightF = 85.5F;
this.Detail.KeepTogether = true;
this.Detail.Name = "Detail";
//
// xrTable5
//
this.xrTable5.Dpi = 100F;
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 19.875F);
this.xrTable5.Name = "xrTable5";
this.xrTable5.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 2, 0, 100F);
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow3,
this.xrTableRow4});
this.xrTable5.SizeF = new System.Drawing.SizeF(647.9999F, 65.625F);
this.xrTable5.StylePriority.UsePadding = false;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell8});
this.xrTableRow3.Dpi = 100F;
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 0.52857141212930436D;
//
// xrTableCell7
//
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Evaluations.CreatedOn", "{0:MM/dd/yyyy}")});
this.xrTableCell7.Dpi = 100F;
this.xrTableCell7.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.Weight = 0.83410493056778723D;
//
// xrTableCell8
//
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Evaluations.Subject")});
this.xrTableCell8.Dpi = 100F;
this.xrTableCell8.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.StylePriority.UseFont = false;
this.xrTableCell8.Weight = 2.1658950694322128D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell9,
this.xrTableCell10});
this.xrTableRow4.Dpi = 100F;
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 0.37142861926020571D;
//
// xrTableCell9
//
this.xrTableCell9.Dpi = 100F;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Weight = 0.83410493056778723D;
//
// xrTableCell10
//
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Evaluations.Details")});
this.xrTableCell10.Dpi = 100F;
this.xrTableCell10.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.StylePriority.UseFont = false;
this.xrTableCell10.Weight = 2.1658950694322128D;
//
// ReportHeader1
//
this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable4});
this.ReportHeader1.Dpi = 100F;
this.ReportHeader1.HeightF = 28.125F;
this.ReportHeader1.Name = "ReportHeader1";
//
// xrTable4
//
this.xrTable4.Dpi = 100F;
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable4.SizeF = new System.Drawing.SizeF(647.9999F, 28.125F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell5,
this.xrTableCell6});
this.xrTableRow2.Dpi = 100F;
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1D;
//
// xrTableCell4
//
this.xrTableCell4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell4.Dpi = 100F;
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.ForeColor = System.Drawing.Color.White;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell4.StylePriority.UseBackColor = false;
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Employee Evaluations";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell4.Weight = 0.79745375929065565D;
//
// xrTableCell5
//
this.xrTableCell5.Dpi = 100F;
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Weight = 0.036651192371484773D;
//
// xrTableCell6
//
this.xrTableCell6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell6.Dpi = 100F;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.StylePriority.UseBackColor = false;
this.xrTableCell6.Weight = 2.1658950483378594D;
//
// paramEvaluations
//
this.paramEvaluations.Description = "Evaluations";
this.paramEvaluations.Name = "paramEvaluations";
this.paramEvaluations.Type = typeof(bool);
this.paramEvaluations.ValueInfo = "True";
this.paramEvaluations.Visible = false;
//
// GroupHeader1
//
this.GroupHeader1.Dpi = 100F;
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("LastName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.HeightF = 0F;
this.GroupHeader1.Name = "GroupHeader1";
//
// xrPageInfo1
//
this.xrPageInfo1.Dpi = 100F;
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 9.999974F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// xrPageInfo2
//
this.xrPageInfo2.Dpi = 100F;
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(411.524F, 9.999974F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(236.4759F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UsePadding = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// EmployeeProfile
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.DetailReport,
this.GroupHeader1});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 100, 128, 127);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramEvaluations});
this.Version = "16.2";
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliiv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MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,529 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class EmployeeSummary : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow10;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableCell xrTableCell3;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRLine xrLine1;
private XtraReports.Parameters.Parameter paramAscending;
private XtraReports.UI.GroupHeaderBand GroupHeader1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
public EmployeeSummary() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeSummary));
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramAscending = new DevExpress.XtraReports.Parameters.Parameter();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2});
this.topMarginBand1.Dpi = 100F;
this.topMarginBand1.HeightF = 125F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox2
//
this.xrPictureBox2.Dpi = 100F;
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(470.8333F, 52.08333F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1,
this.xrPictureBox1});
this.detailBand1.Dpi = 100F;
this.detailBand1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.detailBand1.HeightF = 256F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("FirstName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.detailBand1.StylePriority.UseFont = false;
this.detailBand1.StylePriority.UseForeColor = false;
//
// xrTable1
//
this.xrTable1.Dpi = 100F;
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(179.8967F, 17.82827F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1,
this.xrTableRow2,
this.xrTableRow4,
this.xrTableRow3,
this.xrTableRow5,
this.xrTableRow6,
this.xrTableRow7,
this.xrTableRow8,
this.xrTableRow9});
this.xrTable1.SizeF = new System.Drawing.SizeF(461.77F, 217.2385F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1});
this.xrTableRow1.Dpi = 100F;
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 0.63958756585072929D;
//
// xrTableCell1
//
this.xrTableCell1.CanGrow = false;
this.xrTableCell1.Dpi = 100F;
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "[Prefix]. [FullName]";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableCell1.Weight = 3D;
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell2});
this.xrTableRow2.Dpi = 100F;
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 0.4068930757754366D;
//
// xrTableCell2
//
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Title")});
this.xrTableCell2.Dpi = 100F;
this.xrTableCell2.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UseForeColor = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableCell2.Weight = 3D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5});
this.xrTableRow4.Dpi = 100F;
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 0.47679215639238742D;
//
// xrTableCell5
//
this.xrTableCell5.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLine1});
this.xrTableCell5.Dpi = 100F;
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Weight = 3D;
//
// xrLine1
//
this.xrLine1.Dpi = 100F;
this.xrLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 3.973643E-05F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(461.77F, 32.59834F);
this.xrLine1.StylePriority.UseForeColor = false;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell3});
this.xrTableRow3.Dpi = 100F;
this.xrTableRow3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.StylePriority.UseForeColor = false;
this.xrTableRow3.Weight = 0.27799953466570859D;
//
// xrTableCell4
//
this.xrTableCell4.CanGrow = false;
this.xrTableCell4.Dpi = 100F;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseBorderColor = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.Text = "HOME ADDRESS";
this.xrTableCell4.Weight = 1.4636767710884846D;
//
// xrTableCell3
//
this.xrTableCell3.CanGrow = false;
this.xrTableCell3.Dpi = 100F;
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Text = "PHONE";
this.xrTableCell3.Weight = 1.5363232289115154D;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6,
this.xrTableCell7});
this.xrTableRow5.Dpi = 100F;
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.Weight = 0.27270867469998472D;
//
// xrTableCell6
//
this.xrTableCell6.CanGrow = false;
this.xrTableCell6.Dpi = 100F;
this.xrTableCell6.Multiline = true;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.RowSpan = 2;
this.xrTableCell6.Text = "[Address.Line]\r\n[Address.CityLine]";
this.xrTableCell6.Weight = 1.4636768842199621D;
this.xrTableCell6.WordWrap = false;
//
// xrTableCell7
//
this.xrTableCell7.CanGrow = false;
this.xrTableCell7.Dpi = 100F;
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UsePadding = false;
this.xrTableCell7.Text = "[MobilePhone] (Mobile)";
this.xrTableCell7.Weight = 1.5363231157800379D;
this.xrTableCell7.WordWrap = false;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell8,
this.xrTableCell9});
this.xrTableRow6.Dpi = 100F;
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 0.296050406027006D;
//
// xrTableCell8
//
this.xrTableCell8.CanGrow = false;
this.xrTableCell8.Dpi = 100F;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Text = "xrTableCell8";
this.xrTableCell8.Weight = 1.4636768842199621D;
//
// xrTableCell9
//
this.xrTableCell9.CanGrow = false;
this.xrTableCell9.Dpi = 100F;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Text = "[HomePhone] (Home)";
this.xrTableCell9.Weight = 1.5363231157800379D;
this.xrTableCell9.WordWrap = false;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10});
this.xrTableRow7.Dpi = 100F;
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.Weight = 0.20932491335747283D;
//
// xrTableCell10
//
this.xrTableCell10.Dpi = 100F;
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Weight = 3D;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12,
this.xrTableCell11});
this.xrTableRow8.Dpi = 100F;
this.xrTableRow8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.StylePriority.UseForeColor = false;
this.xrTableRow8.Weight = 0.27782294316403405D;
//
// xrTableCell12
//
this.xrTableCell12.Dpi = 100F;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Text = "EMAIL";
this.xrTableCell12.Weight = 1.4636771502088639D;
//
// xrTableCell11
//
this.xrTableCell11.Dpi = 100F;
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Text = "SKYPE";
this.xrTableCell11.Weight = 1.5363228497911361D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell13,
this.xrTableCell14});
this.xrTableRow9.Dpi = 100F;
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 0.32020800489844209D;
//
// xrTableCell13
//
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Email")});
this.xrTableCell13.Dpi = 100F;
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Weight = 1.4636770897901221D;
//
// xrTableCell14
//
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Skype")});
this.xrTableCell14.Dpi = 100F;
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.Weight = 1.5363229102098779D;
//
// xrPictureBox1
//
this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Photo")});
this.xrPictureBox1.Dpi = 100F;
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(7.65625F, 19.91159F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(152.3728F, 208.25F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Dpi = 100F;
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 102F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.Dpi = 100F;
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(405.1908F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(236.4759F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UsePadding = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.Dpi = 100F;
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.Employee);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2});
this.ReportHeader.Dpi = 100F;
this.ReportHeader.HeightF = 30F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable2
//
this.xrTable2.Dpi = 100F;
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
this.xrTable2.SizeF = new System.Drawing.SizeF(641.6667F, 29.69642F);
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15,
this.xrTableCell16,
this.xrTableCell17});
this.xrTableRow10.Dpi = 100F;
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 1D;
//
// xrTableCell15
//
this.xrTableCell15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell15.Dpi = 100F;
this.xrTableCell15.Font = new System.Drawing.Font("Segoe UI", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell15.ForeColor = System.Drawing.Color.White;
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
this.xrTableCell15.StylePriority.UseBackColor = false;
this.xrTableCell15.StylePriority.UseFont = false;
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.StylePriority.UsePadding = false;
this.xrTableCell15.StylePriority.UseTextAlignment = false;
this.xrTableCell15.Text = "Employee List";
this.xrTableCell15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell15.Weight = 0.7808441558441559D;
//
// xrTableCell16
//
this.xrTableCell16.Dpi = 100F;
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Weight = 0.043932629870129913D;
//
// xrTableCell17
//
this.xrTableCell17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrTableCell17.Dpi = 100F;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.StylePriority.UseBackColor = false;
this.xrTableCell17.Weight = 2.1752232142857144D;
//
// paramAscending
//
this.paramAscending.Description = "Ascending";
this.paramAscending.Name = "paramAscending";
this.paramAscending.Type = typeof(bool);
this.paramAscending.ValueInfo = "True";
this.paramAscending.Visible = false;
//
// GroupHeader1
//
this.GroupHeader1.Dpi = 100F;
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("LastName", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.HeightF = 0F;
this.GroupHeader1.Name = "GroupHeader1";
//
// EmployeeSummary
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.GroupHeader1});
this.DataSource = this.bindingSource1;
this.Margins = new System.Drawing.Printing.Margins(104, 104, 125, 102);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramAscending});
this.Version = "16.2";
this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.EmployeeSummary_BeforePrint);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void EmployeeSummary_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
if(Equals(true, paramAscending.Value)) {
this.detailBand1.SortFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Ascending;
this.GroupHeader1.GroupFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Ascending;
} else {
this.detailBand1.SortFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Descending;
this.GroupHeader1.GroupFields[0].SortOrder = XtraReports.UI.XRColumnSortOrder.Descending;
}
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5
QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk
n16kiV6kzhpt89qLAMhGAHkYQHye0Gtp9RoVVIx/lF5kPYCkqiSX8p1VNQyvTpJ/FoCoVC2tPiQAyVO9
yBnWGHMvAiAP0ns8DxyDVZKWVt8TkLxWUTfrBQBxvdsBHLmO6qmH6T1mA4he2tXquwKQOnqR0+W1M6e0
9CIAcs/Iulm7o21xw40gLa2+rIKKcZvpRV4MC49IZmIeRu/RSO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JaGzj+lj2ibKo6TAApBZAPFCBPA4jK6XoBSRKQrFKQ7Nk0r8DjxzrSEyOsB1eW
XaIgOfj2z0a4NmMCSBKAHASO01vnFwX1pSuXSqrq8rlwDe4Xsoctw4XdLX9z42+wJSS1+2ZhDwEyH0Bc
XTyQXEiD9nkLvy/2FRBRUsrAIq7V697KEcvQKrvQsUCFWyYVxScAx13SGPcvd7z30KU5XTvZ9aLsFGv2
4QecTQDyJYA8pZJNSk2I6A8k2xUkb9GTWCLCQqKBY5GkAchnABI8kt1VUlmXxgWUHqKtOUlPeT83/LuM
ozscZ3Y3IMCxEjhMP3cDIFYa9Apv8YHaT0BkqPUtjvP6A34AshFAjFVK4JCh1QwFx8k1l+TcahQSZAGI
PD2/QM779yX2A0ByjspyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,860 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraReports.UI;
using System.Reflection;
using System.Drawing;
namespace DevExpress.DevAV.Reports {
public class EmployeeTaskList : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTable xrTable4;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableCell xrTableCell22;
private XtraReports.UI.XRTableCell xrTableCell24;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell19;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.XRTableCell xrTableCell21;
private XtraReports.UI.XRTableCell xrTableCell23;
private XtraReports.UI.XRTableCell xrTableCell25;
private XtraReports.UI.XRLabel xrLabel2;
private XtraReports.UI.XRTable xrTable3;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.XRLabel xrLabel1;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.GroupHeaderBand GroupHeader1;
private XtraReports.UI.XRLabel xrLabel3;
private XtraReports.UI.CalculatedField statusCompleted;
private XtraReports.UI.CalculatedField statusNotStarted;
private XtraReports.UI.CalculatedField statusInProgress;
private XtraReports.UI.CalculatedField statusNeedAssistance;
private XtraReports.UI.CalculatedField statusDeferred;
private XtraReports.Parameters.Parameter paramDueDate;
private XRTableRow xrTableRow8;
private XRTableCell xrTableCell26;
private GroupFooterBand GroupFooter1;
private XRTableCell xrTableCell29;
private XRTable xrTable5;
private XRTableRow xrTableRow9;
private XRTableCell xrTableCell27;
private XRTableCell xrTableCell28;
private XtraReports.UI.XRTableCell xrTableCell3;
private Color foreCellColor = System.Drawing.Color.FromArgb(221, 128, 71);
private Color backCellColor = System.Drawing.Color.FromArgb(223, 223, 223);
public EmployeeTaskList() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EmployeeTaskList));
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.statusCompleted = new DevExpress.XtraReports.UI.CalculatedField();
this.statusNotStarted = new DevExpress.XtraReports.UI.CalculatedField();
this.statusInProgress = new DevExpress.XtraReports.UI.CalculatedField();
this.statusNeedAssistance = new DevExpress.XtraReports.UI.CalculatedField();
this.statusDeferred = new DevExpress.XtraReports.UI.CalculatedField();
this.paramDueDate = new DevExpress.XtraReports.Parameters.Parameter();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.Dpi = 100F;
this.topMarginBand1.HeightF = 119F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox1
//
this.xrPictureBox1.Dpi = 100F;
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(473.9583F, 51F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable4,
this.xrLabel2,
this.xrTable3,
this.xrLabel1});
this.detailBand1.Dpi = 100F;
this.detailBand1.HeightF = 179.1667F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("DueDate", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrTable4
//
this.xrTable4.Dpi = 100F;
this.xrTable4.KeepTogether = true;
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 118.875F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6,
this.xrTableRow7,
this.xrTableRow8});
this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 56.87504F);
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15,
this.xrTableCell17,
this.xrTableCell18,
this.xrTableCell22,
this.xrTableCell24});
this.xrTableRow6.Dpi = 100F;
this.xrTableRow6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.StylePriority.UseForeColor = false;
this.xrTableRow6.Weight = 0.47773577312723148D;
//
// xrTableCell15
//
this.xrTableCell15.Dpi = 100F;
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.Padding = new DevExpress.XtraPrinting.PaddingInfo(17, 0, 0, 0, 100F);
this.xrTableCell15.StylePriority.UseFont = false;
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.StylePriority.UsePadding = false;
this.xrTableCell15.Text = "DUE DATE";
this.xrTableCell15.Weight = 0.60771602766636823D;
//
// xrTableCell17
//
this.xrTableCell17.Dpi = 100F;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
this.xrTableCell17.StylePriority.UseForeColor = false;
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.Text = "ASSIGNED TO";
this.xrTableCell17.Weight = 0.62980608396886717D;
//
// xrTableCell18
//
this.xrTableCell18.Dpi = 100F;
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
this.xrTableCell18.StylePriority.UsePadding = false;
this.xrTableCell18.Text = "OWNER";
this.xrTableCell18.Weight = 0.58008992577285823D;
//
// xrTableCell22
//
this.xrTableCell22.Dpi = 100F;
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
this.xrTableCell22.StylePriority.UsePadding = false;
this.xrTableCell22.Text = "PERCENT COMPLETE";
this.xrTableCell22.Weight = 0.70420532486194742D;
//
// xrTableCell24
//
this.xrTableCell24.Dpi = 100F;
this.xrTableCell24.Name = "xrTableCell24";
this.xrTableCell24.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 4, 0, 0, 100F);
this.xrTableCell24.StylePriority.UsePadding = false;
this.xrTableCell24.StylePriority.UseTextAlignment = false;
this.xrTableCell24.Text = "PRIORITY";
this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell24.Weight = 0.47818263772995884D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19,
this.xrTableCell20,
this.xrTableCell21,
this.xrTableCell29,
this.xrTableCell23,
this.xrTableCell25});
this.xrTableRow7.Dpi = 100F;
this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.StylePriority.UseFont = false;
this.xrTableRow7.Weight = 0.51902317711285439D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DueDate", "{0:d}")});
this.xrTableCell19.Dpi = 100F;
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(17, 0, 0, 0, 100F);
this.xrTableCell19.StylePriority.UseFont = false;
this.xrTableCell19.StylePriority.UsePadding = false;
this.xrTableCell19.Text = "12/17/2013";
this.xrTableCell19.Weight = 0.60771602766636823D;
//
// xrTableCell20
//
this.xrTableCell20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AssignedEmployee.FullName")});
this.xrTableCell20.Dpi = 100F;
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
this.xrTableCell20.StylePriority.UsePadding = false;
this.xrTableCell20.Text = "John Hansen";
this.xrTableCell20.Weight = 0.62980636210376506D;
//
// xrTableCell21
//
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Owner.FullName")});
this.xrTableCell21.Dpi = 100F;
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
this.xrTableCell21.StylePriority.UsePadding = false;
this.xrTableCell21.Text = "Jane Mitchell";
this.xrTableCell21.Weight = 0.58008964763796045D;
//
// xrTableCell29
//
this.xrTableCell29.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable5});
this.xrTableCell29.Dpi = 100F;
this.xrTableCell29.Name = "xrTableCell29";
this.xrTableCell29.Weight = 0.45716576339251214D;
//
// xrTable5
//
this.xrTable5.Dpi = 100F;
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0.6603699F, 0.5649395F);
this.xrTable5.Name = "xrTable5";
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9});
this.xrTable5.SizeF = new System.Drawing.SizeF(98.29703F, 21.14342F);
this.xrTable5.StylePriority.UseBackColor = false;
this.xrTable5.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrTable5_BeforePrint);
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell27,
this.xrTableCell28});
this.xrTableRow9.Dpi = 100F;
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.StylePriority.UseBackColor = false;
this.xrTableRow9.Weight = 1.1127532331207841D;
//
// xrTableCell27
//
this.xrTableCell27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell27.Dpi = 100F;
this.xrTableCell27.Name = "xrTableCell27";
this.xrTableCell27.StylePriority.UseBackColor = false;
this.xrTableCell27.Weight = 2.0581720288001661D;
//
// xrTableCell28
//
this.xrTableCell28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(223)))), ((int)(((byte)(223)))));
this.xrTableCell28.Dpi = 100F;
this.xrTableCell28.Name = "xrTableCell28";
this.xrTableCell28.StylePriority.UseBackColor = false;
this.xrTableCell28.Weight = 1.0526127860750871D;
//
// xrTableCell23
//
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Completion", "{0:D}%")});
this.xrTableCell23.Dpi = 100F;
this.xrTableCell23.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(4, 0, 0, 0, 100F);
this.xrTableCell23.StylePriority.UseBackColor = false;
this.xrTableCell23.StylePriority.UseFont = false;
this.xrTableCell23.StylePriority.UseForeColor = false;
this.xrTableCell23.StylePriority.UsePadding = false;
this.xrTableCell23.Text = "xrTableCell23";
this.xrTableCell23.Weight = 0.2470395614694352D;
//
// xrTableCell25
//
this.xrTableCell25.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Priority")});
this.xrTableCell25.Dpi = 100F;
this.xrTableCell25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell25.Name = "xrTableCell25";
this.xrTableCell25.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 4, 0, 0, 100F);
this.xrTableCell25.StylePriority.UseForeColor = false;
this.xrTableCell25.StylePriority.UsePadding = false;
this.xrTableCell25.StylePriority.UseTextAlignment = false;
this.xrTableCell25.Text = "High";
this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell25.Weight = 0.47818263772995884D;
//
// xrTableRow8
//
this.xrTableRow8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableRow8.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell26});
this.xrTableRow8.Dpi = 100F;
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.StylePriority.UseBorderColor = false;
this.xrTableRow8.StylePriority.UseBorders = false;
this.xrTableRow8.Weight = 0.37321935108531673D;
//
// xrTableCell26
//
this.xrTableCell26.Dpi = 100F;
this.xrTableCell26.Name = "xrTableCell26";
this.xrTableCell26.Weight = 3D;
//
// xrLabel2
//
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Description")});
this.xrLabel2.Dpi = 100F;
this.xrLabel2.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel2.KeepTogether = true;
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(125F, 63.50003F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(342.7083F, 41.72905F);
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.StylePriority.UsePadding = false;
this.xrLabel2.Text = "Artwork is ready. The printers address is 100 Main Rd. We need to see the proofs" +
" before we go to print.";
//
// xrTable3
//
this.xrTable3.Dpi = 100F;
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 63.66668F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(17, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow4,
this.xrTableRow5});
this.xrTable3.SizeF = new System.Drawing.SizeF(109.6389F, 40.625F);
this.xrTable3.StylePriority.UsePadding = false;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell14});
this.xrTableRow4.Dpi = 100F;
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 0.79591859610841031D;
//
// xrTableCell14
//
this.xrTableCell14.Dpi = 100F;
this.xrTableCell14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseForeColor = false;
this.xrTableCell14.Text = "START DATE";
this.xrTableCell14.Weight = 3D;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16});
this.xrTableRow5.Dpi = 100F;
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.Weight = 0.79591820772148691D;
//
// xrTableCell16
//
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "StartDate", "{0:d}")});
this.xrTableCell16.Dpi = 100F;
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Text = "12/15/2013";
this.xrTableCell16.Weight = 3D;
//
// xrLabel1
//
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Subject")});
this.xrLabel1.Dpi = 100F;
this.xrLabel1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(17, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(649.4167F, 22.91667F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UsePadding = false;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Dpi = 100F;
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 100F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.Dpi = 100F;
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(425F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(225F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UsePadding = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.Dpi = 100F;
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.EmployeeTask);
//
// xrTable1
//
this.xrTable1.Dpi = 100F;
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 8F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 29.69642F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell3});
this.xrTableRow1.Dpi = 100F;
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.StylePriority.UseTextAlignment = false;
this.xrTableRow1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableRow1.Weight = 1D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Dpi = 100F;
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Tasks";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.80032469757233127D;
//
// xrTableCell2
//
this.xrTableCell2.Dpi = 100F;
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Weight = 0.024452088141954528D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrTableCell3.Dpi = 100F;
this.xrTableCell3.Font = new System.Drawing.Font("Segoe UI", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 8, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Grouped by Status | Sorted by Due Date";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell3.Weight = 2.2141840142121296D;
//
// xrTable2
//
this.xrTable2.Dpi = 100F;
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 53.70834F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2,
this.xrTableRow3});
this.xrTable2.SizeF = new System.Drawing.SizeF(648.9583F, 127.0417F);
this.xrTable2.StylePriority.UseBorders = false;
this.xrTable2.StylePriority.UseTextAlignment = false;
this.xrTable2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell5,
this.xrTableCell7,
this.xrTableCell8,
this.xrTableCell6});
this.xrTableRow2.Dpi = 100F;
this.xrTableRow2.Font = new System.Drawing.Font("Tw Cen MT", 48F);
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.StylePriority.UseFont = false;
this.xrTableRow2.StylePriority.UseTextAlignment = false;
this.xrTableRow2.Weight = 0.85978427633148291D;
//
// xrTableCell4
//
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusNotStarted")});
this.xrTableCell4.Dpi = 100F;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Weight = 1D;
this.xrTableCell4.WordWrap = false;
//
// xrTableCell5
//
this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusInProgress")});
this.xrTableCell5.Dpi = 100F;
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Weight = 1D;
this.xrTableCell5.WordWrap = false;
//
// xrTableCell7
//
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusCompleted")});
this.xrTableCell7.Dpi = 100F;
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Weight = 1D;
this.xrTableCell7.WordWrap = false;
//
// xrTableCell8
//
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusNeedAssistance")});
this.xrTableCell8.Dpi = 100F;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Weight = 1D;
this.xrTableCell8.WordWrap = false;
//
// xrTableCell6
//
this.xrTableCell6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "statusDeferred")});
this.xrTableCell6.Dpi = 100F;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Weight = 1D;
this.xrTableCell6.WordWrap = false;
//
// xrTableRow3
//
this.xrTableRow3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableRow3.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell9,
this.xrTableCell10,
this.xrTableCell11,
this.xrTableCell12,
this.xrTableCell13});
this.xrTableRow3.Dpi = 100F;
this.xrTableRow3.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(175)))), ((int)(((byte)(175)))), ((int)(((byte)(175)))));
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.StylePriority.UseBorderColor = false;
this.xrTableRow3.StylePriority.UseBorders = false;
this.xrTableRow3.StylePriority.UseFont = false;
this.xrTableRow3.StylePriority.UseForeColor = false;
this.xrTableRow3.StylePriority.UseTextAlignment = false;
this.xrTableRow3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableRow3.Weight = 0.45565506988697951D;
//
// xrTableCell9
//
this.xrTableCell9.Dpi = 100F;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Text = "NOT STARTED";
this.xrTableCell9.Weight = 1D;
//
// xrTableCell10
//
this.xrTableCell10.Dpi = 100F;
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Text = "IN PROGRESS";
this.xrTableCell10.Weight = 1D;
//
// xrTableCell11
//
this.xrTableCell11.Dpi = 100F;
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Text = "COMPLETED";
this.xrTableCell11.Weight = 1D;
//
// xrTableCell12
//
this.xrTableCell12.Dpi = 100F;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Text = "ASSISTANCE";
this.xrTableCell12.Weight = 1D;
//
// xrTableCell13
//
this.xrTableCell13.Dpi = 100F;
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Text = "DEFERRED";
this.xrTableCell13.Weight = 1D;
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2,
this.xrTable1});
this.ReportHeader.Dpi = 100F;
this.ReportHeader.HeightF = 205.2082F;
this.ReportHeader.Name = "ReportHeader";
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel3});
this.GroupHeader1.Dpi = 100F;
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Status", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.HeightF = 26.04167F;
this.GroupHeader1.Name = "GroupHeader1";
//
// xrLabel3
//
this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Status")});
this.xrLabel3.Dpi = 100F;
this.xrLabel3.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(648.9583F, 26.04167F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseForeColor = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomCenter;
this.xrLabel3.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel3_BeforePrint);
//
// statusCompleted
//
this.statusCompleted.Expression = "[][ToStr([Status]) = \'Completed\'].Count()";
this.statusCompleted.FieldType = DevExpress.XtraReports.UI.FieldType.Int32;
this.statusCompleted.Name = "statusCompleted";
//
// statusNotStarted
//
this.statusNotStarted.Expression = "[][ToStr([Status]) = \'NotStarted\'].Count()";
this.statusNotStarted.FieldType = DevExpress.XtraReports.UI.FieldType.Int32;
this.statusNotStarted.Name = "statusNotStarted";
//
// statusInProgress
//
this.statusInProgress.Expression = "[][ToStr([Status]) = \'InProgress\'].Count()";
this.statusInProgress.FieldType = DevExpress.XtraReports.UI.FieldType.Int32;
this.statusInProgress.Name = "statusInProgress";
//
// statusNeedAssistance
//
this.statusNeedAssistance.Expression = "[][ToStr([Status]) = \'NeedAssistance\'].Count()";
this.statusNeedAssistance.FieldType = DevExpress.XtraReports.UI.FieldType.Int32;
this.statusNeedAssistance.Name = "statusNeedAssistance";
//
// statusDeferred
//
this.statusDeferred.Expression = "[][ToStr([Status]) = \'Deferred\'].Count()";
this.statusDeferred.FieldType = DevExpress.XtraReports.UI.FieldType.Int32;
this.statusDeferred.Name = "statusDeferred";
//
// paramDueDate
//
this.paramDueDate.Description = "DueDate";
this.paramDueDate.Name = "paramDueDate";
this.paramDueDate.Type = typeof(bool);
this.paramDueDate.ValueInfo = "True";
this.paramDueDate.Visible = false;
//
// GroupFooter1
//
this.GroupFooter1.Dpi = 100F;
this.GroupFooter1.HeightF = 0F;
this.GroupFooter1.Name = "GroupFooter1";
this.GroupFooter1.PageBreak = DevExpress.XtraReports.UI.PageBreak.AfterBand;
//
// EmployeeTaskList
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.GroupHeader1,
this.GroupFooter1});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.statusCompleted,
this.statusNotStarted,
this.statusInProgress,
this.statusNeedAssistance,
this.statusDeferred});
this.DataSource = this.bindingSource1;
this.DesignerOptions.ShowExportWarnings = false;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 100, 119, 100);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramDueDate});
this.SnappingMode = DevExpress.XtraReports.UI.SnappingMode.SnapToGrid;
this.Version = "16.2";
this.DataSourceDemanded += new System.EventHandler<System.EventArgs>(this.EmployeeTaskList_DataSourceDemanded);
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void EmployeeTaskList_DataSourceDemanded(object sender, EventArgs e) {
if(Equals(true, paramDueDate.Value)) {
xrTableCell3.Text = "Grouped by Status | Sorted by Due Date";
this.detailBand1.SortFields[0].FieldName = "DueDate";
} else {
xrTableCell3.Text = "Grouped by Status | Sorted by Start Date";
this.detailBand1.SortFields[0].FieldName = "StartDate";
}
}
private void xrTable5_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
XRTable table = sender as XRTable;
if(table == null) return;
int completion = (int)this.GetCurrentColumnValue("Completion");
switch(completion) {
case 0:
SetCellsColor(table, backCellColor, backCellColor);
break;
case 100:
SetCellsColor(table, foreCellColor, foreCellColor);
break;
default:
SetCellsColor(table, foreCellColor, backCellColor);
table.Rows[0].Cells[0].WidthF = table.WidthF * ((float)completion / 100);
break;
}
}
void SetCellsColor(XRTable table, Color color1, Color color2) {
table.Rows[0].Cells[0].BackColor = color1;
table.Rows[0].Cells[1].BackColor = color2;
}
private void xrLabel3_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
EmployeeTaskStatus currentStatus = (EmployeeTaskStatus)this.GetCurrentColumnValue("Status");
(sender as XRLabel).Text = "STATUS: " + EnumDisplayTextHelper.GetDisplayText(currentStatus).ToUpper();
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaS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if4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace DevExpress.DevAV.Reports {
static class EnumDisplayTextHelper {
public static string GetDisplayText(object value) {
MemberInfo[] info = value.GetType().GetMember(value.ToString());
object[] attributes = info[0].GetCustomAttributes(false);
for(int i = 0; i < attributes.Length; i++) {
Type attributeType = attributes[i].GetType();
if(attributeType == typeof(System.ComponentModel.DataAnnotations.DisplayAttribute))
return (string)attributeType.GetProperty("Name").GetValue(attributes[i], null) ?? string.Empty;
}
return value.ToString();
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1,19 @@
using DevExpress.XtraReports.Parameters;
using System;
namespace DevExpress.DevAV.Reports {
static class ParameterHelper {
public static void InitializeDateTimeParameters(Parameter fromDate, Parameter toDate) {
int currentYear = DateTime.Now.Year;
int currentMonth = DateTime.Now.Month;
fromDate.Value = new DateTime(currentYear - 2, currentMonth, 1);
toDate.Value = new DateTime(currentYear, currentMonth, 1);
}
public static void InitializeMultiValueDateParameter(Parameter param) {
int currentYear = DateTime.Now.Year;
param.Value = string.Join(",", currentYear - 2, currentYear - 1, currentYear);
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5
QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk
n16kiV6kzhpt89qLAMhGAHkYQHye0Gtp9RoVVIx/lF5kPYCkqiSX8p1VNQyv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wCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,481 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class ProductProfile : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.UI.XRTable xrTable3;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.Parameters.Parameter paramImages;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.XRLabel xrLabel1;
private XtraReports.UI.DetailReportBand DetailReport;
private XtraReports.UI.DetailBand Detail;
private XtraReports.UI.XRBarCode xrBarCode1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
public ProductProfile() {
InitializeComponent();
BeforePrint += ProductProfile_BeforePrint;
}
private void ProductProfile_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
SetShowImages((bool)Parameters["paramImages"].Value);
}
public void SetShowImages(bool show) {
if(DetailReport.Visible != show) DetailReport.Visible = show;
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductProfile));
DevExpress.XtraPrinting.BarCode.QRCodeGenerator qrCodeGenerator1 = new DevExpress.XtraPrinting.BarCode.QRCodeGenerator();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramImages = new DevExpress.XtraReports.Parameters.Parameter();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.xrBarCode1 = new DevExpress.XtraReports.UI.XRBarCode();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2});
this.topMarginBand1.HeightF = 136.7939F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox2
//
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(470.8333F, 52.08333F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.detailBand1.HeightF = 0F;
this.detailBand1.MultiColumn.ColumnCount = 4;
this.detailBand1.Name = "detailBand1";
this.detailBand1.StylePriority.UseFont = false;
this.detailBand1.StylePriority.UseForeColor = false;
//
// xrPictureBox1
//
this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Images.Picture.Data")});
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(156.25F, 145.9167F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 102F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.Product);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel1,
this.xrTable3,
this.xrTable1,
this.xrTable2,
this.xrBarCode1});
this.ReportHeader.HeightF = 408.5997F;
this.ReportHeader.Name = "ReportHeader";
//
// xrLabel1
//
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Description")});
this.xrLabel1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 312.4583F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(641.6667F, 96.14142F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "xrLabel1";
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(172.5001F, 43F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow8,
this.xrTableRow7,
this.xrTableRow3,
this.xrTableRow4,
this.xrTableRow5});
this.xrTable3.SizeF = new System.Drawing.SizeF(462.5F, 174.6491F);
this.xrTable3.StylePriority.UsePadding = false;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 1.6412696279040691D;
//
// xrTableCell15
//
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name")});
this.xrTableCell15.Font = new System.Drawing.Font("Segoe UI", 26.25F);
this.xrTableCell15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseFont = false;
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.Weight = 3D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell14});
this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableRow7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.StylePriority.UseFont = false;
this.xrTableRow7.StylePriority.UseForeColor = false;
this.xrTableRow7.StylePriority.UsePadding = false;
this.xrTableRow7.StylePriority.UseTextAlignment = false;
this.xrTableRow7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow7.Weight = 0.97720188876250247D;
//
// xrTableCell7
//
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Text = "LEAD ENGINEER";
this.xrTableCell7.Weight = 1.4122964395059121D;
//
// xrTableCell14
//
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseFont = false;
this.xrTableCell14.StylePriority.UseForeColor = false;
this.xrTableCell14.Text = "LEAD SUPPORT TECH";
this.xrTableCell14.Weight = 1.5877035604940879D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell8,
this.xrTableCell9});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 0.897639921474321D;
//
// xrTableCell8
//
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Engineer.FullName")});
this.xrTableCell8.Multiline = true;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Weight = 1.4122964395059121D;
//
// xrTableCell9
//
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Support.FullName")});
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Weight = 1.5877035604940879D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10,
this.xrTableCell11});
this.xrTableRow4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.StylePriority.UseForeColor = false;
this.xrTableRow4.StylePriority.UsePadding = false;
this.xrTableRow4.StylePriority.UseTextAlignment = false;
this.xrTableRow4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow4.Weight = 0.59861193158800252D;
//
// xrTableCell10
//
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Text = "CURRENT INVENTORY";
this.xrTableCell10.Weight = 1.4122964395059121D;
//
// xrTableCell11
//
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Text = "IN MANUFCATURING";
this.xrTableCell11.Weight = 1.5877035604940879D;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12,
this.xrTableCell13});
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.Weight = 0.8370213138692D;
//
// xrTableCell12
//
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "CurrentInventory")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Weight = 1.4122964395059121D;
//
// xrTableCell13
//
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Manufacturing")});
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Weight = 1.5877035604940879D;
//
// xrTable1
//
this.xrTable1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 249.2435F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(641.6666F, 31.70107F);
this.xrTable1.StylePriority.UseFont = false;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.3333334941638817D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Specifications";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.63123575090946848D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 1.727367429135799D;
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable2.SizeF = new System.Drawing.SizeF(642F, 29.76803F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell5});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1.0584190458553351D;
//
// xrTableCell4
//
this.xrTableCell4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.ForeColor = System.Drawing.Color.White;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell4.StylePriority.UseBackColor = false;
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Product Profile";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell4.Weight = 0.8195229174103581D;
//
// xrTableCell5
//
this.xrTableCell5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseBackColor = false;
this.xrTableCell5.Weight = 2.1526998647195241D;
//
// paramImages
//
this.paramImages.Description = "Images";
this.paramImages.Name = "paramImages";
this.paramImages.Type = typeof(bool);
this.paramImages.ValueInfo = "True";
this.paramImages.Visible = false;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail});
this.DetailReport.DataMember = "Images";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.Detail.HeightF = 145.9167F;
this.Detail.MultiColumn.ColumnCount = 4;
this.Detail.MultiColumn.Layout = DevExpress.XtraPrinting.ColumnLayout.AcrossThenDown;
this.Detail.MultiColumn.Mode = DevExpress.XtraReports.UI.MultiColumnMode.UseColumnCount;
this.Detail.Name = "Detail";
//
// xrBarCode1
//
this.xrBarCode1.Alignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrBarCode1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Name")});
this.xrBarCode1.LocationFloat = new DevExpress.Utils.PointFloat(7.916673F, 42.72013F);
this.xrBarCode1.Module = 5F;
this.xrBarCode1.Name = "xrBarCode1";
this.xrBarCode1.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 0, 0, 100F);
this.xrBarCode1.ShowText = false;
this.xrBarCode1.SizeF = new System.Drawing.SizeF(155.48F, 136.7939F);
this.xrBarCode1.StylePriority.UseTextAlignment = false;
qrCodeGenerator1.CompactionMode = DevExpress.XtraPrinting.BarCode.QRCodeCompactionMode.Byte;
qrCodeGenerator1.Version = DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version1;
this.xrBarCode1.Symbology = qrCodeGenerator1;
this.xrBarCode1.Text = "WWW";
this.xrBarCode1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// ProductProfile
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.DetailReport});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(104, 104, 137, 102);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramImages});
this.Version = "14.1";
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkR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nbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,631 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class ProductSalesSummary : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.Parameters.Parameter paramYears;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRTable xrTable3;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRPictureBox xrPictureBox4;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.ReportFooterBand ReportFooter;
private XtraReports.UI.XRChart xrChart1;
private XtraReports.UI.XRTable xrTable8;
private XtraReports.UI.XRTableRow xrTableRow12;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableRow xrTableRow13;
private XtraReports.UI.XRTableCell xrTableCell19;
private XtraReports.UI.XRTableRow xrTableRow14;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.XRTableRow xrTableRow15;
private XtraReports.UI.XRTableCell xrTableCell21;
private XtraReports.UI.XRTableRow xrTableRow16;
private XtraReports.UI.XRTableCell xrTableCell22;
private XtraReports.UI.XRTableRow xrTableRow17;
private XtraReports.UI.XRTableCell xrTableCell23;
private XtraReports.UI.CalculatedField orderDate;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
public ProductSalesSummary() {
InitializeComponent();
ParameterHelper.InitializeMultiValueDateParameter(paramYears);
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductSalesSummary));
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram();
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel();
DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrPictureBox4 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramYears = new DevExpress.XtraReports.Parameters.Parameter();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrTable8 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrChart1 = new DevExpress.XtraReports.UI.XRChart();
this.orderDate = new DevExpress.XtraReports.UI.CalculatedField();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2});
this.topMarginBand1.HeightF = 125F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox2
//
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(470.8333F, 52.08333F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.detailBand1.HeightF = 0F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Order.OrderDate", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.detailBand1.StylePriority.UseFont = false;
this.detailBand1.StylePriority.UseForeColor = false;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 102F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.OrderItem);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable3,
this.xrPictureBox4,
this.xrTable2});
this.ReportHeader.HeightF = 225.8333F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(203.3125F, 43.67973F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow8,
this.xrTableRow7,
this.xrTableRow3});
this.xrTable3.SizeF = new System.Drawing.SizeF(429.6875F, 130.7124F);
this.xrTable3.StylePriority.UsePadding = false;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 1.3733330546061278D;
//
// xrTableCell15
//
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Name")});
this.xrTableCell15.Font = new System.Drawing.Font("Segoe UI", 26.25F);
this.xrTableCell15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseFont = false;
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.Weight = 3D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell14});
this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableRow7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.StylePriority.UseFont = false;
this.xrTableRow7.StylePriority.UseForeColor = false;
this.xrTableRow7.StylePriority.UsePadding = false;
this.xrTableRow7.StylePriority.UseTextAlignment = false;
this.xrTableRow7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow7.Weight = 1.2978654898467186D;
//
// xrTableCell7
//
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Text = "CURRENT INVENTORY";
this.xrTableCell7.Weight = 1.4122964395059123D;
//
// xrTableCell14
//
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseFont = false;
this.xrTableCell14.StylePriority.UseForeColor = false;
this.xrTableCell14.Text = "IN MANUFACTURING";
this.xrTableCell14.Weight = 1.5877035604940877D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell8,
this.xrTableCell9});
this.xrTableRow3.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.StylePriority.UseFont = false;
this.xrTableRow3.StylePriority.UseTextAlignment = false;
this.xrTableRow3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableRow3.Weight = 1.0915353464368094D;
//
// xrTableCell8
//
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.CurrentInventory")});
this.xrTableCell8.Multiline = true;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Weight = 1.4122964395059121D;
//
// xrTableCell9
//
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Manufacturing")});
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Weight = 1.5877035604940879D;
//
// xrPictureBox4
//
this.xrPictureBox4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrPictureBox4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrPictureBox4.BorderWidth = 1F;
this.xrPictureBox4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Product.ProductImage")});
this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(4.00001F, 49.40628F);
this.xrPictureBox4.Name = "xrPictureBox4";
this.xrPictureBox4.SizeF = new System.Drawing.SizeF(185.1414F, 127.9859F);
this.xrPictureBox4.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
this.xrPictureBox4.StylePriority.UseBorderColor = false;
this.xrPictureBox4.StylePriority.UseBorders = false;
this.xrPictureBox4.StylePriority.UseBorderWidth = false;
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable2.SizeF = new System.Drawing.SizeF(641.9999F, 28.71094F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell5});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 0.66666681489878932D;
//
// xrTableCell4
//
this.xrTableCell4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.ForeColor = System.Drawing.Color.White;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell4.StylePriority.UseBackColor = false;
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Product Profile";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell4.Weight = 0.94701867179278676D;
//
// xrTableCell5
//
this.xrTableCell5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseBackColor = false;
this.xrTableCell5.Weight = 2.0252039691253749D;
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(641.9999F, 28.71094F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 0.66666681489878932D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Orders";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.94701867179278676D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell2.Font = new System.Drawing.Font("Segoe UI", 11.5F);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "2011 - 2013";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 2.0252039691253749D;
//
// paramYears
//
this.paramYears.Description = "Years";
this.paramYears.Name = "paramYears";
this.paramYears.ValueInfo = "2013, 2014, 2015";
this.paramYears.Visible = false;
//
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable8,
this.xrChart1,
this.xrTable1});
this.ReportFooter.HeightF = 333.3333F;
this.ReportFooter.Name = "ReportFooter";
//
// xrTable8
//
this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(403.0465F, 81.83333F);
this.xrTable8.Name = "xrTable8";
this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow12,
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15,
this.xrTableRow16,
this.xrTableRow17});
this.xrTable8.SizeF = new System.Drawing.SizeF(238.9533F, 158.0092F);
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.77837459842722589D;
//
// xrTableCell18
//
this.xrTableCell18.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.StylePriority.UseFont = false;
this.xrTableCell18.Text = "Total orders for the [Product.Name]";
this.xrTableCell18.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 1.0424314011909091D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell19.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
xrSummary1.FormatString = "{0:$#,#}";
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell19.Summary = xrSummary1;
this.xrTableCell19.Weight = 3D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.69866359482761187D;
//
// xrTableCell20
//
this.xrTableCell20.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseFont = false;
this.xrTableCell20.Text = "Total cost of goods sold";
this.xrTableCell20.Weight = 3D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 1.1819583095512345D;
//
// xrTableCell21
//
this.xrTableCell21.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.StylePriority.UseFont = false;
xrSummary2.FormatString = "{0:$#,#;0:$#,#; - }";
xrSummary2.Func = DevExpress.XtraReports.UI.SummaryFunc.Custom;
this.xrTableCell21.Summary = xrSummary2;
this.xrTableCell21.Weight = 3D;
this.xrTableCell21.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrTableCell21_BeforePrint);
//
// xrTableRow16
//
this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell22});
this.xrTableRow16.Name = "xrTableRow16";
this.xrTableRow16.Weight = 0.65786547518207683D;
//
// xrTableCell22
//
this.xrTableCell22.CanGrow = false;
this.xrTableCell22.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.StylePriority.UseFont = false;
this.xrTableCell22.Text = "Total units sold ";
this.xrTableCell22.Weight = 3D;
//
// xrTableRow17
//
this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow17.Name = "xrTableRow17";
this.xrTableRow17.Weight = 1.0400433368797812D;
//
// xrTableCell23
//
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductUnits")});
this.xrTableCell23.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.StylePriority.UseFont = false;
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell23.Summary = xrSummary3;
this.xrTableCell23.Weight = 3D;
//
// xrChart1
//
this.xrChart1.BorderColor = System.Drawing.Color.Black;
this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
simpleDiagram1.EqualPieSize = false;
this.xrChart1.Diagram = simpleDiagram1;
this.xrChart1.EmptyChartText.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrChart1.EmptyChartText.Text = "\r\n";
this.xrChart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Center;
this.xrChart1.Legend.EnableAntialiasing = Utils.DefaultBoolean.True;
this.xrChart1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
this.xrChart1.Legend.EquallySpacedItems = false;
this.xrChart1.Legend.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrChart1.Legend.MarkerSize = new System.Drawing.Size(20, 20);
this.xrChart1.Legend.Padding.Left = 30;
this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.71097F);
this.xrChart1.Name = "xrChart1";
series1.ArgumentDataMember = "orderDate";
series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Qualitative;
pieSeriesLabel1.TextPattern = "{V:$#,#}";
series1.Label = pieSeriesLabel1;
series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False;
series1.LegendTextPattern = "{A}: {V:$#,#}\n";
series1.Name = "Series 1";
series1.QualitativeSummaryOptions.SummaryFunction = "SUM([Total])";
series1.SynchronizePointOptions = false;
pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
pieSeriesView1.RuntimeExploding = false;
pieSeriesView1.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
series1.View = pieSeriesView1;
this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
series1};
this.xrChart1.SeriesTemplate.SynchronizePointOptions = false;
pieSeriesView2.RuntimeExploding = false;
pieSeriesView2.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
this.xrChart1.SeriesTemplate.View = pieSeriesView2;
this.xrChart1.SizeF = new System.Drawing.SizeF(366.6193F, 274.8307F);
//
// orderDate
//
this.orderDate.Expression = "GetYear([Order.OrderDate])";
this.orderDate.FieldType = DevExpress.XtraReports.UI.FieldType.Int32;
this.orderDate.Name = "orderDate";
//
// ProductSalesSummary
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.ReportFooter});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.orderDate});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(104, 104, 125, 102);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramYears});
this.Version = "14.1";
this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.EmployeeSummary_BeforePrint);
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void EmployeeSummary_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
string stringYears = (string)paramYears.Value;
bool isEmptyYears = string.IsNullOrEmpty(stringYears);
this.ReportFooter.Visible = !isEmptyYears;
if(isEmptyYears)
return;
string[] years = stringYears.Split(',').ToArray();
SetOrdersText(years);
SetFilterString(years);
}
void SetFilterString(string[] years){
string[] filterYears = new string[years.Length];
for(int i = 0; i < years.Length; i++) {
filterYears[i] = "[Order.OrderDate.Year] == " + years[i];
}
this.FilterString = string.Join(" || ", filterYears);
}
void SetOrdersText(string[] years) {
int countYears = years.Length;
if(countYears > 1 && Convert.ToInt32(years[countYears - 1]) - Convert.ToInt32(years[0]) == countYears - 1) {
xrTableCell2.Text = string.Join(" - ", new string[] { years[0], years[countYears - 1] });
} else {
xrTableCell2.Text = (string)paramYears.Value;
}
}
private void xrTableCell21_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
object product = GetCurrentColumnValue("Product");
if(product != null) {
decimal cost = ((Product)product).Cost;
decimal totalUnits = (decimal)xrTableCell23.Summary.GetResult();
xrTableCell21.Text = (cost * totalUnits).ToString("$#,#");
} else
xrTableCell21.Text = "";
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5
QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk
n16kiV6kzhpt89qLAMhGAHkYQHye0Gtp9RoVVIx/lF5kPYCkqiSX8p1VNQyvTpJ/FoCoVC2tPiQAyVO9
yBnWGHMvAiAP0ns8DxyDVZKWVt8TkLxWUTfrBQBxvdsBHLmO6qmH6T1mA4he2tXquwKQOnqR0+W1M6e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point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,824 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class ProductTopSalesperson : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRTable xrTable3;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableCell xrTableCell9;
private XtraReports.UI.XRPictureBox xrPictureBox4;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTable xrTable8;
private XtraReports.UI.XRTableRow xrTableRow12;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableRow xrTableRow13;
private XtraReports.UI.XRTableCell xrTableCell19;
private XtraReports.UI.XRTableRow xrTableRow16;
private XtraReports.UI.XRTableCell xrTableCell22;
private XtraReports.UI.XRTableRow xrTableRow17;
private XtraReports.UI.XRTableCell xrTableCell23;
private XtraReports.UI.CalculatedField totals;
private XtraReports.UI.XRTable xrTable4;
private XtraReports.UI.XRTableRow xrTableRow10;
private XtraReports.UI.XRTableCell xrTableCell3;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRTable xrTable5;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRTableRow xrTableRow18;
private XtraReports.UI.XRTableCell xrTableCell28;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell24;
private XtraReports.UI.XRTableCell xrTableCell25;
private XtraReports.UI.XRTableRow xrTableRow11;
private XtraReports.UI.XRTableCell xrTableCell26;
private XtraReports.UI.XRTableCell xrTableCell27;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.GroupHeaderBand GroupHeader1;
private XtraReports.UI.XRTableCell xrTableCell30;
private XtraReports.UI.XRChart xrChart1;
private XtraReports.Parameters.Parameter paramAscending;
public ProductTopSalesperson() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductTopSalesperson));
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRGroupSortingSummary xrGroupSortingSummary1 = new DevExpress.XtraReports.UI.XRGroupSortingSummary();
DevExpress.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram();
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel();
DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrPictureBox4 = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable8 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramAscending = new DevExpress.XtraReports.Parameters.Parameter();
this.totals = new DevExpress.XtraReports.UI.CalculatedField();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow18 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrChart1 = new DevExpress.XtraReports.UI.XRChart();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2});
this.topMarginBand1.HeightF = 125F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox2
//
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(470.8333F, 52.08333F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.detailBand1.HeightF = 0F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.StylePriority.UseFont = false;
this.detailBand1.StylePriority.UseForeColor = false;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 102F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.OrderItem);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable3,
this.xrPictureBox4,
this.xrTable2,
this.xrTable1,
this.xrTable8,
this.xrTable4,
this.xrChart1});
this.ReportHeader.HeightF = 505.1248F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(203.3125F, 43.67973F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow8,
this.xrTableRow7,
this.xrTableRow3});
this.xrTable3.SizeF = new System.Drawing.SizeF(429.6875F, 130.7124F);
this.xrTable3.StylePriority.UsePadding = false;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell15});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 1.3733330546061278D;
//
// xrTableCell15
//
this.xrTableCell15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Name")});
this.xrTableCell15.Font = new System.Drawing.Font("Segoe UI", 26.25F);
this.xrTableCell15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseFont = false;
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.Weight = 3D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell14});
this.xrTableRow7.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableRow7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.StylePriority.UseFont = false;
this.xrTableRow7.StylePriority.UseForeColor = false;
this.xrTableRow7.StylePriority.UsePadding = false;
this.xrTableRow7.StylePriority.UseTextAlignment = false;
this.xrTableRow7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow7.Weight = 1.2978654898467186D;
//
// xrTableCell7
//
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Text = "CURRENT INVENTORY";
this.xrTableCell7.Weight = 1.4122964395059123D;
//
// xrTableCell14
//
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseFont = false;
this.xrTableCell14.StylePriority.UseForeColor = false;
this.xrTableCell14.Text = "IN MANUFACTURING";
this.xrTableCell14.Weight = 1.5877035604940877D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell8,
this.xrTableCell9});
this.xrTableRow3.Font = new System.Drawing.Font("Segoe UI", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.StylePriority.UseFont = false;
this.xrTableRow3.StylePriority.UseTextAlignment = false;
this.xrTableRow3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableRow3.Weight = 1.0915353464368094D;
//
// xrTableCell8
//
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.CurrentInventory")});
this.xrTableCell8.Multiline = true;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Weight = 1.4122964395059121D;
//
// xrTableCell9
//
this.xrTableCell9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Manufacturing")});
this.xrTableCell9.Multiline = true;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Weight = 1.5877035604940879D;
//
// xrPictureBox4
//
this.xrPictureBox4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrPictureBox4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrPictureBox4.BorderWidth = 1F;
this.xrPictureBox4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Product.ProductImage")});
this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(4.00001F, 49.40628F);
this.xrPictureBox4.Name = "xrPictureBox4";
this.xrPictureBox4.SizeF = new System.Drawing.SizeF(185.1414F, 127.9859F);
this.xrPictureBox4.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
this.xrPictureBox4.StylePriority.UseBorderColor = false;
this.xrPictureBox4.StylePriority.UseBorders = false;
this.xrPictureBox4.StylePriority.UseBorderWidth = false;
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable2.SizeF = new System.Drawing.SizeF(641.9999F, 28.71094F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell5});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 0.66666681489878932D;
//
// xrTableCell4
//
this.xrTableCell4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell4.ForeColor = System.Drawing.Color.White;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell4.StylePriority.UseBackColor = false;
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Product Profile";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell4.Weight = 0.94701867179278676D;
//
// xrTableCell5
//
this.xrTableCell5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseBackColor = false;
this.xrTableCell5.Weight = 2.0252039691253749D;
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(9.536743E-05F, 207.3333F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(641.9999F, 28.71094F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 0.66666681489878932D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Analysis";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.9470181772948294D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell2.Font = new System.Drawing.Font("Segoe UI", 11.5F);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 2.0252044636233322D;
//
// xrTable8
//
this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(392.7134F, 274.8359F);
this.xrTable8.Name = "xrTable8";
this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow12,
this.xrTableRow13,
this.xrTableRow16,
this.xrTableRow17});
this.xrTable8.SizeF = new System.Drawing.SizeF(238.9533F, 136.3069F);
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.77837459842722589D;
//
// xrTableCell18
//
this.xrTableCell18.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.StylePriority.UseFont = false;
this.xrTableCell18.Text = "Total orders for the [Product.Name]";
this.xrTableCell18.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 1.0424314011909091D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell19.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
xrSummary1.FormatString = "{0:$#,#}";
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell19.Summary = xrSummary1;
this.xrTableCell19.Weight = 3D;
//
// xrTableRow16
//
this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell22});
this.xrTableRow16.Name = "xrTableRow16";
this.xrTableRow16.Weight = 0.65786547518207683D;
//
// xrTableCell22
//
this.xrTableCell22.CanGrow = false;
this.xrTableCell22.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.StylePriority.UseFont = false;
this.xrTableCell22.Text = "Total units sold ";
this.xrTableCell22.Weight = 3D;
//
// xrTableRow17
//
this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow17.Name = "xrTableRow17";
this.xrTableRow17.Weight = 1.0400433368797812D;
//
// xrTableCell23
//
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductUnits")});
this.xrTableCell23.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.StylePriority.UseFont = false;
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell23.Summary = xrSummary2;
this.xrTableCell23.Weight = 3D;
//
// xrTable4
//
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0.3332933F, 475.4284F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
this.xrTable4.SizeF = new System.Drawing.SizeF(641.6667F, 29.69642F);
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell17});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 1D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell3.Font = new System.Drawing.Font("Segoe UI", 13F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell3.ForeColor = System.Drawing.Color.White;
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UseForeColor = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Employee List";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.95480759106244184D;
//
// xrTableCell17
//
this.xrTableCell17.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.StylePriority.UseBackColor = false;
this.xrTableCell17.Weight = 2.0451924089375586D;
//
// paramAscending
//
this.paramAscending.Description = "Ascending";
this.paramAscending.Name = "paramAscending";
this.paramAscending.Type = typeof(bool);
this.paramAscending.ValueInfo = "False";
this.paramAscending.Visible = false;
//
// totals
//
this.totals.Name = "totals";
//
// xrTable5
//
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(169.1667F, 25F);
this.xrTable5.Name = "xrTable5";
this.xrTable5.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F);
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow4,
this.xrTableRow18,
this.xrTableRow5,
this.xrTableRow6,
this.xrTableRow9,
this.xrTableRow11});
this.xrTable5.SizeF = new System.Drawing.SizeF(462.5F, 195.0564F);
this.xrTable5.StylePriority.UsePadding = false;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell6});
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 1.3733330546061278D;
//
// xrTableCell6
//
this.xrTableCell6.Font = new System.Drawing.Font("Segoe UI", 22.25F);
this.xrTableCell6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.StylePriority.UseFont = false;
this.xrTableCell6.StylePriority.UseForeColor = false;
this.xrTableCell6.Text = "[Order.Employee.Prefix].[Order.Employee.FullName]";
this.xrTableCell6.Weight = 3D;
//
// xrTableRow18
//
this.xrTableRow18.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell30,
this.xrTableCell28});
this.xrTableRow18.Font = new System.Drawing.Font("Segoe UI", 14F);
this.xrTableRow18.Name = "xrTableRow18";
this.xrTableRow18.StylePriority.UseFont = false;
this.xrTableRow18.Weight = 0.87125743440749637D;
//
// xrTableCell30
//
this.xrTableCell30.Name = "xrTableCell30";
this.xrTableCell30.Text = "TOTAL SALES";
this.xrTableCell30.Weight = 1.4122964395059121D;
//
// xrTableCell28
//
this.xrTableCell28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell28.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell28.Name = "xrTableCell28";
this.xrTableCell28.StylePriority.UseFont = false;
xrSummary3.FormatString = "{0:$#,#}";
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrTableCell28.Summary = xrSummary3;
this.xrTableCell28.Weight = 1.5877035604940879D;
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10,
this.xrTableCell11});
this.xrTableRow5.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableRow5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.StylePriority.UseFont = false;
this.xrTableRow5.StylePriority.UseForeColor = false;
this.xrTableRow5.StylePriority.UsePadding = false;
this.xrTableRow5.StylePriority.UseTextAlignment = false;
this.xrTableRow5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow5.Weight = 0.719922729133434D;
//
// xrTableCell10
//
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Text = "HOME OFFICE";
this.xrTableCell10.Weight = 1.4122964395059121D;
//
// xrTableCell11
//
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.StylePriority.UseFont = false;
this.xrTableCell11.StylePriority.UseForeColor = false;
this.xrTableCell11.Text = "PHONE";
this.xrTableCell11.Weight = 1.5877035604940879D;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12,
this.xrTableCell13});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 1.2264689358948921D;
//
// xrTableCell12
//
this.xrTableCell12.Multiline = true;
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Text = "[Order.Employee.Address.Line]\r\n[Order.Employee.Address.CityLine]";
this.xrTableCell12.Weight = 1.4122964395059121D;
//
// xrTableCell13
//
this.xrTableCell13.Multiline = true;
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Text = "[Order.Employee.MobilePhone] (Mobile)\r\n[Order.Employee.HomePhone] (Home)";
this.xrTableCell13.Weight = 1.5877035604940879D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell24,
this.xrTableCell25});
this.xrTableRow9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.StylePriority.UseForeColor = false;
this.xrTableRow9.StylePriority.UsePadding = false;
this.xrTableRow9.StylePriority.UseTextAlignment = false;
this.xrTableRow9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.BottomLeft;
this.xrTableRow9.Weight = 0.638498971011733D;
//
// xrTableCell24
//
this.xrTableCell24.Name = "xrTableCell24";
this.xrTableCell24.Text = "EMAIL";
this.xrTableCell24.Weight = 1.4122964395059121D;
//
// xrTableCell25
//
this.xrTableCell25.Name = "xrTableCell25";
this.xrTableCell25.Text = "SKYPE";
this.xrTableCell25.Weight = 1.5877035604940879D;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell26,
this.xrTableCell27});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.Weight = 0.70086023142775844D;
//
// xrTableCell26
//
this.xrTableCell26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.Employee.Email")});
this.xrTableCell26.Name = "xrTableCell26";
this.xrTableCell26.Weight = 1.4122964395059121D;
//
// xrTableCell27
//
this.xrTableCell27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.Employee.Skype")});
this.xrTableCell27.Name = "xrTableCell27";
this.xrTableCell27.Weight = 1.5877035604940879D;
//
// xrPictureBox1
//
this.xrPictureBox1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrPictureBox1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrPictureBox1.BorderWidth = 1F;
this.xrPictureBox1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Image", null, "Order.Employee.Photo")});
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(158.7394F, 190.1483F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.xrPictureBox1.StylePriority.UseBorderColor = false;
this.xrPictureBox1.StylePriority.UseBorders = false;
this.xrPictureBox1.StylePriority.UseBorderWidth = false;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1,
this.xrTable5});
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Order.Employee.Id", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.HeightF = 262.5F;
this.GroupHeader1.KeepTogether = true;
this.GroupHeader1.Name = "GroupHeader1";
xrGroupSortingSummary1.Enabled = true;
xrGroupSortingSummary1.FieldName = "Total";
this.GroupHeader1.SortingSummary = xrGroupSortingSummary1;
//
// xrChart1
//
this.xrChart1.BorderColor = System.Drawing.Color.Black;
this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
simpleDiagram1.EqualPieSize = false;
this.xrChart1.Diagram = simpleDiagram1;
this.xrChart1.EmptyChartText.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrChart1.EmptyChartText.Text = "\r\n";
this.xrChart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Center;
this.xrChart1.Legend.EnableAntialiasing = Utils.DefaultBoolean.True;
this.xrChart1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
this.xrChart1.Legend.EquallySpacedItems = false;
this.xrChart1.Legend.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrChart1.Legend.MarkerSize = new System.Drawing.Size(20, 20);
this.xrChart1.Legend.Padding.Left = 30;
this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 245.8359F);
this.xrChart1.Name = "xrChart1";
series1.ArgumentDataMember = "Order.Employee.FullName";
series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Qualitative;
pieSeriesLabel1.TextPattern = "{V:$#,#}";
series1.Label = pieSeriesLabel1;
series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False;
series1.LegendTextPattern = "{A}\n{V:$#,#}\n";
series1.Name = "Series 1";
series1.QualitativeSummaryOptions.SummaryFunction = "SUM([Total])";
pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
pieSeriesView1.RuntimeExploding = false;
pieSeriesView1.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
series1.View = pieSeriesView1;
this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
series1};
pieSeriesView2.RuntimeExploding = false;
pieSeriesView2.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
this.xrChart1.SeriesTemplate.View = pieSeriesView2;
this.xrChart1.SizeF = new System.Drawing.SizeF(360.2291F, 205.039F);
//
// ProductTopSalesperson
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.GroupHeader1});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.totals});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(104, 104, 125, 102);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramAscending});
this.Version = "14.1";
this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.ProductTopSalesperson_BeforePrint);
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void ProductTopSalesperson_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
if(Equals(true, paramAscending.Value)) {
this.GroupHeader1.SortingSummary.SortOrder = XtraReports.UI.XRColumnSortOrder.Ascending;
} else {
this.GroupHeader1.SortingSummary.SortOrder = XtraReports.UI.XRColumnSortOrder.Descending;
}
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+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M779yX2A0ByjspyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,20 @@
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Security;
[assembly: AssemblyTitle("DevExpress.DevAV.Reports")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany(AssemblyInfo.AssemblyCompany)]
[assembly: AssemblyProduct("DevExpress.DevAV.Reports")]
[assembly: AssemblyCopyright(AssemblyInfo.AssemblyCopyright)]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: CLSCompliant(true)]
[assembly: ComVisible(false)]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: SatelliteContractVersion(AssemblyInfo.SatelliteContractVersion)]
[assembly: AssemblyVersion(AssemblyInfo.Version)]
[assembly: AssemblyFileVersion(AssemblyInfo.FileVersion)]

View File

@@ -0,0 +1,204 @@
using DevExpress.XtraReports.UI;
using System;
using System.Collections;
using System.Collections.Generic;
namespace DevExpress.DevAV.Reports {
public static class ReportFactory {
#region Employee
public static XtraReport EmployeeTaskList(IEnumerable<EmployeeTask> tasks, bool dueDate) {
var report = new EmployeeTaskList();
report.DataSource = tasks;
report.Parameters["paramDueDate"].Value = dueDate;
return report;
}
public static XtraReport EmployeeProfile(Employee employee, bool addEvaluations) {
var report = new EmployeeProfile();
report.DataSource = new ArrayList { employee };
report.Parameters["paramEvaluations"].Value = addEvaluations;
return report;
}
public static XtraReport EmployeeSummary(IEnumerable<Employee> employees, bool sortAscending) {
var report = new EmployeeSummary();
report.DataSource = employees;
report.Parameters["paramAscending"].Value = sortAscending;
return report;
}
public static XtraReport EmployeeDirectory(IEnumerable<Employee> employees, bool sortAscending) {
var report = new EmployeeDirectory();
report.DataSource = employees;
report.Parameters["paramAscending"].Value = sortAscending;
return report;
}
#endregion
#region Customer
public static XtraReport CustomerProfile(Customer customer, bool printContacts) {
var report = new CustomerProfile();
report.DataSource = new ArrayList() { customer };
report.Parameters["paramContacts"].Value = printContacts;
return report;
}
public static XtraReport CustomerContactsDirectory(IEnumerable<CustomerEmployee> customerContacts, bool sortAscending) {
var report = new CustomerContactsDirectory();
report.DataSource = customerContacts;
report.Parameters["paramAscending"].Value = sortAscending;
return report;
}
public static XtraReport CustomerSalesDetail(IEnumerable<Order> orders, IEnumerable<OrderItem> salesDetail, bool sortByOrderDate, DateTime fromDate, DateTime toDate) {
var report = new CustomerSalesDetail();
report.SetChartData(salesDetail);
report.DataSource = orders;
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
report.Parameters["paramFromDate"].Value = fromDate;
report.Parameters["paramToDate"].Value = toDate;
return report;
}
public static XtraReport CustomerSalesDetailReport(IEnumerable<CustomerSaleDetailOrderInfo> orders, IEnumerable<CustomerSaleDetailOrderItemInfo> salesDetail, bool sortByOrderDate, DateTime fromDate, DateTime toDate) {
var report = new CustomerSalesDetailReport();
report.SetChartData(salesDetail);
report.DataSource = orders;
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
report.Parameters["paramFromDate"].Value = fromDate;
report.Parameters["paramToDate"].Value = toDate;
return report;
}
public static XtraReport CustomerSalesSummary(IEnumerable<OrderItem> sales, bool sortByOrderDate, DateTime fromDate, DateTime toDate) {
var report = new CustomerSalesSummary();
report.DataSource = sales;
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
report.Parameters["paramFromDate"].Value = fromDate;
report.Parameters["paramToDate"].Value = toDate;
return report;
}
public static XtraReport CustomerSalesSummaryReport(IEnumerable<CustomerSaleDetailOrderItemInfo> sales, bool sortByOrderDate, DateTime fromDate, DateTime toDate) {
var report = new CustomerSalesSummaryReport();
report.DataSource = sales;
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
report.Parameters["paramFromDate"].Value = fromDate;
report.Parameters["paramToDate"].Value = toDate;
return report;
}
public static XtraReport CustomerLocationsDirectory(IEnumerable<Customer> customers, bool sortAscending) {
var report = new CustomerLocationsDirectory();
report.DataSource = customers;
report.Parameters["paramAscending"].Value = sortAscending;
return report;
}
#endregion
#region Sales
public static XtraReport SalesInvoice(Order order, bool showHeader, bool showFooter, bool showStatus, bool showComments) {
var report = new SalesInvoice();
report.DataSource = new ArrayList { order };
report.Parameters["paramShowHeader"].Value = showHeader;
report.Parameters["paramShowFooter"].Value = showFooter;
report.Parameters["paramShowStatus"].Value = showStatus;
report.Parameters["paramShowComments"].Value = showComments;
return report;
}
public static XtraReport SalesOrdersSummary(IEnumerable<OrderItem> sales, bool sortByOrderDate, DateTime fromDate, DateTime toDate) {
var report = new SalesOrdersSummary();
report.DataSource = sales;
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
report.Parameters["paramFromDate"].Value = fromDate;
report.Parameters["paramToDate"].Value = toDate;
return report;
}
public static XtraReport SalesOrdersSummaryReport(IEnumerable<SaleSummaryInfo> sales, bool sortByOrderDate, DateTime fromDate, DateTime toDate) {
var report = new SalesOrdersSummaryReport();
report.DataSource = sales;
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
report.Parameters["paramFromDate"].Value = fromDate;
report.Parameters["paramToDate"].Value = toDate;
return report;
}
public static XtraReport SalesAnalysis(IEnumerable<OrderItem> sales, string years) {
var report = new SalesAnalysis();
report.DataSource = sales;
report.Parameters["paramYears"].Value = years;
return report;
}
public static XtraReport SalesAnalysisReport(IEnumerable<SaleAnalisysInfo> sales, string years) {
var report = new SalesAnalysisReport();
report.DataSource = sales;
report.Parameters["paramYears"].Value = years;
return report;
}
public static XtraReport SalesRevenueAnalysisReport(IEnumerable<OrderItem> sales, bool sortByOrderDate) {
var report = new SalesRevenueAnalysisReport();
report.DataSource = sales;
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
return report;
}
public static XtraReport SalesRevenueReport(IEnumerable<OrderItem> sales, bool sortByOrderDate) {
var report = new SalesRevenueReport();
report.DataSource = sales;
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
return report;
}
#endregion
#region Product
public static XtraReport ProductProfile(Product product, bool useImages) {
var report = new ProductProfile();
report.DataSource = new ArrayList { product };
report.Parameters["paramImages"].Value = useImages;
return report;
}
public static XtraReport ProductOrders(IEnumerable<OrderItem> sales, IList<State> states, bool sortByOrderDate, DateTime fromDate, DateTime toDate) {
var report = new ProductOrders();
report.DataSource = sales;
report.SetStates(states);
report.Parameters["paramOrderDate"].Value = sortByOrderDate;
report.Parameters["paramFromDate"].Value = fromDate;
report.Parameters["paramToDate"].Value = toDate;
return report;
}
public static XtraReport ProductSalesSummary(IEnumerable<OrderItem> sales, string years) {
var report = new ProductSalesSummary();
report.DataSource = sales;
report.Parameters["paramYears"].Value = years;
return report;
}
public static XtraReport ProductTopSalesPerson(IEnumerable<OrderItem> sales, bool sortAscending) {
var report = new ProductTopSalesperson();
report.DataSource = sales;
report.Parameters["paramAscending"].Value = sortAscending;
return report;
}
#endregion
#region Task
public static XtraReport TaskListReport(IEnumerable<EmployeeTask> tasks, bool dueDate) {
var report = new TaskListReport();
report.DataSource = tasks;
report.Parameters["paramDueDate"].Value = dueDate;
return report;
}
public static XtraReport TaskDetailReport(EmployeeTask task) {
var report = new TaskDetailReport();
report.DataSource = new ArrayList { task };
return report;
}
#endregion
#region Shipping
public static XtraReport ShippingDetail(Order order) {
var report = new FedExGroundLabel();
report.DataSource = new ArrayList { order };
return report;
}
#endregion
}
}

View File

@@ -0,0 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public static class ReportFinder {
}
}

View File

@@ -0,0 +1,241 @@
using DevExpress.Spreadsheet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Range = DevExpress.Spreadsheet.Range;
namespace DevExpress.DevAV.Reports.Spreadsheet {
public static class CellsHelper {
public static List<OrderCellInfo> OrderCells { get { return orderCells; } }
public static List<OrderCellInfo> OrderItemCells { get { return orderItemCells; } }
public static Dictionary<CustomEditorIds, CustomEditorInfo> CustomEditorsConfig { get { return customEditorsConfig; } }
public static string InvoiceWorksheetName { get { return "Invoice"; } }
public static string InvoiceWorksheetPassword { get { return "123"; } }
static Dictionary<CustomEditorIds, CustomEditorInfo> customEditorsConfig = CreateCustomEditorsConfig();
static List<OrderCellInfo> orderCells = CreateOrderCells();
static List<OrderCellInfo> orderItemCells = CreateOrderItemCells();
static Dictionary<CellsKind, string> cellsPosition = orderCells.ToDictionary<OrderCellInfo, CellsKind, string>(x => x.Cell, y => y.CellRange);
public static void GenerateEditors(List<OrderCellInfo> cellsInfo, Worksheet invoice) {
cellsInfo.Where(x => x.IsAutoGeneratedEditor()).ToList().ForEach(info => {
ValueObject value = info.EditorId ?? (info.FixedValues != null ? ValueObject.CreateListSource(info.FixedValues) : null);
invoice.CustomCellInplaceEditors.Add(invoice[info.CellRange], info.EditorType.Value, value);
});
}
public static void CreateCollectionEditor<T>(CellsKind cell, Worksheet invoice, IEnumerable<T> source, Func<T, string> getValue) {
var cellInfo = FindCell(cell);
var cellValues = source.Select(x => CellValue.FromObject(getValue(x))).ToArray();
invoice.CustomCellInplaceEditors.Add(invoice[cellInfo.CellRange], cellInfo.EditorType.Value,
ValueObject.CreateListSource(cellValues));
}
public static void RemoveEditor(CellsKind cell, Worksheet invoice) {
var storeCell = FindCell(cell);
invoice.CustomCellInplaceEditors.Remove(invoice[storeCell.CellRange]);
}
public static void RemoveAllEditors(string region, Worksheet invoice) {
invoice.CustomCellInplaceEditors.Remove(invoice[region]);
}
public static bool IsOrderItemProductCell(Cell cell, Range orderItemRange) {
return cell.LeftColumnIndex - orderItemRange.LeftColumnIndex == CellsHelper.FindCell(CellsKind.ProductDescription).Offset;
}
public static bool IsRemoveItemRange(Cell cell, Range orderItemsRange) {
return IsSingleCellSelected(cell)
&& cell.LeftColumnIndex > orderItemsRange.RightColumnIndex
&& cell.LeftColumnIndex < orderItemsRange.RightColumnIndex + 4
&& cell.TopRowIndex >= orderItemsRange.TopRowIndex
&& cell.TopRowIndex <= orderItemsRange.BottomRowIndex;
}
public static bool IsAddItemRange(Cell cell, Range orderItemsRange) {
return IsSingleCellSelected(cell)
&& cell.TopRowIndex == orderItemsRange.BottomRowIndex + 1
&& cell.LeftColumnIndex - orderItemsRange.LeftColumnIndex == 1;
}
public static bool IsInvoiceSheetActive(Cell cell) {
return cell != null && cell.Worksheet.Name == CellsHelper.InvoiceWorksheetName;
}
public static CellValue GetOrderCellValue(CellsKind cell, List<OrderItem> orderItems, Worksheet invoice) {
var range = CellsHelper.GetActualCellRange(CellsHelper.FindLeftCell(cell), orderItems.Any() ? orderItems.Count : 0);
return invoice.Cells[range].Value;
}
public static CellValue GetOrderItemCellValue(CellsKind cell, Range orderItemRange, Worksheet invoice) {
int offset = CellsHelper.GetOffset(cell);
var cellRange = invoice.Range.FromLTRB(orderItemRange.LeftColumnIndex + offset,
orderItemRange.TopRowIndex, orderItemRange.LeftColumnIndex + offset, orderItemRange.BottomRowIndex);
return cellRange.Value;
}
public static void CopyOrderItemRange(Range itemRange) {
Range range = itemRange.Offset(-1, 0);
range.CopyFrom(itemRange, PasteSpecial.All, true);
}
public static void UpdateEditableCells(Worksheet invoice, Order order, OrderCollections source) {
invoice.Cells[FindLeftCell(CellsKind.Date)].Value = order.OrderDate.Millisecond != 0 ? order.OrderDate : DateTime.FromBinary(0);
invoice.Cells[FindLeftCell(CellsKind.InvoiceNumber)].Value = order.InvoiceNumber;
invoice.Cells[FindLeftCell(CellsKind.CustomerName)].Value = GetCustomer(order, source) != null ? GetCustomer(order, source).Name : string.Empty;
invoice.Cells[FindLeftCell(CellsKind.CustomerStoreName)].Value = GetStore(order, source) != null ? GetStore(order, source).City : string.Empty;
invoice.Cells[FindLeftCell(CellsKind.EmployeeName)].Value = GetEmployee(order, source) != null ? GetEmployee(order, source).FullName : string.Empty;
invoice.Cells[FindLeftCell(CellsKind.CustomerHomeOfficeName)].Value = "Home Office";
invoice.Cells[FindLeftCell(CellsKind.PONumber)].Value = order.PONumber;
invoice.Cells[FindLeftCell(CellsKind.ShipDate)].Value = order.ShipDate;
invoice.Cells[FindLeftCell(CellsKind.ShipVia)].Value = order.ShipmentCourier.ToString();
invoice.Cells[FindLeftCell(CellsKind.FOB)].Value = string.Empty;
invoice.Cells[FindLeftCell(CellsKind.Terms)].Value = order.OrderTerms != null ? int.Parse(new Regex(@"\d+").Match(order.OrderTerms).Value) : 5;
invoice.Cells[FindLeftCell(CellsKind.Shipping)].Value = (double)order.ShippingAmount;
invoice.Cells[FindLeftCell(CellsKind.Comments)].Value = order.Comments;
}
public static void UpdateDependentCells(Worksheet invoice, Order order, OrderCollections source) {
var customer = GetCustomer(order, source);
var store = GetStore(order, source);
if(customer != null) {
invoice.Cells[FindLeftCell(CellsKind.ShippingCustomerName)].Value = customer.Name;
invoice.Cells[FindLeftCell(CellsKind.CustomerStreetLine)].Value = customer.HomeOffice.Line;
invoice.Cells[FindLeftCell(CellsKind.CustomerCityLine)].Value = customer.HomeOffice.CityLine;
}
if(store != null) {
invoice.Cells[FindLeftCell(CellsKind.CustomerStoreStreetLine)].Value = store.Address.Line;
invoice.Cells[FindLeftCell(CellsKind.CustomerStoreCityLine)].Value = store.Address.CityLine;
}
}
public static OrderCellInfo FindCell(CellsKind cell) {
return OrderCells.FirstOrDefault(x => x.Cell == cell) ?? OrderItemCells.FirstOrDefault(x => x.Cell == cell);
}
public static string FindLeftCell(CellsKind cell) {
return FindLeftCell(cellsPosition[cell]);
}
public static string GetActualCellRange(string defaultRange, int shiftValue, int initialShiftIndex = 23) {
var defaultRow = int.Parse(new Regex(@"\d+").Match(defaultRange).Value);
var absShiftValue = Math.Abs(shiftValue);
var actualShiftValue = absShiftValue < 2 ? 0 : Math.Sign(shiftValue) * (absShiftValue - 1);
if(defaultRow < initialShiftIndex + (actualShiftValue < 0 ? Math.Abs(actualShiftValue) : 0))
return defaultRange;
return string.Format("{0}{1}", defaultRange.First(), defaultRow + actualShiftValue);
}
public static int GetOffset(CellsKind kind) {
return FindCell(kind).Offset.Value;
}
public static bool HasDependentCells(string range) {
return OrderCells.FirstOrDefault(x => FindLeftCell(x.Cell) == range).HasDependentCells;
}
public static CustomEditorInfo FindEditor(string name) {
return CustomEditorsConfig.Values.SingleOrDefault(x => x.Name == name);
}
static Customer GetCustomer(Order order, OrderCollections source) {
return order.Customer ?? (order.CustomerId == null ? null : source.Customers.FirstOrDefault(x => x.Id == order.CustomerId));
}
static CustomerStore GetStore(Order order, OrderCollections source) {
return order.Store ?? (order.StoreId == null ? null : source.CustomerStores.FirstOrDefault(x => x.Id == order.StoreId));
}
static Employee GetEmployee(Order order, OrderCollections source) {
return order.Employee ?? (order.EmployeeId == null ? null : source.Employees.FirstOrDefault(x => x.Id == order.EmployeeId));
}
static bool IsSingleCellSelected(Cell cell) {
return cell.LeftColumnIndex == cell.RightColumnIndex && cell.TopRowIndex == cell.BottomRowIndex;
}
#region Cells Config
static List<OrderCellInfo> CreateOrderCells() {
var result = new List<OrderCellInfo>();
result.Add(new OrderCellInfo(CellsKind.Date, "B4", CustomCellInplaceEditorType.DateEdit));
result.Add(new OrderCellInfo(CellsKind.InvoiceNumber, "C5"));
result.Add(new OrderCellInfo(CellsKind.CustomerName, "B10:E10", CustomCellInplaceEditorType.ComboBox, hasDependentCells: true));
result.Add(new OrderCellInfo(CellsKind.CustomerHomeOfficeName, "B12"));
result.Add(new OrderCellInfo(CellsKind.CustomerStreetLine, "B13"));
result.Add(new OrderCellInfo(CellsKind.CustomerCityLine, "B14"));
result.Add(new OrderCellInfo(CellsKind.ShippingCustomerName, "H10:M10"));
result.Add(new OrderCellInfo(CellsKind.CustomerStoreName, "H12:M12", CustomCellInplaceEditorType.ComboBox, hasDependentCells: true));
result.Add(new OrderCellInfo(CellsKind.CustomerStoreStreetLine, "H13"));
result.Add(new OrderCellInfo(CellsKind.CustomerStoreCityLine, "H14"));
result.Add(new OrderCellInfo(CellsKind.EmployeeName, "B18:C18", CustomCellInplaceEditorType.ComboBox));
result.Add(new OrderCellInfo(CellsKind.PONumber, "D18:E18"));
result.Add(new OrderCellInfo(CellsKind.ShipDate, "F18:G18", CustomCellInplaceEditorType.DateEdit));
result.Add(new OrderCellInfo(CellsKind.ShipVia, "H18:I18", CustomCellInplaceEditorType.ComboBox, fixedValues: new CellValue[] { ShipmentCourier.FedEx.ToString(), ShipmentCourier.DHL.ToString(), ShipmentCourier.UPS.ToString(), ShipmentCourier.None.ToString() }));
result.Add(new OrderCellInfo(CellsKind.FOB, "J18:K18", CustomCellInplaceEditorType.Custom, editorId: customEditorsConfig[CustomEditorIds.FOBSpinEdit].Name));
result.Add(new OrderCellInfo(CellsKind.Terms, "L18:M18", CustomCellInplaceEditorType.Custom, editorId: customEditorsConfig[CustomEditorIds.TermsSpinEdit].Name));
result.Add(new OrderCellInfo(CellsKind.SubTotal, "K23:M23"));
result.Add(new OrderCellInfo(CellsKind.Shipping, "K24:M24", CustomCellInplaceEditorType.Custom, editorId: customEditorsConfig[CustomEditorIds.ShippingSpinEdit].Name, hasDependentCells: true));
result.Add(new OrderCellInfo(CellsKind.TotalDue, "K25:M25"));
result.Add(new OrderCellInfo(CellsKind.Comments, "B28:E31"));
result.Add(new OrderCellInfo(CellsKind.AmountPaid, "K27:M27"));
return result;
}
static List<OrderCellInfo> CreateOrderItemCells() {
var result = new List<OrderCellInfo>();
result.Add(new OrderCellInfo(CellsKind.Quantity, "B22:B23", CustomCellInplaceEditorType.Custom, editorId: customEditorsConfig[CustomEditorIds.QuantitySpinEdit].Name, offset: 0));
result.Add(new OrderCellInfo(CellsKind.ProductDescription, "C22:F23", CustomCellInplaceEditorType.ComboBox, offset: 1));
result.Add(new OrderCellInfo(CellsKind.UnitPrice, "G22:H23", offset: 5));
result.Add(new OrderCellInfo(CellsKind.Discount, "I22:J23", CustomCellInplaceEditorType.Custom, editorId: customEditorsConfig[CustomEditorIds.DiscountSpinEdit].Name, offset: 7));
result.Add(new OrderCellInfo(CellsKind.Total, "K22:M23", offset: 9));
return result;
}
static Dictionary<CustomEditorIds, CustomEditorInfo> CreateCustomEditorsConfig() {
var result = new Dictionary<CustomEditorIds, CustomEditorInfo>();
result.Add(CustomEditorIds.FOBSpinEdit, new CustomEditorInfo("FOBSpinEdit", minValue: 0, maxValue: 500, increment: 500));
result.Add(CustomEditorIds.TermsSpinEdit, new CustomEditorInfo("TermsSpinEdit", minValue: 5, maxValue: 200, increment: 1));
result.Add(CustomEditorIds.QuantitySpinEdit, new CustomEditorInfo("QuantitySpinEdit", minValue: 1, maxValue: 100, increment: 1));
result.Add(CustomEditorIds.DiscountSpinEdit, new CustomEditorInfo("DiscountSpinEdit", minValue: 0, maxValue: 1000, increment: 10));
result.Add(CustomEditorIds.ShippingSpinEdit, new CustomEditorInfo("ShippingSpinEdit", minValue: 0, maxValue: 1000, increment: 5));
return result;
}
#endregion
static string FindLeftCell(string range) {
return range.Substring(0, Math.Min(range.Length, 3));
}
}
public class CustomEditorInfo {
public CustomEditorInfo(string name, int minValue, int maxValue, int increment) {
Name = name;
MinValue = minValue;
MaxValue = maxValue;
Increment = increment;
}
public string Name { get; private set; }
public int MinValue { get; private set; }
public int MaxValue { get; private set; }
public int Increment { get; private set; }
}
public class OrderCellInfo {
public OrderCellInfo(CellsKind cell, string cellRange, CustomCellInplaceEditorType? editorType = null,
string editorId = null, CellValue[] fixedValues = null, int? offset = null, bool hasDependentCells = false) {
Cell = cell;
CellRange = cellRange;
EditorType = editorType;
EditorId = editorId;
FixedValues = fixedValues;
Offset = offset;
HasDependentCells = hasDependentCells;
}
public CellsKind Cell { get; private set; }
public string CellStringId { get; set; }
public string CellRange { get; private set; }
public CustomCellInplaceEditorType? EditorType { get; private set; }
public string EditorId { get; private set; }
public CellValue[] FixedValues { get; private set; }
public int? Offset { get; private set; }
public bool HasDependentCells { get; private set; }
public bool IsUnitOfWorkSelector() {
return EditorType == CustomCellInplaceEditorType.ComboBox && FixedValues == null;
}
public bool IsAutoGeneratedEditor() {
return (EditorType != null && EditorType != CustomCellInplaceEditorType.ComboBox) || FixedValues != null;
}
}
}

View File

@@ -0,0 +1,46 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports.Spreadsheet {
public enum CustomEditorIds {
FOBSpinEdit,
TermsSpinEdit,
QuantitySpinEdit,
DiscountSpinEdit,
ShippingSpinEdit
}
public enum CellsKind {
Date,
InvoiceNumber,
CustomerName,
CustomerHomeOfficeName,
CustomerStreetLine,
CustomerCityLine,
ShippingCustomerName,
CustomerStoreName,
CustomerStoreStreetLine,
CustomerStoreCityLine,
EmployeeName,
PONumber,
ShipDate,
ShipVia,
FOB,
Terms,
SubTotal,
Shipping,
TotalDue,
Comments,
Quantity,
ProductDescription,
UnitPrice,
Discount,
Total,
AmountPaid
}
}

View File

@@ -0,0 +1,249 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.Spreadsheet;
using System.IO;
using Range = DevExpress.Spreadsheet.Range;
namespace DevExpress.DevAV.Reports.Spreadsheet {
public class InvoiceHelper {
EditActions editActions;
Worksheet invoice;
Order order;
OrderCollections source;
List<OrderItem> actualOrderItems;
public Worksheet Invoice { get { return invoice; } }
public InvoiceHelper(IWorkbook workbook, Tuple<OrderCollections, Order> dataSource, EditActions editActions) {
this.source = dataSource.Item1;
this.order = dataSource.Item2;
this.editActions = editActions;
SetActualOrderItems();
LoadInvoice(workbook);
CellsHelper.UpdateEditableCells(Invoice, order, source);
CellsHelper.UpdateDependentCells(Invoice, order, source);
if(AllowChangeOrder()) {
CellsHelper.GenerateEditors(CellsHelper.OrderCells, Invoice);
CreateCollectionEditors();
}
AddOrderItemsToSheet();
}
#region Event Handlers
public void OnPreviewMouseLeftButton(Cell cell) {
if(!AllowChangeOrder())
return;
var invoiceItemsArea = GetOrderItemsArea().Range;
if(!CellsHelper.IsInvoiceSheetActive(cell) || invoiceItemsArea == null)
return;
if(CellsHelper.IsAddItemRange(cell, invoiceItemsArea))
AddOrderItem();
if(CellsHelper.IsRemoveItemRange(cell, invoiceItemsArea)) {
RemoveOrderItem(cell.TopRowIndex - invoiceItemsArea.TopRowIndex);
UpdateTotalValues();
}
}
public void CellValueChanged(object sender, DevExpress.XtraSpreadsheet.SpreadsheetCellEventArgs e) {
if(!AllowChangeOrder())
return;
string reference = e.Cell.GetReferenceA1();
var oldCustomerId = order.CustomerId;
string shiftedRange = CellsHelper.GetActualCellRange(reference, actualOrderItems.Any() ? -actualOrderItems.Count : 0);
if(OrderPropertiesHelper.Setters.ContainsKey(shiftedRange)) {
OrderPropertiesHelper.Setters[shiftedRange].Invoke(order, e.Cell.Value, source);
if(CellsHelper.HasDependentCells(shiftedRange)) {
if(order.CustomerId != oldCustomerId)
UpdateCustomerStores();
CellsHelper.UpdateDependentCells(Invoice, order, source);
UpdateTotalValues();
}
}
if(IsOrderItemsRegionModified(e.Cell))
UpdateOrderItem(e.Cell);
}
public void SelectionChanged() {
editActions.ActivateEditor();
}
#endregion
public static Stream GetInvoiceTemplate() {
return Utils.AssemblyHelper.GetEmbeddedResourceStream(typeof(InvoiceHelper).Assembly, "SalesInvoice.xltx", false);
}
void LoadInvoice(IWorkbook workbook) {
invoice = workbook.Worksheets[CellsHelper.InvoiceWorksheetName];
if(!AllowChangeOrder())
invoice.Unprotect(CellsHelper.InvoiceWorksheetPassword);
}
#region OrderItems Management
void SetActualOrderItems() {
actualOrderItems = order.OrderItems.ToList();
}
void AddOrderItem() {
editActions.CloseEditor.Invoke();
var orderItem = editActions.CreateOrderItem();
orderItem.Order = order;
orderItem.OrderId = order.Id;
editActions.AddOrderItem(orderItem);
actualOrderItems.Add(orderItem);
AddOrderItemToSheet(orderItem);
if(actualOrderItems.Count == 1)
Invoice.Rows.Remove(GetOrderItemsArea().Range.TopRowIndex);
}
void AddOrderItemToSheet(OrderItem orderItem) {
var invoiceItemsArea = GetOrderItemsArea();
int rowIndex = invoiceItemsArea.Range.BottomRowIndex;
Invoice.Rows.Insert(rowIndex);
Invoice.Rows[rowIndex].Height = Invoice.Rows[rowIndex - 1].Height;
Invoice.Rows[rowIndex + 1].Height = Invoice.Rows[rowIndex].Height;
Range range = invoiceItemsArea.Range;
Range itemRange = Invoice.Range.FromLTRB(range.LeftColumnIndex, range.BottomRowIndex, range.RightColumnIndex, range.BottomRowIndex);
if(range.RowCount == 1) {
Invoice["K24"].FormulaInvariant = "=SUM(K22:K23)";
invoiceItemsArea.Range = Invoice.Range.FromLTRB(range.LeftColumnIndex, range.TopRowIndex - 1, range.RightColumnIndex, range.BottomRowIndex)
.GetRangeWithAbsoluteReference();
if(AllowChangeOrder())
UpdateOrderItemEditors();
}
CellsHelper.CopyOrderItemRange(itemRange);
OrderPropertiesHelper.InitializeOrderItem(itemRange, orderItem);
}
void AddOrderItemsToSheet() {
actualOrderItems.ForEach(x => AddOrderItemToSheet(x));
if(actualOrderItems.Any())
Invoice.Rows.Remove(GetOrderItemsArea().Range.TopRowIndex);
}
void UpdateOrderItem(Cell cell) {
var verticalOffset = GetOrderItemOffset(cell);
Range orderItemsRange = GetOrderItemsArea().Range;
var orderItem = actualOrderItems[verticalOffset];
var orderItemRange = Invoice.Range.FromLTRB(orderItemsRange.LeftColumnIndex, orderItemsRange.TopRowIndex + verticalOffset,
orderItemsRange.RightColumnIndex, orderItemsRange.TopRowIndex + verticalOffset);
OrderPropertiesHelper.UpdateProductUnits(orderItem, orderItemRange, Invoice);
OrderPropertiesHelper.UpdateProduct(orderItem, CellsHelper.GetOrderItemCellValue(CellsKind.ProductDescription, orderItemRange, Invoice), source);
OrderPropertiesHelper.UpdateProductPrice(cell, orderItem, orderItemRange);
AsyncUpdateSummaries(orderItem, orderItemRange);
}
void RemoveOrderItem(int deletedRowOffset) {
editActions.CloseEditor.Invoke();
var item = actualOrderItems[deletedRowOffset];
var actualRowIndex = GetOrderItemsArea().Range.TopRowIndex + deletedRowOffset;
actualOrderItems.Remove(item);
editActions.RemoveOrderItem(item);
Invoice.Rows.Remove(actualRowIndex);
}
void UpdateOrderItemEditors() {
CellsHelper.RemoveAllEditors("B23:M23", Invoice);
CellsHelper.GenerateEditors(CellsHelper.OrderItemCells, Invoice);
CellsHelper.CreateCollectionEditor<Product>(CellsKind.ProductDescription, Invoice, source.Products, x => x.Name);
}
#endregion
#region CustomerStores Management
void UpdateCustomerStores() {
source.CustomerStores = editActions.GetCustomerStores(order.CustomerId);
SetDefaultCustomerStore();
UpdateCustomerStoresEditor();
}
void UpdateCustomerStoresEditor() {
UpdateCollectionEditors();
}
void SetDefaultCustomerStore() {
var store = source.CustomerStores.First();
OrderPropertiesHelper.UpdateCustomerStoreIfNeeded(order, store.City, source);
Invoice.Cells[CellsHelper.FindLeftCell(CellsKind.CustomerStoreName)].Value = store.City;
}
#endregion
void CreateCollectionEditors() {
CellsHelper.CreateCollectionEditor<Customer>(CellsKind.CustomerName, Invoice, source.Customers, x => x.Name);
CellsHelper.CreateCollectionEditor<Employee>(CellsKind.EmployeeName, Invoice, source.Employees, x => x.FullName);
UpdateCollectionEditors();
}
void UpdateCollectionEditors() {
CellsHelper.RemoveEditor(CellsKind.CustomerStoreName, Invoice);
CellsHelper.CreateCollectionEditor<CustomerStore>(CellsKind.CustomerStoreName, Invoice, source.CustomerStores, x => x.City);
}
void AsyncUpdateSummaries(OrderItem orderItem, Range orderItemRange) {
System.Windows.Threading.Dispatcher.CurrentDispatcher.BeginInvoke((Action)(() => {
orderItem.Discount = (int)CellsHelper.GetOrderItemCellValue(CellsKind.Discount, orderItemRange, Invoice).NumericValue;
orderItem.Total = (int)CellsHelper.GetOrderItemCellValue(CellsKind.Total, orderItemRange, Invoice).NumericValue;
UpdateTotalValues();
}));
}
void UpdateTotalValues() {
order.SaleAmount = (decimal)CellsHelper.GetOrderCellValue(CellsKind.SubTotal, actualOrderItems, Invoice).NumericValue;
order.TotalAmount = (decimal)CellsHelper.GetOrderCellValue(CellsKind.TotalDue, actualOrderItems, Invoice).NumericValue;
}
#region Utils
bool AllowChangeOrder() {
return !(source.IsEmpty && editActions.IsDefaultActions);
}
bool IsOrderItemsRegionModified(Cell cell) {
return cell.Areas.First().IsIntersecting(GetOrderItemsArea().Range);
}
DefinedName GetOrderItemsArea() {
return Invoice.DefinedNames.GetDefinedName("InvoiceItems");
}
int GetOrderItemOffset(Cell cell) {
return cell.TopRowIndex - GetOrderItemsArea().Range.TopRowIndex;
}
int GetOrderItemPropertyOffset(Cell cell) {
return cell.LeftColumnIndex - GetOrderItemsArea().Range.LeftColumnIndex;
}
#endregion
}
public class OrderCollections {
public OrderCollections() {
Customers = Enumerable.Empty<Customer>();
Products = Enumerable.Empty<Product>();
Employees = Enumerable.Empty<Employee>();
CustomerStores = Enumerable.Empty<CustomerStore>();
}
public IEnumerable<Customer> Customers { get; set; }
public IEnumerable<Product> Products { get; set; }
public IEnumerable<Employee> Employees { get; set; }
public IEnumerable<CustomerStore> CustomerStores { get; set; }
public bool IsEmpty { get { return !(Customers.Any() || Products.Any() || Employees.Any() || CustomerStores.Any()); } }
}
public class EditActions {
public EditActions() {
ActivateEditor = () => { };
CloseEditor = () => { };
GetCustomerStores = x => Enumerable.Empty<CustomerStore>();
CreateOrderItem = () => null;
AddOrderItem = x => { };
RemoveOrderItem = x => { };
IsDefaultActions = true;
}
public Action ActivateEditor { get; set; }
public Action CloseEditor { get; set; }
public Func<long?, IEnumerable<CustomerStore>> GetCustomerStores { get; set; }
public Func<OrderItem> CreateOrderItem { get; set; }
public Action<OrderItem> AddOrderItem { get; set; }
public Action<OrderItem> RemoveOrderItem { get; set; }
public bool IsDefaultActions { get; set; }
}
}

View File

@@ -0,0 +1,75 @@
using DevExpress.Spreadsheet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Range = DevExpress.Spreadsheet.Range;
namespace DevExpress.DevAV.Reports.Spreadsheet {
public static class OrderPropertiesHelper {
public static Dictionary<string, Action<Order, CellValue, OrderCollections>> Setters { get { return propertySetters; } }
static Dictionary<string, Action<Order, CellValue, OrderCollections>> propertySetters = CreatePropertySetters();
static Dictionary<string, Action<Order, CellValue, OrderCollections>> CreatePropertySetters() {
var result = new Dictionary<string, Action<Order, CellValue, OrderCollections>>();
result.Add(CellsHelper.FindLeftCell(CellsKind.Date), (order, value, source) => order.OrderDate = value.DateTimeValue);
result.Add(CellsHelper.FindLeftCell(CellsKind.InvoiceNumber), (order, value, source) => SetIfNumericValue(value, s => order.InvoiceNumber = s));
result.Add(CellsHelper.FindLeftCell(CellsKind.PONumber), (order, value, source) => SetIfNumericValue(value, s => order.PONumber = s));
result.Add(CellsHelper.FindLeftCell(CellsKind.ShipDate), (order, value, source) => order.ShipDate = value.DateTimeValue);
result.Add(CellsHelper.FindLeftCell(CellsKind.ShipVia), (order, value, source) => { order.ShipmentCourier = (ShipmentCourier)Enum.Parse(typeof(ShipmentCourier), value.TextValue); });
result.Add(CellsHelper.FindLeftCell(CellsKind.Terms), (order, value, source) => SetIfNumericValue(value, s => order.OrderTerms = string.Format("{0} Days", s)));
result.Add(CellsHelper.FindLeftCell(CellsKind.CustomerName), (order, value, source) => UpdateCustomerIfNeeded(order, value, source));
result.Add(CellsHelper.FindLeftCell(CellsKind.CustomerStoreName), (order, value, source) => UpdateCustomerStoreIfNeeded(order, value, source));
result.Add(CellsHelper.FindLeftCell(CellsKind.EmployeeName), (order, value, source) => UpdateEmployeeIfNeeded(order, value, source));
result.Add(CellsHelper.FindLeftCell(CellsKind.Comments), (order, value, source) => order.Comments = value.TextValue);
result.Add(CellsHelper.FindLeftCell(CellsKind.Shipping), (order, value, source) => order.ShippingAmount = (decimal)value.NumericValue);
return result;
}
public static void UpdateCustomerIfNeeded(Order order, CellValue value, OrderCollections source) {
var newCustomer = source.Customers.First(x => x.Name == value.TextValue);
if(order.StoreId != newCustomer.Id) {
order.Customer = newCustomer;
order.CustomerId = newCustomer.Id;
}
}
public static void UpdateCustomerStoreIfNeeded(Order order, CellValue value, OrderCollections source) {
var newStore = source.CustomerStores.First(x => x.City == value.TextValue);
if(order.StoreId != newStore.Id) {
order.Store = newStore;
order.StoreId = newStore.Id;
}
}
public static void UpdateEmployeeIfNeeded(Order order, CellValue value, OrderCollections source) {
var newEmployee = source.Employees.First(x => x.FullName == value.TextValue);
if(order.EmployeeId != newEmployee.Id) {
order.Employee = newEmployee;
order.EmployeeId = newEmployee.Id;
}
}
public static void InitializeOrderItem(Range itemRange, OrderItem orderItem) {
itemRange[CellsHelper.GetOffset(CellsKind.ProductDescription)].Value = orderItem.Product != null
? orderItem.Product.Name : string.Empty;
itemRange[CellsHelper.GetOffset(CellsKind.Quantity)].Value = orderItem.ProductUnits > 0 ? orderItem.ProductUnits : 1;
itemRange[CellsHelper.GetOffset(CellsKind.UnitPrice)].Value = (double)orderItem.ProductPrice;
itemRange[CellsHelper.GetOffset(CellsKind.Discount)].Value = (double)orderItem.Discount;
}
public static void UpdateProduct(OrderItem orderItem, CellValue productCell, OrderCollections source) {
var newProduct = source.Products.First(x => x.Name == productCell.TextValue);
orderItem.Product = newProduct;
orderItem.ProductId = newProduct.Id;
}
public static void UpdateProductUnits(OrderItem orderItem, Range orderItemRange, Worksheet invoice) {
orderItem.ProductUnits = (int)CellsHelper.GetOrderItemCellValue(CellsKind.Quantity, orderItemRange, invoice).NumericValue;
}
public static void UpdateProductPrice(Cell cell, OrderItem orderItem, Range orderItemRange) {
if(CellsHelper.IsOrderItemProductCell(cell, orderItemRange)) {
orderItemRange[CellsHelper.GetOffset(CellsKind.UnitPrice)].Value = (double)orderItem.Product.SalePrice;
orderItem.ProductPrice = orderItem.Product.SalePrice;
}
}
static void SetIfNumericValue(CellValue value, Action<string> setValue) {
if(value.IsNumeric)
setValue.Invoke(value.NumericValue.ToString("F0"));
}
}
}

View File

@@ -0,0 +1,442 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class SalesAnalysis : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.Parameters.Parameter paramYears;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRChart xrChart1;
private XtraReports.UI.XRTable xrTable8;
private XtraReports.UI.XRTableRow xrTableRow12;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableRow xrTableRow13;
private XtraReports.UI.XRTableCell xrTableCell19;
private XtraReports.UI.XRTableRow xrTableRow14;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.XRTableRow xrTableRow15;
private XtraReports.UI.XRTableCell xrTableCell21;
private XtraReports.UI.XRTableRow xrTableRow16;
private XtraReports.UI.XRTableCell xrTableCell22;
private XtraReports.UI.XRTableRow xrTableRow17;
private XtraReports.UI.XRTableCell xrTableCell23;
private XtraReports.UI.CalculatedField orderDate;
private XtraReports.UI.CalculatedField costSold;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
public SalesAnalysis() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesAnalysis));
DevExpress.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram();
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel();
DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrChart1 = new DevExpress.XtraReports.UI.XRChart();
this.xrTable8 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramYears = new DevExpress.XtraReports.Parameters.Parameter();
this.orderDate = new DevExpress.XtraReports.UI.CalculatedField();
this.costSold = new DevExpress.XtraReports.UI.CalculatedField();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2});
this.topMarginBand1.HeightF = 125F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox2
//
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(470.8333F, 52.08333F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.detailBand1.HeightF = 0F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Order.OrderDate", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.detailBand1.StylePriority.UseFont = false;
this.detailBand1.StylePriority.UseForeColor = false;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 102F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.OrderItem);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1,
this.xrChart1,
this.xrTable8});
this.ReportHeader.HeightF = 303.5417F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(641.9999F, 28.71094F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 0.66666681489878932D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Orders";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.94701867179278676D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell2.Font = new System.Drawing.Font("Segoe UI", 11.5F);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "2013 - 2015";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 2.0252039691253749D;
//
// xrChart1
//
this.xrChart1.BorderColor = System.Drawing.Color.Black;
this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
simpleDiagram1.EqualPieSize = false;
this.xrChart1.Diagram = simpleDiagram1;
this.xrChart1.EmptyChartText.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrChart1.EmptyChartText.Text = "\r\n";
this.xrChart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Center;
this.xrChart1.Legend.EnableAntialiasing = Utils.DefaultBoolean.True;
this.xrChart1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
this.xrChart1.Legend.EquallySpacedItems = false;
this.xrChart1.Legend.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrChart1.Legend.MarkerSize = new System.Drawing.Size(20, 20);
this.xrChart1.Legend.Padding.Left = 30;
this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.71097F);
this.xrChart1.Name = "xrChart1";
series1.ArgumentDataMember = "orderDate";
series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Qualitative;
pieSeriesLabel1.TextPattern = "{V:$#,#}";
series1.Label = pieSeriesLabel1;
series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False;
series1.LegendTextPattern = "{A}: {V:$#,#}\n";
series1.Name = "Series 1";
series1.QualitativeSummaryOptions.SummaryFunction = "SUM([Total])";
series1.SynchronizePointOptions = false;
pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
pieSeriesView1.RuntimeExploding = false;
pieSeriesView1.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
series1.View = pieSeriesView1;
this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
series1};
this.xrChart1.SeriesTemplate.SynchronizePointOptions = false;
pieSeriesView2.RuntimeExploding = false;
pieSeriesView2.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
this.xrChart1.SeriesTemplate.View = pieSeriesView2;
this.xrChart1.SizeF = new System.Drawing.SizeF(366.6193F, 274.8307F);
//
// xrTable8
//
this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(402.7133F, 81.83333F);
this.xrTable8.Name = "xrTable8";
this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow12,
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15,
this.xrTableRow16,
this.xrTableRow17});
this.xrTable8.SizeF = new System.Drawing.SizeF(238.9533F, 158.0092F);
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.77837459842722589D;
//
// xrTableCell18
//
this.xrTableCell18.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.StylePriority.UseFont = false;
this.xrTableCell18.Text = "Total orders ";
this.xrTableCell18.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 1.0424314011909091D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell19.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
xrSummary1.FormatString = "{0:$#,#}";
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell19.Summary = xrSummary1;
this.xrTableCell19.Weight = 3D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.69866359482761187D;
//
// xrTableCell20
//
this.xrTableCell20.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseFont = false;
this.xrTableCell20.Text = "Total cost of goods sold";
this.xrTableCell20.Weight = 3D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 1.1819583095512345D;
//
// xrTableCell21
//
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "costSold")});
this.xrTableCell21.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.StylePriority.UseFont = false;
xrSummary2.FormatString = "{0:$#,#}";
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell21.Summary = xrSummary2;
this.xrTableCell21.Weight = 3D;
//
// xrTableRow16
//
this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell22});
this.xrTableRow16.Name = "xrTableRow16";
this.xrTableRow16.Weight = 0.65786547518207683D;
//
// xrTableCell22
//
this.xrTableCell22.CanGrow = false;
this.xrTableCell22.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.StylePriority.UseFont = false;
this.xrTableCell22.Text = "Total units sold ";
this.xrTableCell22.Weight = 3D;
//
// xrTableRow17
//
this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow17.Name = "xrTableRow17";
this.xrTableRow17.Weight = 1.0400433368797812D;
//
// xrTableCell23
//
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductUnits")});
this.xrTableCell23.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.StylePriority.UseFont = false;
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell23.Summary = xrSummary3;
this.xrTableCell23.Weight = 3D;
//
// paramYears
//
this.paramYears.Description = "Years";
this.paramYears.Name = "paramYears";
this.paramYears.ValueInfo = "2013, 2014, 2015";
this.paramYears.Visible = false;
//
// orderDate
//
this.orderDate.Expression = "GetYear([Order.OrderDate])";
this.orderDate.FieldType = DevExpress.XtraReports.UI.FieldType.Int32;
this.orderDate.Name = "orderDate";
//
// costSold
//
this.costSold.Expression = "[Product.Cost] * [ProductUnits]";
this.costSold.Name = "costSold";
//
// SalesAnalysis
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.orderDate,
this.costSold});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(104, 104, 125, 102);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramYears});
this.Version = "14.1";
this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.EmployeeSummary_BeforePrint);
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void EmployeeSummary_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
string stringYears = (string)paramYears.Value;
bool isEmptyYears = string.IsNullOrEmpty(stringYears);
this.ReportHeader.Visible = !isEmptyYears;
if(isEmptyYears)
return;
string[] years = stringYears.Split(',').ToArray();
SetOrdersText(years);
SetFilterString(years);
}
void SetFilterString(string[] years){
string[] filterYears = new string[years.Length];
for(int i = 0; i < years.Length; i++) {
filterYears[i] = "[Order.OrderDate.Year] == " + years[i];
}
this.FilterString = string.Join(" || ", filterYears);
}
void SetOrdersText(string[] years) {
int countYears = years.Length;
if(countYears > 1 && Convert.ToInt32(years[countYears - 1]) - Convert.ToInt32(years[0]) == countYears - 1) {
xrTableCell2.Text = string.Join(" - ", new string[] { years[0], years[countYears - 1] });
} else {
xrTableCell2.Text = (string)paramYears.Value;
}
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8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DXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,442 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class SalesAnalysisReport : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.Parameters.Parameter paramYears;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRChart xrChart1;
private XtraReports.UI.XRTable xrTable8;
private XtraReports.UI.XRTableRow xrTableRow12;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableRow xrTableRow13;
private XtraReports.UI.XRTableCell xrTableCell19;
private XtraReports.UI.XRTableRow xrTableRow14;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.XRTableRow xrTableRow15;
private XtraReports.UI.XRTableCell xrTableCell21;
private XtraReports.UI.XRTableRow xrTableRow16;
private XtraReports.UI.XRTableCell xrTableCell22;
private XtraReports.UI.XRTableRow xrTableRow17;
private XtraReports.UI.XRTableCell xrTableCell23;
private XtraReports.UI.CalculatedField orderDate;
private XtraReports.UI.CalculatedField costSold;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
public SalesAnalysisReport() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesAnalysisReport));
DevExpress.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram();
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel();
DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrChart1 = new DevExpress.XtraReports.UI.XRChart();
this.xrTable8 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramYears = new DevExpress.XtraReports.Parameters.Parameter();
this.orderDate = new DevExpress.XtraReports.UI.CalculatedField();
this.costSold = new DevExpress.XtraReports.UI.CalculatedField();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2});
this.topMarginBand1.HeightF = 125F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox2
//
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(470.8333F, 52.08333F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.detailBand1.HeightF = 0F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("OrderDate", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.detailBand1.StylePriority.UseFont = false;
this.detailBand1.StylePriority.UseForeColor = false;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 102F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.SaleAnalisysInfo);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1,
this.xrChart1,
this.xrTable8});
this.ReportHeader.HeightF = 303.5417F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(641.9999F, 28.71094F);
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 0.66666681489878932D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Orders";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.94701867179278676D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell2.Font = new System.Drawing.Font("Segoe UI", 11.5F);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "2013 - 2015";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 2.0252039691253749D;
//
// xrChart1
//
this.xrChart1.BorderColor = System.Drawing.Color.Black;
this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
simpleDiagram1.EqualPieSize = false;
this.xrChart1.Diagram = simpleDiagram1;
this.xrChart1.EmptyChartText.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrChart1.EmptyChartText.Text = "\r\n";
this.xrChart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Center;
this.xrChart1.Legend.EnableAntialiasing = Utils.DefaultBoolean.True;
this.xrChart1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
this.xrChart1.Legend.EquallySpacedItems = false;
this.xrChart1.Legend.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrChart1.Legend.MarkerSize = new System.Drawing.Size(20, 20);
this.xrChart1.Legend.Padding.Left = 30;
this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 28.71097F);
this.xrChart1.Name = "xrChart1";
series1.ArgumentDataMember = "orderDate";
series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Qualitative;
pieSeriesLabel1.TextPattern = "{V:$#,#}";
series1.Label = pieSeriesLabel1;
series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False;
series1.LegendTextPattern = "{A}: {V:$#,#}\n";
series1.Name = "Series 1";
series1.QualitativeSummaryOptions.SummaryFunction = "SUM([Total])";
series1.SynchronizePointOptions = false;
pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
pieSeriesView1.RuntimeExploding = false;
pieSeriesView1.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
series1.View = pieSeriesView1;
this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
series1};
this.xrChart1.SeriesTemplate.SynchronizePointOptions = false;
pieSeriesView2.RuntimeExploding = false;
pieSeriesView2.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
this.xrChart1.SeriesTemplate.View = pieSeriesView2;
this.xrChart1.SizeF = new System.Drawing.SizeF(366.6193F, 274.8307F);
//
// xrTable8
//
this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(402.7133F, 81.83333F);
this.xrTable8.Name = "xrTable8";
this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow12,
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15,
this.xrTableRow16,
this.xrTableRow17});
this.xrTable8.SizeF = new System.Drawing.SizeF(238.9533F, 158.0092F);
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.77837459842722589D;
//
// xrTableCell18
//
this.xrTableCell18.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.StylePriority.UseFont = false;
this.xrTableCell18.Text = "Total orders ";
this.xrTableCell18.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 1.0424314011909091D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell19.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
xrSummary1.FormatString = "{0:$#,#}";
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell19.Summary = xrSummary1;
this.xrTableCell19.Weight = 3D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.69866359482761187D;
//
// xrTableCell20
//
this.xrTableCell20.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseFont = false;
this.xrTableCell20.Text = "Total cost of goods sold";
this.xrTableCell20.Weight = 3D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 1.1819583095512345D;
//
// xrTableCell21
//
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "costSold")});
this.xrTableCell21.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.StylePriority.UseFont = false;
xrSummary2.FormatString = "{0:$#,#}";
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell21.Summary = xrSummary2;
this.xrTableCell21.Weight = 3D;
//
// xrTableRow16
//
this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell22});
this.xrTableRow16.Name = "xrTableRow16";
this.xrTableRow16.Weight = 0.65786547518207683D;
//
// xrTableCell22
//
this.xrTableCell22.CanGrow = false;
this.xrTableCell22.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.StylePriority.UseFont = false;
this.xrTableCell22.Text = "Total units sold ";
this.xrTableCell22.Weight = 3D;
//
// xrTableRow17
//
this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow17.Name = "xrTableRow17";
this.xrTableRow17.Weight = 1.0400433368797812D;
//
// xrTableCell23
//
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductUnits")});
this.xrTableCell23.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.StylePriority.UseFont = false;
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell23.Summary = xrSummary3;
this.xrTableCell23.Weight = 3D;
//
// paramYears
//
this.paramYears.Description = "Years";
this.paramYears.Name = "paramYears";
this.paramYears.ValueInfo = "2013, 2014, 2015";
this.paramYears.Visible = false;
//
// orderDate
//
this.orderDate.Expression = "GetYear([OrderDate])";
this.orderDate.FieldType = DevExpress.XtraReports.UI.FieldType.Int32;
this.orderDate.Name = "orderDate";
//
// costSold
//
this.costSold.Expression = "[ProductCost] * [ProductUnits]";
this.costSold.Name = "costSold";
//
// SalesAnalysisReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.orderDate,
this.costSold});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(104, 104, 125, 102);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramYears});
this.Version = "14.1";
this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.EmployeeSummary_BeforePrint);
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void EmployeeSummary_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
string stringYears = (string)paramYears.Value;
bool isEmptyYears = string.IsNullOrEmpty(stringYears);
this.ReportHeader.Visible = !isEmptyYears;
if(isEmptyYears)
return;
string[] years = stringYears.Split(',').ToArray();
SetOrdersText(years);
SetFilterString(years);
}
void SetFilterString(string[] years){
string[] filterYears = new string[years.Length];
for(int i = 0; i < years.Length; i++) {
filterYears[i] = "[OrderDate.Year] == " + years[i];
}
this.FilterString = string.Join(" || ", filterYears);
}
void SetOrdersText(string[] years) {
int countYears = years.Length;
if(countYears > 1 && Convert.ToInt32(years[countYears - 1]) - Convert.ToInt32(years[0]) == countYears - 1) {
xrTableCell2.Text = string.Join(" - ", new string[] { years[0], years[countYears - 1] });
} else {
xrTableCell2.Text = (string)paramYears.Value;
}
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv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spyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBoxLogo.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ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YA8pZJNSk2I6A8k2xUkb9GTWCLCQqKBY5GkAchnABI8kt1VUlmXxgWUHqKtOUlPeT83/LuM
ozscZ3Y3IMCxEjhMP3cDIFYa9Apv8YHaT0BkqPUtjvP6A34AshFAjFVK4JCh1QwFx8k1l+TcahQSZAGI
PD2/QM779yX2A0ByjspyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
</root>

View File

@@ -0,0 +1,847 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraReports.UI;
using System.Reflection;
using System.Drawing;
using System.Data;
namespace DevExpress.DevAV.Reports {
public class SalesOrdersSummary : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XRPageInfo xrPageInfo2;
private XRTable xrTable1;
private XRTableRow xrTableRow1;
private XRTableCell xrTableCell1;
private XRTableCell xrTableCell2;
private XRTable xrTable4;
private XRTableRow xrTableRow6;
private XRTableCell xrTableCell3;
private XRTableCell xrTableCell6;
private XRTable xrTable7;
private XRTableRow xrTableRow11;
private XRTableCell xrTableCell36;
private XRTableCell xrTableCell37;
private XRTableCell xrTableCell38;
private XRTableCell xrTableCell39;
private XRTableCell xrTableCell40;
private XRTableCell xrTableCell41;
private XRTable xrTable6;
private XRTableRow xrTableRow10;
private XRTableCell xrTableCell30;
private XRTableCell xrTableCell31;
private XRTableCell xrTableCell32;
private XRTableCell xrTableCell33;
private XRTableCell xrTableCell34;
private XRTableCell xrTableCell35;
private XRLabel xrLabel4;
private XRLabel xrLabel5;
private GroupHeaderBand GroupHeader1;
private GroupFooterBand GroupFooter1;
private XRTable xrTable5;
private XRTableRow xrTableRow9;
private XRTableCell xrTableCell16;
private XRTableCell xrTableCell17;
private XRTable xrTable8;
private XRTableRow xrTableRow12;
private XRTableCell xrTableCell18;
private XRTableRow xrTableRow13;
private XRTableCell xrTableCell19;
private XRTableRow xrTableRow14;
private XRTableCell xrTableCell20;
private XRTableRow xrTableRow15;
private XRTableCell xrTableCell21;
private XRTableRow xrTableRow16;
private XRTableCell xrTableCell22;
private XRTableRow xrTableRow17;
private XRTableCell xrTableCell23;
private Color backCellColor = System.Drawing.Color.FromArgb(223, 223, 223);
private Color foreCellColor = System.Drawing.Color.FromArgb(221, 128, 71);
private XtraReports.Parameters.Parameter paramFromDate;
private XRChart xrChart1;
private XtraReports.Parameters.Parameter paramOrderDate;
Dictionary<CustomerStore, decimal> storeSales = new Dictionary<CustomerStore, decimal>();
private XtraReports.Parameters.Parameter paramToDate;
public SalesOrdersSummary() {
InitializeComponent();
ParameterHelper.InitializeDateTimeParameters(paramFromDate, paramToDate);
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesOrdersSummary));
DevExpress.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram();
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel();
DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary5 = new DevExpress.XtraReports.UI.XRSummary();
this.paramFromDate = new DevExpress.XtraReports.Parameters.Parameter();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrChart1 = new DevExpress.XtraReports.UI.XRChart();
this.xrTable8 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramToDate = new DevExpress.XtraReports.Parameters.Parameter();
this.paramOrderDate = new DevExpress.XtraReports.Parameters.Parameter();
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// paramFromDate
//
this.paramFromDate.Description = "ParamFromDate";
this.paramFromDate.Name = "paramFromDate";
this.paramFromDate.Type = typeof(System.DateTime);
this.paramFromDate.ValueInfo = "2013-01-01";
this.paramFromDate.Visible = false;
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.HeightF = 119F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(473.9583F, 51F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable7});
this.detailBand1.HeightF = 20.27876F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Order.InvoiceNumber", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrTable7
//
this.xrTable7.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(2.05829E-05F, 0F);
this.xrTable7.Name = "xrTable7";
this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11});
this.xrTable7.SizeF = new System.Drawing.SizeF(650F, 20.27876F);
this.xrTable7.StylePriority.UseFont = false;
this.xrTable7.StylePriority.UseForeColor = false;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell36,
this.xrTableCell37,
this.xrTableCell38,
this.xrTableCell39,
this.xrTableCell40,
this.xrTableCell41});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.StylePriority.UseTextAlignment = false;
this.xrTableRow11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableRow11.Weight = 1D;
//
// xrTableCell36
//
this.xrTableCell36.CanGrow = false;
this.xrTableCell36.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.OrderDate", "{0:MM/dd/yyyy}")});
this.xrTableCell36.Name = "xrTableCell36";
this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell36.StylePriority.UsePadding = false;
this.xrTableCell36.StylePriority.UseTextAlignment = false;
this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell36.Weight = 0.59429261207580253D;
//
// xrTableCell37
//
this.xrTableCell37.CanGrow = false;
this.xrTableCell37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.InvoiceNumber")});
this.xrTableCell37.Name = "xrTableCell37";
this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell37.StylePriority.UsePadding = false;
this.xrTableCell37.StylePriority.UseTextAlignment = false;
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell37.Weight = 0.54843580062572306D;
//
// xrTableCell38
//
this.xrTableCell38.CanGrow = false;
this.xrTableCell38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductUnits")});
this.xrTableCell38.Name = "xrTableCell38";
this.xrTableCell38.StylePriority.UseTextAlignment = false;
this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell38.Weight = 0.399939912733946D;
//
// xrTableCell39
//
this.xrTableCell39.CanGrow = false;
this.xrTableCell39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductPrice", "{0:$#,#}")});
this.xrTableCell39.Name = "xrTableCell39";
this.xrTableCell39.StylePriority.UseTextAlignment = false;
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell39.Weight = 0.40955509665451173D;
//
// xrTableCell40
//
this.xrTableCell40.CanGrow = false;
this.xrTableCell40.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Discount", "{0:$#,#;$#,#; - }")});
this.xrTableCell40.Name = "xrTableCell40";
this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell40.StylePriority.UsePadding = false;
this.xrTableCell40.StylePriority.UseTextAlignment = false;
this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell40.Weight = 0.35327297724209294D;
//
// xrTableCell41
//
this.xrTableCell41.CanGrow = false;
this.xrTableCell41.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total", "{0:$#,#}")});
this.xrTableCell41.Name = "xrTableCell41";
this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell41.StylePriority.UsePadding = false;
this.xrTableCell41.StylePriority.UseTextAlignment = false;
this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell41.Weight = 0.69450360066792372D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 93.37114F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.OrderItem);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrChart1,
this.xrTable8,
this.xrTable1,
this.xrTable4});
this.ReportHeader.HeightF = 359.2917F;
this.ReportHeader.Name = "ReportHeader";
//
// xrChart1
//
this.xrChart1.BorderColor = System.Drawing.Color.Black;
this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
simpleDiagram1.EqualPieSize = false;
this.xrChart1.Diagram = simpleDiagram1;
this.xrChart1.EmptyChartText.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrChart1.EmptyChartText.Text = "\r\n";
this.xrChart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Center;
this.xrChart1.Legend.EnableAntialiasing = Utils.DefaultBoolean.True;
this.xrChart1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
this.xrChart1.Legend.EquallySpacedItems = false;
this.xrChart1.Legend.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrChart1.Legend.MarkerSize = new System.Drawing.Size(20, 20);
this.xrChart1.Legend.Padding.Left = 30;
this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.375F);
this.xrChart1.Name = "xrChart1";
series1.ArgumentDataMember = "Product.Category";
series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Qualitative;
pieSeriesLabel1.TextPattern = "{V:$#,#}";
series1.Label = pieSeriesLabel1;
series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False;
series1.LegendTextPattern = "{A}\n{V:$#,#}\n";
series1.Name = "Series 1";
series1.QualitativeSummaryOptions.SummaryFunction = "SUM([Total])";
series1.SynchronizePointOptions = false;
pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
pieSeriesView1.RuntimeExploding = false;
pieSeriesView1.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
series1.View = pieSeriesView1;
this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
series1};
this.xrChart1.SeriesTemplate.SynchronizePointOptions = false;
pieSeriesView2.RuntimeExploding = false;
pieSeriesView2.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
this.xrChart1.SeriesTemplate.View = pieSeriesView2;
this.xrChart1.SizeF = new System.Drawing.SizeF(356.6193F, 248.0208F);
//
// xrTable8
//
this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(407.0465F, 85.10419F);
this.xrTable8.Name = "xrTable8";
this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow12,
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15,
this.xrTableRow16,
this.xrTableRow17});
this.xrTable8.SizeF = new System.Drawing.SizeF(242.9535F, 175.5873F);
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.77837459842722589D;
//
// xrTableCell18
//
this.xrTableCell18.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.StylePriority.UseFont = false;
this.xrTableCell18.Text = "Total sales in date range was";
this.xrTableCell18.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 1.3828073576824858D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell19.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
xrSummary1.FormatString = "{0:$#,#}";
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell19.Summary = xrSummary1;
this.xrTableCell19.Weight = 3D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.83881804389028847D;
//
// xrTableCell20
//
this.xrTableCell20.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseFont = false;
this.xrTableCell20.Text = "Total discounts on orders was ";
this.xrTableCell20.Weight = 3D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 1.28206876997332D;
//
// xrTableCell21
//
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Discount")});
this.xrTableCell21.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.StylePriority.UseFont = false;
xrSummary2.FormatString = "{0:$#,#}";
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell21.Summary = xrSummary2;
this.xrTableCell21.Weight = 3D;
//
// xrTableRow16
//
this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell22});
this.xrTableRow16.Name = "xrTableRow16";
this.xrTableRow16.Weight = 0.71793123002668D;
//
// xrTableCell22
//
this.xrTableCell22.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.StylePriority.UseFont = false;
this.xrTableCell22.Text = "Top-selling store was";
this.xrTableCell22.Weight = 3D;
//
// xrTableRow17
//
this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow17.Name = "xrTableRow17";
this.xrTableRow17.Weight = 1D;
//
// xrTableCell23
//
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell23.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.StylePriority.UseFont = false;
xrSummary3.Func = DevExpress.XtraReports.UI.SummaryFunc.Custom;
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell23.Summary = xrSummary3;
this.xrTableCell23.Weight = 3D;
this.xrTableCell23.SummaryGetResult += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrTableCell23_SummaryGetResult);
this.xrTableCell23.SummaryReset += new System.EventHandler(this.xrTableCell23_SummaryReset);
this.xrTableCell23.SummaryRowChanged += new System.EventHandler(this.xrTableCell23_SummaryRowChanged);
//
// xrTable1
//
this.xrTable1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(647.9999F, 37.5F);
this.xrTable1.StylePriority.UseFont = false;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.3333334941638817D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Analysis";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.8195229174103581D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "July 1, 2013 to July 31, 2013";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 2.1804770825896416D;
//
// xrTable4
//
this.xrTable4.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 301.0417F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6});
this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 37.5F);
this.xrTable4.StylePriority.UseFont = false;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell6});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 1.3333334941638817D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell3.ForeColor = System.Drawing.Color.White;
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UseForeColor = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Orders";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.8195229174103581D;
//
// xrTableCell6
//
this.xrTableCell6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell6.StylePriority.UseBackColor = false;
this.xrTableCell6.StylePriority.UseFont = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "Grouped by Category | Sorted by Order Date";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell6.Weight = 2.1804770825896416D;
//
// xrTable6
//
this.xrTable6.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable6.ForeColor = System.Drawing.Color.Gray;
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 64.00003F);
this.xrTable6.Name = "xrTable6";
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 24.99998F);
this.xrTable6.StylePriority.UseFont = false;
this.xrTable6.StylePriority.UseForeColor = false;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell30,
this.xrTableCell31,
this.xrTableCell32,
this.xrTableCell33,
this.xrTableCell34,
this.xrTableCell35});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 1D;
//
// xrTableCell30
//
this.xrTableCell30.Name = "xrTableCell30";
this.xrTableCell30.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell30.StylePriority.UsePadding = false;
this.xrTableCell30.StylePriority.UseTextAlignment = false;
this.xrTableCell30.Text = "ORDER DATE";
this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell30.Weight = 0.65655051378103091D;
//
// xrTableCell31
//
this.xrTableCell31.Name = "xrTableCell31";
this.xrTableCell31.StylePriority.UseTextAlignment = false;
this.xrTableCell31.Text = "INVOICE #";
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell31.Weight = 0.48617789892049473D;
//
// xrTableCell32
//
this.xrTableCell32.Name = "xrTableCell32";
this.xrTableCell32.StylePriority.UseTextAlignment = false;
this.xrTableCell32.Text = "QTY";
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell32.Weight = 0.399939912733946D;
//
// xrTableCell33
//
this.xrTableCell33.Name = "xrTableCell33";
this.xrTableCell33.StylePriority.UseTextAlignment = false;
this.xrTableCell33.Text = "PRICE";
this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell33.Weight = 0.40955509665451173D;
//
// xrTableCell34
//
this.xrTableCell34.Name = "xrTableCell34";
this.xrTableCell34.StylePriority.UseTextAlignment = false;
this.xrTableCell34.Text = "DISCOUNT";
this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell34.Weight = 0.35327269554137175D;
//
// xrTableCell35
//
this.xrTableCell35.Name = "xrTableCell35";
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell35.StylePriority.UsePadding = false;
this.xrTableCell35.StylePriority.UseTextAlignment = false;
this.xrTableCell35.Text = "ORDER AMOUNT";
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell35.Weight = 0.6945038823686448D;
//
// xrLabel4
//
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Category")});
this.xrLabel4.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.999992F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(156.25F, 31.33335F);
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.StylePriority.UsePadding = false;
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrLabel4.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel4_BeforePrint);
//
// xrLabel5
//
this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Category")});
this.xrLabel5.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(156.25F, 7.999996F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(200.3693F, 31.33335F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseForeColor = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
xrSummary4.FormatString = "| # OF ORDERS: {0}";
xrSummary4.Func = DevExpress.XtraReports.UI.SummaryFunc.Count;
xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrLabel5.Summary = xrSummary4;
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel5,
this.xrTable6,
this.xrLabel4});
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Product.Category", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
this.GroupHeader1.HeightF = 89.00002F;
this.GroupHeader1.Name = "GroupHeader1";
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable5});
this.GroupFooter1.HeightF = 43.799F;
this.GroupFooter1.Name = "GroupFooter1";
//
// xrTable5
//
this.xrTable5.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(439.8059F, 18.79899F);
this.xrTable5.Name = "xrTable5";
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9});
this.xrTable5.SizeF = new System.Drawing.SizeF(210.1941F, 25.00001F);
this.xrTable5.StylePriority.UseFont = false;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell17});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 1D;
//
// xrTableCell16
//
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.Text = "TOTAL";
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 0.93984267887268125D;
//
// xrTableCell17
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
xrSummary5.FormatString = "{0:$#,#}";
xrSummary5.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrTableCell17.Summary = xrSummary5;
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell17.Weight = 1.0653644820811168D;
//
// paramToDate
//
this.paramToDate.Description = "ParamToDate";
this.paramToDate.Name = "paramToDate";
this.paramToDate.Type = typeof(System.DateTime);
this.paramToDate.ValueInfo = "2015-01-01";
this.paramToDate.Visible = false;
//
// paramOrderDate
//
this.paramOrderDate.Description = "ParamOrderDate";
this.paramOrderDate.Name = "paramOrderDate";
this.paramOrderDate.Type = typeof(bool);
this.paramOrderDate.ValueInfo = "True";
this.paramOrderDate.Visible = false;
//
// SalesOrdersSummary
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.GroupHeader1,
this.GroupFooter1});
this.DataSource = this.bindingSource1;
this.DesignerOptions.ShowExportWarnings = false;
this.FilterString = "[Order.OrderDate] >= ?paramFromDate And [Order.OrderDate] <= ?paramToDate";
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 100, 119, 93);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramFromDate,
this.paramToDate,
this.paramOrderDate});
this.Version = "14.1";
this.DataSourceDemanded += new System.EventHandler<System.EventArgs>(this.CustomerSalesSummary_DataSourceDemanded);
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void xrLabel4_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
Product currentProduct = (Product)GetCurrentColumnValue("Product");
if(currentProduct != null)
(sender as XRLabel).Text = EnumDisplayTextHelper.GetDisplayText(currentProduct.Category).ToUpper();
}
private void CustomerSalesSummary_DataSourceDemanded(object sender, EventArgs e) {
if(Equals(true, paramOrderDate.Value)) {
xrTableCell6.Text = "Grouped by Category | Sorted by Order Date";
this.detailBand1.SortFields[0].FieldName = "Order.OrderDate";
} else {
xrTableCell6.Text = "Grouped by Category | Sorted by Invoice #";
this.detailBand1.SortFields[0].FieldName = "Order.InvoiceNumber";
}
xrTableCell2.Text = ((DateTime)paramFromDate.Value).ToString("MMMM d, yyyy") + " to " + ((DateTime)paramToDate.Value).ToString("MMMM d, yyyy");
}
private void xrTableCell23_SummaryRowChanged(object sender, EventArgs e) {
CustomerStore currentStore = ((Order)GetCurrentColumnValue("Order")).Store;
decimal total = (decimal)GetCurrentColumnValue("Total");
if(storeSales.ContainsKey(currentStore)) {
storeSales[currentStore] += total;
} else {
storeSales.Add(currentStore, total);
}
}
private void xrTableCell23_SummaryGetResult(object sender, SummaryGetResultEventArgs e) {
if(storeSales.Count == 0)
e.Result = " - ";
else {
CustomerStore topStore = storeSales.Aggregate((x, y) => x.Value > y.Value ? x : y).Key;
e.Result = topStore.City + " Store (" + topStore.CustomerName + ")";
}
e.Handled = true;
}
private void xrTableCell23_SummaryReset(object sender, EventArgs e) {
storeSales.Clear();
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjA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u
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,857 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraReports.UI;
using System.Reflection;
using System.Drawing;
using System.Data;
namespace DevExpress.DevAV.Reports {
public class SalesOrdersSummaryReport : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XRPageInfo xrPageInfo2;
private XRTable xrTable1;
private XRTableRow xrTableRow1;
private XRTableCell xrTableCell1;
private XRTableCell xrTableCell2;
private XRTable xrTable4;
private XRTableRow xrTableRow6;
private XRTableCell xrTableCell3;
private XRTableCell xrTableCell6;
private XRTable xrTable7;
private XRTableRow xrTableRow11;
private XRTableCell xrTableCell36;
private XRTableCell xrTableCell37;
private XRTableCell xrTableCell38;
private XRTableCell xrTableCell39;
private XRTableCell xrTableCell40;
private XRTableCell xrTableCell41;
private XRTable xrTable6;
private XRTableRow xrTableRow10;
private XRTableCell xrTableCell30;
private XRTableCell xrTableCell31;
private XRTableCell xrTableCell32;
private XRTableCell xrTableCell33;
private XRTableCell xrTableCell34;
private XRTableCell xrTableCell35;
private XRLabel xrLabel4;
private XRLabel xrLabel5;
private GroupHeaderBand GroupHeader1;
private GroupFooterBand GroupFooter1;
private XRTable xrTable5;
private XRTableRow xrTableRow9;
private XRTableCell xrTableCell16;
private XRTableCell xrTableCell17;
private XRTable xrTable8;
private XRTableRow xrTableRow12;
private XRTableCell xrTableCell18;
private XRTableRow xrTableRow13;
private XRTableCell xrTableCell19;
private XRTableRow xrTableRow14;
private XRTableCell xrTableCell20;
private XRTableRow xrTableRow15;
private XRTableCell xrTableCell21;
private XRTableRow xrTableRow16;
private XRTableCell xrTableCell22;
private XRTableRow xrTableRow17;
private XRTableCell xrTableCell23;
private Color backCellColor = System.Drawing.Color.FromArgb(223, 223, 223);
private Color foreCellColor = System.Drawing.Color.FromArgb(221, 128, 71);
private XtraReports.Parameters.Parameter paramFromDate;
private XRChart xrChart1;
private XtraReports.Parameters.Parameter paramOrderDate;
private XtraReports.Parameters.Parameter paramToDate;
public SalesOrdersSummaryReport() {
InitializeComponent();
ParameterHelper.InitializeDateTimeParameters(paramFromDate, paramToDate);
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesOrdersSummaryReport));
DevExpress.XtraCharts.SimpleDiagram simpleDiagram1 = new DevExpress.XtraCharts.SimpleDiagram();
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel();
DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary5 = new DevExpress.XtraReports.UI.XRSummary();
this.paramFromDate = new DevExpress.XtraReports.Parameters.Parameter();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrChart1 = new DevExpress.XtraReports.UI.XRChart();
this.xrTable8 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramToDate = new DevExpress.XtraReports.Parameters.Parameter();
this.paramOrderDate = new DevExpress.XtraReports.Parameters.Parameter();
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// paramFromDate
//
this.paramFromDate.Description = "ParamFromDate";
this.paramFromDate.Name = "paramFromDate";
this.paramFromDate.Type = typeof(System.DateTime);
this.paramFromDate.ValueInfo = "2013-01-01";
this.paramFromDate.Visible = false;
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.HeightF = 119F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(473.9583F, 51F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable7});
this.detailBand1.HeightF = 20.27876F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("InvoiceNumber", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrTable7
//
this.xrTable7.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(2.05829E-05F, 0F);
this.xrTable7.Name = "xrTable7";
this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11});
this.xrTable7.SizeF = new System.Drawing.SizeF(650F, 20.27876F);
this.xrTable7.StylePriority.UseFont = false;
this.xrTable7.StylePriority.UseForeColor = false;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell36,
this.xrTableCell37,
this.xrTableCell38,
this.xrTableCell39,
this.xrTableCell40,
this.xrTableCell41});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.StylePriority.UseTextAlignment = false;
this.xrTableRow11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableRow11.Weight = 1D;
//
// xrTableCell36
//
this.xrTableCell36.CanGrow = false;
this.xrTableCell36.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderDate", "{0:MM/dd/yyyy}")});
this.xrTableCell36.Name = "xrTableCell36";
this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell36.StylePriority.UsePadding = false;
this.xrTableCell36.StylePriority.UseTextAlignment = false;
this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell36.Weight = 0.59429261207580253D;
//
// xrTableCell37
//
this.xrTableCell37.CanGrow = false;
this.xrTableCell37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
this.xrTableCell37.Name = "xrTableCell37";
this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell37.StylePriority.UsePadding = false;
this.xrTableCell37.StylePriority.UseTextAlignment = false;
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell37.Weight = 0.54843580062572306D;
//
// xrTableCell38
//
this.xrTableCell38.CanGrow = false;
this.xrTableCell38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductUnits")});
this.xrTableCell38.Name = "xrTableCell38";
this.xrTableCell38.StylePriority.UseTextAlignment = false;
this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell38.Weight = 0.399939912733946D;
//
// xrTableCell39
//
this.xrTableCell39.CanGrow = false;
this.xrTableCell39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductPrice", "{0:$#,#}")});
this.xrTableCell39.Name = "xrTableCell39";
this.xrTableCell39.StylePriority.UseTextAlignment = false;
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell39.Weight = 0.40955509665451173D;
//
// xrTableCell40
//
this.xrTableCell40.CanGrow = false;
this.xrTableCell40.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Discount", "{0:$#,#;$#,#; - }")});
this.xrTableCell40.Name = "xrTableCell40";
this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell40.StylePriority.UsePadding = false;
this.xrTableCell40.StylePriority.UseTextAlignment = false;
this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell40.Weight = 0.35327297724209294D;
//
// xrTableCell41
//
this.xrTableCell41.CanGrow = false;
this.xrTableCell41.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total", "{0:$#,#}")});
this.xrTableCell41.Name = "xrTableCell41";
this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell41.StylePriority.UsePadding = false;
this.xrTableCell41.StylePriority.UseTextAlignment = false;
this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell41.Weight = 0.69450360066792372D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 93.37114F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.SaleSummaryInfo);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrChart1,
this.xrTable8,
this.xrTable1,
this.xrTable4});
this.ReportHeader.HeightF = 359.2917F;
this.ReportHeader.Name = "ReportHeader";
//
// xrChart1
//
this.xrChart1.BorderColor = System.Drawing.Color.Black;
this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
simpleDiagram1.EqualPieSize = false;
this.xrChart1.Diagram = simpleDiagram1;
this.xrChart1.EmptyChartText.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrChart1.EmptyChartText.Text = "\r\n";
this.xrChart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Center;
this.xrChart1.Legend.EnableAntialiasing = Utils.DefaultBoolean.True;
this.xrChart1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
this.xrChart1.Legend.EquallySpacedItems = false;
this.xrChart1.Legend.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrChart1.Legend.MarkerSize = new System.Drawing.Size(20, 20);
this.xrChart1.Legend.Padding.Left = 30;
this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.375F);
this.xrChart1.Name = "xrChart1";
series1.ArgumentDataMember = "ProductCategory";
series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Qualitative;
pieSeriesLabel1.TextPattern = "{V:$#,#}";
series1.Label = pieSeriesLabel1;
series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False;
series1.LegendTextPattern = "{A}\n{V:$#,#}\n";
series1.Name = "Series 1";
series1.QualitativeSummaryOptions.SummaryFunction = "SUM([Total])";
series1.SynchronizePointOptions = false;
pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
pieSeriesView1.RuntimeExploding = false;
pieSeriesView1.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
series1.View = pieSeriesView1;
this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
series1};
this.xrChart1.SeriesTemplate.SynchronizePointOptions = false;
pieSeriesView2.RuntimeExploding = false;
pieSeriesView2.SweepDirection = DevExpress.XtraCharts.PieSweepDirection.Counterclockwise;
this.xrChart1.SeriesTemplate.View = pieSeriesView2;
this.xrChart1.SizeF = new System.Drawing.SizeF(356.6193F, 248.0208F);
//
// xrTable8
//
this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(407.0465F, 85.10419F);
this.xrTable8.Name = "xrTable8";
this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow12,
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15,
this.xrTableRow16,
this.xrTableRow17});
this.xrTable8.SizeF = new System.Drawing.SizeF(242.9535F, 175.5873F);
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.77837459842722589D;
//
// xrTableCell18
//
this.xrTableCell18.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.StylePriority.UseFont = false;
this.xrTableCell18.Text = "Total sales in date range was";
this.xrTableCell18.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 1.3828073576824858D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell19.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
xrSummary1.FormatString = "{0:$#,#}";
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell19.Summary = xrSummary1;
this.xrTableCell19.Weight = 3D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.83881804389028847D;
//
// xrTableCell20
//
this.xrTableCell20.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseFont = false;
this.xrTableCell20.Text = "Total discounts on orders was ";
this.xrTableCell20.Weight = 3D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 1.28206876997332D;
//
// xrTableCell21
//
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Discount")});
this.xrTableCell21.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.StylePriority.UseFont = false;
xrSummary2.FormatString = "{0:$#,#}";
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell21.Summary = xrSummary2;
this.xrTableCell21.Weight = 3D;
//
// xrTableRow16
//
this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell22});
this.xrTableRow16.Name = "xrTableRow16";
this.xrTableRow16.Weight = 0.71793123002668D;
//
// xrTableCell22
//
this.xrTableCell22.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.StylePriority.UseFont = false;
this.xrTableCell22.Text = "Top-selling store was";
this.xrTableCell22.Weight = 3D;
//
// xrTableRow17
//
this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow17.Name = "xrTableRow17";
this.xrTableRow17.Weight = 1D;
//
// xrTableCell23
//
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell23.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.StylePriority.UseFont = false;
xrSummary3.Func = DevExpress.XtraReports.UI.SummaryFunc.Custom;
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell23.Summary = xrSummary3;
this.xrTableCell23.Weight = 3D;
this.xrTableCell23.SummaryGetResult += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrTableCell23_SummaryGetResult);
this.xrTableCell23.SummaryReset += new System.EventHandler(this.xrTableCell23_SummaryReset);
this.xrTableCell23.SummaryRowChanged += new System.EventHandler(this.xrTableCell23_SummaryRowChanged);
//
// xrTable1
//
this.xrTable1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(647.9999F, 37.5F);
this.xrTable1.StylePriority.UseFont = false;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.3333334941638817D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Analysis";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.8195229174103581D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "July 1, 2013 to July 31, 2013";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 2.1804770825896416D;
//
// xrTable4
//
this.xrTable4.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 301.0417F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6});
this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 37.5F);
this.xrTable4.StylePriority.UseFont = false;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell6});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 1.3333334941638817D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell3.ForeColor = System.Drawing.Color.White;
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UseForeColor = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Orders";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.8195229174103581D;
//
// xrTableCell6
//
this.xrTableCell6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell6.StylePriority.UseBackColor = false;
this.xrTableCell6.StylePriority.UseFont = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "Grouped by Category | Sorted by Order Date";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell6.Weight = 2.1804770825896416D;
//
// xrTable6
//
this.xrTable6.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable6.ForeColor = System.Drawing.Color.Gray;
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 64.00003F);
this.xrTable6.Name = "xrTable6";
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 24.99998F);
this.xrTable6.StylePriority.UseFont = false;
this.xrTable6.StylePriority.UseForeColor = false;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell30,
this.xrTableCell31,
this.xrTableCell32,
this.xrTableCell33,
this.xrTableCell34,
this.xrTableCell35});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 1D;
//
// xrTableCell30
//
this.xrTableCell30.Name = "xrTableCell30";
this.xrTableCell30.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell30.StylePriority.UsePadding = false;
this.xrTableCell30.StylePriority.UseTextAlignment = false;
this.xrTableCell30.Text = "ORDER DATE";
this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell30.Weight = 0.65655051378103091D;
//
// xrTableCell31
//
this.xrTableCell31.Name = "xrTableCell31";
this.xrTableCell31.StylePriority.UseTextAlignment = false;
this.xrTableCell31.Text = "INVOICE #";
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell31.Weight = 0.48617789892049473D;
//
// xrTableCell32
//
this.xrTableCell32.Name = "xrTableCell32";
this.xrTableCell32.StylePriority.UseTextAlignment = false;
this.xrTableCell32.Text = "QTY";
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell32.Weight = 0.399939912733946D;
//
// xrTableCell33
//
this.xrTableCell33.Name = "xrTableCell33";
this.xrTableCell33.StylePriority.UseTextAlignment = false;
this.xrTableCell33.Text = "PRICE";
this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell33.Weight = 0.40955509665451173D;
//
// xrTableCell34
//
this.xrTableCell34.Name = "xrTableCell34";
this.xrTableCell34.StylePriority.UseTextAlignment = false;
this.xrTableCell34.Text = "DISCOUNT";
this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell34.Weight = 0.35327269554137175D;
//
// xrTableCell35
//
this.xrTableCell35.Name = "xrTableCell35";
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell35.StylePriority.UsePadding = false;
this.xrTableCell35.StylePriority.UseTextAlignment = false;
this.xrTableCell35.Text = "ORDER AMOUNT";
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell35.Weight = 0.6945038823686448D;
//
// xrLabel4
//
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductCategory")});
this.xrLabel4.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.999992F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(156.25F, 31.33335F);
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.StylePriority.UsePadding = false;
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrLabel4.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel4_BeforePrint);
//
// xrLabel5
//
this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductCategory")});
this.xrLabel5.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(156.25F, 7.999996F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(200.3693F, 31.33335F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseForeColor = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
xrSummary4.FormatString = "| # OF ORDERS: {0}";
xrSummary4.Func = DevExpress.XtraReports.UI.SummaryFunc.Count;
xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrLabel5.Summary = xrSummary4;
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel5,
this.xrTable6,
this.xrLabel4});
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("ProductCategory", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
this.GroupHeader1.HeightF = 89.00002F;
this.GroupHeader1.Name = "GroupHeader1";
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable5});
this.GroupFooter1.HeightF = 43.799F;
this.GroupFooter1.Name = "GroupFooter1";
//
// xrTable5
//
this.xrTable5.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(439.8059F, 18.79899F);
this.xrTable5.Name = "xrTable5";
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9});
this.xrTable5.SizeF = new System.Drawing.SizeF(210.1941F, 25.00001F);
this.xrTable5.StylePriority.UseFont = false;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell17});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 1D;
//
// xrTableCell16
//
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.Text = "TOTAL";
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 0.93984267887268125D;
//
// xrTableCell17
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
xrSummary5.FormatString = "{0:$#,#}";
xrSummary5.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrTableCell17.Summary = xrSummary5;
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell17.Weight = 1.0653644820811168D;
//
// paramToDate
//
this.paramToDate.Description = "ParamToDate";
this.paramToDate.Name = "paramToDate";
this.paramToDate.Type = typeof(System.DateTime);
this.paramToDate.ValueInfo = "2015-01-01";
this.paramToDate.Visible = false;
//
// paramOrderDate
//
this.paramOrderDate.Description = "ParamOrderDate";
this.paramOrderDate.Name = "paramOrderDate";
this.paramOrderDate.Type = typeof(bool);
this.paramOrderDate.ValueInfo = "True";
this.paramOrderDate.Visible = false;
//
// SalesOrdersSummaryReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.GroupHeader1,
this.GroupFooter1});
this.DataSource = this.bindingSource1;
this.DesignerOptions.ShowExportWarnings = false;
this.FilterString = "[OrderDate] >= ?paramFromDate And [OrderDate] <= ?paramToDate";
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 100, 119, 93);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramFromDate,
this.paramToDate,
this.paramOrderDate});
this.Version = "14.1";
this.DataSourceDemanded += new System.EventHandler<System.EventArgs>(this.CustomerSalesSummary_DataSourceDemanded);
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(simpleDiagram1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void xrLabel4_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
var currentProductCategory = GetCurrentColumnValue("ProductCategory");
if(currentProductCategory != null)
(sender as XRLabel).Text = EnumDisplayTextHelper.GetDisplayText((ProductCategory)currentProductCategory).ToUpper();
}
private void CustomerSalesSummary_DataSourceDemanded(object sender, EventArgs e) {
if(Equals(true, paramOrderDate.Value)) {
xrTableCell6.Text = "Grouped by Category | Sorted by Order Date";
this.detailBand1.SortFields[0].FieldName = "OrderDate";
} else {
xrTableCell6.Text = "Grouped by Category | Sorted by Invoice #";
this.detailBand1.SortFields[0].FieldName = "InvoiceNumber";
}
xrTableCell2.Text = ((DateTime)paramFromDate.Value).ToString("MMMM d, yyyy") + " to " + ((DateTime)paramToDate.Value).ToString("MMMM d, yyyy");
}
class StoreInfo {
public StoreInfo(string city, string customerName) {
this.City = city;
this.CustomerName = customerName;
}
public string City { get; private set; }
public string CustomerName { get; private set; }
public decimal TotalSales { get; set; }
}
Dictionary<long, StoreInfo> storeSales = new Dictionary<long, StoreInfo>();
private void xrTableCell23_SummaryRowChanged(object sender, EventArgs e) {
SaleSummaryInfo info = (SaleSummaryInfo)GetCurrentRow();
if(storeSales.ContainsKey(info.StoreId)) {
storeSales[info.StoreId].TotalSales += info.Total;
} else {
storeSales.Add(info.StoreId, new StoreInfo(info.StoreCity, info.StoreCustomerName) { TotalSales = info.Total });
}
}
private void xrTableCell23_SummaryGetResult(object sender, SummaryGetResultEventArgs e) {
if(storeSales.Count == 0)
e.Result = " - ";
else {
StoreInfo topStore = storeSales.Values.Aggregate((x, y) => x.TotalSales> y.TotalSales ? x : y);
e.Result = topStore.City + " Store (" + topStore.CustomerName + ")";
}
e.Handled = true;
}
private void xrTableCell23_SummaryReset(object sender, EventArgs e) {
storeSales.Clear();
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8j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Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,737 @@
using System;
using System.Collections.Generic;
using DevExpress.XtraReports.UI;
using System.Drawing;
namespace DevExpress.DevAV.Reports {
public class SalesRevenueAnalysisReport : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XRPageInfo xrPageInfo2;
private XRTable xrTable1;
private XRTableRow xrTableRow1;
private XRTableCell xrTableCell1;
private XRTableCell xrTableCell2;
private XRTable xrTable4;
private XRTableRow xrTableRow6;
private XRTableCell xrTableCell3;
private XRTableCell xrTableCell6;
private XRTable xrTable7;
private XRTableRow xrTableRow11;
private XRTableCell xrTableCell36;
private XRTableCell xrTableCell37;
private XRTableCell xrTableCell38;
private XRTableCell xrTableCell39;
private XRTableCell xrTableCell40;
private XRTableCell xrTableCell41;
private XRTable xrTable6;
private XRTableRow xrTableRow10;
private XRTableCell xrTableCell30;
private XRTableCell xrTableCell31;
private XRTableCell xrTableCell32;
private XRTableCell xrTableCell33;
private XRTableCell xrTableCell34;
private XRTableCell xrTableCell35;
private XRLabel xrLabel4;
private XRLabel xrLabel5;
private GroupHeaderBand GroupHeader1;
private GroupFooterBand GroupFooter1;
private XRTable xrTable5;
private XRTableRow xrTableRow9;
private XRTableCell xrTableCell16;
private XRTableCell xrTableCell17;
private Color backCellColor = System.Drawing.Color.FromArgb(223, 223, 223);
private Color foreCellColor = System.Drawing.Color.FromArgb(221, 128, 71);
private XRChart xrChart1;
private XtraReports.Parameters.Parameter paramOrderDate;
private XRTable xrTable8;
private XRTableRow xrTableRow12;
private XRTableCell xrTableCell18;
private XRTableRow xrTableRow13;
private XRTableCell xrTableCell19;
private XRTableRow xrTableRow14;
private XRTableCell xrTableCell20;
private XRTableRow xrTableRow15;
private XRTableCell xrTableCell21;
Dictionary<CustomerStore, decimal> storeSales = new Dictionary<CustomerStore, decimal>();
public SalesRevenueAnalysisReport() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series();
DevExpress.XtraCharts.PieSeriesLabel pieSeriesLabel1 = new DevExpress.XtraCharts.PieSeriesLabel();
DevExpress.XtraCharts.PieSeriesView pieSeriesView1 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraCharts.PieSeriesView pieSeriesView2 = new DevExpress.XtraCharts.PieSeriesView();
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrChart1 = new DevExpress.XtraReports.UI.XRChart();
this.xrTable8 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramOrderDate = new DevExpress.XtraReports.Parameters.Parameter();
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(series1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 119F;
this.topMarginBand1.Name = "topMarginBand1";
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable7});
this.detailBand1.HeightF = 20.27876F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Order.InvoiceNumber", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrTable7
//
this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(2.05829E-05F, 0F);
this.xrTable7.Name = "xrTable7";
this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11});
this.xrTable7.SizeF = new System.Drawing.SizeF(650F, 20.27876F);
this.xrTable7.StylePriority.UseFont = false;
this.xrTable7.StylePriority.UseForeColor = false;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell36,
this.xrTableCell37,
this.xrTableCell38,
this.xrTableCell39,
this.xrTableCell40,
this.xrTableCell41});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.StylePriority.UseTextAlignment = false;
this.xrTableRow11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableRow11.Weight = 1D;
//
// xrTableCell36
//
this.xrTableCell36.CanGrow = false;
this.xrTableCell36.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.OrderDate", "{0:MM/dd/yyyy}")});
this.xrTableCell36.Name = "xrTableCell36";
this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell36.StylePriority.UsePadding = false;
this.xrTableCell36.StylePriority.UseTextAlignment = false;
this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell36.Weight = 0.59429261207580253D;
//
// xrTableCell37
//
this.xrTableCell37.CanGrow = false;
this.xrTableCell37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.InvoiceNumber")});
this.xrTableCell37.Name = "xrTableCell37";
this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell37.StylePriority.UsePadding = false;
this.xrTableCell37.StylePriority.UseTextAlignment = false;
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell37.Weight = 0.54843580062572306D;
//
// xrTableCell38
//
this.xrTableCell38.CanGrow = false;
this.xrTableCell38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductUnits")});
this.xrTableCell38.Name = "xrTableCell38";
this.xrTableCell38.StylePriority.UseTextAlignment = false;
this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell38.Weight = 0.399939912733946D;
//
// xrTableCell39
//
this.xrTableCell39.CanGrow = false;
this.xrTableCell39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductPrice", "{0:$#,#}")});
this.xrTableCell39.Name = "xrTableCell39";
this.xrTableCell39.StylePriority.UseTextAlignment = false;
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell39.Weight = 0.40955509665451173D;
//
// xrTableCell40
//
this.xrTableCell40.CanGrow = false;
this.xrTableCell40.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Discount", "{0:$#,#;$#,#; - }")});
this.xrTableCell40.Name = "xrTableCell40";
this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell40.StylePriority.UsePadding = false;
this.xrTableCell40.StylePriority.UseTextAlignment = false;
this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell40.Weight = 0.35327297724209294D;
//
// xrTableCell41
//
this.xrTableCell41.CanGrow = false;
this.xrTableCell41.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total", "{0:$#,#}")});
this.xrTableCell41.Name = "xrTableCell41";
this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell41.StylePriority.UsePadding = false;
this.xrTableCell41.StylePriority.UseTextAlignment = false;
this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell41.Weight = 0.69450360066792372D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 93.37114F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.OrderItem);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrChart1,
this.xrTable8,
this.xrTable1,
this.xrTable4});
this.ReportHeader.HeightF = 359.2917F;
this.ReportHeader.Name = "ReportHeader";
//
// xrChart1
//
this.xrChart1.BorderColor = System.Drawing.Color.Black;
this.xrChart1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrChart1.EmptyChartText.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrChart1.EmptyChartText.Text = "\r\n";
this.xrChart1.Legend.AlignmentVertical = DevExpress.XtraCharts.LegendAlignmentVertical.Center;
this.xrChart1.Legend.Border.Visibility = DevExpress.Utils.DefaultBoolean.False;
this.xrChart1.Legend.EnableAntialiasing = DevExpress.Utils.DefaultBoolean.True;
this.xrChart1.Legend.EquallySpacedItems = false;
this.xrChart1.Legend.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrChart1.Legend.MarkerSize = new System.Drawing.Size(20, 20);
this.xrChart1.Legend.Name = "Default Legend";
this.xrChart1.Legend.Padding.Left = 30;
this.xrChart1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 37.375F);
this.xrChart1.Name = "xrChart1";
series1.ArgumentDataMember = "Product.Category";
series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Qualitative;
pieSeriesLabel1.TextPattern = "{V:$#,#}";
series1.Label = pieSeriesLabel1;
series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False;
series1.LegendTextPattern = "{A}\n{V:$#,#}\n";
series1.Name = "Series 1";
series1.QualitativeSummaryOptions.SummaryFunction = "SUM([Total])";
pieSeriesView1.Border.Visibility = DevExpress.Utils.DefaultBoolean.True;
series1.View = pieSeriesView1;
this.xrChart1.SeriesSerializable = new DevExpress.XtraCharts.Series[] {
series1};
this.xrChart1.SeriesTemplate.View = pieSeriesView2;
this.xrChart1.SizeF = new System.Drawing.SizeF(356.6193F, 248.0208F);
//
// xrTable8
//
this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(407.0465F, 85.10419F);
this.xrTable8.Name = "xrTable8";
this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow12,
this.xrTableRow13,
this.xrTableRow14,
this.xrTableRow15});
this.xrTable8.SizeF = new System.Drawing.SizeF(242.9535F, 125.3128F);
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.77837459842722589D;
//
// xrTableCell18
//
this.xrTableCell18.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.StylePriority.UseFont = false;
this.xrTableCell18.Text = "Total sales";
this.xrTableCell18.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 1.3828073576824858D;
//
// xrTableCell19
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell19.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
xrSummary1.FormatString = "{0:$#,#}";
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell19.Summary = xrSummary1;
this.xrTableCell19.Weight = 3D;
//
// xrTableRow14
//
this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20});
this.xrTableRow14.Name = "xrTableRow14";
this.xrTableRow14.Weight = 0.83881804389028847D;
//
// xrTableCell20
//
this.xrTableCell20.Font = new System.Drawing.Font("Segoe UI", 10F);
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseFont = false;
this.xrTableCell20.Text = "Total orders discounts";
this.xrTableCell20.Weight = 3D;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 1.28206876997332D;
//
// xrTableCell21
//
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Discount")});
this.xrTableCell21.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold);
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.StylePriority.UseFont = false;
xrSummary2.FormatString = "{0:$#,#}";
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell21.Summary = xrSummary2;
this.xrTableCell21.Weight = 3D;
//
// xrTable1
//
this.xrTable1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(647.9999F, 37.5F);
this.xrTable1.StylePriority.UseFont = false;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.3333334941638817D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Analysis";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.8195229174103581D;
//
// xrTableCell2
//
this.xrTableCell2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell2.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell2.StylePriority.UseBackColor = false;
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.Text = "Orders by [Order.Store.CustomerName], [Order.Store.City] ";
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell2.Weight = 2.1804770825896416D;
//
// xrTable4
//
this.xrTable4.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 301.0417F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6});
this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 37.5F);
this.xrTable4.StylePriority.UseFont = false;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell6});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 1.3333334941638817D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell3.ForeColor = System.Drawing.Color.White;
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UseForeColor = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Orders";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.8195229174103581D;
//
// xrTableCell6
//
this.xrTableCell6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell6.StylePriority.UseBackColor = false;
this.xrTableCell6.StylePriority.UseFont = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "Grouped by Category | Sorted by Order Date";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell6.Weight = 2.1804770825896416D;
//
// xrTable6
//
this.xrTable6.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrTable6.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 64.00003F);
this.xrTable6.Name = "xrTable6";
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 24.99998F);
this.xrTable6.StylePriority.UseBorderColor = false;
this.xrTable6.StylePriority.UseBorders = false;
this.xrTable6.StylePriority.UseFont = false;
this.xrTable6.StylePriority.UseForeColor = false;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell30,
this.xrTableCell31,
this.xrTableCell32,
this.xrTableCell33,
this.xrTableCell34,
this.xrTableCell35});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 1D;
//
// xrTableCell30
//
this.xrTableCell30.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell30.Name = "xrTableCell30";
this.xrTableCell30.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell30.StylePriority.UseFont = false;
this.xrTableCell30.StylePriority.UsePadding = false;
this.xrTableCell30.StylePriority.UseTextAlignment = false;
this.xrTableCell30.Text = "ORDER DATE";
this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell30.Weight = 0.65655051378103091D;
//
// xrTableCell31
//
this.xrTableCell31.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell31.Name = "xrTableCell31";
this.xrTableCell31.StylePriority.UseFont = false;
this.xrTableCell31.StylePriority.UseTextAlignment = false;
this.xrTableCell31.Text = "INVOICE #";
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell31.Weight = 0.48617789892049473D;
//
// xrTableCell32
//
this.xrTableCell32.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell32.Name = "xrTableCell32";
this.xrTableCell32.StylePriority.UseFont = false;
this.xrTableCell32.StylePriority.UseTextAlignment = false;
this.xrTableCell32.Text = "QTY";
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell32.Weight = 0.399939912733946D;
//
// xrTableCell33
//
this.xrTableCell33.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell33.Name = "xrTableCell33";
this.xrTableCell33.StylePriority.UseFont = false;
this.xrTableCell33.StylePriority.UseTextAlignment = false;
this.xrTableCell33.Text = "PRICE";
this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell33.Weight = 0.40955509665451173D;
//
// xrTableCell34
//
this.xrTableCell34.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell34.Name = "xrTableCell34";
this.xrTableCell34.StylePriority.UseFont = false;
this.xrTableCell34.StylePriority.UseTextAlignment = false;
this.xrTableCell34.Text = "DISCOUNT";
this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell34.Weight = 0.35327269554137175D;
//
// xrTableCell35
//
this.xrTableCell35.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell35.Name = "xrTableCell35";
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell35.StylePriority.UseFont = false;
this.xrTableCell35.StylePriority.UsePadding = false;
this.xrTableCell35.StylePriority.UseTextAlignment = false;
this.xrTableCell35.Text = "ORDER AMOUNT";
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell35.Weight = 0.6945038823686448D;
//
// xrLabel4
//
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Category")});
this.xrLabel4.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.999992F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(156.25F, 31.33335F);
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.StylePriority.UsePadding = false;
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrLabel4.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel4_BeforePrint);
//
// xrLabel5
//
this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Category")});
this.xrLabel5.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(449.6307F, 7.999992F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(200.3693F, 31.33335F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseForeColor = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
xrSummary3.FormatString = "| # OF ORDERS: {0}";
xrSummary3.Func = DevExpress.XtraReports.UI.SummaryFunc.Count;
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrLabel5.Summary = xrSummary3;
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel5,
this.xrTable6,
this.xrLabel4});
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Product.Category", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
this.GroupHeader1.HeightF = 89.00002F;
this.GroupHeader1.Name = "GroupHeader1";
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable5});
this.GroupFooter1.HeightF = 43.799F;
this.GroupFooter1.Name = "GroupFooter1";
//
// xrTable5
//
this.xrTable5.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(439.8059F, 18.79899F);
this.xrTable5.Name = "xrTable5";
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9});
this.xrTable5.SizeF = new System.Drawing.SizeF(210.1941F, 25.00001F);
this.xrTable5.StylePriority.UseFont = false;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell17});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 1D;
//
// xrTableCell16
//
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.Text = "TOTAL";
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 0.93984267887268125D;
//
// xrTableCell17
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
xrSummary4.FormatString = "{0:$#,#}";
xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrTableCell17.Summary = xrSummary4;
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell17.Weight = 1.0653644820811168D;
//
// paramOrderDate
//
this.paramOrderDate.Description = "ParamOrderDate";
this.paramOrderDate.Name = "paramOrderDate";
this.paramOrderDate.Type = typeof(bool);
this.paramOrderDate.ValueInfo = "True";
this.paramOrderDate.Visible = false;
//
// SalesRevenueAnalysisReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.GroupHeader1,
this.GroupFooter1});
this.DataSource = this.bindingSource1;
this.DesignerOptions.ShowExportWarnings = false;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 100, 119, 93);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramOrderDate});
this.Version = "17.2";
this.DataSourceDemanded += new System.EventHandler<System.EventArgs>(this.CustomerSalesSummary_DataSourceDemanded);
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(series1)).EndInit();
((System.ComponentModel.ISupportInitialize)(pieSeriesView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrChart1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void xrLabel4_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
Product currentProduct = (Product)GetCurrentColumnValue("Product");
if(currentProduct != null)
(sender as XRLabel).Text = EnumDisplayTextHelper.GetDisplayText(currentProduct.Category).ToUpper();
}
private void CustomerSalesSummary_DataSourceDemanded(object sender, EventArgs e) {
if(Equals(true, paramOrderDate.Value)) {
xrTableCell6.Text = "Grouped by Category | Sorted by Order Date";
this.detailBand1.SortFields[0].FieldName = "Order.OrderDate";
} else {
xrTableCell6.Text = "Grouped by Category | Sorted by Invoice #";
this.detailBand1.SortFields[0].FieldName = "Order.InvoiceNumber";
}
}
}
}

View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,656 @@
using System;
using System.Collections.Generic;
using System.Linq;
using DevExpress.XtraReports.UI;
using System.Drawing;
namespace DevExpress.DevAV.Reports {
public class SalesRevenueReport : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private System.ComponentModel.IContainer components;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XRPageInfo xrPageInfo2;
private XRTable xrTable4;
private XRTableRow xrTableRow6;
private XRTableCell xrTableCell3;
private XRTableCell xrTableCell6;
private GroupHeaderBand GroupHeader1;
private GroupFooterBand GroupFooter1;
private XRTable xrTable5;
private XRTableRow xrTableRow9;
private XRTableCell xrTableCell16;
private XRTableCell xrTableCell17;
private Color backCellColor = System.Drawing.Color.FromArgb(223, 223, 223);
private Color foreCellColor = System.Drawing.Color.FromArgb(221, 128, 71);
private XtraReports.Parameters.Parameter paramOrderDate;
Dictionary<CustomerStore, decimal> storeSales = new Dictionary<CustomerStore, decimal>();
private XRTable xrTable2;
private XRTableRow xrTableRow2;
private XRTableCell xrTableCell4;
private XRTableCell xrTableCell7;
private XRTableRow xrTableRow3;
private XRTableCell xrTableCell5;
private XRTableCell xrTableCell8;
private XRLabel xrLabel1;
private XRLabel xrLabel9;
private XRLabel xrLabel4;
private XRTable xrTable6;
private XRTableRow xrTableRow10;
private XRTableCell xrTableCell30;
private XRTableCell xrTableCell31;
private XRTableCell xrTableCell32;
private XRTableCell xrTableCell33;
private XRTableCell xrTableCell34;
private XRTableCell xrTableCell35;
private XRLabel xrLabel5;
private XRTable xrTable7;
private XRTableRow xrTableRow11;
private XRTableCell xrTableCell36;
private XRTableCell xrTableCell37;
private XRTableCell xrTableCell38;
private XRTableCell xrTableCell39;
private XRTableCell xrTableCell40;
private XRTableCell xrTableCell41;
public SalesRevenueReport() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary2 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary3 = new DevExpress.XtraReports.UI.XRSummary();
DevExpress.XtraReports.UI.XRSummary xrSummary4 = new DevExpress.XtraReports.UI.XRSummary();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable7 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable6 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.paramOrderDate = new DevExpress.XtraReports.Parameters.Parameter();
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 119F;
this.topMarginBand1.Name = "topMarginBand1";
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable7});
this.detailBand1.HeightF = 20.27876F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Order.InvoiceNumber", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrTable7
//
this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable7.Name = "xrTable7";
this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow11});
this.xrTable7.SizeF = new System.Drawing.SizeF(650F, 20.27876F);
this.xrTable7.StylePriority.UseFont = false;
this.xrTable7.StylePriority.UseForeColor = false;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell36,
this.xrTableCell37,
this.xrTableCell38,
this.xrTableCell39,
this.xrTableCell40,
this.xrTableCell41});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.StylePriority.UseTextAlignment = false;
this.xrTableRow11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableRow11.Weight = 1D;
//
// xrTableCell36
//
this.xrTableCell36.CanGrow = false;
this.xrTableCell36.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.OrderDate", "{0:MM/dd/yyyy}")});
this.xrTableCell36.Name = "xrTableCell36";
this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell36.StylePriority.UsePadding = false;
this.xrTableCell36.StylePriority.UseTextAlignment = false;
this.xrTableCell36.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell36.Weight = 0.59429261207580253D;
//
// xrTableCell37
//
this.xrTableCell37.CanGrow = false;
this.xrTableCell37.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.InvoiceNumber")});
this.xrTableCell37.Name = "xrTableCell37";
this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell37.StylePriority.UsePadding = false;
this.xrTableCell37.StylePriority.UseTextAlignment = false;
this.xrTableCell37.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell37.Weight = 0.54843580062572306D;
//
// xrTableCell38
//
this.xrTableCell38.CanGrow = false;
this.xrTableCell38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductUnits")});
this.xrTableCell38.Name = "xrTableCell38";
this.xrTableCell38.StylePriority.UseTextAlignment = false;
this.xrTableCell38.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell38.Weight = 0.399939912733946D;
//
// xrTableCell39
//
this.xrTableCell39.CanGrow = false;
this.xrTableCell39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ProductPrice", "{0:$#,#}")});
this.xrTableCell39.Name = "xrTableCell39";
this.xrTableCell39.StylePriority.UseTextAlignment = false;
this.xrTableCell39.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell39.Weight = 0.40955509665451173D;
//
// xrTableCell40
//
this.xrTableCell40.CanGrow = false;
this.xrTableCell40.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Discount", "{0:$#,#;$#,#; - }")});
this.xrTableCell40.Name = "xrTableCell40";
this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell40.StylePriority.UsePadding = false;
this.xrTableCell40.StylePriority.UseTextAlignment = false;
this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell40.Weight = 0.35327297724209294D;
//
// xrTableCell41
//
this.xrTableCell41.CanGrow = false;
this.xrTableCell41.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total", "{0:$#,#}")});
this.xrTableCell41.Name = "xrTableCell41";
this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell41.StylePriority.UsePadding = false;
this.xrTableCell41.StylePriority.UseTextAlignment = false;
this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell41.Weight = 0.69450360066792372D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo2,
this.xrPageInfo1});
this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.bottomMarginBand1.HeightF = 93.37114F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
this.bottomMarginBand1.StylePriority.UseFont = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.OrderItem);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel1,
this.xrLabel9,
this.xrTable2,
this.xrTable4});
this.ReportHeader.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ReportHeader.HeightF = 210.4167F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrLabel1
//
this.xrLabel1.Font = new System.Drawing.Font("Arial", 16F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(83.34718F, 0F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 8, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(216.6667F, 39.08798F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UsePadding = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "Orders from";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// xrLabel9
//
this.xrLabel9.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Order.OrderDate", "{0:MMMM, yyyy}")});
this.xrLabel9.Font = new System.Drawing.Font("Arial", 16F, System.Drawing.FontStyle.Bold);
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(300.0139F, 0F);
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(216.6667F, 39.08798F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.StylePriority.UseTextAlignment = false;
this.xrLabel9.Text = "xrLabel9";
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 61.6141F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2,
this.xrTableRow3});
this.xrTable2.SizeF = new System.Drawing.SizeF(402.0972F, 85.24207F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4,
this.xrTableCell7});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1D;
//
// xrTableCell4
//
this.xrTableCell4.Font = new System.Drawing.Font("Arial", 12F);
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Total Sales per month:";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell4.Weight = 1D;
//
// xrTableCell7
//
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell7.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
xrSummary1.FormatString = "{0:$#,#}";
xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell7.Summary = xrSummary1;
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell7.Weight = 1D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5,
this.xrTableCell8});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 1D;
//
// xrTableCell5
//
this.xrTableCell5.Font = new System.Drawing.Font("Arial", 12F);
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "Total order discounts:";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell5.Weight = 1D;
//
// xrTableCell8
//
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Discount")});
this.xrTableCell8.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold);
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.StylePriority.UseFont = false;
this.xrTableCell8.StylePriority.UseTextAlignment = false;
xrSummary2.FormatString = "{0:$#,#}";
xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report;
this.xrTableCell8.Summary = xrSummary2;
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell8.Weight = 1D;
//
// xrTable4
//
this.xrTable4.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 172.9167F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6});
this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 37.5F);
this.xrTable4.StylePriority.UseFont = false;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell6});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 1.3333334941638817D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell3.ForeColor = System.Drawing.Color.White;
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UseForeColor = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Orders";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.8195229174103581D;
//
// xrTableCell6
//
this.xrTableCell6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217)))));
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell6.StylePriority.UseBackColor = false;
this.xrTableCell6.StylePriority.UseFont = false;
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "Grouped by Category | Sorted by Order Date";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell6.Weight = 2.1804770825896416D;
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel4,
this.xrTable6,
this.xrLabel5});
this.GroupHeader1.GroupFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("Product.Category", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
this.GroupHeader1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail;
this.GroupHeader1.HeightF = 85.00002F;
this.GroupHeader1.Name = "GroupHeader1";
//
// xrLabel4
//
this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Category")});
this.xrLabel4.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 4.000004F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 0, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(156.25F, 31.33335F);
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.StylePriority.UsePadding = false;
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrTable6
//
this.xrTable6.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrTable6.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(1.589457E-05F, 60.00004F);
this.xrTable6.Name = "xrTable6";
this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow10});
this.xrTable6.SizeF = new System.Drawing.SizeF(650F, 24.99998F);
this.xrTable6.StylePriority.UseBorderColor = false;
this.xrTable6.StylePriority.UseBorders = false;
this.xrTable6.StylePriority.UseFont = false;
this.xrTable6.StylePriority.UseForeColor = false;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell30,
this.xrTableCell31,
this.xrTableCell32,
this.xrTableCell33,
this.xrTableCell34,
this.xrTableCell35});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 1D;
//
// xrTableCell30
//
this.xrTableCell30.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell30.Name = "xrTableCell30";
this.xrTableCell30.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F);
this.xrTableCell30.StylePriority.UseFont = false;
this.xrTableCell30.StylePriority.UsePadding = false;
this.xrTableCell30.StylePriority.UseTextAlignment = false;
this.xrTableCell30.Text = "ORDER DATE";
this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell30.Weight = 0.65655051378103091D;
//
// xrTableCell31
//
this.xrTableCell31.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell31.Name = "xrTableCell31";
this.xrTableCell31.StylePriority.UseFont = false;
this.xrTableCell31.StylePriority.UseTextAlignment = false;
this.xrTableCell31.Text = "INVOICE #";
this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell31.Weight = 0.48617789892049473D;
//
// xrTableCell32
//
this.xrTableCell32.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell32.Name = "xrTableCell32";
this.xrTableCell32.StylePriority.UseFont = false;
this.xrTableCell32.StylePriority.UseTextAlignment = false;
this.xrTableCell32.Text = "QTY";
this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell32.Weight = 0.399939912733946D;
//
// xrTableCell33
//
this.xrTableCell33.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell33.Name = "xrTableCell33";
this.xrTableCell33.StylePriority.UseFont = false;
this.xrTableCell33.StylePriority.UseTextAlignment = false;
this.xrTableCell33.Text = "PRICE";
this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell33.Weight = 0.40955509665451173D;
//
// xrTableCell34
//
this.xrTableCell34.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell34.Name = "xrTableCell34";
this.xrTableCell34.StylePriority.UseFont = false;
this.xrTableCell34.StylePriority.UseTextAlignment = false;
this.xrTableCell34.Text = "DISCOUNT";
this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell34.Weight = 0.35327269554137175D;
//
// xrTableCell35
//
this.xrTableCell35.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell35.Name = "xrTableCell35";
this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell35.StylePriority.UseFont = false;
this.xrTableCell35.StylePriority.UsePadding = false;
this.xrTableCell35.StylePriority.UseTextAlignment = false;
this.xrTableCell35.Text = "ORDER AMOUNT";
this.xrTableCell35.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell35.Weight = 0.6945038823686448D;
//
// xrLabel5
//
this.xrLabel5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Product.Category")});
this.xrLabel5.Font = new System.Drawing.Font("Segoe UI", 12F);
this.xrLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(449.6307F, 4.000004F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(200.3693F, 31.33335F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseForeColor = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
xrSummary3.FormatString = "| # OF ORDERS: {0}";
xrSummary3.Func = DevExpress.XtraReports.UI.SummaryFunc.Count;
xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrLabel5.Summary = xrSummary3;
this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable5});
this.GroupFooter1.HeightF = 43.799F;
this.GroupFooter1.Name = "GroupFooter1";
//
// xrTable5
//
this.xrTable5.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Bold);
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(439.8059F, 18.79899F);
this.xrTable5.Name = "xrTable5";
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9});
this.xrTable5.SizeF = new System.Drawing.SizeF(210.1941F, 25.00001F);
this.xrTable5.StylePriority.UseFont = false;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell17});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 1D;
//
// xrTableCell16
//
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.Text = "TOTAL";
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell16.Weight = 0.93984267887268125D;
//
// xrTableCell17
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Total")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F);
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
xrSummary4.FormatString = "{0:$#,#}";
xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Group;
this.xrTableCell17.Summary = xrSummary4;
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell17.Weight = 1.0653644820811168D;
//
// paramOrderDate
//
this.paramOrderDate.Description = "ParamOrderDate";
this.paramOrderDate.Name = "paramOrderDate";
this.paramOrderDate.Type = typeof(bool);
this.paramOrderDate.ValueInfo = "True";
this.paramOrderDate.Visible = false;
//
// SalesRevenueReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader,
this.GroupHeader1,
this.GroupFooter1});
this.DataSource = this.bindingSource1;
this.DesignerOptions.ShowExportWarnings = false;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Margins = new System.Drawing.Printing.Margins(100, 100, 119, 93);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramOrderDate});
this.Version = "17.2";
this.DataSourceDemanded += new System.EventHandler<System.EventArgs>(this.CustomerSalesSummary_DataSourceDemanded);
((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void xrLabel4_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
Product currentProduct = (Product)GetCurrentColumnValue("Product");
if(currentProduct != null)
(sender as XRLabel).Text = EnumDisplayTextHelper.GetDisplayText(currentProduct.Category).ToUpper();
}
private void CustomerSalesSummary_DataSourceDemanded(object sender, EventArgs e) {
if(Equals(true, paramOrderDate.Value)) {
xrTableCell6.Text = "Grouped by Category | Sorted by Order Date";
this.detailBand1.SortFields[0].FieldName = "Order.OrderDate";
} else {
xrTableCell6.Text = "Grouped by Category | Sorted by Invoice #";
this.detailBand1.SortFields[0].FieldName = "Order.InvoiceNumber";
}
}
}
}

View File

@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,878 @@
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Linq;
namespace DevExpress.DevAV.Reports {
public partial class FedExGroundLabel : DevExpress.XtraReports.UI.XtraReport {
private System.Windows.Forms.BindingSource bindingSource1;
private TopMarginBand topMarginBand1;
private DetailBand detailBand1;
private XRLabel xrLabel1;
private XRLabel xrLabel3;
private XRBarCode xrBarCode2;
private XRBarCode xrBarCode1;
private XRLabel xrLabel2;
private SubBand SubBand1;
private XRPanel xrPanel1;
private XRLabel xrLabelFromState;
private XRLabel xrLabelFromStreetLine1;
private XRLabel xrLabel6;
private XRPanel xrPanel2;
private XRLabel xrLabel19;
private XRLabel xrLabel18;
private XRLabel xrLabel17;
private XRLabel xrLabel16;
private XRLabel xrLabel9;
private XRLabel xrLabel8;
private XRLabel xrLabel7;
private XRLabel xrLabel4;
private XRLabel xrLabel5;
private SubBand SubBand2;
private XRPanel xrPanel3;
private XRLabel xrLabel10;
private XRLabel xrLabel12;
private XRLabel xrLabel11;
private XRLabel xrLabel13;
private SubBand SubBand3;
private XRPanel xrPanel4;
private XRPictureBox xrPictureBoxUPS;
private XRLabel xrLabel20;
private XRLabel xrLabel21;
private SubBand SubBand4;
private XRControlStyle style1;
private XRControlStyle style2;
private XRControlStyle style3;
private XRLabel xrLabel26;
private XRLabel xrLabel25;
private XRLabel xrLabel24;
private XRLabel xrLabel23;
private XRLabel xrLabel22;
private BottomMarginBand bottomMarginBand1;
private CalculatedField barcodeData;
private XRLabel xrLabel28;
private XRLabel xrLabel27;
private XRLabel xrLabelFromStreetLine2;
private XRLabel xrLabel30;
private XRPictureBox xrPictureBoxFedEx;
private XRPictureBox xrPictureBoxDLH;
private System.ComponentModel.IContainer components;
public FedExGroundLabel() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FedExGroundLabel));
DevExpress.XtraPrinting.BarCode.PDF417Generator pdF417Generator1 = new DevExpress.XtraPrinting.BarCode.PDF417Generator();
DevExpress.XtraPrinting.BarCode.EAN128Generator eaN128Generator1 = new DevExpress.XtraPrinting.BarCode.EAN128Generator();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.SubBand1 = new DevExpress.XtraReports.UI.SubBand();
this.xrPanel1 = new DevExpress.XtraReports.UI.XRPanel();
this.xrLabelFromStreetLine2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabelFromState = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabelFromStreetLine1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPanel2 = new DevExpress.XtraReports.UI.XRPanel();
this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.SubBand2 = new DevExpress.XtraReports.UI.SubBand();
this.xrPanel3 = new DevExpress.XtraReports.UI.XRPanel();
this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel();
this.SubBand3 = new DevExpress.XtraReports.UI.SubBand();
this.xrPanel4 = new DevExpress.XtraReports.UI.XRPanel();
this.xrPictureBoxFedEx = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel();
this.xrBarCode2 = new DevExpress.XtraReports.UI.XRBarCode();
this.xrPictureBoxUPS = new DevExpress.XtraReports.UI.XRPictureBox();
this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel();
this.xrPictureBoxDLH = new DevExpress.XtraReports.UI.XRPictureBox();
this.SubBand4 = new DevExpress.XtraReports.UI.SubBand();
this.xrBarCode1 = new DevExpress.XtraReports.UI.XRBarCode();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.style1 = new DevExpress.XtraReports.UI.XRControlStyle();
this.style2 = new DevExpress.XtraReports.UI.XRControlStyle();
this.style3 = new DevExpress.XtraReports.UI.XRControlStyle();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.barcodeData = new DevExpress.XtraReports.UI.CalculatedField();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 0F;
this.topMarginBand1.Name = "topMarginBand1";
//
// detailBand1
//
this.detailBand1.HeightF = 0F;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SubBands.AddRange(new DevExpress.XtraReports.UI.SubBand[] {
this.SubBand1,
this.SubBand2,
this.SubBand3,
this.SubBand4});
//
// SubBand1
//
this.SubBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPanel1,
this.xrPanel2});
this.SubBand1.HeightF = 85F;
this.SubBand1.Name = "SubBand1";
//
// xrPanel1
//
this.xrPanel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Right | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrPanel1.CanGrow = false;
this.xrPanel1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabelFromStreetLine2,
this.xrLabel28,
this.xrLabelFromState,
this.xrLabelFromStreetLine1,
this.xrLabel6,
this.xrLabel2,
this.xrLabel1});
this.xrPanel1.LocationFloat = new DevExpress.Utils.PointFloat(7.999999F, 5F);
this.xrPanel1.Name = "xrPanel1";
this.xrPanel1.SizeF = new System.Drawing.SizeF(239.611F, 80F);
this.xrPanel1.StylePriority.UseBorders = false;
//
// xrLabelFromStreetLine2
//
this.xrLabelFromStreetLine2.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabelFromStreetLine2.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabelFromStreetLine2.CanGrow = false;
this.xrLabelFromStreetLine2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employee.Address.CityLine")});
this.xrLabelFromStreetLine2.LocationFloat = new DevExpress.Utils.PointFloat(3.999952F, 51.00001F);
this.xrLabelFromStreetLine2.Multiline = true;
this.xrLabelFromStreetLine2.Name = "xrLabelFromStreetLine2";
this.xrLabelFromStreetLine2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabelFromStreetLine2.SizeF = new System.Drawing.SizeF(191.5179F, 12.49997F);
this.xrLabelFromStreetLine2.StyleName = "style1";
this.xrLabelFromStreetLine2.StylePriority.UseBorders = false;
this.xrLabelFromStreetLine2.StylePriority.UseFont = false;
this.xrLabelFromStreetLine2.StylePriority.UseTextAlignment = false;
this.xrLabelFromStreetLine2.Text = "StreetLine2";
this.xrLabelFromStreetLine2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrLabelFromStreetLine2.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabelFromStreetLine2_BeforePrint);
//
// xrLabel28
//
this.xrLabel28.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabel28.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel28.CanGrow = false;
this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(3.999992F, 25F);
this.xrLabel28.Multiline = true;
this.xrLabel28.Name = "xrLabel28";
this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel28.SizeF = new System.Drawing.SizeF(191.5179F, 13F);
this.xrLabel28.StyleName = "style1";
this.xrLabel28.StylePriority.UseBorders = false;
this.xrLabel28.StylePriority.UseFont = false;
this.xrLabel28.StylePriority.UseTextAlignment = false;
this.xrLabel28.Text = "DevAV";
this.xrLabel28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabelFromState
//
this.xrLabelFromState.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabelFromState.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabelFromState.CanGrow = false;
this.xrLabelFromState.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employee.Address.State")});
this.xrLabelFromState.LocationFloat = new DevExpress.Utils.PointFloat(4F, 63.49999F);
this.xrLabelFromState.Name = "xrLabelFromState";
this.xrLabelFromState.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabelFromState.SizeF = new System.Drawing.SizeF(191.5179F, 13F);
this.xrLabelFromState.StyleName = "style1";
this.xrLabelFromState.StylePriority.UseBorders = false;
this.xrLabelFromState.StylePriority.UseFont = false;
this.xrLabelFromState.StylePriority.UseTextAlignment = false;
this.xrLabelFromState.Text = "City, State or Province Code, Postal Code";
this.xrLabelFromState.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabelFromState_BeforePrint);
//
// xrLabelFromStreetLine1
//
this.xrLabelFromStreetLine1.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabelFromStreetLine1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabelFromStreetLine1.CanGrow = false;
this.xrLabelFromStreetLine1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employee.Address.Line")});
this.xrLabelFromStreetLine1.LocationFloat = new DevExpress.Utils.PointFloat(4.000001F, 38F);
this.xrLabelFromStreetLine1.Multiline = true;
this.xrLabelFromStreetLine1.Name = "xrLabelFromStreetLine1";
this.xrLabelFromStreetLine1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabelFromStreetLine1.SizeF = new System.Drawing.SizeF(191.5179F, 13.00001F);
this.xrLabelFromStreetLine1.StyleName = "style1";
this.xrLabelFromStreetLine1.StylePriority.UseBorders = false;
this.xrLabelFromStreetLine1.StylePriority.UseFont = false;
this.xrLabelFromStreetLine1.StylePriority.UseTextAlignment = false;
this.xrLabelFromStreetLine1.Text = "StreetLine1";
this.xrLabelFromStreetLine1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrLabelFromStreetLine1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabelFromStreetLine1_BeforePrint);
//
// xrLabel6
//
this.xrLabel6.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel6.CanGrow = false;
this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employee.MobilePhone")});
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(121.0238F, 0F);
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(74.49411F, 12.00002F);
this.xrLabel6.StyleName = "style1";
this.xrLabel6.StylePriority.UseBorders = false;
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.StylePriority.UseTextAlignment = false;
this.xrLabel6.Text = "(123) 456-7890";
//
// xrLabel2
//
this.xrLabel2.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabel2.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel2.CanGrow = false;
this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employee.FullName")});
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(3.999992F, 12.50001F);
this.xrLabel2.Multiline = true;
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(191.5179F, 12.5F);
this.xrLabel2.StyleName = "style1";
this.xrLabel2.StylePriority.UseBorders = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.StylePriority.UseTextAlignment = false;
this.xrLabel2.Text = "Person Name\r\nCompany Name\r\n";
this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel1
//
this.xrLabel1.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel1.CanGrow = false;
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(3.99999F, 0F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(100F, 12F);
this.xrLabel1.StyleName = "style1";
this.xrLabel1.StylePriority.UseBorders = false;
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "FROM";
//
// xrPanel2
//
this.xrPanel2.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrPanel2.CanGrow = false;
this.xrPanel2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel19,
this.xrLabel18,
this.xrLabel17,
this.xrLabel16,
this.xrLabel9,
this.xrLabel8,
this.xrLabel7,
this.xrLabel4,
this.xrLabel5});
this.xrPanel2.LocationFloat = new DevExpress.Utils.PointFloat(247.611F, 5F);
this.xrPanel2.Name = "xrPanel2";
this.xrPanel2.SizeF = new System.Drawing.SizeF(146.3702F, 80F);
this.xrPanel2.StylePriority.UseBorders = false;
//
// xrLabel19
//
this.xrLabel19.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel19.CanGrow = false;
this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")});
this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(75.36169F, 38F);
this.xrLabel19.Name = "xrLabel19";
this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel19.SizeF = new System.Drawing.SizeF(68.00862F, 13F);
this.xrLabel19.StyleName = "style1";
this.xrLabel19.StylePriority.UseBorders = false;
this.xrLabel19.StylePriority.UseFont = false;
this.xrLabel19.StylePriority.UseTextAlignment = false;
this.xrLabel19.Text = "18 X 18 X 40 IN";
//
// xrLabel18
//
this.xrLabel18.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel18.CanGrow = false;
this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ShipmentCourierId")});
this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(34.82996F, 25F);
this.xrLabel18.Name = "xrLabel18";
this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel18.SizeF = new System.Drawing.SizeF(108.5402F, 13F);
this.xrLabel18.StyleName = "style1";
this.xrLabel18.StylePriority.UseBorders = false;
this.xrLabel18.StylePriority.UseFont = false;
this.xrLabel18.StylePriority.UseTextAlignment = false;
this.xrLabel18.Text = "100615311/NET3850";
//
// xrLabel17
//
this.xrLabel17.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel17.CanGrow = false;
this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ActualWeight", "{0:f1} lb")});
this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(55.67004F, 13.00001F);
this.xrLabel17.Name = "xrLabel17";
this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel17.SizeF = new System.Drawing.SizeF(87.70013F, 12F);
this.xrLabel17.StyleName = "style1";
this.xrLabel17.StylePriority.UseBorders = false;
this.xrLabel17.StylePriority.UseFont = false;
this.xrLabel17.StylePriority.UseTextAlignment = false;
this.xrLabel17.Text = "Actual Weight";
//
// xrLabel16
//
this.xrLabel16.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel16.CanGrow = false;
this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ShipDate", "{0:ddMMMyy}")});
this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(75.36169F, 0F);
this.xrLabel16.Name = "xrLabel16";
this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel16.SizeF = new System.Drawing.SizeF(68.00851F, 13F);
this.xrLabel16.StyleName = "style1";
this.xrLabel16.StylePriority.UseBorders = false;
this.xrLabel16.StylePriority.UseFont = false;
this.xrLabel16.StylePriority.UseTextAlignment = false;
this.xrLabel16.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel16_BeforePrint);
//
// xrLabel9
//
this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel9.CanGrow = false;
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(7.00004F, 60F);
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(67.74F, 12F);
this.xrLabel9.StyleName = "style1";
this.xrLabel9.StylePriority.UseBorders = false;
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.StylePriority.UseTextAlignment = false;
this.xrLabel9.Text = "BILL SENDER";
//
// xrLabel8
//
this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel8.CanGrow = false;
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(7.000065F, 38F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(67.73999F, 13F);
this.xrLabel8.StyleName = "style1";
this.xrLabel8.StylePriority.UseBorders = false;
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.Text = "ACCOUNT:";
//
// xrLabel7
//
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel7.CanGrow = false;
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(7F, 25F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(27.83F, 13F);
this.xrLabel7.StyleName = "style1";
this.xrLabel7.StylePriority.UseBorders = false;
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.StylePriority.UseTextAlignment = false;
this.xrLabel7.Text = "CAD:";
//
// xrLabel4
//
this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel4.CanGrow = false;
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(7F, 13F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(48.67F, 12F);
this.xrLabel4.StyleName = "style1";
this.xrLabel4.StylePriority.UseBorders = false;
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.Text = "ACTWGT:";
//
// xrLabel5
//
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel5.CanGrow = false;
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(7.000033F, 0F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(67.74004F, 13F);
this.xrLabel5.StyleName = "style1";
this.xrLabel5.StylePriority.UseBorders = false;
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.StylePriority.UseTextAlignment = false;
this.xrLabel5.Text = "SHIP DATE:";
//
// SubBand2
//
this.SubBand2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPanel3});
this.SubBand2.HeightF = 115F;
this.SubBand2.Name = "SubBand2";
//
// xrPanel3
//
this.xrPanel3.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrPanel3.CanGrow = false;
this.xrPanel3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel30,
this.xrLabel27,
this.xrLabel22,
this.xrLabel26,
this.xrLabel25,
this.xrLabel24,
this.xrLabel23,
this.xrLabel10,
this.xrLabel12,
this.xrLabel11,
this.xrLabel3,
this.xrLabel13});
this.xrPanel3.LocationFloat = new DevExpress.Utils.PointFloat(7.999999F, 0F);
this.xrPanel3.Name = "xrPanel3";
this.xrPanel3.SizeF = new System.Drawing.SizeF(385.9812F, 115F);
this.xrPanel3.StylePriority.UseBorders = false;
//
// xrLabel30
//
this.xrLabel30.CanGrow = false;
this.xrLabel30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Store.Address.CityLine")});
this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(16.76457F, 40.01671F);
this.xrLabel30.Multiline = true;
this.xrLabel30.Name = "xrLabel30";
this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel30.SizeF = new System.Drawing.SizeF(288.8608F, 13.81655F);
this.xrLabel30.StyleName = "style2";
this.xrLabel30.StylePriority.UseFont = false;
this.xrLabel30.StylePriority.UseTextAlignment = false;
this.xrLabel30.Text = "StreetLine2";
//
// xrLabel27
//
this.xrLabel27.CanGrow = false;
this.xrLabel27.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Customer.Name")});
this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(16.76451F, 13.25314F);
this.xrLabel27.Multiline = true;
this.xrLabel27.Name = "xrLabel27";
this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel27.SizeF = new System.Drawing.SizeF(288.8608F, 14.08012F);
this.xrLabel27.StyleName = "style2";
this.xrLabel27.StylePriority.UseFont = false;
this.xrLabel27.StylePriority.UseTextAlignment = false;
this.xrLabel27.Text = "Company Name\r\n";
//
// xrLabel22
//
this.xrLabel22.Angle = 90F;
this.xrLabel22.CanGrow = false;
this.xrLabel22.Font = new System.Drawing.Font("Arial Narrow", 6F);
this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(374.8799F, 0F);
this.xrLabel22.Name = "xrLabel22";
this.xrLabel22.SizeF = new System.Drawing.SizeF(11.10129F, 115F);
this.xrLabel22.StyleName = "style1";
this.xrLabel22.StylePriority.UseBorders = false;
this.xrLabel22.StylePriority.UseFont = false;
this.xrLabel22.StylePriority.UsePadding = false;
this.xrLabel22.StylePriority.UseTextAlignment = false;
this.xrLabel22.Text = "545B10A53C1";
this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrLabel26
//
this.xrLabel26.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabel26.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel26.CanGrow = false;
this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(212.611F, 101F);
this.xrLabel26.Name = "xrLabel26";
this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel26.SizeF = new System.Drawing.SizeF(32F, 12F);
this.xrLabel26.StyleName = "style1";
this.xrLabel26.StylePriority.UseBorders = false;
this.xrLabel26.StylePriority.UseFont = false;
this.xrLabel26.StylePriority.UseTextAlignment = false;
this.xrLabel26.Text = "DEPT:";
//
// xrLabel25
//
this.xrLabel25.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabel25.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel25.CanGrow = false;
this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(157.7526F, 76.00005F);
this.xrLabel25.Name = "xrLabel25";
this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel25.SizeF = new System.Drawing.SizeF(26F, 11.58332F);
this.xrLabel25.StyleName = "style1";
this.xrLabel25.StylePriority.UseBorders = false;
this.xrLabel25.StylePriority.UseFont = false;
this.xrLabel25.StylePriority.UseTextAlignment = false;
this.xrLabel25.Text = "REF:";
//
// xrLabel24
//
this.xrLabel24.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabel24.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel24.CanGrow = false;
this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(16.76448F, 88.00003F);
this.xrLabel24.Name = "xrLabel24";
this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel24.SizeF = new System.Drawing.SizeF(22F, 12F);
this.xrLabel24.StyleName = "style1";
this.xrLabel24.StylePriority.UseBorders = false;
this.xrLabel24.StylePriority.UseFont = false;
this.xrLabel24.StylePriority.UseTextAlignment = false;
this.xrLabel24.Text = "INV:";
//
// xrLabel23
//
this.xrLabel23.AnchorHorizontal = DevExpress.XtraReports.UI.HorizontalAnchorStyles.Left;
this.xrLabel23.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel23.CanGrow = false;
this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(16.76451F, 101F);
this.xrLabel23.Name = "xrLabel23";
this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel23.SizeF = new System.Drawing.SizeF(20F, 12F);
this.xrLabel23.StyleName = "style1";
this.xrLabel23.StylePriority.UseBorders = false;
this.xrLabel23.StylePriority.UseFont = false;
this.xrLabel23.StylePriority.UseTextAlignment = false;
this.xrLabel23.Text = "PO:";
//
// xrLabel10
//
this.xrLabel10.CanGrow = false;
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(16.76448F, 0.833263F);
this.xrLabel10.Multiline = true;
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(288.8609F, 12.41988F);
this.xrLabel10.StyleName = "style2";
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.StylePriority.UseTextAlignment = false;
this.xrLabel10.Text = "Person Name\r\nCompany Name\r\n";
this.xrLabel10.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel10_BeforePrint);
//
// xrLabel12
//
this.xrLabel12.CanGrow = false;
this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Store.Address.State")});
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(16.76451F, 53.83326F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(288.8608F, 17F);
this.xrLabel12.StyleName = "style3";
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.StylePriority.UseTextAlignment = false;
this.xrLabel12.Text = "City, State or Province Code, Postal Code";
//
// xrLabel11
//
this.xrLabel11.CanGrow = false;
this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Store.Address.Line")});
this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(16.76451F, 27.33326F);
this.xrLabel11.Multiline = true;
this.xrLabel11.Name = "xrLabel11";
this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel11.SizeF = new System.Drawing.SizeF(288.8608F, 12.68345F);
this.xrLabel11.StyleName = "style2";
this.xrLabel11.StylePriority.UseFont = false;
this.xrLabel11.StylePriority.UseTextAlignment = false;
this.xrLabel11.Text = "StreetLine1";
//
// xrLabel3
//
this.xrLabel3.CanGrow = false;
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(7.915497E-05F, 0F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(16.76448F, 12F);
this.xrLabel3.StyleName = "style1";
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.StylePriority.UseTextAlignment = false;
this.xrLabel3.Text = "TO";
//
// xrLabel13
//
this.xrLabel13.CanGrow = false;
this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Store.Phone")});
this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(16.76451F, 76.00003F);
this.xrLabel13.Multiline = true;
this.xrLabel13.Name = "xrLabel13";
this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel13.SizeF = new System.Drawing.SizeF(140.9881F, 11.58334F);
this.xrLabel13.StyleName = "style2";
this.xrLabel13.StylePriority.UseFont = false;
this.xrLabel13.StylePriority.UseTextAlignment = false;
this.xrLabel13.Text = "Phone";
//
// SubBand3
//
this.SubBand3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPanel4});
this.SubBand3.HeightF = 180F;
this.SubBand3.Name = "SubBand3";
this.SubBand3.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.SubBand3_BeforePrint);
//
// xrPanel4
//
this.xrPanel4.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrPanel4.CanGrow = false;
this.xrPanel4.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBoxFedEx,
this.xrLabel21,
this.xrBarCode2,
this.xrPictureBoxUPS,
this.xrLabel20,
this.xrPictureBoxDLH});
this.xrPanel4.LocationFloat = new DevExpress.Utils.PointFloat(7.999999F, 0F);
this.xrPanel4.Name = "xrPanel4";
this.xrPanel4.SizeF = new System.Drawing.SizeF(385.9812F, 180F);
this.xrPanel4.StylePriority.UseBorders = false;
//
// xrPictureBoxFedEx
//
this.xrPictureBoxFedEx.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrPictureBoxFedEx.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBoxFedEx.Image")));
this.xrPictureBoxFedEx.LocationFloat = new DevExpress.Utils.PointFloat(303.46F, 2.98F);
this.xrPictureBoxFedEx.Name = "xrPictureBoxFedEx";
this.xrPictureBoxFedEx.SizeF = new System.Drawing.SizeF(78.53894F, 58.48613F);
this.xrPictureBoxFedEx.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.xrPictureBoxFedEx.StylePriority.UseBorders = false;
this.xrPictureBoxFedEx.Visible = false;
//
// xrLabel21
//
this.xrLabel21.Angle = 90F;
this.xrLabel21.CanGrow = false;
this.xrLabel21.Font = new System.Drawing.Font("Arial Narrow", 6F);
this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(374.8799F, 76.0692F);
this.xrLabel21.Name = "xrLabel21";
this.xrLabel21.SizeF = new System.Drawing.SizeF(11.10132F, 73.7997F);
this.xrLabel21.StyleName = "style1";
this.xrLabel21.StylePriority.UseBorders = false;
this.xrLabel21.StylePriority.UseFont = false;
this.xrLabel21.StylePriority.UsePadding = false;
this.xrLabel21.StylePriority.UseTextAlignment = false;
this.xrLabel21.Text = "J11201104290125";
this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrBarCode2
//
this.xrBarCode2.AutoModule = true;
this.xrBarCode2.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrBarCode2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Id")});
this.xrBarCode2.LocationFloat = new DevExpress.Utils.PointFloat(5F, 2.976193F);
this.xrBarCode2.Name = "xrBarCode2";
this.xrBarCode2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 5, 5, 100F);
this.xrBarCode2.ShowText = false;
this.xrBarCode2.SizeF = new System.Drawing.SizeF(291.3011F, 142.0816F);
this.xrBarCode2.StylePriority.UseBorders = false;
this.xrBarCode2.StylePriority.UsePadding = false;
pdF417Generator1.Rows = 9;
this.xrBarCode2.Symbology = pdF417Generator1;
//
// xrPictureBoxUPS
//
this.xrPictureBoxUPS.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrPictureBoxUPS.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBoxUPS.Image")));
this.xrPictureBoxUPS.LocationFloat = new DevExpress.Utils.PointFloat(303.96F, 7.89F);
this.xrPictureBoxUPS.Name = "xrPictureBoxUPS";
this.xrPictureBoxUPS.SizeF = new System.Drawing.SizeF(82.01926F, 60.45258F);
this.xrPictureBoxUPS.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.xrPictureBoxUPS.StylePriority.UseBorders = false;
this.xrPictureBoxUPS.Visible = false;
//
// xrLabel20
//
this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel20.BorderWidth = 7F;
this.xrLabel20.CanGrow = false;
this.xrLabel20.Font = new System.Drawing.Font("Arial", 44F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(314.9727F, 84.80755F);
this.xrLabel20.Name = "xrLabel20";
this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrLabel20.SizeF = new System.Drawing.SizeF(59.90723F, 57.27404F);
this.xrLabel20.StylePriority.UseBorders = false;
this.xrLabel20.StylePriority.UseBorderWidth = false;
this.xrLabel20.StylePriority.UseFont = false;
this.xrLabel20.StylePriority.UsePadding = false;
this.xrLabel20.StylePriority.UseTextAlignment = false;
this.xrLabel20.Text = "G";
this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
//
// xrPictureBoxDLH
//
this.xrPictureBoxDLH.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrPictureBoxDLH.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBoxDLH.Image")));
this.xrPictureBoxDLH.LocationFloat = new DevExpress.Utils.PointFloat(303.4611F, 2.976193F);
this.xrPictureBoxDLH.Name = "xrPictureBoxDLH";
this.xrPictureBoxDLH.SizeF = new System.Drawing.SizeF(78.53894F, 58.48614F);
this.xrPictureBoxDLH.Sizing = DevExpress.XtraPrinting.ImageSizeMode.ZoomImage;
this.xrPictureBoxDLH.StylePriority.UseBorders = false;
this.xrPictureBoxDLH.Visible = false;
//
// SubBand4
//
this.SubBand4.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrBarCode1});
this.SubBand4.HeightF = 225.2261F;
this.SubBand4.Name = "SubBand4";
//
// xrBarCode1
//
this.xrBarCode1.AutoModule = true;
this.xrBarCode1.LocationFloat = new DevExpress.Utils.PointFloat(8.000079F, 10F);
this.xrBarCode1.Name = "xrBarCode1";
this.xrBarCode1.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 10, 10, 10, 100F);
this.xrBarCode1.SizeF = new System.Drawing.SizeF(385.9811F, 131.8155F);
this.xrBarCode1.StyleName = "style2";
this.xrBarCode1.StylePriority.UseFont = false;
this.xrBarCode1.StylePriority.UsePadding = false;
this.xrBarCode1.StylePriority.UseTextAlignment = false;
eaN128Generator1.HumanReadableText = false;
this.xrBarCode1.Symbology = eaN128Generator1;
this.xrBarCode1.Text = "9622001670008130914600794801750435";
this.xrBarCode1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 0F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// style1
//
this.style1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.style1.Font = new System.Drawing.Font("Arial Narrow", 8F);
this.style1.Name = "style1";
this.style1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// style2
//
this.style2.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.style2.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold);
this.style2.Name = "style2";
this.style2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// style3
//
this.style3.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.style3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.style3.Name = "style3";
this.style3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.Order);
//
// barcodeData
//
this.barcodeData.Expression = "\'Id \' + [Id] + \' InvoiceNumber \' + [InvoiceNumber] + \' OrderDate \' + [OrderDate]" +
" + \' OrderTerms \' + [OrderTerms] + \' StoreId \' +[StoreId] + \' Customer Name \' + " +
"[Customer.Name]";
this.barcodeData.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.barcodeData.Name = "barcodeData";
//
// FedExGroundLabel
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.barcodeData});
this.DataSource = this.bindingSource1;
this.Margins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
this.PageHeight = 600;
this.PageWidth = 400;
this.PaperKind = System.Drawing.Printing.PaperKind.Custom;
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
this.style1,
this.style2,
this.style3});
this.Version = "17.2";
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void xrLabel16_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
XRLabel label = (XRLabel)sender;
label.Text = label.Text.ToUpper();
}
private void xrLabelFromStreetLine1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
((XRLabel)sender).Text = AddressHelper.DevAVHomeOffice.Line;
}
private void xrLabelFromStreetLine2_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
((XRLabel)sender).Text = AddressHelper.DevAVHomeOffice.CityLine;
}
private void xrLabelFromState_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
((XRLabel)sender).Text = AddressHelper.DevAVHomeOffice.State.ToString();
}
private void SubBand3_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
var shipmentCourier = (ShipmentCourier)GetCurrentColumnValue("ShipmentCourier");
switch(shipmentCourier) {
case ShipmentCourier.DHL:
xrPictureBoxDLH.Visible = true;
break;
case ShipmentCourier.FedEx:
xrPictureBoxFedEx.Visible = true;
break;
case ShipmentCourier.UPS:
xrPictureBoxUPS.Visible = true;
break;
}
}
private void xrLabel10_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
var currentStore = (CustomerStore)GetCurrentColumnValue("Store");
var currentCustomer = (Customer)GetCurrentColumnValue("Customer");
var storeIndex = currentCustomer.CustomerStores.IndexOf(currentStore);
((XRLabel)sender).Text = currentCustomer.Employees[storeIndex].FullName;
}
}
}

View File

@@ -0,0 +1,650 @@
using DevExpress.XtraGauges.Core.Customization;
using DevExpress.XtraGauges.Core.Drawing;
using DevExpress.XtraGauges.Core.Model;
using DevExpress.XtraGauges.Core.Primitive;
using DevExpress.XtraReports.UI;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class TaskDetailReport : DevExpress.XtraReports.UI.XtraReport {
#region fields
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private XtraReports.UI.XRPictureBox xrPictureBox1;
private System.Windows.Forms.BindingSource bindingSource1;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTableCell xrTableCell3;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow10;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableRow xrTableRow11;
private XtraReports.UI.XRTableCell xrTableCell19;
private XtraReports.UI.XRTableRow xrTableRow12;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.XRTableRow xrTableRow13;
private XtraReports.UI.XRTableCell xrTableCell21;
private XtraReports.UI.XRGauge xrGauge1;
private XtraReports.UI.XRTable xrTable4;
private XtraReports.UI.XRTableRow xrTableRow15;
private XtraReports.UI.XRTableCell xrTableCell23;
private XtraReports.UI.XRRichText xrRichText1;
private XtraReports.UI.XRTable xrTable3;
private XtraReports.UI.XRTableRow xrTableRow5;
private XtraReports.UI.XRTableCell xrTableCell5;
private XtraReports.UI.XRTableCell xrTableCell8;
private XtraReports.UI.XRTableCell xrTableCell9;
private XRLabel xrLabel1;
private System.ComponentModel.IContainer components;
#endregion
public TaskDetailReport() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TaskDetailReport));
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox1 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrRichText1 = new DevExpress.XtraReports.UI.XRRichText();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow5 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrGauge1 = new DevExpress.XtraReports.UI.XRGauge();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox1});
this.topMarginBand1.HeightF = 134.9844F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(472.25F, 52.59F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox1.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel1,
this.xrTable4,
this.xrTable3,
this.xrGauge1,
this.xrTable2});
this.detailBand1.HeightF = 460.7887F;
this.detailBand1.Name = "detailBand1";
//
// xrLabel1
//
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Completion")});
this.xrLabel1.Font = new System.Drawing.Font("Segoe UI", 16F);
this.xrLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(130)))), ((int)(((byte)(184)))));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(30.20833F, 87.97617F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(123.7501F, 38.16666F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseForeColor = false;
this.xrLabel1.Text = "xrLabel1";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrLabel1.TextFormatString = "{0}%";
//
// xrTable4
//
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(182.0912F, 417.5595F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow15});
this.xrTable4.SizeF = new System.Drawing.SizeF(467.9088F, 43.22917F);
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell23});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 1D;
//
// xrTableCell23
//
this.xrTableCell23.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrRichText1});
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.Weight = 1D;
//
// xrRichText1
//
this.xrRichText1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Rtf", null, "RtfTextDescription")});
this.xrRichText1.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrRichText1.LocationFloat = new DevExpress.Utils.PointFloat(4.577637E-05F, 0F);
this.xrRichText1.Name = "xrRichText1";
this.xrRichText1.SerializableRtfString = resources.GetString("xrRichText1.SerializableRtfString");
this.xrRichText1.SizeF = new System.Drawing.SizeF(467.9088F, 43.22919F);
this.xrRichText1.StylePriority.UseFont = false;
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 374.7024F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow5});
this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 31.18451F);
//
// xrTableRow5
//
this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell5,
this.xrTableCell8,
this.xrTableCell9});
this.xrTableRow5.Name = "xrTableRow5";
this.xrTableRow5.StylePriority.UseTextAlignment = false;
this.xrTableRow5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableRow5.Weight = 1.0501101610542218D;
//
// xrTableCell5
//
this.xrTableCell5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell5.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrTableCell5.ForeColor = System.Drawing.Color.White;
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
this.xrTableCell5.StylePriority.UseBackColor = false;
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UseForeColor = false;
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "Details";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell5.Weight = 0.80032469757233127D;
//
// xrTableCell8
//
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Weight = 0.024452088141954528D;
//
// xrTableCell9
//
this.xrTableCell9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrTableCell9.Font = new System.Drawing.Font("Segoe UI", 11.5F);
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 8, 0, 0, 100F);
this.xrTableCell9.StylePriority.UseBackColor = false;
this.xrTableCell9.StylePriority.UseFont = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell9.Weight = 2.2141840142121296D;
//
// xrGauge1
//
this.xrGauge1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("ActualValue", null, "Completion")});
this.xrGauge1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 12.5F);
this.xrGauge1.Maximum = 100F;
this.xrGauge1.Minimum = 0F;
this.xrGauge1.Name = "xrGauge1";
this.xrGauge1.SizeF = new System.Drawing.SizeF(180F, 180F);
this.xrGauge1.StylePriority.UseBorders = false;
this.xrGauge1.ViewStyle = DevExpress.XtraGauges.Core.Customization.DashboardGaugeStyle.Full;
this.xrGauge1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrGauge1_BeforePrint);
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(182.0912F, 12.97618F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1,
this.xrTableRow3,
this.xrTableRow4,
this.xrTableRow6,
this.xrTableRow7,
this.xrTableRow8,
this.xrTableRow9,
this.xrTableRow10,
this.xrTableRow11,
this.xrTableRow12,
this.xrTableRow13});
this.xrTable2.SizeF = new System.Drawing.SizeF(464.9088F, 341.997F);
this.xrTable2.StylePriority.UseBorders = false;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.4064880914705391D;
//
// xrTableCell4
//
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Subject")});
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 26F);
this.xrTableCell4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell4.Multiline = true;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.Weight = 3D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 0.43358413797172923D;
//
// xrTableCell7
//
this.xrTableCell7.CanGrow = false;
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AssignedEmployeesFullList")});
this.xrTableCell7.Font = new System.Drawing.Font("Segoe UI", 14F);
this.xrTableCell7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.StylePriority.UseForeColor = false;
this.xrTableCell7.Weight = 3D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10});
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 0.95166530949901318D;
//
// xrTableCell10
//
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Weight = 3D;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell11,
this.xrTableCell6});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 0.26817029657063368D;
//
// xrTableCell11
//
this.xrTableCell11.CanGrow = false;
this.xrTableCell11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.StylePriority.UseForeColor = false;
this.xrTableCell11.Text = "START DATE";
this.xrTableCell11.Weight = 1.4690801221887797D;
//
// xrTableCell6
//
this.xrTableCell6.CanGrow = false;
this.xrTableCell6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.StylePriority.UseForeColor = false;
this.xrTableCell6.Text = "DUE DATE";
this.xrTableCell6.Weight = 1.5309198778112203D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12,
this.xrTableCell13});
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.Weight = 0.26817032410528907D;
//
// xrTableCell12
//
this.xrTableCell12.CanGrow = false;
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "StartDate", "{0:MMMM d, yyyy}")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Text = "January 1, 2015";
this.xrTableCell12.Weight = 1.4690799252625617D;
//
// xrTableCell13
//
this.xrTableCell13.CanGrow = false;
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DueDate", "{0:MMMM d, yyyy}")});
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Text = "January 1, 2015";
this.xrTableCell13.Weight = 1.5309200747374383D;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell14});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 0.24442671984616451D;
//
// xrTableCell14
//
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.Weight = 3D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell15});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 0.29191392836441366D;
//
// xrTableCell16
//
this.xrTableCell16.CanGrow = false;
this.xrTableCell16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseForeColor = false;
this.xrTableCell16.Text = "STATUS";
this.xrTableCell16.Weight = 1.4690799252625617D;
//
// xrTableCell15
//
this.xrTableCell15.CanGrow = false;
this.xrTableCell15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.Text = "PRIORIRY";
this.xrTableCell15.Weight = 1.5309200747374383D;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell17,
this.xrTableCell18});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 0.26817032410528907D;
//
// xrTableCell17
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Status")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Text = "Incomplete";
this.xrTableCell17.Weight = 1.4690799252625617D;
//
// xrTableCell18
//
this.xrTableCell18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Priority")});
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Text = "High";
this.xrTableCell18.Weight = 1.5309200747374383D;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.Weight = 0.26817032410528907D;
//
// xrTableCell19
//
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.Weight = 3D;
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.24960543844855337D;
//
// xrTableCell20
//
this.xrTableCell20.CanGrow = false;
this.xrTableCell20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseForeColor = false;
this.xrTableCell20.Text = "OWNER";
this.xrTableCell20.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 0.28673520976202477D;
//
// xrTableCell21
//
this.xrTableCell21.CanGrow = false;
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Owner.FullName")});
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.Text = "James Doe";
this.xrTableCell21.Weight = 3D;
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 139.5417F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.EmployeeTask);
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.ReportHeader.HeightF = 31.18451F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 31.18451F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell3});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.StylePriority.UseTextAlignment = false;
this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableRow2.Weight = 1.0501101610542218D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Task Report";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.80032469757233127D;
//
// xrTableCell2
//
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Weight = 0.024452088141954528D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrTableCell3.Font = new System.Drawing.Font("Segoe UI", 11.5F);
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 8, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell3.Weight = 2.2141840142121296D;
//
// TaskDetailReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader});
this.DataSource = this.bindingSource1;
this.DrawWatermark = true;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F);
this.Margins = new System.Drawing.Printing.Margins(100, 100, 135, 140);
this.Version = "18.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrRichText1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
bool onFirstBeforePrint = true;
private void xrGauge1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
if(!onFirstBeforePrint)
return;
XRGauge gauge = sender as XRGauge;
ModifyGauge(gauge);
}
private void ModifyGauge(XRGauge gauge) {
DashboardGauge gaugeControl = gauge.Gauge as DashboardGauge;
RemoveElements(gaugeControl);
ArcScaleRangeBar rangeBar = new ArcScaleRangeBar() { ArcScale = gaugeControl.Elements[0] as ArcScale };
ImageIndicator imageIndicator = new ImageIndicator();
SetupArcScale(gaugeControl.Elements[0] as ArcScale);
SetupRangeBar(gaugeControl, rangeBar);
}
void RemoveElements(DashboardGauge gaugeControl) {
gaugeControl.BeginUpdate();
gaugeControl.Model.Composite.Remove(gaugeControl.Elements[2] as IRenderableElement);
gaugeControl.Elements.Remove(gaugeControl.Elements[2]);
gaugeControl.Model.Composite.Remove(gaugeControl.Elements[1] as IRenderableElement);
gaugeControl.Elements.Remove(gaugeControl.Elements[1]);
gaugeControl.EndUpdate();
}
void SetupArcScale(ArcScale arcScale) {
arcScale.EndAngle = 270F;
arcScale.MaxValue = 100F;
arcScale.Name = "Gauge0_Scale1";
arcScale.RadiusX = 100F;
arcScale.RadiusY = 100F;
arcScale.StartAngle = -90F;
arcScale.Value = 50F;
arcScale.MajorTickCount = 0;
arcScale.MajorTickmark.ShowTick = false;
}
void SetupRangeBar(DashboardGauge gaugeControl, ArcScaleRangeBar rangeBar) {
gaugeControl.BeginUpdate();
rangeBar.Name = "arcScaleRangeBarComponent2";
rangeBar.RoundedCaps = true;
rangeBar.ShowBackground = true;
rangeBar.StartOffset = 100F;
rangeBar.EndOffset = 18F;
rangeBar.ZOrder = -10;
rangeBar.Appearance.BackgroundBrush = new SolidBrushObject("Color:#E0E0E0");
rangeBar.Appearance.ContentBrush = new SolidBrushObject("Color:#4D82B8");
gaugeControl.Model.Composite.Add(rangeBar);
gaugeControl.Elements.Add(rangeBar);
gaugeControl.EndUpdate();
}
}
}

View File

@@ -0,0 +1,208 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQ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oYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<data name="xrRichText1.SerializableRtfString" xml:space="preserve">
<value>ewBcAHIAdABmADEAXABhAG4AcwBpAGMAcABnADEAMgA1ADEADQAKAHsADQAKAFwAZgBvAG4AdAB0AGIAbAANAAoAewBcAGYAMAAgAFQAaQBtAGUAcwAgAE4AZQB3ACAAUgBvAG0AYQBuADsAfQANAAoAfQANAAoAewANAAoAXABjAG8AbABvAHIAdABiAGwADQAKADsADQAKAFwAcgBlAGQAMABcAGcAcgBlAGUAbgAwAFwAYgBsAHUAZQAwADsADQAKAFwAcgBlAGQAMABcAGcAcgBlAGUAbgAwAFwAYgBsAHUAZQAyADUANQA7AA0ACgB9AA0ACgBcAG4AbwB1AGkAYwBvAG0AcABhAHQAXABzAHAAbAB5AHQAdwBuAGkAbgBlAFwAaAB0AG0AYQB1AHQAcwBwAHsAXABzAGUAYwB0AGQAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAFwAYwBmADEAXABwAGEAcgB9AA0ACgB9AA0ACgA=</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,607 @@
using DevExpress.XtraGauges.Core.Customization;
using DevExpress.XtraGauges.Core.Drawing;
using DevExpress.XtraGauges.Core.Model;
using DevExpress.XtraGauges.Core.Primitive;
using DevExpress.XtraReports.UI;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
namespace DevExpress.DevAV.Reports {
public class TaskListReport : DevExpress.XtraReports.UI.XtraReport {
private XtraReports.UI.TopMarginBand topMarginBand1;
private XtraReports.UI.DetailBand detailBand1;
private XtraReports.UI.XRPictureBox xrPictureBox2;
private XtraReports.UI.BottomMarginBand bottomMarginBand1;
private System.Windows.Forms.BindingSource bindingSource1;
private XtraReports.Parameters.Parameter paramDueDate;
private XtraReports.UI.ReportHeaderBand ReportHeader;
private XtraReports.UI.XRTable xrTable1;
private XtraReports.UI.XRTableRow xrTableRow2;
private XtraReports.UI.XRTableCell xrTableCell1;
private XtraReports.UI.XRTableCell xrTableCell2;
private XtraReports.UI.XRTableCell xrTableCell3;
private XtraReports.UI.XRGauge xrGauge1;
private XtraReports.UI.XRTable xrTable2;
private XtraReports.UI.XRTableRow xrTableRow1;
private XtraReports.UI.XRTableCell xrTableCell4;
private XtraReports.UI.XRTableRow xrTableRow3;
private XtraReports.UI.XRTableCell xrTableCell7;
private XtraReports.UI.XRTableRow xrTableRow4;
private XtraReports.UI.XRTableCell xrTableCell10;
private XtraReports.UI.XRTableRow xrTableRow6;
private XtraReports.UI.XRTableCell xrTableCell11;
private XtraReports.UI.XRTableCell xrTableCell6;
private XtraReports.UI.XRTableRow xrTableRow7;
private XtraReports.UI.XRTableCell xrTableCell12;
private XtraReports.UI.XRTableCell xrTableCell13;
private XtraReports.UI.XRTableRow xrTableRow8;
private XtraReports.UI.XRTableCell xrTableCell14;
private XtraReports.UI.XRTableRow xrTableRow9;
private XtraReports.UI.XRTableCell xrTableCell16;
private XtraReports.UI.XRTableCell xrTableCell15;
private XtraReports.UI.XRTableRow xrTableRow10;
private XtraReports.UI.XRTableCell xrTableCell17;
private XtraReports.UI.XRTableCell xrTableCell18;
private XtraReports.UI.XRTableRow xrTableRow11;
private XtraReports.UI.XRTableCell xrTableCell19;
private XtraReports.UI.XRTableRow xrTableRow12;
private XtraReports.UI.XRTableCell xrTableCell20;
private XtraReports.UI.XRTableRow xrTableRow13;
private XtraReports.UI.XRTableCell xrTableCell21;
private XtraReports.UI.XRLine xrLine1;
private XtraReports.UI.XRPageInfo xrPageInfo1;
private XtraReports.UI.XRPageInfo xrPageInfo2;
private XRLabel xrLabel1;
private System.ComponentModel.IContainer components;
public TaskListReport() {
InitializeComponent();
}
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TaskListReport));
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrPictureBox2 = new DevExpress.XtraReports.UI.XRPictureBox();
this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLine1 = new DevExpress.XtraReports.UI.XRLine();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrGauge1 = new DevExpress.XtraReports.UI.XRGauge();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.paramDueDate = new DevExpress.XtraReports.Parameters.Parameter();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// topMarginBand1
//
this.topMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPictureBox2});
this.topMarginBand1.HeightF = 134.9844F;
this.topMarginBand1.Name = "topMarginBand1";
//
// xrPictureBox2
//
this.xrPictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox2.Image")));
this.xrPictureBox2.LocationFloat = new DevExpress.Utils.PointFloat(472F, 53F);
this.xrPictureBox2.Name = "xrPictureBox2";
this.xrPictureBox2.SizeF = new System.Drawing.SizeF(170.8333F, 56.41184F);
this.xrPictureBox2.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage;
//
// detailBand1
//
this.detailBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel1,
this.xrTable2,
this.xrGauge1});
this.detailBand1.HeightF = 365.75F;
this.detailBand1.KeepTogether = true;
this.detailBand1.Name = "detailBand1";
this.detailBand1.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] {
new DevExpress.XtraReports.UI.GroupField("DueDate", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)});
//
// xrLabel1
//
this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Completion")});
this.xrLabel1.Font = new System.Drawing.Font("Segoe UI", 16F);
this.xrLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(77)))), ((int)(((byte)(130)))), ((int)(((byte)(184)))));
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(26F, 69F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(124F, 38F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UseForeColor = false;
this.xrLabel1.Text = "xrLabel1";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrLabel1.TextFormatString = "{0}%";
//
// xrTable2
//
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(185.0911F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1,
this.xrTableRow3,
this.xrTableRow4,
this.xrTableRow6,
this.xrTableRow7,
this.xrTableRow8,
this.xrTableRow9,
this.xrTableRow10,
this.xrTableRow11,
this.xrTableRow12,
this.xrTableRow13});
this.xrTable2.SizeF = new System.Drawing.SizeF(464.9088F, 315.243F);
this.xrTable2.StylePriority.UseBorders = false;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell4});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Weight = 1.4561409052612624D;
//
// xrTableCell4
//
this.xrTableCell4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Subject")});
this.xrTableCell4.Font = new System.Drawing.Font("Segoe UI", 26F);
this.xrTableCell4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(178)))), ((int)(((byte)(144)))));
this.xrTableCell4.Multiline = true;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UseForeColor = false;
this.xrTableCell4.Weight = 3D;
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 0.43358413797172923D;
//
// xrTableCell7
//
this.xrTableCell7.CanGrow = false;
this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AssignedEmployeesFullList")});
this.xrTableCell7.Font = new System.Drawing.Font("Segoe UI", 14F);
this.xrTableCell7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127)))));
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.StylePriority.UseForeColor = false;
this.xrTableCell7.Weight = 3D;
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell10});
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 0.5157897018652231D;
//
// xrTableCell10
//
this.xrTableCell10.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLine1});
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.Weight = 3D;
//
// xrLine1
//
this.xrLine1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrLine1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLine1.Name = "xrLine1";
this.xrLine1.SizeF = new System.Drawing.SizeF(464.9089F, 24.28609F);
this.xrLine1.StylePriority.UseForeColor = false;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell11,
this.xrTableCell6});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 0.26817029657063368D;
//
// xrTableCell11
//
this.xrTableCell11.CanGrow = false;
this.xrTableCell11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.StylePriority.UseForeColor = false;
this.xrTableCell11.Text = "START DATE";
this.xrTableCell11.Weight = 1.4690801221887797D;
//
// xrTableCell6
//
this.xrTableCell6.CanGrow = false;
this.xrTableCell6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.StylePriority.UseForeColor = false;
this.xrTableCell6.Text = "DUE DATE";
this.xrTableCell6.Weight = 1.5309198778112203D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell12,
this.xrTableCell13});
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.Weight = 0.26817032410528907D;
//
// xrTableCell12
//
this.xrTableCell12.CanGrow = false;
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "StartDate", "{0:MMMM d, yyyy}")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.Text = "January 1, 2015";
this.xrTableCell12.Weight = 1.4690799252625617D;
//
// xrTableCell13
//
this.xrTableCell13.CanGrow = false;
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "DueDate", "{0:MMMM d, yyyy}")});
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Text = "January 1, 2015";
this.xrTableCell13.Weight = 1.5309200747374383D;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell14});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 0.24442671984616451D;
//
// xrTableCell14
//
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.Weight = 3D;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16,
this.xrTableCell15});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 0.29191392836441366D;
//
// xrTableCell16
//
this.xrTableCell16.CanGrow = false;
this.xrTableCell16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.StylePriority.UseForeColor = false;
this.xrTableCell16.Text = "STATUS";
this.xrTableCell16.Weight = 1.4690799252625617D;
//
// xrTableCell15
//
this.xrTableCell15.CanGrow = false;
this.xrTableCell15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.StylePriority.UseForeColor = false;
this.xrTableCell15.Text = "PRIORIRY";
this.xrTableCell15.Weight = 1.5309200747374383D;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell17,
this.xrTableCell18});
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 0.26817032410528907D;
//
// xrTableCell17
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Status")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Text = "Incomplete";
this.xrTableCell17.Weight = 1.4690799252625617D;
//
// xrTableCell18
//
this.xrTableCell18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Priority")});
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Text = "High";
this.xrTableCell18.Weight = 1.5309200747374383D;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.Weight = 0.26817032410528907D;
//
// xrTableCell19
//
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.Weight = 3D;
//
// xrTableRow12
//
this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20});
this.xrTableRow12.Name = "xrTableRow12";
this.xrTableRow12.Weight = 0.24960543844855337D;
//
// xrTableCell20
//
this.xrTableCell20.CanGrow = false;
this.xrTableCell20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.StylePriority.UseForeColor = false;
this.xrTableCell20.Text = "OWNER";
this.xrTableCell20.Weight = 3D;
//
// xrTableRow13
//
this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow13.Name = "xrTableRow13";
this.xrTableRow13.Weight = 0.28673520976202477D;
//
// xrTableCell21
//
this.xrTableCell21.CanGrow = false;
this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Owner.FullName")});
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.Text = "James Doe";
this.xrTableCell21.Weight = 3D;
//
// xrGauge1
//
this.xrGauge1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("ActualValue", null, "Completion")});
this.xrGauge1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrGauge1.Maximum = 100F;
this.xrGauge1.Minimum = 0F;
this.xrGauge1.Name = "xrGauge1";
this.xrGauge1.SizeF = new System.Drawing.SizeF(180F, 180F);
this.xrGauge1.StylePriority.UseBorders = false;
this.xrGauge1.ViewStyle = DevExpress.XtraGauges.Core.Customization.DashboardGaugeStyle.Full;
this.xrGauge1.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrGauge1_BeforePrint);
//
// bottomMarginBand1
//
this.bottomMarginBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo1,
this.xrPageInfo2});
this.bottomMarginBand1.HeightF = 100F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// xrPageInfo1
//
this.xrPageInfo1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo1.Format = "Page {0} of {1}";
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo1.StylePriority.UseForeColor = false;
//
// xrPageInfo2
//
this.xrPageInfo2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166)))));
this.xrPageInfo2.Format = "{0:MMMM d, yyyy}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(485.4167F, 0F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(156.25F, 23F);
this.xrPageInfo2.StylePriority.UseForeColor = false;
this.xrPageInfo2.StylePriority.UseTextAlignment = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(DevExpress.DevAV.EmployeeTask);
//
// paramDueDate
//
this.paramDueDate.Description = "DueDate";
this.paramDueDate.Name = "paramDueDate";
this.paramDueDate.Type = typeof(bool);
this.paramDueDate.ValueInfo = "True";
this.paramDueDate.Visible = false;
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.ReportHeader.HeightF = 44.09029F;
this.ReportHeader.Name = "ReportHeader";
//
// xrTable1
//
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 29.69642F);
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell3});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.StylePriority.UseTextAlignment = false;
this.xrTableRow2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableRow2.Weight = 1D;
//
// xrTableCell1
//
this.xrTableCell1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71)))));
this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 11F);
this.xrTableCell1.ForeColor = System.Drawing.Color.White;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.Padding = new DevExpress.XtraPrinting.PaddingInfo(8, 0, 0, 0, 100F);
this.xrTableCell1.StylePriority.UseBackColor = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UseForeColor = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.Text = "Task List";
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell1.Weight = 0.80032469757233127D;
//
// xrTableCell2
//
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.Weight = 0.024452088141954528D;
//
// xrTableCell3
//
this.xrTableCell3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(218)))), ((int)(((byte)(218)))), ((int)(((byte)(218)))));
this.xrTableCell3.Font = new System.Drawing.Font("Segoe UI", 11.5F);
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 8, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBackColor = false;
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Sort Order: Due Date";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight;
this.xrTableCell3.Weight = 2.2141840142121296D;
//
// TaskListReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.topMarginBand1,
this.detailBand1,
this.bottomMarginBand1,
this.ReportHeader});
this.DataSource = this.bindingSource1;
this.DrawWatermark = true;
this.Font = new System.Drawing.Font("Segoe UI", 9.75F);
this.Margins = new System.Drawing.Printing.Margins(100, 100, 135, 100);
this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] {
this.paramDueDate});
this.Version = "15.2";
this.DataSourceDemanded += new System.EventHandler<System.EventArgs>(this.TaskListReport_DataSourceDemanded);
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
private void TaskListReport_DataSourceDemanded(object sender, EventArgs e) {
if(Equals(true, paramDueDate.Value)) {
xrTableCell3.Text = "Sort Order: Due Date";
this.detailBand1.SortFields[0].FieldName = "DueDate";
} else {
xrTableCell3.Text = "Sort Order: Start Date";
this.detailBand1.SortFields[0].FieldName = "StartDate";
}
}
bool onFirstBeforePrint = true;
private void xrGauge1_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
if(!onFirstBeforePrint)
return;
XRGauge gauge = sender as XRGauge;
ModifyGauge(gauge);
}
private void ModifyGauge(XRGauge gauge) {
DashboardGauge gaugeControl = gauge.Gauge as DashboardGauge;
RemoveElements(gaugeControl);
ArcScaleRangeBar rangeBar = new ArcScaleRangeBar() { ArcScale = gaugeControl.Elements[0] as ArcScale };
SetupArcScale(gaugeControl.Elements[0] as ArcScale);
SetupRangeBar(gaugeControl, rangeBar);
}
void RemoveElements(DashboardGauge gaugeControl) {
gaugeControl.BeginUpdate();
if(gaugeControl.Elements.Count == 3) {
gaugeControl.Model.Composite.Remove(gaugeControl.Elements[2] as IRenderableElement);
gaugeControl.Elements.Remove(gaugeControl.Elements[2]);
}
gaugeControl.Model.Composite.Remove(gaugeControl.Elements[1] as IRenderableElement);
gaugeControl.Elements.Remove(gaugeControl.Elements[1]);
gaugeControl.EndUpdate();
}
void SetupArcScale(ArcScale arcScale) {
arcScale.EndAngle = 270F;
arcScale.MaxValue = 100F;
arcScale.Name = "Gauge0_Scale1";
arcScale.Center = new DevExpress.XtraGauges.Core.Base.PointF2D(115F, 115F);
arcScale.RadiusX = 100F;
arcScale.RadiusY = 100F;
arcScale.StartAngle = -90F;
arcScale.Value = 50F;
arcScale.MajorTickCount = 0;
arcScale.MajorTickmark.ShowTick = false;
}
void SetupRangeBar(DashboardGauge gaugeControl, ArcScaleRangeBar rangeBar) {
gaugeControl.BeginUpdate();
rangeBar.Name = "arcScaleRangeBarComponent2";
rangeBar.RoundedCaps = true;
rangeBar.ShowBackground = true;
rangeBar.StartOffset = 100F;
rangeBar.EndOffset = 17F;
rangeBar.ZOrder = -10;
rangeBar.Appearance.BackgroundBrush = new SolidBrushObject("Color:#E0E0E0");
rangeBar.Appearance.ContentBrush = new SolidBrushObject("Color:#4D82B8");
gaugeControl.Model.Composite.Add(rangeBar);
gaugeControl.Elements.Add(rangeBar);
gaugeControl.EndUpdate();
}
}
}

View File

@@ -0,0 +1,205 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="xrPictureBox2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m
dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw
JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n
vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0
RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO
ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ
IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j
t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5
QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk
n16kiV6kzhpt89qLAMhGAHkYQHye0Gtp9RoVVIx/lF5kPYCkqiSX8p1VNQyvTpJ/FoCoVC2tPiQAyVO9
yBnWGHMvAiAP0ns8DxyDVZKWVt8TkLxWUTfrBQBxvdsBHLmO6qmH6T1mA4he2tXquwKQOnqR0+W1M6e0
9CIAcs/Iulm7o21xw40gLa2+rIKKcZvpRV4MC49IZmIeRu/RSO9xB4DoyYeWFoDU0ot8YR8/eSyeBxyn
omyx+sGgVt9V4cjx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0r8DjxzrSEyOsB1eW
XaIgOfj2z0a4NmMCSBKAHASO01vnFwX1pSuXSqrq8rlwDe4Xsoctw4XdLX9z42+wJSS1+2ZhDwEyH0Bc
XTyQXEiD9nkLvy/2FRBRUsrAIq7V697KEcvQKrvQsUCFWyYVxScAx13SGPcvd7z30KU5XTvZ9aLsFGv2
4QecTQDyJYA8pZJNSk2I6A8k2xUkb9GTWCLCQqKBY5GkAchnABI8kt1VUlmXxgWUHqKtOUlPeT83/LuM
ozscZ3Y3IMCxEjhMP3cDIFYa9Apv8YHaT0BkqPUtjvP6A34AshFAjFVK4JCh1QwFx8k1l+TcahQSZAGI
PD2/QM779yX2A0ByjspyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu
fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg
Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/
/QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA
OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj
Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm
H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG
Mk+4YgAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

Some files were not shown because too many files have changed in this diff Show More