diff --git a/OutlookInspiredApp/Data/devav.sqlite3 b/OutlookInspiredApp/Data/devav.sqlite3 index a7e0755..ea65416 100644 Binary files a/OutlookInspiredApp/Data/devav.sqlite3 and b/OutlookInspiredApp/Data/devav.sqlite3 differ diff --git a/OutlookInspiredApp/DevExpress.DevAV/Converters.cs b/OutlookInspiredApp/DevExpress.DevAV/Converters.cs deleted file mode 100644 index 8c3876e..0000000 --- a/OutlookInspiredApp/DevExpress.DevAV/Converters.cs +++ /dev/null @@ -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; - } - } - } -} diff --git a/OutlookInspiredApp/DevExpress.DevAV/Customer.cs b/OutlookInspiredApp/DevExpress.DevAV/Customer.cs deleted file mode 100644 index 6a86e26..0000000 --- a/OutlookInspiredApp/DevExpress.DevAV/Customer.cs +++ /dev/null @@ -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(); - Orders = new List(); - _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 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 Orders { get; set; } - [InverseProperty("Customer")] - public virtual List Quotes { get; set; } - [InverseProperty("Customer")] - public virtual List 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); - } - } -} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/AttachedFile.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/AttachedFile.cs similarity index 96% rename from OutlookInspiredApp/DevExpress.DevAV/AttachedFile.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/AttachedFile.cs index 4cdfcc4..4a9ca59 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/AttachedFile.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/AttachedFile.cs @@ -1,13 +1,13 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace DevExpress.DevAV { - public class TaskAttachedFile : DatabaseObject { - public virtual EmployeeTask EmployeeTask { get; set; } - public long? EmployeeTaskId { get; set; } - public string Name { get; set; } - public byte[] Content { get; set; } - } +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace DevExpress.DevAV { + public class TaskAttachedFile : DatabaseObject { + public virtual EmployeeTask EmployeeTask { get; set; } + public long? EmployeeTaskId { get; set; } + public string Name { get; set; } + public byte[] Content { get; set; } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/DataDirectoryHelper.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/DataDirectoryHelper.cs new file mode 100644 index 0000000..d54ffb3 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/DataDirectoryHelper.cs @@ -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 + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/Common/IDataErrorInfoHelper.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/IDataErrorInfoHelper.cs similarity index 98% rename from OutlookInspiredApp/DevExpress.DevAV/Common/IDataErrorInfoHelper.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/IDataErrorInfoHelper.cs index dff8ccf..d3b9889 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Common/IDataErrorInfoHelper.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/IDataErrorInfoHelper.cs @@ -1,37 +1,37 @@ -using System.ComponentModel; -using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Reflection; - -namespace DevExpress.Common { - public static class IDataErrorInfoHelper { - public static string GetErrorText(object owner, string propertyName) { - string[] path = propertyName.Split('.'); - if(path.Length > 1) - return GetErrorText(owner, path); - PropertyInfo propertyInfo = owner.GetType().GetProperty(propertyName); - if (propertyInfo == null) return null; - object propertyValue = propertyInfo.GetValue(owner, null); - ValidationContext validationContext = new ValidationContext(owner, null, null) { MemberName = propertyName }; - string[] errors = propertyInfo - .GetCustomAttributes(false) - .OfType() - .Select(x => x.GetValidationResult(propertyValue, validationContext)) - .Where(x => x != null) - .Select(x => x.ErrorMessage) - .Where(x => !string.IsNullOrEmpty(x)) - .ToArray(); - return string.Join(" ", errors); - } - static string GetErrorText(object owner, string[] path) { - string nestedPropertyName = string.Join(".", path.Skip(1)); - string propertyName = path[0]; - PropertyInfo propertyInfo = owner.GetType().GetProperty(propertyName); - if(propertyInfo == null) - return null; - object propertyValue = propertyInfo.GetValue(owner, null); - IDataErrorInfo nestedDataErrorInfo = propertyValue as IDataErrorInfo; - return nestedDataErrorInfo == null ? string.Empty : nestedDataErrorInfo[nestedPropertyName]; - } - } +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Reflection; + +namespace DevExpress.Common { + public static class IDataErrorInfoHelper { + public static string GetErrorText(object owner, string propertyName) { + string[] path = propertyName.Split('.'); + if(path.Length > 1) + return GetErrorText(owner, path); + PropertyInfo propertyInfo = owner.GetType().GetProperty(propertyName); + if (propertyInfo == null) return null; + object propertyValue = propertyInfo.GetValue(owner, null); + ValidationContext validationContext = new ValidationContext(owner, null, null) { MemberName = propertyName }; + string[] errors = propertyInfo + .GetCustomAttributes(false) + .OfType() + .Select(x => x.GetValidationResult(propertyValue, validationContext)) + .Where(x => x != null) + .Select(x => x.ErrorMessage) + .Where(x => !string.IsNullOrEmpty(x)) + .ToArray(); + return string.Join(" ", errors); + } + static string GetErrorText(object owner, string[] path) { + string nestedPropertyName = string.Join(".", path.Skip(1)); + string propertyName = path[0]; + PropertyInfo propertyInfo = owner.GetType().GetProperty(propertyName); + if(propertyInfo == null) + return null; + object propertyValue = propertyInfo.GetValue(owner, null); + IDataErrorInfo nestedDataErrorInfo = propertyValue as IDataErrorInfo; + return nestedDataErrorInfo == null ? string.Empty : nestedDataErrorInfo[nestedPropertyName]; + } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Common/ValidationAttributes.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/ValidationAttributes.cs similarity index 97% rename from OutlookInspiredApp/DevExpress.DevAV/Common/ValidationAttributes.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/ValidationAttributes.cs index 06dee39..6419078 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Common/ValidationAttributes.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Common/ValidationAttributes.cs @@ -1,77 +1,77 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.ComponentModel; -using System.ComponentModel.DataAnnotations; -using System.Globalization; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using System.Reflection.Emit; -using System.Resources; -using System.Security; -using System.Text; -using System.Text.RegularExpressions; - -// This demo targets .NET Framework 4.0. A number of validation attributes that exist in .NET Framework 4.5 cannot be used. -// That is why we have created our own counterparts of these attributes for this demo. -// If your application targets .NET Framework 4.5, use default validation attributes. -// If your application targets .NET Framework 4.0, you can copy and use these attributes or use DevExpress Validation Fluent API instead. - -namespace DevExpress.DataAnnotations { - public abstract class RegexAttributeBase : DataTypeAttribute { - protected const RegexOptions DefaultRegexOptions = RegexOptions.Compiled | RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase; - - readonly Regex regex; - - public RegexAttributeBase(string regex, string defaultErrorMessage, DataType dataType) - : this(new Regex(regex, DefaultRegexOptions), defaultErrorMessage, dataType) { - } - public RegexAttributeBase(Regex regex, string defaultErrorMessage, DataType dataType) - : base(dataType) { - this.regex = (Regex)regex; - this.ErrorMessage = defaultErrorMessage; - } - public sealed override bool IsValid(object value) { - if(value == null) - return true; - string input = value as string; - return input != null && regex.Match(input).Length > 0; - } - } - public sealed class ZipCodeAttribute : RegexAttributeBase { - static Regex regex = new Regex(@"^[0-9][0-9][0-9][0-9][0-9]$", DefaultRegexOptions); - const string Message = "The {0} field is not a valid ZIP code."; - public ZipCodeAttribute() - : base(regex, Message, DataType.Url) { - } - } - public sealed class CreditCardAttribute : DataTypeAttribute { - const string Message = "The {0} field is not a valid credit card number."; - public CreditCardAttribute() - : base(DataType.Custom) { - this.ErrorMessage = Message; - } - public override bool IsValid(object value) { - if(value == null) - return true; - string stringValue = value as string; - if(stringValue == null) - return false; - stringValue = stringValue.Replace("-", "").Replace(" ", ""); - int number = 0; - bool oddEvenFlag = false; - foreach(char ch in stringValue.Reverse()) { - if(ch < '0' || ch > '9') - return false; - int digitValue = (ch - '0') * (oddEvenFlag ? 2 : 1); - oddEvenFlag = !oddEvenFlag; - while(digitValue > 0) { - number += digitValue % 10; - digitValue = digitValue / 10; - } - } - return (number % 10) == 0; - } - } +using System; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using System.Globalization; +using System.Linq; +using System.Linq.Expressions; +using System.Reflection; +using System.Reflection.Emit; +using System.Resources; +using System.Security; +using System.Text; +using System.Text.RegularExpressions; + +// This demo targets .NET Framework 4.0. A number of validation attributes that exist in .NET Framework 4.5 cannot be used. +// That is why we have created our own counterparts of these attributes for this demo. +// If your application targets .NET Framework 4.5, use default validation attributes. +// If your application targets .NET Framework 4.0, you can copy and use these attributes or use DevExpress Validation Fluent API instead. + +namespace DevExpress.DataAnnotations { + public abstract class RegexAttributeBase : DataTypeAttribute { + protected const RegexOptions DefaultRegexOptions = RegexOptions.Compiled | RegexOptions.ExplicitCapture | RegexOptions.IgnoreCase; + + readonly Regex regex; + + public RegexAttributeBase(string regex, string defaultErrorMessage, DataType dataType) + : this(new Regex(regex, DefaultRegexOptions), defaultErrorMessage, dataType) { + } + public RegexAttributeBase(Regex regex, string defaultErrorMessage, DataType dataType) + : base(dataType) { + this.regex = (Regex)regex; + this.ErrorMessage = defaultErrorMessage; + } + public sealed override bool IsValid(object value) { + if(value == null) + return true; + string input = value as string; + return input != null && regex.Match(input).Length > 0; + } + } + public sealed class ZipCodeAttribute : RegexAttributeBase { + static Regex regex = new Regex(@"^[0-9][0-9][0-9][0-9][0-9]$", DefaultRegexOptions); + const string Message = "The {0} field is not a valid ZIP code."; + public ZipCodeAttribute() + : base(regex, Message, DataType.Url) { + } + } + public sealed class CreditCardAttribute : DataTypeAttribute { + const string Message = "The {0} field is not a valid credit card number."; + public CreditCardAttribute() + : base(DataType.Custom) { + this.ErrorMessage = Message; + } + public override bool IsValid(object value) { + if(value == null) + return true; + string stringValue = value as string; + if(stringValue == null) + return false; + stringValue = stringValue.Replace("-", "").Replace(" ", ""); + int number = 0; + bool oddEvenFlag = false; + foreach(char ch in stringValue.Reverse()) { + if(ch < '0' || ch > '9') + return false; + int digitValue = (ch - '0') * (oddEvenFlag ? 2 : 1); + oddEvenFlag = !oddEvenFlag; + while(digitValue > 0) { + number += digitValue % 10; + digitValue = digitValue / 10; + } + } + return (number % 10) == 0; + } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Crest.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Crest.cs similarity index 61% rename from OutlookInspiredApp/DevExpress.DevAV/Crest.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Crest.cs index 48d00ac..644fa35 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Crest.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Crest.cs @@ -1,26 +1,28 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Drawing; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public class Crest : DatabaseObject { - public string CityName { get; set; } - public byte[] SmallImage { get; set; } - public byte[] LargeImage { get; set; } - public virtual ICollection CustomerStores { get; set; } - 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); - else - img = DevAVByteImageConverter.FromByteArray(LargeImage); - return img; - } - } - } -} +using DevExpress.Utils; +using DevExpress.XtraEditors.Controls; +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations.Schema; +using System.Drawing; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public class Crest : DatabaseObject { + public string CityName { get; set; } + public byte[] SmallImage { get; set; } + public byte[] LargeImage { get; set; } + public virtual ICollection CustomerStores { get; set; } + Image img; + public Image LargeImageEx { + get { + if(img == null) + if(LargeImage == null) + return ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly); + else + img = ByteImageConverter.FromByteArray(LargeImage); + return img; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Customer.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Customer.cs new file mode 100644 index 0000000..b279c3e --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Customer.cs @@ -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(); + Orders = new List(); +#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 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 Orders { get; set; } + [InverseProperty("Customer")] + public virtual List Quotes { get; set; } + [InverseProperty("Customer")] + public virtual List 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); + } + } +} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/CustomerComminication.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerComminication.cs similarity index 97% rename from OutlookInspiredApp/DevExpress.DevAV/CustomerComminication.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerComminication.cs index 411b45e..25b8785 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/CustomerComminication.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerComminication.cs @@ -1,17 +1,17 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public class CustomerCommunication : DatabaseObject { - public virtual Employee Employee { get; set; } - public long? EmployeeId { get; set; } - public virtual CustomerEmployee CustomerEmployee { get; set; } - public long? CustomerEmployeeId { get; set; } - public DateTime Date { get; set; } - public string Type { get; set; } - public string Purpose { get; set; } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public class CustomerCommunication : DatabaseObject { + public virtual Employee Employee { get; set; } + public long? EmployeeId { get; set; } + public virtual CustomerEmployee CustomerEmployee { get; set; } + public long? CustomerEmployeeId { get; set; } + public DateTime Date { get; set; } + public string Type { get; set; } + public string Purpose { get; set; } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/CustomerEmployee.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerEmployee.cs similarity index 96% rename from OutlookInspiredApp/DevExpress.DevAV/CustomerEmployee.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerEmployee.cs index 81a9f1a..fb6111b 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/CustomerEmployee.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerEmployee.cs @@ -1,53 +1,52 @@ -using System; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Drawing; -using System.Runtime.Serialization; -using DevExpress.DataAnnotations; -using System.Collections.Generic; - -namespace DevExpress.DevAV { - public class CustomerEmployee : DatabaseObject { - [Required, Display(Name = "First Name")] - public string FirstName { get; set; } - [Required, Display(Name = "Last Name")] - public string LastName { get; set; } - [Display(Name = "Full Name")] - public string FullName { get; set; } - public PersonPrefix Prefix { get; set; } - [Required, Phone, Display(Name = "Mobile Phone")] - public string MobilePhone { get; set; } - [Required, EmailAddress] - public string Email { get; set; } - public virtual Picture Picture { get; set; } - public long? PictureId { get; set; } - public virtual Customer Customer { get; set; } - public long? CustomerId { get; set; } - public virtual CustomerStore CustomerStore { get; set; } - public long? CustomerStoreId { get; set; } - public string Position { get; set; } - public bool IsPurchaseAuthority { get; set; } - public virtual ICollection CustomerCommunications { get; set; } - public Address Address { - get { return (CustomerStore != null) ? CustomerStore.Address : null; } - set { } - } - public virtual ICollection EmployeeTasks { get; set; } - Image _photo = null; - [NotMapped] - public Image Photo { - get { - if(_photo == null) - _photo = Picture.CreateImage(); - return _photo; - } - set { - _photo = value; - Picture = PictureExtension.FromImage(value); - } - } - public override string ToString() { - return FullName; - } - } +using System; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Drawing; +using System.Runtime.Serialization; +using DevExpress.DataAnnotations; +using System.Collections.Generic; + +namespace DevExpress.DevAV { + public class CustomerEmployee : DatabaseObject { + [Required, Display(Name = "First Name")] + public string FirstName { get; set; } + [Required, Display(Name = "Last Name")] + public string LastName { get; set; } + [Display(Name = "Full Name")] + public string FullName { get; set; } + public PersonPrefix Prefix { get; set; } + [Required, Phone, Display(Name = "Mobile Phone")] + public string MobilePhone { get; set; } + [Required, EmailAddress] + public string Email { get; set; } + public virtual Picture Picture { get; set; } + public long? PictureId { get; set; } + public virtual Customer Customer { get; set; } + public long? CustomerId { get; set; } + public virtual CustomerStore CustomerStore { get; set; } + public long? CustomerStoreId { get; set; } + public string Position { get; set; } + public bool IsPurchaseAuthority { get; set; } + public virtual ICollection CustomerCommunications { get; set; } + public Address Address { + get { return (CustomerStore != null) ? CustomerStore.Address : null; } + } + public virtual ICollection EmployeeTasks { get; set; } + Image _photo = null; + [NotMapped] + public Image Photo { + get { + if(_photo == null) + _photo = Picture.CreateImage(); + return _photo; + } + set { + _photo = value; + Picture = PictureExtension.FromImage(value); + } + } + public override string ToString() { + return FullName; + } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/CustomerStore.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerStore.cs similarity index 73% rename from OutlookInspiredApp/DevExpress.DevAV/CustomerStore.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerStore.cs index aa73536..05b5cc4 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/CustomerStore.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/CustomerStore.cs @@ -1,89 +1,96 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Drawing; -using System.Linq; -using System.ComponentModel.DataAnnotations; - -namespace DevExpress.DevAV { - public class CustomerStore : DatabaseObject { - public CustomerStore() { - _address = new Address(); - } - public virtual Customer Customer { get; set; } - public long? CustomerId { get; set; } - Address _address; - [NotMapped] - public Address Address { - get { - 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; - } - } - #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 - public string Phone { get; set; } - public string Fax { get; set; } - public int TotalEmployees { get; set; } - public int SquereFootage { get; set; } - [DataType(DataType.Currency)] - public decimal AnnualSales { get; set; } - public virtual Crest Crest { get; set; } - public long? CrestId { get; set; } - public string Location { get; set; } - public string City { get { return Address == null ? "" : Address.City; } } - public StateEnum State { get { return Address == null ? StateEnum.CA : Address.State; } } - public virtual ICollection CustomerEmployees { get; set; } - public virtual ICollection Orders { get; set; } - public virtual ICollection Quotes { get; set; } - public string CustomerName { - get { return (Customer != null) ? Customer.Name : null; } - } - public string AddressLine { - get { return (Address != null) ? Address.ToString() : null; } - } - public string AddressLines { - get { return (Address != null) ? string.Format("{0}\r\n{1} {2}", Address.Line, Address.State, Address.ZipCode) : null; } - } - public string CrestCity { - get { return (Crest != null) ? Crest.CityName : null; } - } - Image smallImg; - public Image CrestSmallImage { - get { - if(smallImg == null && Crest != null) - smallImg = CreateImage(Crest.SmallImage); - return smallImg; - } - } - Image largeImg; - public Image CrestLargeImage { - get { - if(largeImg == null && Crest != null) - largeImg = CreateImage(Crest.LargeImage); - return largeImg; - } - } - 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); - } - } +using System; +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 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 { + get { + 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); } + } +#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; } +#endif + public string Phone { get; set; } + public string Fax { get; set; } + public int TotalEmployees { get; set; } + public int SquereFootage { get; set; } + [DataType(DataType.Currency)] + public decimal AnnualSales { get; set; } + public virtual Crest Crest { get; set; } + public long? CrestId { get; set; } + public string Location { get; set; } + public string City { get { return Address == null ? "" : Address.City; } } + public StateEnum State { get { return Address == null ? StateEnum.CA : Address.State; } } + public virtual ICollection CustomerEmployees { get; set; } + public virtual ICollection Orders { get; set; } + public virtual ICollection Quotes { get; set; } + public string CustomerName { + get { return (Customer != null) ? Customer.Name : null; } + } + public string AddressLine { + get { return (Address != null) ? Address.ToString() : null; } + } + public string AddressLines { + get { return (Address != null) ? string.Format("{0}\r\n{1} {2}", Address.Line, Address.State, Address.ZipCode) : null; } + } + public string CrestCity { + get { return (Crest != null) ? Crest.CityName : null; } + } + Image smallImg; + public Image CrestSmallImage { + get { + if(smallImg == null && Crest != null) + smallImg = CreateImage(Crest.SmallImage); + return smallImg; + } + } + Image largeImg; + public Image CrestLargeImage { + get { + if(largeImg == null && Crest != null) + largeImg = CreateImage(Crest.LargeImage); + return largeImg; + } + } + Image CreateImage(byte[] data) { + if(data == null) + return ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly); + else + return ByteImageConverter.FromByteArray(data); + } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DatabaseObject.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/DatabaseObject.cs similarity index 55% rename from OutlookInspiredApp/DevExpress.DevAV/DatabaseObject.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/DatabaseObject.cs index e512fc7..e09a72e 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/DatabaseObject.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/DatabaseObject.cs @@ -1,19 +1,28 @@ -using System; -using System.ComponentModel; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Runtime.Serialization; -using DevExpress.Common; - -namespace DevExpress.DevAV { - public abstract class DatabaseObject : IDataErrorInfo { - [Key] - public long Id { get; set; } - #region IDataErrorInfo - string IDataErrorInfo.Error { get { return null; } } - string IDataErrorInfo.this[string columnName] { - get { return IDataErrorInfoHelper.GetErrorText(this, columnName); } - } - #endregion - } -} +using System; +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Runtime.Serialization; +using DevExpress.Common; + +namespace DevExpress.DevAV { + public abstract class DatabaseObject : IDataErrorInfo { + [Key] + public long Id { get; set; } + #region IDataErrorInfo + string IDataErrorInfo.Error { get { return null; } } + string IDataErrorInfo.this[string columnName] { + get { return IDataErrorInfoHelper.GetErrorText(this, columnName); } + } + #endregion +#if DXCORE3 + protected void SetPropertyValue(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 + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/DevExpress.DevAV.Data.csproj b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/DevExpress.DevAV.Data.csproj new file mode 100644 index 0000000..159b935 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/DevExpress.DevAV.Data.csproj @@ -0,0 +1,67 @@ + + + netcoreapp3.0 + Library + false + false + false + SAK + SAK + SAK + SAK + true + Debug;DebugTest;Release;Debug;RemoteDebug + DevExpress.DevAV + DevExpress.DevAV.v19.1.Data + + + ..\..\bin\ + TRACE;DEBUG;DEVAV;DXCORE3 + + + ..\..\bin\ + TRACE;DEVAV;DXCORE3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Employee.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Employee.cs similarity index 80% rename from OutlookInspiredApp/DevExpress.DevAV/Employee.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Employee.cs index fc07e52..91e5260 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Employee.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Employee.cs @@ -1,163 +1,170 @@ -using DevExpress.DataAnnotations; -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; - -namespace DevExpress.DevAV { - public enum EmployeeStatus { - [Display(Name = "Salaried")] - Salaried, - [Display(Name = "Commission")] - Commission, - [Display(Name = "Contract")] - Contract, - [Display(Name = "Terminated")] - Terminated, - [Display(Name = "On Leave")] - OnLeave - } - public enum EmployeeDepartment { - [Display(Name = "Sales")] - Sales = 1, - [Display(Name = "Support")] - Support, - [Display(Name = "Shipping")] - Shipping, - [Display(Name = "Engineering")] - Engineering, - [Display(Name = "Human Resources")] - HumanResources, - [Display(Name = "Management")] - Management, - [Display(Name = "IT")] - IT - } - public enum PersonPrefix { - Dr, - Mr, - Ms, - Miss, - Mrs - } - public partial class Employee : DatabaseObject { - public Employee() { - AssignedTasks = new List(); - OwnedTasks = new List(); - _address = new Address(); - AssignedEmployeeTasks = new List(); - } - [InverseProperty("AssignedEmployees")] - public virtual List AssignedEmployeeTasks { get; set; } - public EmployeeDepartment Department { get; set; } - [Required] - public string Title { get; set; } - public EmployeeStatus Status { get; set; } - [Display(Name = "Hire Date")] - public DateTime? HireDate { get; set; } - [InverseProperty("AssignedEmployee")] - public virtual List AssignedTasks { get; set; } - [InverseProperty("Owner")] - public virtual List OwnedTasks { get; set; } - [InverseProperty("Employee")] - public virtual List Evaluations { get; set; } - public string PersonalProfile { get; set; } - public long? ProbationReason_Id { get; set; } - public virtual Probation ProbationReason { get; set; } - [Required, Display(Name = "First Name")] - public string FirstName { get; set; } - [Required, Display(Name = "Last Name")] - public string LastName { get; set; } - [Display(Name = "Full Name")] - public string FullName { get; set; } - public PersonPrefix Prefix { get; set; } - [Phone, Display(Name = "Home Phone")] - public string HomePhone { get; set; } - [Required, Phone, Display(Name = "Mobile Phone")] - public string MobilePhone { get; set; } - [Required, EmailAddress] - public string Email { get; set; } - public string Skype { get; set; } - [Display(Name = "Birth Date")] - public DateTime? BirthDate { get; set; } - public virtual Picture Picture { get; set; } - public long? PictureId { get; set; } - Address _address; - [NotMapped] - public Address Address { get { - 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; - } - } - - #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 - - Image _photo = null; - [NotMapped] - public Image Photo { - get { - if(_photo == null) - _photo = Picture.CreateImage(); - return _photo; - } - set { - if(_photo == value) return; - if(_photo != null) - _photo.Dispose(); - _photo = value; - Picture = PictureExtension.FromImage(value); - } - } - bool unsetFullName = false; - public virtual ICollection EvaluationsCreatedBy { get; set; } - public virtual ICollection Orders { get; set; } - public virtual ICollection Products { get; set; } - public virtual ICollection SupportedProducts { get; set; } - public virtual ICollection Quotes { get; set; } - public virtual ICollection Employees { get; set; } - [NotMapped, Display(Name = "Full Name")] - public string FullNameBindable { - get { - return string.IsNullOrEmpty(FullName) || unsetFullName ? GetFullName() : FullName; - } - set { - unsetFullName = string.IsNullOrEmpty(value); - if(unsetFullName) - FullName = GetFullName(); - else - FullName = value; - } - } - public void ResetBindable() { - if(_photo != null) - _photo.Dispose(); - _photo = null; - unsetFullName = false; - } - string GetFullName() { - return string.Format("{0} {1}", FirstName, LastName); - } - public override string ToString() { - return FullName; - } - } +using DevExpress.DataAnnotations; +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; + +namespace DevExpress.DevAV { + public enum EmployeeStatus { + [Display(Name = "Salaried")] + Salaried, + [Display(Name = "Commission")] + Commission, + [Display(Name = "Contract")] + Contract, + [Display(Name = "Terminated")] + Terminated, + [Display(Name = "On Leave")] + OnLeave + } + public enum EmployeeDepartment { + [Display(Name = "Sales")] + Sales = 1, + [Display(Name = "Support")] + Support, + [Display(Name = "Shipping")] + Shipping, + [Display(Name = "Engineering")] + Engineering, + [Display(Name = "Human Resources")] + HumanResources, + [Display(Name = "Management")] + Management, + [Display(Name = "IT")] + IT + } + public enum PersonPrefix { + Dr, + Mr, + Ms, + Miss, + Mrs + } + public partial class Employee : DatabaseObject { + public Employee() { + AssignedTasks = new List(); + OwnedTasks = new List(); +#if DXCORE3 + _address = new Address(); + _address.PropertyChanged += (s, e) => SetPropertyValue(e.PropertyName, "Address", (Address)s); +#else + Address = new Address(); +#endif + AssignedEmployeeTasks = new List(); + } + [InverseProperty("AssignedEmployees")] + public virtual List AssignedEmployeeTasks { get; set; } + public EmployeeDepartment Department { get; set; } + [Required] + public string Title { get; set; } + public EmployeeStatus Status { get; set; } + [Display(Name = "Hire Date")] + public DateTime? HireDate { get; set; } + [InverseProperty("AssignedEmployee")] + public virtual List AssignedTasks { get; set; } + [InverseProperty("Owner")] + public virtual List OwnedTasks { get; set; } + [InverseProperty("Employee")] + public virtual List Evaluations { get; set; } + public string PersonalProfile { get; set; } + public long? ProbationReason_Id { get; set; } + public virtual Probation ProbationReason { get; set; } + [Required, Display(Name = "First Name")] + public string FirstName { get; set; } + [Required, Display(Name = "Last Name")] + public string LastName { get; set; } + [Display(Name = "Full Name")] + public string FullName { get; set; } + public PersonPrefix Prefix { get; set; } + [Phone, Display(Name = "Home Phone")] + public string HomePhone { get; set; } + [Required, Phone, Display(Name = "Mobile Phone")] + public string MobilePhone { get; set; } + [Required, EmailAddress] + public string Email { get; set; } + public string Skype { get; set; } + [Display(Name = "Birth Date")] + 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, AddressLine, AddressCity, AddressState, AddressZipCode, AddressLatitude, AddressLongitude); + return _address; + } + set { AddressHelper.UpdateAddress(_address, value.Line, value.City, value.State, value.ZipCode, value.Latitude, value.Longitude); } + } +#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] + public Image Photo { + get { + if(_photo == null) + _photo = Picture.CreateImage(); + return _photo; + } + set { + if(_photo == value) return; + if(_photo != null) + _photo.Dispose(); + _photo = value; + Picture = PictureExtension.FromImage(value); + } + } + bool unsetFullName = false; + public virtual ICollection EvaluationsCreatedBy { get; set; } + public virtual ICollection Orders { get; set; } + public virtual ICollection Products { get; set; } + public virtual ICollection SupportedProducts { get; set; } + public virtual ICollection Quotes { get; set; } + public virtual ICollection Employees { get; set; } + [NotMapped, Display(Name = "Full Name")] + public string FullNameBindable { + get { + return string.IsNullOrEmpty(FullName) || unsetFullName ? GetFullName() : FullName; + } + set { + unsetFullName = string.IsNullOrEmpty(value); + if(unsetFullName) + FullName = GetFullName(); + else + FullName = value; + } + } + public void ResetBindable() { + if(_photo != null) + _photo.Dispose(); + _photo = null; + unsetFullName = false; + } + string GetFullName() { + return string.Format("{0} {1}", FirstName, LastName); + } + public override string ToString() { + return FullName; + } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Evaluation.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Evaluation.cs similarity index 96% rename from OutlookInspiredApp/DevExpress.DevAV/Evaluation.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Evaluation.cs index b7257c9..70aeeb2 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Evaluation.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Evaluation.cs @@ -1,24 +1,24 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public enum EvaluationRating { - Unset, - Good, - Average, - Poor - } - public partial class Evaluation : DatabaseObject { - public virtual Employee CreatedBy { get; set; } - public long? CreatedById { get; set; } - public DateTime CreatedOn { get; set; } - public virtual Employee Employee { get; set; } - public long? EmployeeId { get; set; } - public string Subject { get; set; } - public string Details { get; set; } - public virtual EvaluationRating Rating { get; set; } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public enum EvaluationRating { + Unset, + Good, + Average, + Poor + } + public partial class Evaluation : DatabaseObject { + public virtual Employee CreatedBy { get; set; } + public long? CreatedById { get; set; } + public DateTime CreatedOn { get; set; } + public virtual Employee Employee { get; set; } + public long? EmployeeId { get; set; } + public string Subject { get; set; } + public string Details { get; set; } + public virtual EvaluationRating Rating { get; set; } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/Address.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/Address.cs similarity index 53% rename from OutlookInspiredApp/DevExpress.DevAV/Address.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/Address.cs index 9a14626..9cf0ed7 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Address.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/Address.cs @@ -1,56 +1,69 @@ -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 { - [Display(Name = "Address")] - public string Line { get; set; } - public string City { get; set; } - public StateEnum State { get; set; } - [ZipCode, Display(Name = "Zip code")] - public string ZipCode { get; set; } - public double Latitude { get; set; } - public double Longitude { get; set; } - public string CityLine { - get { return GetCityLine(City, State, ZipCode); } - } - public override string ToString() { - return string.Format("{0}, {1}", Line, CityLine); - } - #region IDataErrorInfo - string IDataErrorInfo.Error { get { return null; } } - string IDataErrorInfo.this[string columnName] { - 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){ - address.Line = line; - address.City = city; - address.State = state; - address.ZipCode = zipCode; - address.Latitude = latitude; - address.Longitude = longtitude; - } - } -} +using System; +using System.ComponentModel; +using System.ComponentModel.DataAnnotations; +using DevExpress.Common; +using DevExpress.DataAnnotations; + +namespace DevExpress.DevAV { + public partial class Address : ObservableObject, IDataErrorInfo { + string line; + [Display(Name = "Address")] + 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 { 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); } + } + public override string ToString() { + return string.Format("{0}, {1}", Line, CityLine); + } + #region IDataErrorInfo + string IDataErrorInfo.Error { get { return null; } } + string IDataErrorInfo.this[string columnName] { + 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 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; + address.ZipCode = zipCode; + address.Latitude = latitude; + address.Longitude = longtitude; + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevAVDb.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/DevAVDb.cs similarity index 79% rename from OutlookInspiredApp/DevExpress.DevAV/DevAVDb.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/DevAVDb.cs index 52bcb18..4ef234c 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/DevAVDb.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/DevAVDb.cs @@ -1,130 +1,139 @@ -using Microsoft.EntityFrameworkCore; -using System; - -namespace DevExpress.DevAV -{ - public class DevAVDb : DbContext { - public DevAVDb(string connectionStringOrName) { - connectionString = connectionStringOrName; - } - - string connectionString = @"Data Source=C:\Work\OutlookWpf\Data\devav.sqlite3"; - - public DevAVDb() : base() - { - } - protected override void OnConfiguring(DbContextOptionsBuilder optionbuilder) - { - optionbuilder.UseLazyLoadingProxies().UseSqlite(connectionString); - } - - public DbSet Customers { get; set; } - public DbSet Employees { get; set; } - public DbSet Products { get; set; } - public DbSet Tasks { get; set; } - public DbSet Crests { get; set; } - public DbSet Communications { get; set; } - public DbSet CustomerStores { get; set; } - public DbSet Orders { get; set; } - public DbSet OrderItems { get; set; } - public DbSet Probations { get; set; } - public DbSet ProductCatalogs { get; set; } - public DbSet ProductImages { get; set; } - public DbSet Quotes { get; set; } - public DbSet QuoteItems { get; set; } - public DbSet States { get; set; } - public DbSet CustomerEmployees { get; set; } - public DbSet Evaluations { get; set; } - public DbSet Pictures { get; set; } - public DbSet AttachedFiles { get; set; } - public DbSet Version { get; set; } - - - protected override void OnModelCreating(ModelBuilder modelBuilder) { - base.OnModelCreating(modelBuilder); - - modelBuilder.Entity() - .HasOne(x => x.Picture) - .WithMany(x => x.Employees); - - modelBuilder.Entity() - .HasOne(x => x.ProbationReason) - .WithMany(x => x.Employees) - .HasForeignKey(x => x.ProbationReason_Id); - - modelBuilder.Entity() - .HasOne(x => x.CreatedBy) - .WithMany(x => x.EvaluationsCreatedBy); - - modelBuilder.Entity() - .HasOne(x => x.CustomerStore) - .WithMany(x => x.CustomerEmployees); - - modelBuilder.Entity() - .HasOne(x => x.Picture) - .WithMany(x => x.CustomerEmployees); - - modelBuilder.Entity() - .HasOne(x => x.Crest) - .WithMany(x => x.CustomerStores); - - modelBuilder.Entity() - .HasOne(x => x.Employee) - .WithMany(x => x.Orders); - - modelBuilder.Entity() - .HasOne(x => x.Store) - .WithMany(x => x.Orders); - - modelBuilder.Entity() - .HasOne(x => x.Engineer) - .WithMany(x => x.Products); - - modelBuilder.Entity() - .HasOne(x => x.PrimaryImage) - .WithMany(x => x.Products); - - modelBuilder.Entity() - .HasOne(x => x.Support) - .WithMany(x => x.SupportedProducts); - - modelBuilder.Entity() - .HasOne(x => x.Picture) - .WithMany(x => x.ProductImages); - - modelBuilder.Entity() - .HasOne(x => x.CustomerStore) - .WithMany(x => x.Quotes); - - modelBuilder.Entity() - .HasOne(x => x.Employee) - .WithMany(x => x.Quotes); - - modelBuilder.Entity() - .HasOne(x => x.Product) - .WithMany(x => x.QuoteItems); - - modelBuilder.Entity() - .HasOne(x => x.CustomerEmployee) - .WithMany(x => x.CustomerCommunications); - - modelBuilder.Entity() - .HasOne(x => x.Employee) - .WithMany(x => x.Employees); - - modelBuilder.Entity() - .Ignore(x => x.AssignedEmployeeTasks); - modelBuilder.Entity() - .Ignore(x => x.AssignedEmployees); - modelBuilder.Entity() - .Ignore(x => x.AssignedTasks); - modelBuilder.Entity() - .Ignore(x => x.OwnedTasks); - modelBuilder.Entity() - .Ignore(x => x.Employees); - } - } - public class DatabaseVersion : DatabaseObject { - public DateTime Date { get; set; } - } -} +using Microsoft.EntityFrameworkCore; +using System; + +namespace DevExpress.DevAV { + [CLSCompliant(false)] + public class DevAVDb : DbContext { + public DevAVDb(string connectionStringOrName) { + connectionString = connectionStringOrName; + } + + string connectionString = string.Empty; + + public DevAVDb() : base() { + } + protected override void OnConfiguring(DbContextOptionsBuilder optionbuilder) { + optionbuilder.UseLazyLoadingProxies().UseSqlite(connectionString); + } + + public DbSet Customers { get; set; } + public DbSet Employees { get; set; } + public DbSet Products { get; set; } + public DbSet Crests { get; set; } + public DbSet CustomerStores { get; set; } + public DbSet Orders { get; set; } + public DbSet OrderItems { get; set; } + public DbSet Probations { get; set; } + public DbSet ProductCatalogs { get; set; } + public DbSet ProductImages { get; set; } + public DbSet Quotes { get; set; } + public DbSet QuoteItems { get; set; } + public DbSet States { get; set; } + public DbSet CustomerEmployees { get; set; } + public DbSet Evaluations { get; set; } + public DbSet Pictures { get; set; } + + public DbSet EmployeeTasks { get; set; } + public DbSet CustomerCommunications { get; set; } + public DbSet TaskAttachedFiles { get; set; } + public DbSet DatabaseVersions { get; set; } + + protected override void OnModelCreating(ModelBuilder modelBuilder) { + base.OnModelCreating(modelBuilder); + + modelBuilder.Entity() + .Ignore(x => x.AssignedEmployeeTasks); + modelBuilder.Entity() + .Ignore(x => x.AssignedEmployees); + + modelBuilder.Entity() + .HasOne(t => t.EmployeeTask) + .WithMany(p => p.AttachedFiles) + .HasForeignKey(t => t.EmployeeTaskId); + + modelBuilder.Entity() + .HasOne(x => x.AssignedEmployee) + .WithMany(x => x.AssignedTasks); + + modelBuilder.Entity() + .HasOne(x => x.Owner) + .WithMany(x => x.OwnedTasks); + + modelBuilder.Entity() + .HasOne(x => x.CustomerEmployee) + .WithMany(x => x.EmployeeTasks); + + modelBuilder.Entity() + .HasOne(x => x.Picture) + .WithMany(x => x.Employees); + + modelBuilder.Entity() + .HasOne(x => x.ProbationReason) + .WithMany(x => x.Employees) + .HasForeignKey(x => x.ProbationReason_Id); + + modelBuilder.Entity() + .HasOne(x => x.CreatedBy) + .WithMany(x => x.EvaluationsCreatedBy); + + modelBuilder.Entity() + .HasOne(x => x.CustomerStore) + .WithMany(x => x.CustomerEmployees); + + modelBuilder.Entity() + .HasOne(x => x.Picture) + .WithMany(x => x.CustomerEmployees); + + modelBuilder.Entity() + .HasOne(x => x.Crest) + .WithMany(x => x.CustomerStores); + + modelBuilder.Entity() + .HasOne(x => x.Employee) + .WithMany(x => x.Orders); + + modelBuilder.Entity() + .HasOne(x => x.Store) + .WithMany(x => x.Orders); + + modelBuilder.Entity() + .HasOne(x => x.Engineer) + .WithMany(x => x.Products); + + modelBuilder.Entity() + .HasOne(x => x.PrimaryImage) + .WithMany(x => x.Products); + + modelBuilder.Entity() + .HasOne(x => x.Support) + .WithMany(x => x.SupportedProducts); + + modelBuilder.Entity() + .HasOne(x => x.Picture) + .WithMany(x => x.ProductImages); + + modelBuilder.Entity() + .HasOne(x => x.CustomerStore) + .WithMany(x => x.Quotes); + + modelBuilder.Entity() + .HasOne(x => x.Employee) + .WithMany(x => x.Quotes); + + modelBuilder.Entity() + .HasOne(x => x.Product) + .WithMany(x => x.QuoteItems); + + modelBuilder.Entity() + .HasOne(x => x.CustomerEmployee) + .WithMany(x => x.CustomerCommunications); + + modelBuilder.Entity() + .HasOne(x => x.Employee) + .WithMany(x => x.Employees); + } + } + public class DatabaseVersion : DatabaseObject { + public DateTime Date { get; set; } + } +} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/ObservableObject.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/ObservableObject.cs new file mode 100644 index 0000000..4942a74 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/NetCore/ObservableObject.cs @@ -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(ref T valueHolder, T newValue, [CallerMemberName]string propertyName = null) { + if(object.Equals(valueHolder, newValue)) + return; + valueHolder = newValue; + RaisePropertyChangedEvent(propertyName); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/Order.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Order.cs similarity index 97% rename from OutlookInspiredApp/DevExpress.DevAV/Order.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Order.cs index d7451bc..fdd4fcb 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Order.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Order.cs @@ -1,98 +1,98 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; - -namespace DevExpress.DevAV { - public enum OrderShipMethod { - [Display(Name = "Ground")] - Ground, - [Display(Name = "Air")] - Air - } - public enum ShipmentCourier { - None, - [Display(Name = "FedEx")] - FedEx, - [Display(Name = "UPS")] - UPS, - [Display(Name = "DHL")] - DHL - } - public enum ShipmentStatus { - [Display(Name = "Awaiting")] - Awaiting, - [Display(Name = "Transit")] - Transit, - [Display(Name = "Received")] - Received - } - public enum PaymentStatus { - [Display(Name = "Unpaid")] - Unpaid, - [Display(Name = "Paid in full")] - PaidInFull, - [Display(Name = "Refund in full")] - RefundInFull, - [Display(Name = "")] - Other - } - // - public class Order : DatabaseObject { - public Order() { - OrderItems = new List(); - } - public string InvoiceNumber { get; set; } - public virtual Customer Customer { get; set; } - public long? CustomerId { get; set; } - public virtual CustomerStore Store { get; set; } - public long? StoreId { get; set; } - public string PONumber { get; set; } - public virtual Employee Employee { get; set; } - public long? EmployeeId { get; set; } - public DateTime OrderDate { get; set; } - [DataType(DataType.Currency)] - public decimal SaleAmount { get; set; } - [DataType(DataType.Currency)] - public decimal ShippingAmount { get; set; } - [DataType(DataType.Currency)] - public decimal TotalAmount { get; set; } - public DateTime? ShipDate { get; set; } - public OrderShipMethod ShipMethod { get; set; } - public string OrderTerms { get; set; } - public virtual List OrderItems { get; set; } - public ShipmentCourier ShipmentCourier { get; set; } - public string ShipmentCourierId { get; set; } - public ShipmentStatus ShipmentStatus { get; set; } - public string Comments { get; set; } - // Payment/Refund - [DataType(DataType.Currency)] - public decimal RefundTotal { get; set; } - [DataType(DataType.Currency)] - public decimal PaymentTotal { get; set; } - [NotMapped] - public PaymentStatus PaymentStatus { - get { - if(PaymentTotal == decimal.Zero && RefundTotal == decimal.Zero) - return DevAV.PaymentStatus.Unpaid; - if(RefundTotal == TotalAmount) - return DevAV.PaymentStatus.RefundInFull; - if(PaymentTotal == TotalAmount) - return DevAV.PaymentStatus.PaidInFull; - return DevAV.PaymentStatus.Other; - } - } - [NotMapped] - public double ActualWeight { - get { - var weight = 0.0; - if(OrderItems != null) - foreach(var item in OrderItems) - if(item.Product != null) - weight += item.Product.Weight * item.ProductUnits; - return weight; - } - } - - } +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace DevExpress.DevAV { + public enum OrderShipMethod { + [Display(Name = "Ground")] + Ground, + [Display(Name = "Air")] + Air + } + public enum ShipmentCourier { + None, + [Display(Name = "FedEx")] + FedEx, + [Display(Name = "UPS")] + UPS, + [Display(Name = "DHL")] + DHL + } + public enum ShipmentStatus { + [Display(Name = "Awaiting")] + Awaiting, + [Display(Name = "Transit")] + Transit, + [Display(Name = "Received")] + Received + } + public enum PaymentStatus { + [Display(Name = "Unpaid")] + Unpaid, + [Display(Name = "Paid in full")] + PaidInFull, + [Display(Name = "Refund in full")] + RefundInFull, + [Display(Name = "")] + Other + } + // + public class Order : DatabaseObject { + public Order() { + OrderItems = new List(); + } + public string InvoiceNumber { get; set; } + public virtual Customer Customer { get; set; } + public long? CustomerId { get; set; } + public virtual CustomerStore Store { get; set; } + public long? StoreId { get; set; } + public string PONumber { get; set; } + public virtual Employee Employee { get; set; } + public long? EmployeeId { get; set; } + public DateTime OrderDate { get; set; } + [DataType(DataType.Currency)] + public decimal SaleAmount { get; set; } + [DataType(DataType.Currency)] + public decimal ShippingAmount { get; set; } + [DataType(DataType.Currency)] + public decimal TotalAmount { get; set; } + public DateTime? ShipDate { get; set; } + public OrderShipMethod ShipMethod { get; set; } + public string OrderTerms { get; set; } + public virtual List OrderItems { get; set; } + public ShipmentCourier ShipmentCourier { get; set; } + public string ShipmentCourierId { get; set; } + public ShipmentStatus ShipmentStatus { get; set; } + public string Comments { get; set; } + // Payment/Refund + [DataType(DataType.Currency)] + public decimal RefundTotal { get; set; } + [DataType(DataType.Currency)] + public decimal PaymentTotal { get; set; } + [NotMapped] + public PaymentStatus PaymentStatus { + get { + if(PaymentTotal == decimal.Zero && RefundTotal == decimal.Zero) + return DevAV.PaymentStatus.Unpaid; + if(RefundTotal == TotalAmount) + return DevAV.PaymentStatus.RefundInFull; + if(PaymentTotal == TotalAmount) + return DevAV.PaymentStatus.PaidInFull; + return DevAV.PaymentStatus.Other; + } + } + [NotMapped] + public double ActualWeight { + get { + var weight = 0.0; + if(OrderItems != null) + foreach(var item in OrderItems) + if(item.Product != null) + weight += item.Product.Weight * item.ProductUnits; + return weight; + } + } + + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/OrderItem.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/OrderItem.cs similarity index 97% rename from OutlookInspiredApp/DevExpress.DevAV/OrderItem.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/OrderItem.cs index 88c77ba..221b3f2 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/OrderItem.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/OrderItem.cs @@ -1,22 +1,22 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public class OrderItem : DatabaseObject { - public virtual Order Order { get; set; } - public long? OrderId { get; set; } - public virtual Product Product { get; set; } - public long? ProductId { get; set; } - public int ProductUnits { get; set; } - [DataType(DataType.Currency)] - public decimal ProductPrice { get; set; } - [DataType(DataType.Currency)] - public decimal Discount { get; set; } - [DataType(DataType.Currency)] - public decimal Total { get; set; } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public class OrderItem : DatabaseObject { + public virtual Order Order { get; set; } + public long? OrderId { get; set; } + public virtual Product Product { get; set; } + public long? ProductId { get; set; } + public int ProductUnits { get; set; } + [DataType(DataType.Currency)] + public decimal ProductPrice { get; set; } + [DataType(DataType.Currency)] + public decimal Discount { get; set; } + [DataType(DataType.Currency)] + public decimal Total { get; set; } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/Person.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Person.cs similarity index 100% rename from OutlookInspiredApp/DevExpress.DevAV/Person.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Person.cs diff --git a/OutlookInspiredApp/DevExpress.DevAV/Picture.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Picture.cs similarity index 56% rename from OutlookInspiredApp/DevExpress.DevAV/Picture.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Picture.cs index 1c4f2e0..d295980 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Picture.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Picture.cs @@ -1,33 +1,34 @@ -using System.Drawing; -using System.Collections.Generic; - -namespace DevExpress.DevAV { - public class Picture : DatabaseObject { - public byte[] Data { get; set; } - public virtual ICollection Employees { get; set; } - public virtual ICollection CustomerEmployees { get; set; } - public virtual ICollection Products { get; set; } - public virtual ICollection ProductImages { get; set; } - } - static class PictureExtension { - 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); - } - else return DevAVByteImageConverter.FromByteArray(picture.Data); - } - internal static Picture FromImage(Image image) { - return null; - //return (image == null) ? null : new Picture() - //{ - // Data = DevAVByteImageConverter.ToByteArray(image, image.RawFormat) - //}; - } - } +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 { + public class Picture : DatabaseObject { + public byte[] Data { get; set; } + public virtual ICollection Employees { get; set; } + public virtual ICollection CustomerEmployees { get; set; } + public virtual ICollection Products { get; set; } + public virtual ICollection ProductImages { get; set; } + } + static class PictureExtension { + 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) { + if(string.IsNullOrEmpty(defaultImage)) + defaultImage = DefaultPic; + return ResourceImageHelper.CreateImageFromResourcesEx(defaultImage, typeof(Picture).Assembly); + } + else return ByteImageConverter.FromByteArray(picture.Data); + } + internal static Picture FromImage(Image image) { + return (image == null) ? null : new Picture() + { + Data = ByteImageConverter.ToByteArray(image, image.RawFormat) + }; + } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Probation.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Probation.cs similarity index 96% rename from OutlookInspiredApp/DevExpress.DevAV/Probation.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Probation.cs index fa10607..2f8a8a0 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Probation.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Probation.cs @@ -1,13 +1,13 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public class Probation : DatabaseObject { - public string Reason { get; set; } - public virtual ICollection Employees { get; set; } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public class Probation : DatabaseObject { + public string Reason { get; set; } + public virtual ICollection Employees { get; set; } + } +} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Product.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Product.cs similarity index 88% rename from OutlookInspiredApp/DevExpress.DevAV/Product.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Product.cs index 3c7515b..7ebfda9 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Product.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Product.cs @@ -1,74 +1,76 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Drawing; -using System.IO; - -namespace DevExpress.DevAV { - public enum ProductCategory { - [Display(Name = "Automation")] - Automation, - [Display(Name = "Monitors")] - Monitors, - [Display(Name = "Projectors")] - Projectors, - [Display(Name = "Televisions")] - Televisions, - [Display(Name = "Video Players")] - VideoPlayers, - } - public class Product : DatabaseObject { - public string Name { get; set; } - public string Description { get; set; } - public DateTime ProductionStart { get; set; } - public bool Available { get; set; } - public byte[] Image { get; set; } - public virtual Employee Support { get; set; } - public long? SupportId { get; set; } - public virtual Employee Engineer { get; set; } - public long? EngineerId { get; set; } - public int? CurrentInventory { get; set; } - public int Backorder { get; set; } - public int Manufacturing { get; set; } - public byte[] Barcode { get; set; } - public virtual Picture PrimaryImage { get; set; } - public long? PrimaryImageId { get; set; } - [DataType(DataType.Currency)] - public decimal Cost { get; set; } - [DataType(DataType.Currency)] - public decimal SalePrice { get; set; } - [DataType(DataType.Currency)] - public decimal RetailPrice { get; set; } - public double Weight { get; set; } - public double ConsumerRating { get; set; } - public ProductCategory Category { get; set; } - [InverseProperty("Product")] - public virtual List Catalog { get; set; } - [InverseProperty("Product")] - public virtual List OrderItems { get; set; } - public virtual List Images { get; set; } - public virtual ICollection QuoteItems { get; set; } - public Stream Brochure { - get { - if(Catalog != null && Catalog.Count > 0) - return Catalog[0].PdfStream; - return null; - } - } - Image img; - public Image ProductImage { - get { - if(img == null && PrimaryImage != null) - img = CreateImage(PrimaryImage.Data); - return img; - } - } - 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); - } - } +using System; +using System.Collections.Generic; +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 { + [Display(Name = "Automation")] + Automation, + [Display(Name = "Monitors")] + Monitors, + [Display(Name = "Projectors")] + Projectors, + [Display(Name = "Televisions")] + Televisions, + [Display(Name = "Video Players")] + VideoPlayers, + } + public class Product : DatabaseObject { + public string Name { get; set; } + public string Description { get; set; } + public DateTime ProductionStart { get; set; } + public bool Available { get; set; } + public byte[] Image { get; set; } + public virtual Employee Support { get; set; } + public long? SupportId { get; set; } + public virtual Employee Engineer { get; set; } + public long? EngineerId { get; set; } + public int? CurrentInventory { get; set; } + public int Backorder { get; set; } + public int Manufacturing { get; set; } + public byte[] Barcode { get; set; } + public virtual Picture PrimaryImage { get; set; } + public long? PrimaryImageId { get; set; } + [DataType(DataType.Currency)] + public decimal Cost { get; set; } + [DataType(DataType.Currency)] + public decimal SalePrice { get; set; } + [DataType(DataType.Currency)] + public decimal RetailPrice { get; set; } + public double Weight { get; set; } + public double ConsumerRating { get; set; } + public ProductCategory Category { get; set; } + [InverseProperty("Product")] + public virtual List Catalog { get; set; } + [InverseProperty("Product")] + public virtual List OrderItems { get; set; } + public virtual List Images { get; set; } + public virtual ICollection QuoteItems { get; set; } + public Stream Brochure { + get { + if(Catalog != null && Catalog.Count > 0) + return Catalog[0].PdfStream; + return null; + } + } + Image img; + public Image ProductImage { + get { + if(img == null && PrimaryImage != null) + img = CreateImage(PrimaryImage.Data); + return img; + } + } + Image CreateImage(byte[] data) { + if(data == null) + return ResourceImageHelper.CreateImageFromResourcesEx("DevExpress.DevAV.Resources.Unknown-user.png", typeof(Employee).Assembly); + else + return DevExpress.XtraEditors.Controls.ByteImageConverter.FromByteArray(data); + } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/ProductCatalog.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/ProductCatalog.cs similarity index 96% rename from OutlookInspiredApp/DevExpress.DevAV/ProductCatalog.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/ProductCatalog.cs index d130888..2e55f3c 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/ProductCatalog.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/ProductCatalog.cs @@ -1,22 +1,22 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.IO; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public class ProductCatalog : DatabaseObject { - public virtual Product Product { get; set; } - public long? ProductId { get; set; } - public byte[] PDF { get; set; } - Stream _pdfStream; - public Stream PdfStream { - get { - if (_pdfStream == null) - _pdfStream = new MemoryStream(PDF); - return _pdfStream; - } - } - } +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations.Schema; +using System.IO; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public class ProductCatalog : DatabaseObject { + public virtual Product Product { get; set; } + public long? ProductId { get; set; } + public byte[] PDF { get; set; } + Stream _pdfStream; + public Stream PdfStream { + get { + if (_pdfStream == null) + _pdfStream = new MemoryStream(PDF); + return _pdfStream; + } + } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/ProductImage.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/ProductImage.cs similarity index 96% rename from OutlookInspiredApp/DevExpress.DevAV/ProductImage.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/ProductImage.cs index 897a4b3..6c53488 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/ProductImage.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/ProductImage.cs @@ -1,14 +1,14 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public class ProductImage : DatabaseObject { - public virtual Picture Picture { get; set; } - public long? PictureId { get; set; } - public virtual Product Product { get; set; } - public long? ProductId { get; set; } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public class ProductImage : DatabaseObject { + public virtual Picture Picture { get; set; } + public long? PictureId { get; set; } + public virtual Product Product { get; set; } + public long? ProductId { get; set; } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/AssemblyInfo.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..62a8022 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/AssemblyInfo.cs @@ -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)] \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/Resources.Designer.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/Resources.Designer.cs new file mode 100644 index 0000000..fa524da --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/Resources.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace DevExpress.DevAV.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // 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() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Unknown_user { + get { + object obj = ResourceManager.GetObject("Unknown_user", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/Resources.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/Resources.resx new file mode 100644 index 0000000..efa6e66 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Properties/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Unknown-user.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Queries.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Queries.cs similarity index 97% rename from OutlookInspiredApp/DevExpress.DevAV/Queries.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Queries.cs index b1df520..5745854 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Queries.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Queries.cs @@ -1,583 +1,583 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.Drawing; -using System.Linq; -using System.Linq.Expressions; -using System.Text; - -namespace DevExpress.DevAV { - public class SaleSummaryInfo { - public DateTime OrderDate { get; set; } - public string InvoiceNumber { get; set; } - public int ProductUnits { get; set; } - public decimal ProductPrice { get; set; } - public decimal Discount { get; set; } - public decimal Total { get; set; } - public ProductCategory ProductCategory { get; set; } - public long StoreId { get; set; } - public string StoreCity { get; set; } - public string StoreCustomerName { get; set; } - } - - public class SaleAnalisysInfo { - public DateTime OrderDate { get; set; } - public decimal ProductCost { get; set; } - public int ProductUnits { get; set; } - public decimal Total { get; set; } - } - - public class CustomerSaleDetailOrderItemInfo { - public long OrderId { get; set; } - public DateTime OrderDate { get; set; } - public string InvoiceNumber { get; set; } - public ProductCategory ProductCategory { get; set; } - public string PONumber { get; set; } - public long StoreId { get; set; } - public string StoreCity { get; set; } - public string EmployeeFullName { get; set; } - public decimal ShippingAmount { get; set; } - public decimal TotalAmount { get; set; } - public string CustomerName { get; set; } - public string CustomerPhone { get; set; } - public string CustomerFax { get; set; } - public byte[] CustomerLogo { get; set; } - Image img = null; - public Image CustomerImage { get { return img ?? (img = Customer.CreateImage(CustomerLogo)); } } - - public decimal Discount { get; set; } - public int ProductUnits { get; set; } - public decimal ProductPrice { get; set; } - public decimal Total { get; set; } - - public string CustomerHomeOfficeLine { get; set; } - public string CustomerHomeOfficeCity { get; set; } - public StateEnum CustomerHomeOfficeState { get; set; } - public string CustomerHomeOfficeZipCode { get; set; } - public string CustomerHomeOfficeCityLine { get { return Address.GetCityLine(CustomerHomeOfficeCity, CustomerHomeOfficeState, CustomerHomeOfficeZipCode); } } - - public string CustomerBillingAddressLine { get; set; } - public string CustomerBillingAddressCity { get; set; } - public StateEnum CustomerBillingAddressState { get; set; } - public string CustomerBillingAddressZipCode { get; set; } - public string CustomerBillingAddressCityLine { get { return Address.GetCityLine(CustomerBillingAddressCity, CustomerBillingAddressState, CustomerBillingAddressZipCode); } } - } - public class CustomerSaleDetailOrderInfo { - public CustomerSaleDetailOrderItemInfo[] OrderItems { get; set; } - - public long OrderId { get; set; } - public ProductCategory ProductCategory { get; set; } - public DateTime OrderDate { get; set; } - public string InvoiceNumber { get; set; } - public string PONumber { get; set; } - public long StoreId { get; set; } - public string StoreCity { get; set; } - public string EmployeeFullName { get; set; } - public string CustomerName { get; set; } - public string CustomerPhone { get; set; } - public string CustomerFax { get; set; } - public Image CustomerImage { get; set; } - public decimal ShippingAmount { get; set; } - public decimal TotalAmount { get; set; } - public string CustomerHomeOfficeLine { get; set; } - public string CustomerHomeOfficeCityLine { get; set; } - public string CustomerBillingAddressLine { get; set; } - public string CustomerBillingAddressCityLine { get; set; } - } - public class QuoteInfo { - public long Id { get; set; } - public StateEnum State { get; set; } - public string City { get; set; } - public DateTime Date { get; set; } - public decimal Total { get; set; } - public double Opportunity { get; set; } - public decimal MoneyOpportunity { get { return Total * (decimal)Opportunity; } } - public decimal Percentage { get { return 100M * (decimal)Opportunity; } } - } - public class OrderInfo { - public string InvoiceNumber { get; set; } - public DateTime OrderDate { get; set; } - public string Company { get; set; } - public string Store { get; set; } - public decimal TotalAmount { get; set; } - } - public class SalesProductInfo { - public string Name { get; set; } - public decimal Value { get; set; } - } - - public class SalesInfo { - public string Caption { get; set; } - public List ListProductInfo { get; set; } - public DateTime time { get; set; } - public SalesInfo() { - ListProductInfo = new List(); - } - } - public class ProductInfoWithSales { - public long Id { get; set; } - public string Name { get; set; } - public decimal Cost { get; set; } - public decimal SalePrice { get; set; } - public decimal RetailPrice { get; set; } - public int? CurrentInventory { get; set; } - public int Backorder { get; set; } - public IEnumerable MonthlySales { get; set; } - public decimal? TotalSales { get; set; } - } - public class CustomerInfoWithSales { - public long Id { get; set; } - public string Name { get; set; } - public string HomeOfficeLine { get; set; } - public string HomeOfficeCity { get; set; } - public StateEnum HomeOfficeState { get; set; } - public string HomeOfficeZipCode { get; set; } - public string Phone { get; set; } - public string Fax { get; set; } - public decimal? TotalSales { get; set; } - - Lazy> customerStores; - public IEnumerable CustomerStores { get { return customerStores.Value; } } - Lazy> customerEmployees; - public IEnumerable Employees { get { return customerEmployees.Value; } } - public IEnumerable MonthlySales { get; private set; } - public void Init(Func> getStores, Func> getEmployees, IEnumerable monthlySales) { - this.customerStores = new Lazy>(getStores); - this.customerEmployees = new Lazy>(getEmployees); - this.MonthlySales = monthlySales; - } - } - public class MapItem { - public Address Address { get; set; } - public Customer Customer { get; set; } - public Product Product { get; set; } - public decimal Total { get; set; } - public string City { get { return Address.City; } } - public double Latitude { get { return Address.Latitude; } } - public double Longitude { get { return Address.Longitude; } } - public string CustomerName { get { return Customer.Name; } } - public string ProductName { get { return Product.Name; } } - public ProductCategory ProductCategory { get { return Product.Category; } } - } - public class QuoteMapItem { - public Address Address { get; set; } - public Stage Stage { get; set; } - public DateTime Date { get; set; } - public string City { get { return Address.City; } } - public double Latitude { get { return Address.Latitude; } } - public double Longitude { get { return Address.Longitude; } } - public string Name { get { return Enum.GetName(typeof(Stage), Stage); } } - public int Index { get { return (int)Stage; } } - public decimal Value { get; set; } - } - public enum Stage { - High, - Medium, - Low, - Unlikely, - Summary - } - public class SalesSummaryItem { - public ProductCategory Category { get; set; } - public decimal Sales { get; set; } - } - public class QuoteSummaryItem { - public string StageName { get; set; } - public decimal Summary { get; set; } - } - public class CostAverageItem { - public ProductCategory Category { get; set; } - public decimal Cost { get; set; } - } - public static class QueriesHelper { - public static IQueryable ActualOrders(this IQueryable orders) { - var actualDateTime = DateTime.Now.AddHours(0.5); - return orders.Where(x => x.OrderDate <= actualDateTime); - } - public static IQueryable ActualQuotes(this IQueryable quotes) { - var actualDateTime = DateTime.Now.AddHours(0.5); - return quotes.Where(x => x.Date <= actualDateTime); - } - public static IQueryable GetQuoteInfo(IQueryable quotes) { - return quotes.ActualQuotes().Select(x => new QuoteInfo { - Id = x.Id, - State = x.CustomerStore.Address.State, - City = x.CustomerStore.Address.City, - Date = x.Date, - Total = x.Total, - Opportunity = x.Opportunity, - }); - } - public static decimal CustomSum(this IEnumerable query, Expression> selector) { - return query.AsQueryable().Select(selector).DefaultIfEmpty(0).Sum(); - } - public static IEnumerable GetCustomerSaleDetails(long customerId, IQueryable orderItems) { - List detailInfo = GetCustomerSaleOrderItemDetails(customerId, orderItems); - return detailInfo - .GroupBy(x => x.OrderId) - .Select(x => new CustomerSaleDetailOrderInfo() { - OrderId = x.Key, - OrderItems = x.ToArray(), - ProductCategory = x.First().ProductCategory, - OrderDate = x.First().OrderDate, - InvoiceNumber = x.First().InvoiceNumber, - PONumber = x.First().PONumber, - StoreCity = x.First().StoreCity, - StoreId = x.First().StoreId, - EmployeeFullName = x.First().EmployeeFullName, - CustomerName = x.First().CustomerName, - CustomerPhone = x.First().CustomerPhone, - CustomerFax = x.First().CustomerFax, - CustomerImage = x.First().CustomerImage, - ShippingAmount = x.First().ShippingAmount, - TotalAmount = x.First().TotalAmount, - CustomerHomeOfficeLine = x.First().CustomerHomeOfficeLine, - CustomerHomeOfficeCityLine = x.First().CustomerHomeOfficeCityLine, - CustomerBillingAddressLine = x.First().CustomerBillingAddressLine, - CustomerBillingAddressCityLine = x.First().CustomerBillingAddressCityLine - }).ToArray(); - } - public static List GetCustomerSaleOrderItemDetails(long customerId, IQueryable orderItems) { - return orderItems - .Where(x => x.Order.CustomerId == customerId) - .Select(x => new CustomerSaleDetailOrderItemInfo() { - ProductCategory = x.Product.Category, - OrderDate = x.Order.OrderDate, - OrderId = x.OrderId.Value, - InvoiceNumber = x.Order.InvoiceNumber, - PONumber = x.Order.PONumber, - StoreId = x.Order.Store.Id, - StoreCity = x.Order.Store.Address.City, - EmployeeFullName = x.Order.Employee.FullName, - CustomerName = x.Order.Customer.Name, - CustomerPhone = x.Order.Customer.Phone, - CustomerFax = x.Order.Customer.Fax, - CustomerLogo = x.Order.Customer.Logo, - - CustomerHomeOfficeLine = x.Order.Customer.HomeOffice.Line, - CustomerHomeOfficeCity = x.Order.Customer.HomeOffice.City, - CustomerHomeOfficeZipCode = x.Order.Customer.HomeOffice.ZipCode, - CustomerHomeOfficeState = x.Order.Customer.HomeOffice.State, - CustomerBillingAddressLine = x.Order.Customer.BillingAddress.Line, - CustomerBillingAddressCity = x.Order.Customer.BillingAddress.City, - CustomerBillingAddressZipCode = x.Order.Customer.BillingAddress.ZipCode, - CustomerBillingAddressState = x.Order.Customer.BillingAddress.State, - - Total = x.Total, - TotalAmount = x.Order.TotalAmount, - Discount = x.Discount, - ProductUnits = x.ProductUnits, - ProductPrice = x.ProductPrice, - ShippingAmount = x.Order.ShippingAmount, - }).ToList(); - } - - public static IEnumerable GetSaleSummaries(IQueryable orderItems) { - return orderItems.Select(x => new SaleSummaryInfo() { - OrderDate = x.Order.OrderDate, - InvoiceNumber = x.Order.InvoiceNumber, - ProductUnits = x.ProductUnits, - ProductPrice = x.ProductPrice, - Discount = x.Discount, - Total = x.Total, - ProductCategory = x.Product.Category, - StoreId = x.Order.Store.Id, - StoreCity = x.Order.Store.Address.City, - StoreCustomerName = x.Order.Store.Customer.Name, - }).ToList(); - } - public static IEnumerable GetSaleAnalysis(IQueryable orderItems) { - return orderItems.Select(x => new SaleAnalisysInfo() { - OrderDate = x.Order.OrderDate, - ProductCost = x.Product.Cost, - ProductUnits = x.ProductUnits, - Total = x.Total, - }).ToList(); - } - public static IEnumerable GetStateNames(IQueryable queryableStates, IEnumerable states) { - return - from ss in queryableStates - join s in states on ss.ShortName equals s - select ss.LongName; - } - public static IList GetOrderInfo(IQueryable orders) { - return orders.ActualOrders().Select(x => new OrderInfo { - InvoiceNumber = x.InvoiceNumber, - OrderDate = x.OrderDate, - Company = x.Customer.Name, - //Store = x.Customer.HomeOffice.City, - TotalAmount = x.TotalAmount, - }).ToList(); - } - public static List GetAverageOrders(IQueryable orders, int NumberOfPoints) { - DateTime startDate = orders.Min(q => q.OrderDate); - DateTime endDate = orders.Max(q => q.OrderDate); - int daysPerGroup = Math.Max(1, (endDate - startDate).Days / NumberOfPoints); - var constDate = new DateTime(1990, 1, 1); - List groups = orders - .Select(x => new { OrderDate = x.OrderDate, TotalAmount = x.TotalAmount }) - .ToList() - .GroupBy(q => (q.OrderDate - constDate).Days / daysPerGroup) - .Select(g => g.Average(q => q.TotalAmount)) - .ToList(); - DateTime currentDate = startDate; - List averageOrders = new List(); - foreach(decimal total in groups) { - averageOrders.Add(new Order { OrderDate = currentDate, TotalAmount = total }); - currentDate = currentDate.AddDays(daysPerGroup); - } - return averageOrders; - } - - public static List GetAverageQuotes(IQueryable quotes, int NumberOfPoints) { - var startDate = quotes.Min(q => q.Date); - var endDate = quotes.Max(q => q.Date); - int daysPerGroup = Math.Max(1, (endDate - startDate).Days / NumberOfPoints); - var constDate = new DateTime(1990, 1, 1); - List groups = quotes - .Select(x => new { Date = x.Date, Total = x.Total }) - .ToList() - .GroupBy(q => (q.Date - constDate).Days / daysPerGroup) - .Select(g => g.Average(q => q.Total)) - .ToList(); - DateTime currentDate = startDate; - List averageQuotes = new List(); - foreach(decimal total in groups) { - averageQuotes.Add(new Quote { Date = currentDate, Total = total }); - currentDate = currentDate.AddDays(daysPerGroup); - } - return averageQuotes; - } - - public static List GetSales(IQueryable orderItems) { - var result = orderItems - .Select(x => new { OrderDate = x.Order.OrderDate, ProductCategory = x.Product.Category, Total = x.Total }) - .OrderBy(x => x.OrderDate) - .ToList() - .GroupBy(x => x.OrderDate.Year) - .Select(x => new SalesInfo() { - time = new DateTime(x.Key, 1, 1), - Caption = "Sales (FY" + x.Key + ")", - ListProductInfo = x - .GroupBy(y => y.ProductCategory) - .Select(y => new SalesProductInfo() { - Name = y.Key.ToString(), - Value = y.Sum(z => z.Total) - }) - .ToList() - }).ToList(); - - return result; - } - public static IQueryable GetProductInfoWithSales(IQueryable products) { - return products.Select(x => new ProductInfoWithSales { - Id = x.Id, - Name = x.Name, - Cost = x.Cost, - RetailPrice = x.RetailPrice, - SalePrice = x.SalePrice, - CurrentInventory = x.CurrentInventory, - Backorder = x.Backorder, - TotalSales = x.OrderItems.Sum(orderItem => orderItem.Total) - }); - } - public static void UpdateMonthlySales(IQueryable orderItems, IEnumerable products) { - foreach(var productInfo in products) { - var sales = orderItems - .Where(x => x.Product.Id == productInfo.Id) - .GroupBy(x => x.Order.OrderDate.Month) - .Select(x => new { Month = x.Key, Sum = (double)x.Sum(i => i.Total) }).ToArray(); - double[] monthlySales = new double[12]; - for(int i = 0; i < sales.Length; i++) - monthlySales[sales[i].Month - 1] = sales[i].Sum; - productInfo.MonthlySales = monthlySales; - } - } - - public static IQueryable GetCustomerInfoWithSales(IQueryable customers) { - return customers.Select(x => new CustomerInfoWithSales { - Id = x.Id, - Name = x.Name, - HomeOfficeLine = x.HomeOffice.Line, - HomeOfficeCity = x.HomeOffice.City, - HomeOfficeState = x.HomeOffice.State, - HomeOfficeZipCode = x.HomeOffice.ZipCode, - Phone = x.Phone, - Fax = x.Fax, - TotalSales = x.Orders.Sum(orderItem => orderItem.TotalAmount) - }); - } - public static void UpdateCustomerInfoWithSales(IEnumerable entities, IQueryable stores, IQueryable employees, IQueryable orders) { - foreach(var item in entities) { - item.Init( - () => stores.Where(x => x.CustomerId == item.Id).ToArray(), - () => employees.Where(x => x.CustomerId == item.Id).ToArray(), - orders.Where(x => x.CustomerId == item.Id).GroupBy(o => o.OrderDate.Month).Select(g => g.Sum(i => i.TotalAmount)).ToArray() - ); - } - } - - public static IQueryable GetOrdersForPeriod(IQueryable orders, Period period, DateTime dateTime = new DateTime()) { - switch(period) { - case Period.ThisYear: - return orders.Where(o => o.OrderDate.Year == DateTime.Now.Year); - case Period.ThisMonth: - return orders.Where(o => o.OrderDate.Month == DateTime.Now.Month && o.OrderDate.Year == DateTime.Now.Year); - case Period.FixedDate: - return orders.Where(o => o.OrderDate.Month == dateTime.Month && o.OrderDate.Year == dateTime.Year - && o.OrderDate.Day == dateTime.Day); - } - return orders; - } - public static IQueryable GetCustomerOrdersForPeriod(IQueryable orders, Period period, long customerId) { - return GetOrdersForPeriod(orders.Where(o => o.CustomerId == customerId), period); - } - - public static IQueryable GetOrderItemsForPeriod(IQueryable orderItems, Period period, DateTime dateTime = new DateTime()) { - return orderItems.Where(GetOrderItemsForPeriodFilter(period, dateTime)); - } - public static Expression> GetOrderItemsForPeriodFilter(Period period, DateTime dateTime = new DateTime()) { - switch(period) { - case Period.ThisYear: - return x => x.Order.OrderDate.Year == DateTime.Now.Year; - case Period.ThisMonth: - return x => x.Order.OrderDate.Month == DateTime.Now.Month && x.Order.OrderDate.Year == DateTime.Now.Year; - case Period.FixedDate: - return x => x.Order.OrderDate.Month == dateTime.Month && x.Order.OrderDate.Year == dateTime.Year - && x.Order.OrderDate.Day == dateTime.Day; - } - return x => true; - } - - public static IEnumerable GetSalesStoresForPeriod(IQueryable orders, Period period = Period.Lifetime) { - return QueriesHelper.GetOrdersForPeriod(orders, period).GroupBy(o => o.Store).Select(g => g.Key).Distinct(); - } - - public static IEnumerable GetSaleMapItemsByCity(IQueryable orderItems, long productId, string city, Period period = Period.Lifetime) { - return GetSaleMapItems(orderItems.Where(x => x.Order.Store.Address.City == city), productId, period); - } - public static IEnumerable GetSaleMapItems(IQueryable orderItems, long productId, Period period = Period.Lifetime) { - return GetSaleMapItemsCore(orderItems.Where(QueriesHelper.GetOrderItemsForPeriodFilter(period)).Where(x => x.ProductId == productId)); - } - public static IEnumerable GetSaleMapItemsByCustomer(IQueryable orderItems, long customerId, Period period = Period.Lifetime) { - return GetSaleMapItemsCore(orderItems.Where(x => x.Order.CustomerId == customerId).Where(QueriesHelper.GetOrderItemsForPeriodFilter(period))); - } - public static IEnumerable GetSaleMapItemsByCustomerAndCity(IQueryable orderItems, long customerId, string city, Period period = Period.Lifetime) { - return GetSaleMapItemsByCustomer(orderItems.Where(x => x.Order.Store.Address.City == city), customerId, period); - } - static IEnumerable GetSaleMapItemsCore(IQueryable orderItems) { - return orderItems - .Select(x => new MapItem { - Customer = x.Order.Customer, - Product = x.Product, - Total = x.Total, - Address = x.Order.Store.Address - }); - } - - public static IEnumerable GetSalesSummaryItems(IQueryable orderItems, Period period, DateTime dateTime = new DateTime()) { - return GetOrderItemsForPeriod(orderItems, period, dateTime) - .GroupBy(oi => oi.Product.Category) - .Select(g => new SalesSummaryItem { Category = g.Key, Sales = g.Sum(oi => oi.Total) }) - .ToList(); - } - public static IEnumerable GetCostAverageItems(IQueryable orderItems, Period period, DateTime dateTime = new DateTime()) { - return GetOrderItemsForPeriod(orderItems, period, dateTime) - .GroupBy(oi => oi.Product.Category) - .Select(g => new CostAverageItem { Category = g.Key, Cost = g.Average(oi => oi.ProductPrice) }) - .ToList(); - } - public static IEnumerable GetDistinctStoresForPeriod(IQueryable orders, long customerId, Period period = Period.Lifetime) { - return QueriesHelper.GetCustomerOrdersForPeriod(orders, period, customerId).GroupBy(o => o.Store).Select(g => g.Key).Distinct(); - } - - public static decimal GetQuotesTotal(IQueryable quotes, CustomerStore store, DateTime begin, DateTime end) { - return quotes.Where(x => x.CustomerStoreId == store.Id && x.Date >= begin && x.Date <= end).CustomSum(x => x.Total); - } - public static IEnumerable GetSummaryOpportunities(IQueryable quotes) { - yield return GetSummaryItem(quotes, Stage.High); - yield return GetSummaryItem(quotes, Stage.Medium); - yield return GetSummaryItem(quotes, Stage.Low); - yield return GetSummaryItem(quotes, Stage.Unlikely); - } - public static IEnumerable GetOpportunities(IQueryable quotes, IQueryable customers, Stage stage) { - string name = Enum.GetName(typeof(Stage), stage); - return from q in GetQuotes(quotes, stage) - join c in customers on q.CustomerId equals c.Id - select new QuoteMapItem { Stage = stage, Address = q.CustomerStore.Address, Value = q.Total, Date = q.Date }; - } - public static IEnumerable GetOpportunities(IQueryable quotes) { - yield return GetOpportunity(quotes, Stage.High); - yield return GetOpportunity(quotes, Stage.Medium); - yield return GetOpportunity(quotes, Stage.Low); - yield return GetOpportunity(quotes, Stage.Unlikely); - } - static QuoteMapItem GetOpportunity(IQueryable quotes, Stage stage) { - return new QuoteMapItem { - Stage = stage, - Value = GetQuotes(quotes, stage).CustomSum(q => q.Total) - }; - } - public static decimal GetOpportunity(IQueryable quotes, Stage stage, string city) { - return GetQuotes(quotes, stage).Where(q => q.CustomerStore.Address.City == city).CustomSum(q => q.Total); - } - public static IEnumerable GetCustomerStore(IQueryable stores, IQueryable quotes, Stage stage) { - return from q in GetQuotes(quotes, stage) - join s in stores on q.CustomerStoreId equals s.Id - select s; - } - public static IEnumerable GetRevenueReportItems(IQueryable orderItems) { - bool hasItemsInCurrentMonth = orderItems.Where(x => x.Order.OrderDate.Month == DateTime.Now.Month && x.Order.OrderDate.Year == DateTime.Now.Year).Any(); - var dateOfLastOrder = orderItems.Max(x => x.Order.OrderDate); - var revenueMonth = hasItemsInCurrentMonth ? DateTime.Now.Month : dateOfLastOrder.Month; - var revenueYear = hasItemsInCurrentMonth ? DateTime.Now.Year : dateOfLastOrder.Year; - return orderItems.Where(x => x.Order.OrderDate.Month == revenueMonth && x.Order.OrderDate.Year == revenueYear).ToList(); - } - public static IEnumerable GetRevenueAnalysisReportItems(IQueryable orderItems, long storeId) { - return orderItems.Where(x => x.Order.StoreId.Value == storeId).ToList(); - } - static QuoteSummaryItem GetSummaryItem(IQueryable quotes, Stage stage) { - var query = GetQuotes(quotes, stage); - return new QuoteSummaryItem { - StageName = stage.ToString(), - Summary = !query.Any() ? 0 : query.CustomSum(q => q.Total) - }; - } - static IQueryable GetQuotes(IQueryable quotes, Stage stage) { - double min, max; - switch(stage) { - case Stage.High: - max = 1.0; - min = 0.6; - break; - case Stage.Medium: - min = 0.3; - max = 0.6; - break; - case Stage.Low: - min = 0.12; - max = 0.3; - break; - case Stage.Summary: - min = 0.0; - max = 1.0; - break; - default: - min = 0.0; - max = 0.12; - break; - } - return quotes.Where(q => q.Opportunity > min && q.Opportunity < max); - } - } - public enum Period { - [Display(Name = "Lifetime")] - Lifetime, - [Display(Name = "This Year")] - ThisYear, - [Display(Name = "This Month")] - ThisMonth, - [Display(Name = "Fixed Date")] - FixedDate - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Drawing; +using System.Linq; +using System.Linq.Expressions; +using System.Text; + +namespace DevExpress.DevAV { + public class SaleSummaryInfo { + public DateTime OrderDate { get; set; } + public string InvoiceNumber { get; set; } + public int ProductUnits { get; set; } + public decimal ProductPrice { get; set; } + public decimal Discount { get; set; } + public decimal Total { get; set; } + public ProductCategory ProductCategory { get; set; } + public long StoreId { get; set; } + public string StoreCity { get; set; } + public string StoreCustomerName { get; set; } + } + + public class SaleAnalisysInfo { + public DateTime OrderDate { get; set; } + public decimal ProductCost { get; set; } + public int ProductUnits { get; set; } + public decimal Total { get; set; } + } + + public class CustomerSaleDetailOrderItemInfo { + public long OrderId { get; set; } + public DateTime OrderDate { get; set; } + public string InvoiceNumber { get; set; } + public ProductCategory ProductCategory { get; set; } + public string PONumber { get; set; } + public long StoreId { get; set; } + public string StoreCity { get; set; } + public string EmployeeFullName { get; set; } + public decimal ShippingAmount { get; set; } + public decimal TotalAmount { get; set; } + public string CustomerName { get; set; } + public string CustomerPhone { get; set; } + public string CustomerFax { get; set; } + public byte[] CustomerLogo { get; set; } + Image img = null; + public Image CustomerImage { get { return img ?? (img = Customer.CreateImage(CustomerLogo)); } } + + public decimal Discount { get; set; } + public int ProductUnits { get; set; } + public decimal ProductPrice { get; set; } + public decimal Total { get; set; } + + public string CustomerHomeOfficeLine { get; set; } + public string CustomerHomeOfficeCity { get; set; } + public StateEnum CustomerHomeOfficeState { get; set; } + public string CustomerHomeOfficeZipCode { get; set; } + public string CustomerHomeOfficeCityLine { get { return Address.GetCityLine(CustomerHomeOfficeCity, CustomerHomeOfficeState, CustomerHomeOfficeZipCode); } } + + public string CustomerBillingAddressLine { get; set; } + public string CustomerBillingAddressCity { get; set; } + public StateEnum CustomerBillingAddressState { get; set; } + public string CustomerBillingAddressZipCode { get; set; } + public string CustomerBillingAddressCityLine { get { return Address.GetCityLine(CustomerBillingAddressCity, CustomerBillingAddressState, CustomerBillingAddressZipCode); } } + } + public class CustomerSaleDetailOrderInfo { + public CustomerSaleDetailOrderItemInfo[] OrderItems { get; set; } + + public long OrderId { get; set; } + public ProductCategory ProductCategory { get; set; } + public DateTime OrderDate { get; set; } + public string InvoiceNumber { get; set; } + public string PONumber { get; set; } + public long StoreId { get; set; } + public string StoreCity { get; set; } + public string EmployeeFullName { get; set; } + public string CustomerName { get; set; } + public string CustomerPhone { get; set; } + public string CustomerFax { get; set; } + public Image CustomerImage { get; set; } + public decimal ShippingAmount { get; set; } + public decimal TotalAmount { get; set; } + public string CustomerHomeOfficeLine { get; set; } + public string CustomerHomeOfficeCityLine { get; set; } + public string CustomerBillingAddressLine { get; set; } + public string CustomerBillingAddressCityLine { get; set; } + } + public class QuoteInfo { + public long Id { get; set; } + public StateEnum State { get; set; } + public string City { get; set; } + public DateTime Date { get; set; } + public decimal Total { get; set; } + public double Opportunity { get; set; } + public decimal MoneyOpportunity { get { return Total * (decimal)Opportunity; } } + public decimal Percentage { get { return 100M * (decimal)Opportunity; } } + } + public class OrderInfo { + public string InvoiceNumber { get; set; } + public DateTime OrderDate { get; set; } + public string Company { get; set; } + public string Store { get; set; } + public decimal TotalAmount { get; set; } + } + public class SalesProductInfo { + public string Name { get; set; } + public decimal Value { get; set; } + } + + public class SalesInfo { + public string Caption { get; set; } + public List ListProductInfo { get; set; } + public DateTime time { get; set; } + public SalesInfo() { + ListProductInfo = new List(); + } + } + public class ProductInfoWithSales { + public long Id { get; set; } + public string Name { get; set; } + public decimal Cost { get; set; } + public decimal SalePrice { get; set; } + public decimal RetailPrice { get; set; } + public int? CurrentInventory { get; set; } + public int Backorder { get; set; } + public IEnumerable MonthlySales { get; set; } + public decimal? TotalSales { get; set; } + } + public class CustomerInfoWithSales { + public long Id { get; set; } + public string Name { get; set; } + public string HomeOfficeLine { get; set; } + public string HomeOfficeCity { get; set; } + public StateEnum HomeOfficeState { get; set; } + public string HomeOfficeZipCode { get; set; } + public string Phone { get; set; } + public string Fax { get; set; } + public decimal? TotalSales { get; set; } + + Lazy> customerStores; + public IEnumerable CustomerStores { get { return customerStores.Value; } } + Lazy> customerEmployees; + public IEnumerable Employees { get { return customerEmployees.Value; } } + public IEnumerable MonthlySales { get; private set; } + public void Init(Func> getStores, Func> getEmployees, IEnumerable monthlySales) { + this.customerStores = new Lazy>(getStores); + this.customerEmployees = new Lazy>(getEmployees); + this.MonthlySales = monthlySales; + } + } + public class MapItem { + public Address Address { get; set; } + public Customer Customer { get; set; } + public Product Product { get; set; } + public decimal Total { get; set; } + public string City { get { return Address.City; } } + public double Latitude { get { return Address.Latitude; } } + public double Longitude { get { return Address.Longitude; } } + public string CustomerName { get { return Customer.Name; } } + public string ProductName { get { return Product.Name; } } + public ProductCategory ProductCategory { get { return Product.Category; } } + } + public class QuoteMapItem { + public Address Address { get; set; } + public Stage Stage { get; set; } + public DateTime Date { get; set; } + public string City { get { return Address.City; } } + public double Latitude { get { return Address.Latitude; } } + public double Longitude { get { return Address.Longitude; } } + public string Name { get { return Enum.GetName(typeof(Stage), Stage); } } + public int Index { get { return (int)Stage; } } + public decimal Value { get; set; } + } + public enum Stage { + High, + Medium, + Low, + Unlikely, + Summary + } + public class SalesSummaryItem { + public ProductCategory Category { get; set; } + public decimal Sales { get; set; } + } + public class QuoteSummaryItem { + public string StageName { get; set; } + public decimal Summary { get; set; } + } + public class CostAverageItem { + public ProductCategory Category { get; set; } + public decimal Cost { get; set; } + } + public static class QueriesHelper { + public static IQueryable ActualOrders(this IQueryable orders) { + var actualDateTime = DateTime.Now.AddHours(0.5); + return orders.Where(x => x.OrderDate <= actualDateTime); + } + public static IQueryable ActualQuotes(this IQueryable quotes) { + var actualDateTime = DateTime.Now.AddHours(0.5); + return quotes.Where(x => x.Date <= actualDateTime); + } + public static IQueryable GetQuoteInfo(IQueryable quotes) { + return quotes.ActualQuotes().Select(x => new QuoteInfo { + Id = x.Id, + State = x.CustomerStore.Address.State, + City = x.CustomerStore.Address.City, + Date = x.Date, + Total = x.Total, + Opportunity = x.Opportunity, + }); + } + public static decimal CustomSum(this IEnumerable query, Expression> selector) { + return query.AsQueryable().Select(selector).DefaultIfEmpty(0).Sum(); + } + public static IEnumerable GetCustomerSaleDetails(long customerId, IQueryable orderItems) { + List detailInfo = GetCustomerSaleOrderItemDetails(customerId, orderItems); + return detailInfo + .GroupBy(x => x.OrderId) + .Select(x => new CustomerSaleDetailOrderInfo() { + OrderId = x.Key, + OrderItems = x.ToArray(), + ProductCategory = x.First().ProductCategory, + OrderDate = x.First().OrderDate, + InvoiceNumber = x.First().InvoiceNumber, + PONumber = x.First().PONumber, + StoreCity = x.First().StoreCity, + StoreId = x.First().StoreId, + EmployeeFullName = x.First().EmployeeFullName, + CustomerName = x.First().CustomerName, + CustomerPhone = x.First().CustomerPhone, + CustomerFax = x.First().CustomerFax, + CustomerImage = x.First().CustomerImage, + ShippingAmount = x.First().ShippingAmount, + TotalAmount = x.First().TotalAmount, + CustomerHomeOfficeLine = x.First().CustomerHomeOfficeLine, + CustomerHomeOfficeCityLine = x.First().CustomerHomeOfficeCityLine, + CustomerBillingAddressLine = x.First().CustomerBillingAddressLine, + CustomerBillingAddressCityLine = x.First().CustomerBillingAddressCityLine + }).ToArray(); + } + public static List GetCustomerSaleOrderItemDetails(long customerId, IQueryable orderItems) { + return orderItems + .Where(x => x.Order.CustomerId == customerId) + .Select(x => new CustomerSaleDetailOrderItemInfo() { + ProductCategory = x.Product.Category, + OrderDate = x.Order.OrderDate, + OrderId = x.OrderId.Value, + InvoiceNumber = x.Order.InvoiceNumber, + PONumber = x.Order.PONumber, + StoreId = x.Order.Store.Id, + StoreCity = x.Order.Store.Address.City, + EmployeeFullName = x.Order.Employee.FullName, + CustomerName = x.Order.Customer.Name, + CustomerPhone = x.Order.Customer.Phone, + CustomerFax = x.Order.Customer.Fax, + CustomerLogo = x.Order.Customer.Logo, + + CustomerHomeOfficeLine = x.Order.Customer.HomeOffice.Line, + CustomerHomeOfficeCity = x.Order.Customer.HomeOffice.City, + CustomerHomeOfficeZipCode = x.Order.Customer.HomeOffice.ZipCode, + CustomerHomeOfficeState = x.Order.Customer.HomeOffice.State, + CustomerBillingAddressLine = x.Order.Customer.BillingAddress.Line, + CustomerBillingAddressCity = x.Order.Customer.BillingAddress.City, + CustomerBillingAddressZipCode = x.Order.Customer.BillingAddress.ZipCode, + CustomerBillingAddressState = x.Order.Customer.BillingAddress.State, + + Total = x.Total, + TotalAmount = x.Order.TotalAmount, + Discount = x.Discount, + ProductUnits = x.ProductUnits, + ProductPrice = x.ProductPrice, + ShippingAmount = x.Order.ShippingAmount, + }).ToList(); + } + + public static IEnumerable GetSaleSummaries(IQueryable orderItems) { + return orderItems.Select(x => new SaleSummaryInfo() { + OrderDate = x.Order.OrderDate, + InvoiceNumber = x.Order.InvoiceNumber, + ProductUnits = x.ProductUnits, + ProductPrice = x.ProductPrice, + Discount = x.Discount, + Total = x.Total, + ProductCategory = x.Product.Category, + StoreId = x.Order.Store.Id, + StoreCity = x.Order.Store.Address.City, + StoreCustomerName = x.Order.Store.Customer.Name, + }).ToList(); + } + public static IEnumerable GetSaleAnalysis(IQueryable orderItems) { + return orderItems.Select(x => new SaleAnalisysInfo() { + OrderDate = x.Order.OrderDate, + ProductCost = x.Product.Cost, + ProductUnits = x.ProductUnits, + Total = x.Total, + }).ToList(); + } + public static IEnumerable GetStateNames(IQueryable queryableStates, IEnumerable states) { + return + from ss in queryableStates + join s in states on ss.ShortName equals s + select ss.LongName; + } + public static IList GetOrderInfo(IQueryable orders) { + return orders.ActualOrders().Select(x => new OrderInfo { + InvoiceNumber = x.InvoiceNumber, + OrderDate = x.OrderDate, + Company = x.Customer.Name, + Store = x.Customer.HomeOffice.City, + TotalAmount = x.TotalAmount, + }).ToList(); + } + public static List GetAverageOrders(IQueryable orders, int NumberOfPoints) { + DateTime startDate = orders.Min(q => q.OrderDate); + DateTime endDate = orders.Max(q => q.OrderDate); + int daysPerGroup = Math.Max(1, (endDate - startDate).Days / NumberOfPoints); + var constDate = new DateTime(1990, 1, 1); + List groups = orders + .Select(x => new { OrderDate = x.OrderDate, TotalAmount = x.TotalAmount }) + .ToList() + .GroupBy(q => (q.OrderDate - constDate).Days / daysPerGroup) + .Select(g => g.Average(q => q.TotalAmount)) + .ToList(); + DateTime currentDate = startDate; + List averageOrders = new List(); + foreach(decimal total in groups) { + averageOrders.Add(new Order { OrderDate = currentDate, TotalAmount = total }); + currentDate = currentDate.AddDays(daysPerGroup); + } + return averageOrders; + } + + public static List GetAverageQuotes(IQueryable quotes, int NumberOfPoints) { + var startDate = quotes.Min(q => q.Date); + var endDate = quotes.Max(q => q.Date); + int daysPerGroup = Math.Max(1, (endDate - startDate).Days / NumberOfPoints); + var constDate = new DateTime(1990, 1, 1); + List groups = quotes + .Select(x => new { Date = x.Date, Total = x.Total }) + .ToList() + .GroupBy(q => (q.Date - constDate).Days / daysPerGroup) + .Select(g => g.Average(q => q.Total)) + .ToList(); + DateTime currentDate = startDate; + List averageQuotes = new List(); + foreach(decimal total in groups) { + averageQuotes.Add(new Quote { Date = currentDate, Total = total }); + currentDate = currentDate.AddDays(daysPerGroup); + } + return averageQuotes; + } + + public static List GetSales(IQueryable orderItems) { + var result = orderItems + .Select(x => new { OrderDate = x.Order.OrderDate, ProductCategory = x.Product.Category, Total = x.Total }) + .OrderBy(x => x.OrderDate) + .ToList() + .GroupBy(x => x.OrderDate.Year) + .Select(x => new SalesInfo() { + time = new DateTime(x.Key, 1, 1), + Caption = "Sales (FY" + x.Key + ")", + ListProductInfo = x + .GroupBy(y => y.ProductCategory) + .Select(y => new SalesProductInfo() { + Name = y.Key.ToString(), + Value = y.Sum(z => z.Total) + }) + .ToList() + }).ToList(); + + return result; + } + public static IQueryable GetProductInfoWithSales(IQueryable products) { + return products.Select(x => new ProductInfoWithSales { + Id = x.Id, + Name = x.Name, + Cost = x.Cost, + RetailPrice = x.RetailPrice, + SalePrice = x.SalePrice, + CurrentInventory = x.CurrentInventory, + Backorder = x.Backorder, + TotalSales = x.OrderItems.Sum(orderItem => orderItem.Total) + }); + } + public static void UpdateMonthlySales(IQueryable orderItems, IEnumerable products) { + foreach(var productInfo in products) { + var sales = orderItems + .Where(x => x.Product.Id == productInfo.Id) + .GroupBy(x => x.Order.OrderDate.Month) + .Select(x => new { Month = x.Key, Sum = (double)x.Sum(i => i.Total) }).ToArray(); + double[] monthlySales = new double[12]; + for(int i = 0; i < sales.Length; i++) + monthlySales[sales[i].Month - 1] = sales[i].Sum; + productInfo.MonthlySales = monthlySales; + } + } + + public static IQueryable GetCustomerInfoWithSales(IQueryable customers) { + return customers.Select(x => new CustomerInfoWithSales { + Id = x.Id, + Name = x.Name, + HomeOfficeLine = x.HomeOffice.Line, + HomeOfficeCity = x.HomeOffice.City, + HomeOfficeState = x.HomeOffice.State, + HomeOfficeZipCode = x.HomeOffice.ZipCode, + Phone = x.Phone, + Fax = x.Fax, + TotalSales = x.Orders.Sum(orderItem => orderItem.TotalAmount) + }); + } + public static void UpdateCustomerInfoWithSales(IEnumerable entities, IQueryable stores, IQueryable employees, IQueryable orders) { + foreach(var item in entities) { + item.Init( + () => stores.Where(x => x.CustomerId == item.Id).ToArray(), + () => employees.Where(x => x.CustomerId == item.Id).ToArray(), + orders.Where(x => x.CustomerId == item.Id).GroupBy(o => o.OrderDate.Month).Select(g => g.Sum(i => i.TotalAmount)).ToArray() + ); + } + } + + public static IQueryable GetOrdersForPeriod(IQueryable orders, Period period, DateTime dateTime = new DateTime()) { + switch(period) { + case Period.ThisYear: + return orders.Where(o => o.OrderDate.Year == DateTime.Now.Year); + case Period.ThisMonth: + return orders.Where(o => o.OrderDate.Month == DateTime.Now.Month && o.OrderDate.Year == DateTime.Now.Year); + case Period.FixedDate: + return orders.Where(o => o.OrderDate.Month == dateTime.Month && o.OrderDate.Year == dateTime.Year + && o.OrderDate.Day == dateTime.Day); + } + return orders; + } + public static IQueryable GetCustomerOrdersForPeriod(IQueryable orders, Period period, long customerId) { + return GetOrdersForPeriod(orders.Where(o => o.CustomerId == customerId), period); + } + + public static IQueryable GetOrderItemsForPeriod(IQueryable orderItems, Period period, DateTime dateTime = new DateTime()) { + return orderItems.Where(GetOrderItemsForPeriodFilter(period, dateTime)); + } + public static Expression> GetOrderItemsForPeriodFilter(Period period, DateTime dateTime = new DateTime()) { + switch(period) { + case Period.ThisYear: + return x => x.Order.OrderDate.Year == DateTime.Now.Year; + case Period.ThisMonth: + return x => x.Order.OrderDate.Month == DateTime.Now.Month && x.Order.OrderDate.Year == DateTime.Now.Year; + case Period.FixedDate: + return x => x.Order.OrderDate.Month == dateTime.Month && x.Order.OrderDate.Year == dateTime.Year + && x.Order.OrderDate.Day == dateTime.Day; + } + return x => true; + } + + public static IEnumerable GetSalesStoresForPeriod(IQueryable orders, Period period = Period.Lifetime) { + return QueriesHelper.GetOrdersForPeriod(orders, period).GroupBy(o => o.Store).Select(g => g.Key).Distinct(); + } + + public static IEnumerable GetSaleMapItemsByCity(IQueryable orderItems, long productId, string city, Period period = Period.Lifetime) { + return GetSaleMapItems(orderItems.Where(x => x.Order.Store.Address.City == city), productId, period); + } + public static IEnumerable GetSaleMapItems(IQueryable orderItems, long productId, Period period = Period.Lifetime) { + return GetSaleMapItemsCore(orderItems.Where(QueriesHelper.GetOrderItemsForPeriodFilter(period)).Where(x => x.ProductId == productId)); + } + public static IEnumerable GetSaleMapItemsByCustomer(IQueryable orderItems, long customerId, Period period = Period.Lifetime) { + return GetSaleMapItemsCore(orderItems.Where(x => x.Order.CustomerId == customerId).Where(QueriesHelper.GetOrderItemsForPeriodFilter(period))); + } + public static IEnumerable GetSaleMapItemsByCustomerAndCity(IQueryable orderItems, long customerId, string city, Period period = Period.Lifetime) { + return GetSaleMapItemsByCustomer(orderItems.Where(x => x.Order.Store.Address.City == city), customerId, period); + } + static IEnumerable GetSaleMapItemsCore(IQueryable orderItems) { + return orderItems + .Select(x => new MapItem { + Customer = x.Order.Customer, + Product = x.Product, + Total = x.Total, + Address = x.Order.Store.Address + }); + } + + public static IEnumerable GetSalesSummaryItems(IQueryable orderItems, Period period, DateTime dateTime = new DateTime()) { + return GetOrderItemsForPeriod(orderItems, period, dateTime) + .GroupBy(oi => oi.Product.Category) + .Select(g => new SalesSummaryItem { Category = g.Key, Sales = g.Sum(oi => oi.Total) }) + .ToList(); + } + public static IEnumerable GetCostAverageItems(IQueryable orderItems, Period period, DateTime dateTime = new DateTime()) { + return GetOrderItemsForPeriod(orderItems, period, dateTime) + .GroupBy(oi => oi.Product.Category) + .Select(g => new CostAverageItem { Category = g.Key, Cost = g.Average(oi => oi.ProductPrice) }) + .ToList(); + } + public static IEnumerable GetDistinctStoresForPeriod(IQueryable orders, long customerId, Period period = Period.Lifetime) { + return QueriesHelper.GetCustomerOrdersForPeriod(orders, period, customerId).GroupBy(o => o.Store).Select(g => g.Key).Distinct(); + } + + public static decimal GetQuotesTotal(IQueryable quotes, CustomerStore store, DateTime begin, DateTime end) { + return quotes.Where(x => x.CustomerStoreId == store.Id && x.Date >= begin && x.Date <= end).CustomSum(x => x.Total); + } + public static IEnumerable GetSummaryOpportunities(IQueryable quotes) { + yield return GetSummaryItem(quotes, Stage.High); + yield return GetSummaryItem(quotes, Stage.Medium); + yield return GetSummaryItem(quotes, Stage.Low); + yield return GetSummaryItem(quotes, Stage.Unlikely); + } + public static IEnumerable GetOpportunities(IQueryable quotes, IQueryable customers, Stage stage) { + string name = Enum.GetName(typeof(Stage), stage); + return from q in GetQuotes(quotes, stage) + join c in customers on q.CustomerId equals c.Id + select new QuoteMapItem { Stage = stage, Address = q.CustomerStore.Address, Value = q.Total, Date = q.Date }; + } + public static IEnumerable GetOpportunities(IQueryable quotes) { + yield return GetOpportunity(quotes, Stage.High); + yield return GetOpportunity(quotes, Stage.Medium); + yield return GetOpportunity(quotes, Stage.Low); + yield return GetOpportunity(quotes, Stage.Unlikely); + } + static QuoteMapItem GetOpportunity(IQueryable quotes, Stage stage) { + return new QuoteMapItem { + Stage = stage, + Value = GetQuotes(quotes, stage).CustomSum(q => q.Total) + }; + } + public static decimal GetOpportunity(IQueryable quotes, Stage stage, string city) { + return GetQuotes(quotes, stage).Where(q => q.CustomerStore.Address.City == city).CustomSum(q => q.Total); + } + public static IEnumerable GetCustomerStore(IQueryable stores, IQueryable quotes, Stage stage) { + return from q in GetQuotes(quotes, stage) + join s in stores on q.CustomerStoreId equals s.Id + select s; + } + public static IEnumerable GetRevenueReportItems(IQueryable orderItems) { + bool hasItemsInCurrentMonth = orderItems.Where(x => x.Order.OrderDate.Month == DateTime.Now.Month && x.Order.OrderDate.Year == DateTime.Now.Year).Any(); + var dateOfLastOrder = orderItems.Max(x => x.Order.OrderDate); + var revenueMonth = hasItemsInCurrentMonth ? DateTime.Now.Month : dateOfLastOrder.Month; + var revenueYear = hasItemsInCurrentMonth ? DateTime.Now.Year : dateOfLastOrder.Year; + return orderItems.Where(x => x.Order.OrderDate.Month == revenueMonth && x.Order.OrderDate.Year == revenueYear).ToList(); + } + public static IEnumerable GetRevenueAnalysisReportItems(IQueryable orderItems, long storeId) { + return orderItems.Where(x => x.Order.StoreId.Value == storeId).ToList(); + } + static QuoteSummaryItem GetSummaryItem(IQueryable quotes, Stage stage) { + var query = GetQuotes(quotes, stage); + return new QuoteSummaryItem { + StageName = stage.ToString(), + Summary = !query.Any() ? 0 : query.CustomSum(q => q.Total) + }; + } + static IQueryable GetQuotes(IQueryable quotes, Stage stage) { + double min, max; + switch(stage) { + case Stage.High: + max = 1.0; + min = 0.6; + break; + case Stage.Medium: + min = 0.3; + max = 0.6; + break; + case Stage.Low: + min = 0.12; + max = 0.3; + break; + case Stage.Summary: + min = 0.0; + max = 1.0; + break; + default: + min = 0.0; + max = 0.12; + break; + } + return quotes.Where(q => q.Opportunity > min && q.Opportunity < max); + } + } + public enum Period { + [Display(Name = "Lifetime")] + Lifetime, + [Display(Name = "This Year")] + ThisYear, + [Display(Name = "This Month")] + ThisMonth, + [Display(Name = "Fixed Date")] + FixedDate + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/Quote.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Quote.cs similarity index 97% rename from OutlookInspiredApp/DevExpress.DevAV/Quote.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Quote.cs index 7827a56..9b99f32 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Quote.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Quote.cs @@ -1,27 +1,27 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public class Quote : DatabaseObject { - public string Number { get; set; } - public virtual Customer Customer { get; set; } - public long? CustomerId { get; set; } - public virtual CustomerStore CustomerStore { get; set; } - public long? CustomerStoreId { get; set; } - public virtual Employee Employee { get; set; } - public long? EmployeeId { get; set; } - public virtual DateTime Date { get; set; } - [DataType(DataType.Currency)] - public decimal SubTotal { get; set; } - [DataType(DataType.Currency)] - public decimal ShippingAmount { get; set; } - [DataType(DataType.Currency)] - public decimal Total { get; set; } - public double Opportunity { get; set; } - public virtual List QuoteItems { get; set; } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public class Quote : DatabaseObject { + public string Number { get; set; } + public virtual Customer Customer { get; set; } + public long? CustomerId { get; set; } + public virtual CustomerStore CustomerStore { get; set; } + public long? CustomerStoreId { get; set; } + public virtual Employee Employee { get; set; } + public long? EmployeeId { get; set; } + public virtual DateTime Date { get; set; } + [DataType(DataType.Currency)] + public decimal SubTotal { get; set; } + [DataType(DataType.Currency)] + public decimal ShippingAmount { get; set; } + [DataType(DataType.Currency)] + public decimal Total { get; set; } + public double Opportunity { get; set; } + public virtual List QuoteItems { get; set; } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/QuoteItem.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/QuoteItem.cs similarity index 97% rename from OutlookInspiredApp/DevExpress.DevAV/QuoteItem.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/QuoteItem.cs index 255e2ff..0b24fc2 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/QuoteItem.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/QuoteItem.cs @@ -1,23 +1,23 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Runtime.Serialization; - -namespace DevExpress.DevAV { - public class QuoteItem : DatabaseObject { - public virtual Quote Quote { get; set; } - public long? QuoteId { get; set; } - public virtual Product Product { get; set; } - public long? ProductId { get; set; } - public int ProductUnits { get; set; } - [DataType(DataType.Currency)] - public decimal ProductPrice { get; set; } - [DataType(DataType.Currency)] - public decimal Discount { get; set; } - [DataType(DataType.Currency)] - public decimal Total { get; set; } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; +using System.Runtime.Serialization; + +namespace DevExpress.DevAV { + public class QuoteItem : DatabaseObject { + public virtual Quote Quote { get; set; } + public long? QuoteId { get; set; } + public virtual Product Product { get; set; } + public long? ProductId { get; set; } + public int ProductUnits { get; set; } + [DataType(DataType.Currency)] + public decimal ProductPrice { get; set; } + [DataType(DataType.Currency)] + public decimal Discount { get; set; } + [DataType(DataType.Currency)] + public decimal Total { get; set; } + } +} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Resources/Unknown-user.png b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Resources/Unknown-user.png similarity index 100% rename from OutlookInspiredApp/DevExpress.DevAV/Resources/Unknown-user.png rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Resources/Unknown-user.png diff --git a/OutlookInspiredApp/DevExpress.DevAV/State.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/State.cs similarity index 96% rename from OutlookInspiredApp/DevExpress.DevAV/State.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/State.cs index 7f9b171..265dac9 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/State.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/State.cs @@ -1,16 +1,16 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; - -namespace DevExpress.DevAV { - public class State { - [Key] - public StateEnum ShortName { get; set; } - public string LongName { get; set; } - public byte[] Flag48px { get; set; } - public byte[] Flag24px { get; set; } - } -} +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.Linq; + +namespace DevExpress.DevAV { + public class State { + [Key] + public StateEnum ShortName { get; set; } + public string LongName { get; set; } + public byte[] Flag48px { get; set; } + public byte[] Flag24px { get; set; } + } +} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/StateEnum.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/StateEnum.cs similarity index 92% rename from OutlookInspiredApp/DevExpress.DevAV/StateEnum.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/StateEnum.cs index ec4807b..35d9738 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/StateEnum.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/StateEnum.cs @@ -1,57 +1,57 @@ -using System; - -namespace DevExpress.DevAV { - public enum StateEnum { - CA, - AR, - AL, - AK, - AZ, - CO, - CT, - DE, - DC, - FL, - GA, - HI, - ID, - IL, - IN, - IA, - KS, - KY, - LA, - ME, - MD, - MA, - MI, - MN, - MS, - MO, - MT, - NE, - NV, - NH, - NJ, - NM, - NY, - NC, - OH, - OK, - OR, - PA, - RI, - SC, - SD, - TN, - TX, - UT, - VT, - VA, - WA, - WV, - WI, - WY, - ND - } +using System; + +namespace DevExpress.DevAV { + public enum StateEnum { + CA, + AR, + AL, + AK, + AZ, + CO, + CT, + DE, + DC, + FL, + GA, + HI, + ID, + IL, + IN, + IA, + KS, + KY, + LA, + ME, + MD, + MA, + MI, + MN, + MS, + MO, + MT, + NE, + NV, + NH, + NJ, + NM, + NY, + NC, + OH, + OK, + OR, + PA, + RI, + SC, + SD, + TN, + TX, + UT, + VT, + VA, + WA, + WV, + WI, + WY, + ND + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/Task.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Task.cs similarity index 96% rename from OutlookInspiredApp/DevExpress.DevAV/Task.cs rename to OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Task.cs index 916f37f..591d134 100644 --- a/OutlookInspiredApp/DevExpress.DevAV/Task.cs +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Task.cs @@ -1,97 +1,97 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.IO; -using System.Runtime.Serialization; -//using System.Windows.Media; -using System.Linq; - -namespace DevExpress.DevAV { - public enum EmployeeTaskStatus { - [Display(Name = "Not Started")] - NotStarted, - [Display(Name = "Completed")] - Completed, - [Display(Name = "In Progress")] - InProgress, - [Display(Name = "Need Assistance")] - NeedAssistance, - [Display(Name = "Deferred")] - Deferred - } - public enum EmployeeTaskPriority { - Low, - Normal, - High, - Urgent - } - public enum EmployeeTaskFollowUp { - [Display(Name = "Today")] - Today, - [Display(Name = "Tomorrow")] - Tomorrow, - [Display(Name = "This Week")] - ThisWeek, - [Display(Name = "Next Week")] - NextWeek, - [Display(Name = "No Date")] - NoDate, - [Display(Name = "Custom")] - Custom - } - - public class EmployeeTask : DatabaseObject { - public EmployeeTask() { - AssignedEmployees = new List(); - } - public virtual List AssignedEmployees { get; set; } - [Required] - public string Subject { get; set; } - public string Description { get; set; } - public string RtfTextDescription { get; set; } - public DateTime? StartDate { get; set; } - public DateTime? DueDate { get; set; } - public EmployeeTaskStatus Status { get; set; } - public EmployeeTaskPriority Priority { get; set; } - public int Completion { get; set; } - public bool Reminder { get; set; } - public DateTime? ReminderDateTime { get; set; } - public virtual Employee AssignedEmployee { get; set; } - public long? AssignedEmployeeId { get; set; } - public virtual Employee Owner { get; set; } - public long? OwnerId { get; set; } - public virtual CustomerEmployee CustomerEmployee { get; set; } - public long? CustomerEmployeeId { get; set; } - public EmployeeTaskFollowUp FollowUp { get; set; } - public bool Private { get; set; } - public string Category { get; set; } - public virtual List AttachedFiles { get; set; } - public bool AttachedCollectionsChanged { get; set; } - - public override string ToString() { - return string.Format("{0} - {1}, due {2}, {3},\r\nOwner: {4}", Subject, Description, DueDate, Status, Owner); - } - public bool Overdue { - get { - if(Status == EmployeeTaskStatus.Completed || !DueDate.HasValue) return false; - DateTime dDate = DueDate.Value.Date.AddDays(1); - if(DateTime.Now >= dDate) return true; - return false; - } - } - public int AttachedFilesCount { - get { - return (AttachedFiles == null) ? 0 : AttachedFiles.Count; - } - } - public string AssignedEmployeesFullList { - get { - if(AssignedEmployees == null) - return ""; - return string.Join(", ", AssignedEmployees.Select(x => x.FullName)); - } - } - } -} +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; +using System.IO; +using System.Runtime.Serialization; +using System.Windows.Media; +using System.Linq; + +namespace DevExpress.DevAV { + public enum EmployeeTaskStatus { + [Display(Name = "Not Started")] + NotStarted, + [Display(Name = "Completed")] + Completed, + [Display(Name = "In Progress")] + InProgress, + [Display(Name = "Need Assistance")] + NeedAssistance, + [Display(Name = "Deferred")] + Deferred + } + public enum EmployeeTaskPriority { + Low, + Normal, + High, + Urgent + } + public enum EmployeeTaskFollowUp { + [Display(Name = "Today")] + Today, + [Display(Name = "Tomorrow")] + Tomorrow, + [Display(Name = "This Week")] + ThisWeek, + [Display(Name = "Next Week")] + NextWeek, + [Display(Name = "No Date")] + NoDate, + [Display(Name = "Custom")] + Custom + } + + public class EmployeeTask : DatabaseObject { + public EmployeeTask() { + AssignedEmployees = new List(); + } + public virtual List AssignedEmployees { get; set; } + [Required] + public string Subject { get; set; } + public string Description { get; set; } + public string RtfTextDescription { get; set; } + public DateTime? StartDate { get; set; } + public DateTime? DueDate { get; set; } + public EmployeeTaskStatus Status { get; set; } + public EmployeeTaskPriority Priority { get; set; } + public int Completion { get; set; } + public bool Reminder { get; set; } + public DateTime? ReminderDateTime { get; set; } + public virtual Employee AssignedEmployee { get; set; } + public long? AssignedEmployeeId { get; set; } + public virtual Employee Owner { get; set; } + public long? OwnerId { get; set; } + public virtual CustomerEmployee CustomerEmployee { get; set; } + public long? CustomerEmployeeId { get; set; } + public EmployeeTaskFollowUp FollowUp { get; set; } + public bool Private { get; set; } + public string Category { get; set; } + public virtual List AttachedFiles { get; set; } + public bool AttachedCollectionsChanged { get; set; } + + public override string ToString() { + return string.Format("{0} - {1}, due {2}, {3},\r\nOwner: {4}", Subject, Description, DueDate, Status, Owner); + } + public bool Overdue { + get { + if(Status == EmployeeTaskStatus.Completed || !DueDate.HasValue) return false; + DateTime dDate = DueDate.Value.Date.AddDays(1); + if(DateTime.Now >= dDate) return true; + return false; + } + } + public int AttachedFilesCount { + get { + return (AttachedFiles == null) ? 0 : AttachedFiles.Count; + } + } + public string AssignedEmployeesFullList { + get { + if(AssignedEmployees == null) + return ""; + return string.Join(", ", AssignedEmployees.Select(x => x.FullName)); + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Utils.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Utils.cs new file mode 100644 index 0000000..b5b04b8 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Data/Utils.cs @@ -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 + }; + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerContactsDirectory.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerContactsDirectory.cs new file mode 100644 index 0000000..42077c0 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerContactsDirectory.cs @@ -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; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerContactsDirectory.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerContactsDirectory.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerContactsDirectory.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQeg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9Wu + fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg + Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/ + /QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA + OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerLocationsDirectory.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerLocationsDirectory.cs new file mode 100644 index 0000000..b380f16 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerLocationsDirectory.cs @@ -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; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerLocationsDirectory.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerLocationsDirectory.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerLocationsDirectory.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmO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zLdzpb8/ + /QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA + OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerProfile.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerProfile.cs new file mode 100644 index 0000000..93a21b4 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerProfile.cs @@ -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(); + + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerProfile.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerProfile.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerProfile.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hT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AVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetail.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetail.cs new file mode 100644 index 0000000..1872b98 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetail.cs @@ -0,0 +1,1740 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using DevExpress.XtraReports.UI; +using System.Reflection; +using System.Drawing; +using DevExpress.Data.Filtering; + +namespace DevExpress.DevAV.Reports { + public class CustomerSalesDetail : 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 XtraReports.Parameters.Parameter paramOrderDate; + private XtraReports.Parameters.Parameter paramFromDate; + private XtraReports.Parameters.Parameter paramToDate; + private XRTable xrTable3; + private XRTableRow xrTableRow8; + private XRTableCell xrTableCell15; + private XRTableRow xrTableRow7; + private XRTableCell xrTableCell7; + private XRTableCell xrTableCell14; + private XRTableRow xrTableRow3; + private XRTableCell xrTableCell8; + private XRTableCell xrTableCell9; + private XRTableRow xrTableRow4; + private XRTableCell xrTableCell10; + private XRTableCell xrTableCell11; + private XRTableRow xrTableRow5; + private XRTableCell xrTableCell12; + private XRTableCell xrTableCell13; + private XRPictureBox xrPictureBox4; + private XRPageInfo xrPageInfo2; + private XRTable xrTable2; + private XRTableRow xrTableRow2; + private XRTableCell xrTableCell4; + private XRTableCell xrTableCell5; + private XRTable xrTable1; + private XRTableRow xrTableRow1; + private XRTableCell xrTableCell1; + private XRTableCell xrTableCell2; + private XRTable xrTable4; + private XRTableRow xrTableRow9; + private XRTableCell xrTableCell19; + private XRTableCell xrTableCell20; + private XRTableCell xrTableCell21; + private XRTableCell xrTableCell22; + private XRTableCell xrTableCell23; + private XRTable xrTable5; + private XRTableRow xrTableRow10; + private XRTableCell xrTableCell24; + private XRTableCell xrTableCell25; + private XRTableCell xrTableCell26; + private XRTableCell xrTableCell27; + private XRTableCell xrTableCell28; + private XRTable xrTable10; + private XRTableRow xrTableRow16; + private XRTableCell xrTableCell40; + private XRTableCell xrTableCell41; + private XRTable xrTable11; + private XRTableRow xrTableRow17; + private XRTableCell xrTableCell45; + private XRTableRow xrTableRow18; + private XRTableCell xrTableCell46; + private XRTableRow xrTableRow19; + private XRTableCell xrTableCell47; + private XRTableRow xrTableRow20; + private XRTableCell xrTableCell48; + private XRTableRow xrTableRow21; + private XRTableCell xrTableCell49; + private XRTableRow xrTableRow22; + private XRTable xrTable6; + private XRTableRow xrTableRow6; + private XRTableCell xrTableCell3; + private XRLabel xrLabel1; + private XRLabel xrLabel6; + private XRTableCell xrTableCell6; + private XRLabel xrLabel2; + private XRLabel xrLabel7; + private XRTableCell xrTableCell17; + private XRLabel xrLabel8; + private XRLabel xrLabel3; + private XRTableCell xrTableCell18; + private XRLabel xrLabel9; + private XRLabel xrLabel4; + private XRTableCell xrTableCell16; + private XRLabel xrLabel10; + private XRLabel xrLabel5; + private XRTable xrTable7; + private XRTableRow xrTableRow11; + private XRTableCell xrTableCell29; + private XRLabel xrLabel11; + private XRTableCell xrTableCell30; + private XRLabel xrLabel13; + private XRTableCell xrTableCell31; + private XRLabel xrLabel16; + private XRTableCell xrTableCell32; + private XRLabel xrLabel18; + private XRTableCell xrTableCell33; + private XRLabel xrLabel20; + private XRTable xrTable9; + private XRTableRow xrTableRow15; + private XRTableCell xrTableCell42; + private XRTableCell xrTableCell43; + private XRLabel xrLabel12; + private XRTableCell xrTableCell44; + private XRLabel xrLabel14; + private DetailReportBand DetailReport; + private DetailBand Detail; + private ReportHeaderBand ReportHeader1; + private ReportFooterBand ReportFooter; + public XRChart xrChart1; + private XRTableCell xrTableCell50; + private XRLabel xrLabel22; + private XRLabel xrLabel23; + private XRLabel xrLabel19; + private XRLabel xrLabel21; + private XRLabel xrLabel15; + private XRLabel xrLabel17; + private XRTable xrTable8; + private XRTableRow xrTableRow12; + private XRTableCell xrTableCell34; + private XRTableCell xrTableCell35; + private XRTableRow xrTableRow14; + private XRTableCell xrTableCell38; + private XRTableCell xrTableCell39; + private XRTableRow xrTableRow13; + private XRTableCell xrTableCell36; + private XRTableCell xrTableCell37; + private XRTableRow xrTableRow23; + private XRTableCell xrTableCell51; + Dictionary storeSales = new Dictionary(); + + public CustomerSalesDetail() { + InitializeComponent(); + ParameterHelper.InitializeDateTimeParameters(paramFromDate, paramToDate); + } + + public void SetChartData(object data) { + xrChart1.DataSource = data; + xrChart1.Series[0].ArgumentDataMember = "Product.Category"; + UpdateChartFilter(); + } + void UpdateChartFilter() { + xrChart1.Series[0].FilterCriteria = new GroupOperator( + new BinaryOperator("Order.OrderDate", paramFromDate.Value, BinaryOperatorType.GreaterOrEqual), + new BinaryOperator("Order.OrderDate", paramToDate.Value, BinaryOperatorType.LessOrEqual) + ); + } + + private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerSalesDetail)); + 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.paramToDate = 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.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow9 = 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.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell(); + 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.xrPictureBox4 = 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.xrChart1 = new DevExpress.XtraReports.UI.XRChart(); + this.xrTable10 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTable11 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow18 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow19 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell50 = 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.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.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell(); + this.paramOrderDate = new DevExpress.XtraReports.Parameters.Parameter(); + this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable7 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable9 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrTable8 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.xrTable10)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable11)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable8)).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; + // + // 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; + // + // 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.xrTable4}); + this.detailBand1.HeightF = 29.16667F; + this.detailBand1.KeepTogether = true; + this.detailBand1.KeepTogetherWithDetailReports = 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)}); + // + // 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(5.928103F, 0F); + this.xrTable4.Name = "xrTable4"; + this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow9}); + this.xrTable4.SizeF = new System.Drawing.SizeF(635.7385F, 29.16667F); + this.xrTable4.StylePriority.UseFont = false; + this.xrTable4.StylePriority.UseTextAlignment = false; + this.xrTable4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell19, + this.xrTableCell20, + this.xrTableCell21, + this.xrTableCell22, + this.xrTableCell23}); + this.xrTableRow9.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableRow9.StylePriority.UseFont = false; + this.xrTableRow9.StylePriority.UsePadding = false; + this.xrTableRow9.Weight = 0.87499997138977259D; + // + // xrTableCell19 + // + this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderDate", "{0:MM/dd/yyyy}")}); + this.xrTableCell19.Name = "xrTableCell19"; + this.xrTableCell19.StylePriority.UseTextAlignment = false; + this.xrTableCell19.Weight = 0.59173941979041467D; + // + // xrTableCell20 + // + this.xrTableCell20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")}); + this.xrTableCell20.Name = "xrTableCell20"; + this.xrTableCell20.StylePriority.UseTextAlignment = false; + this.xrTableCell20.Weight = 0.47683549147385823D; + // + // xrTableCell21 + // + this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "PONumber")}); + this.xrTableCell21.Name = "xrTableCell21"; + this.xrTableCell21.StylePriority.UseTextAlignment = false; + this.xrTableCell21.Weight = 0.38046329204852769D; + // + // xrTableCell22 + // + this.xrTableCell22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Store.City")}); + this.xrTableCell22.Name = "xrTableCell22"; + this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 100F); + this.xrTableCell22.StylePriority.UsePadding = false; + this.xrTableCell22.StylePriority.UseTextAlignment = false; + this.xrTableCell22.Weight = 0.908654526930589D; + // + // xrTableCell23 + // + this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employee.FullName")}); + this.xrTableCell23.Name = "xrTableCell23"; + this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrTableCell23.StylePriority.UsePadding = false; + this.xrTableCell23.StylePriority.UseTextAlignment = false; + this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell23.Weight = 0.57648507925180281D; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(176.4658F, 51.12502F); + 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, 184.1186F); + 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, "Customer.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.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 = "[Customer.HomeOffice.Line]\r\n[Customer.HomeOffice.CityLine]"; + this.xrTableCell8.Weight = 1.4122964395059121D; + // + // xrTableCell9 + // + this.xrTableCell9.Multiline = true; + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Text = "[Customer.BillingAddress.Line]\r\n[Customer.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, "Customer.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, "Customer.Fax")}); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.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, "Customer.Image")}); + this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(7.965815F, 53.125F); + 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; + // + // 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 = 100F; + 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.Order); + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrChart1, + this.xrTable10, + this.xrTable11, + this.xrTable2, + this.xrTable3, + this.xrPictureBox4, + this.xrTable1, + this.xrTable5}); + this.ReportHeader.HeightF = 655.056F; + 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(5.928087F, 309.5011F); + this.xrChart1.Name = "xrChart1"; + 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); + // + // xrTable10 + // + this.xrTable10.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 272.0011F); + this.xrTable10.Name = "xrTable10"; + this.xrTable10.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow16}); + this.xrTable10.SizeF = new System.Drawing.SizeF(647.9999F, 37.5F); + this.xrTable10.StylePriority.UseFont = false; + // + // xrTableRow16 + // + this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell40, + this.xrTableCell41}); + this.xrTableRow16.Name = "xrTableRow16"; + this.xrTableRow16.Weight = 1.3333334941638817D; + // + // xrTableCell40 + // + this.xrTableCell40.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71))))); + this.xrTableCell40.ForeColor = System.Drawing.Color.White; + this.xrTableCell40.Name = "xrTableCell40"; + this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F); + this.xrTableCell40.StylePriority.UseBackColor = false; + this.xrTableCell40.StylePriority.UseFont = false; + this.xrTableCell40.StylePriority.UseForeColor = false; + this.xrTableCell40.StylePriority.UsePadding = false; + this.xrTableCell40.StylePriority.UseTextAlignment = false; + this.xrTableCell40.Text = "Analysis"; + this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell40.Weight = 0.8195229174103581D; + // + // xrTableCell41 + // + this.xrTableCell41.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217))))); + this.xrTableCell41.Name = "xrTableCell41"; + this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F); + this.xrTableCell41.StylePriority.UseBackColor = false; + this.xrTableCell41.StylePriority.UsePadding = false; + this.xrTableCell41.StylePriority.UseTextAlignment = false; + this.xrTableCell41.Text = "July 1, 2013 to July 31, 2013"; + this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell41.Weight = 2.1804770825896416D; + // + // xrTable11 + // + this.xrTable11.LocationFloat = new DevExpress.Utils.PointFloat(429.7018F, 358.3021F); + this.xrTable11.Name = "xrTable11"; + this.xrTable11.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow17, + this.xrTableRow18, + this.xrTableRow19, + this.xrTableRow20, + this.xrTableRow21, + this.xrTableRow22}); + this.xrTable11.SizeF = new System.Drawing.SizeF(220.0368F, 148.504F); + // + // xrTableRow17 + // + this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell45}); + this.xrTableRow17.Name = "xrTableRow17"; + this.xrTableRow17.Weight = 0.77837459842722589D; + // + // xrTableCell45 + // + this.xrTableCell45.Font = new System.Drawing.Font("Segoe UI", 10F); + this.xrTableCell45.Name = "xrTableCell45"; + this.xrTableCell45.StylePriority.UseFont = false; + this.xrTableCell45.Text = "Total sales in date range was"; + this.xrTableCell45.Weight = 3D; + // + // xrTableRow18 + // + this.xrTableRow18.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell46}); + this.xrTableRow18.Name = "xrTableRow18"; + this.xrTableRow18.Weight = 1.3828073576824858D; + // + // xrTableCell46 + // + this.xrTableCell46.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total")}); + this.xrTableCell46.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrTableCell46.Name = "xrTableCell46"; + this.xrTableCell46.StylePriority.UseFont = false; + xrSummary1.FormatString = "{0:$#,#}"; + xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrTableCell46.Summary = xrSummary1; + this.xrTableCell46.Weight = 3D; + // + // xrTableRow19 + // + this.xrTableRow19.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell47}); + this.xrTableRow19.Name = "xrTableRow19"; + this.xrTableRow19.Weight = 0.83881804389028847D; + // + // xrTableCell47 + // + this.xrTableCell47.Font = new System.Drawing.Font("Segoe UI", 10F); + this.xrTableCell47.Name = "xrTableCell47"; + this.xrTableCell47.StylePriority.UseFont = false; + this.xrTableCell47.Text = "Total discounts on orders was "; + this.xrTableCell47.Weight = 3D; + // + // xrTableRow20 + // + this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell48}); + this.xrTableRow20.Name = "xrTableRow20"; + this.xrTableRow20.Weight = 1.28206876997332D; + // + // xrTableCell48 + // + this.xrTableCell48.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Discount")}); + this.xrTableCell48.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrTableCell48.Name = "xrTableCell48"; + this.xrTableCell48.StylePriority.UseFont = false; + xrSummary2.FormatString = "{0:$#,#}"; + xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrTableCell48.Summary = xrSummary2; + this.xrTableCell48.Weight = 3D; + // + // xrTableRow21 + // + this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell49}); + this.xrTableRow21.Name = "xrTableRow21"; + this.xrTableRow21.Weight = 0.71793123002668D; + // + // xrTableCell49 + // + this.xrTableCell49.Font = new System.Drawing.Font("Segoe UI", 10F); + this.xrTableCell49.Name = "xrTableCell49"; + this.xrTableCell49.StylePriority.UseFont = false; + this.xrTableCell49.Text = "Top-selling store was"; + this.xrTableCell49.Weight = 3D; + // + // xrTableRow22 + // + this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell50}); + this.xrTableRow22.Name = "xrTableRow22"; + this.xrTableRow22.Weight = 1D; + // + // xrTableCell50 + // + this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total")}); + this.xrTableCell50.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrTableCell50.Name = "xrTableCell50"; + this.xrTableCell50.StylePriority.UseFont = false; + xrSummary3.Func = DevExpress.XtraReports.UI.SummaryFunc.Custom; + xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrTableCell50.Summary = xrSummary3; + this.xrTableCell50.Weight = 3D; + this.xrTableCell50.SummaryGetResult += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrTableCell50_SummaryGetResult); + this.xrTableCell50.SummaryReset += new System.EventHandler(this.xrTableCell50_SummaryReset); + this.xrTableCell50.SummaryRowChanged += new System.EventHandler(this.xrTableCell50_SummaryRowChanged); + // + // 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(647.9999F, 37.5F); + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell4, + this.xrTableCell5}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 1.3333334941638817D; + // + // 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 = "Customer 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.1804770825896416D; + // + // xrTable1 + // + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 564.4311F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow1}); + this.xrTable1.SizeF = new System.Drawing.SizeF(650.0001F, 32.29167F); + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell1, + this.xrTableCell2}); + this.xrTableRow1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.StylePriority.UseFont = false; + this.xrTableRow1.Weight = 1.3333334941638817D; + // + // 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.80308245213023211D; + // + // 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 = "Sorted by : Order Date"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell2.Weight = 2.206177656583951D; + // + // xrTable5 + // + this.xrTable5.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(5.928095F, 626.931F); + this.xrTable5.Name = "xrTable5"; + this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow10}); + this.xrTable5.SizeF = new System.Drawing.SizeF(635.7386F, 28.125F); + this.xrTable5.StylePriority.UseFont = false; + this.xrTable5.StylePriority.UseTextAlignment = false; + this.xrTable5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrTableRow10 + // + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell24, + this.xrTableCell25, + this.xrTableCell26, + this.xrTableCell27, + this.xrTableCell28}); + this.xrTableRow10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableRow10.StylePriority.UseForeColor = false; + this.xrTableRow10.StylePriority.UsePadding = false; + this.xrTableRow10.Weight = 0.84374993562698863D; + // + // xrTableCell24 + // + this.xrTableCell24.Name = "xrTableCell24"; + this.xrTableCell24.StylePriority.UsePadding = false; + this.xrTableCell24.StylePriority.UseTextAlignment = false; + this.xrTableCell24.Text = "ORDER DATE"; + this.xrTableCell24.Weight = 0.59173941979041478D; + // + // xrTableCell25 + // + this.xrTableCell25.Name = "xrTableCell25"; + this.xrTableCell25.StylePriority.UseTextAlignment = false; + this.xrTableCell25.Text = "INVOICE #"; + this.xrTableCell25.Weight = 0.47683563232421888D; + // + // xrTableCell26 + // + this.xrTableCell26.Name = "xrTableCell26"; + this.xrTableCell26.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell26.StylePriority.UsePadding = false; + this.xrTableCell26.StylePriority.UseTextAlignment = false; + this.xrTableCell26.Text = "PO #"; + this.xrTableCell26.Weight = 0.38046315119816709D; + // + // xrTableCell27 + // + this.xrTableCell27.Name = "xrTableCell27"; + this.xrTableCell27.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 100F); + this.xrTableCell27.StylePriority.UsePadding = false; + this.xrTableCell27.StylePriority.UseTextAlignment = false; + this.xrTableCell27.Text = "STORE"; + this.xrTableCell27.Weight = 0.908654526930589D; + // + // xrTableCell28 + // + this.xrTableCell28.Name = "xrTableCell28"; + this.xrTableCell28.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrTableCell28.StylePriority.UsePadding = false; + this.xrTableCell28.StylePriority.UseTextAlignment = false; + this.xrTableCell28.Text = "ORDERED BY"; + this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell28.Weight = 0.576485360952524D; + // + // paramOrderDate + // + this.paramOrderDate.Description = "ParamOrderDate"; + this.paramOrderDate.Name = "paramOrderDate"; + this.paramOrderDate.Type = typeof(bool); + this.paramOrderDate.ValueInfo = "True"; + this.paramOrderDate.Visible = false; + // + // xrTable6 + // + this.xrTable6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(132F, 0F); + this.xrTable6.Name = "xrTable6"; + this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow6}); + this.xrTable6.SizeF = new System.Drawing.SizeF(517F, 29.18F); + this.xrTable6.StylePriority.UseBorderColor = false; + // + // xrTableRow6 + // + this.xrTableRow6.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrTableRow6.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrTableRow6.BorderWidth = 1F; + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell3, + this.xrTableCell6, + this.xrTableCell17, + this.xrTableCell18, + this.xrTableCell16}); + this.xrTableRow6.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.StylePriority.UseBorderDashStyle = false; + this.xrTableRow6.StylePriority.UseBorders = false; + this.xrTableRow6.StylePriority.UseBorderWidth = false; + this.xrTableRow6.StylePriority.UseFont = false; + this.xrTableRow6.Weight = 0.99312458613261245D; + // + // xrTableCell3 + // + this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); + this.xrTableCell3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel1, + this.xrLabel6}); + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.StylePriority.UseBorders = false; + this.xrTableCell3.Weight = 0.80976249989033178D; + // + // xrLabel1 + // + this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(2.107574F, 2.180233F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(135.97F, 25F); + this.xrLabel1.StylePriority.UseBorders = false; + this.xrLabel1.StylePriority.UsePadding = false; + this.xrLabel1.Text = "Product"; + // + // xrLabel6 + // + this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(2.11F, 27.18023F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(135.97F, 2.000021F); + this.xrLabel6.StylePriority.UseBorders = false; + // + // xrTableCell6 + // + this.xrTableCell6.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2, + this.xrLabel7}); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Weight = 0.31075230478016674D; + // + // xrLabel2 + // + this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 2.18F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(52.4F, 25F); + this.xrLabel2.StylePriority.UseBorders = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "Unit"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel7 + // + this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 27.18F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(52.39993F, 2.000021F); + this.xrLabel7.StylePriority.UseBorders = false; + // + // xrTableCell17 + // + this.xrTableCell17.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel8, + this.xrLabel3}); + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.Weight = 0.74349946878361461D; + // + // xrLabel8 + // + this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0.15F, 27.18F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(127.62F, 2F); + this.xrLabel8.StylePriority.UseBorders = false; + // + // xrLabel3 + // + this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.1453552F, 2.180233F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(127.6163F, 25F); + this.xrLabel3.StylePriority.UseBorders = false; + this.xrLabel3.StylePriority.UsePadding = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.Text = "Price"; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTableCell18 + // + this.xrTableCell18.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel9, + this.xrLabel4}); + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.Weight = 0.52946757061084682D; + // + // xrLabel9 + // + this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(1.41F, 27.18F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(88.73712F, 2.000021F); + this.xrLabel9.StylePriority.UseBorders = false; + // + // xrLabel4 + // + this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(1.410004F, 2.179966F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(88.73721F, 25F); + this.xrLabel4.StylePriority.UseBorders = false; + this.xrLabel4.StylePriority.UsePadding = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = "Discount"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTableCell16 + // + this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableCell16.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel10, + this.xrLabel5}); + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.StylePriority.UseBorders = false; + this.xrTableCell16.Weight = 0.6065181559350401D; + // + // xrLabel10 + // + this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.75F, 27.18F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(101.2372F, 2.071886F); + this.xrLabel10.StylePriority.UseBorders = false; + // + // xrLabel5 + // + this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.7538452F, 2.180012F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(101.2372F, 25F); + this.xrLabel5.StylePriority.UseBorders = false; + this.xrLabel5.StylePriority.UsePadding = false; + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "Item Total"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTable7 + // + this.xrTable7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(132F, 0F); + this.xrTable7.Name = "xrTable7"; + this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow11}); + this.xrTable7.SizeF = new System.Drawing.SizeF(517F, 24F); + this.xrTable7.StylePriority.UseBorderColor = false; + // + // xrTableRow11 + // + this.xrTableRow11.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrTableRow11.BorderWidth = 1F; + this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell29, + this.xrTableCell30, + this.xrTableCell31, + this.xrTableCell32, + this.xrTableCell33}); + this.xrTableRow11.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow11.Name = "xrTableRow11"; + this.xrTableRow11.StylePriority.UseBorderDashStyle = false; + this.xrTableRow11.StylePriority.UseBorders = false; + this.xrTableRow11.StylePriority.UseBorderWidth = false; + this.xrTableRow11.StylePriority.UseFont = false; + this.xrTableRow11.Weight = 0.81989936523876228D; + // + // xrTableCell29 + // + this.xrTableCell29.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell29.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel11}); + this.xrTableCell29.Name = "xrTableCell29"; + this.xrTableCell29.StylePriority.UseBorders = false; + this.xrTableCell29.Weight = 0.80976249989033178D; + // + // xrLabel11 + // + this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Product.Category")}); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(1.848602F, 0F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(136.229F, 23.91371F); + this.xrLabel11.StylePriority.UseBorders = false; + this.xrLabel11.StylePriority.UsePadding = false; + this.xrLabel11.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel11_BeforePrint); + // + // xrTableCell30 + // + this.xrTableCell30.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel13}); + this.xrTableCell30.Name = "xrTableCell30"; + this.xrTableCell30.Weight = 0.31075230478016674D; + // + // xrLabel13 + // + this.xrLabel13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.ProductUnits")}); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(52.40005F, 23.9137F); + this.xrLabel13.StylePriority.UseBorders = false; + this.xrLabel13.StylePriority.UseTextAlignment = false; + this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrTableCell31 + // + this.xrTableCell31.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel16}); + this.xrTableCell31.Name = "xrTableCell31"; + this.xrTableCell31.Weight = 0.74349946878361461D; + // + // xrLabel16 + // + this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.ProductPrice", "{0:$#,#}")}); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0.1453552F, 0F); + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(127.6163F, 24F); + this.xrLabel16.StylePriority.UseBorders = false; + this.xrLabel16.StylePriority.UsePadding = false; + this.xrLabel16.StylePriority.UseTextAlignment = false; + this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTableCell32 + // + this.xrTableCell32.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel18}); + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.Weight = 0.52946757061084682D; + // + // xrLabel18 + // + this.xrLabel18.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Discount", "{0:$#,#;$#,#; - }")}); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(1.410034F, 0F); + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(88.73712F, 24F); + this.xrLabel18.StylePriority.UseBorders = false; + this.xrLabel18.StylePriority.UsePadding = false; + this.xrLabel18.StylePriority.UseTextAlignment = false; + this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTableCell33 + // + this.xrTableCell33.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell33.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel20}); + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.StylePriority.UseBorders = false; + this.xrTableCell33.Weight = 0.6065181559350401D; + // + // xrLabel20 + // + this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total", "{0:$#,#}")}); + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(0.7538757F, 0F); + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(101.2372F, 24.00001F); + this.xrLabel20.StylePriority.UseBorders = false; + this.xrLabel20.StylePriority.UsePadding = false; + this.xrLabel20.StylePriority.UseTextAlignment = false; + this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTable9 + // + this.xrTable9.LocationFloat = new DevExpress.Utils.PointFloat(132F, 0F); + this.xrTable9.Name = "xrTable9"; + this.xrTable9.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow15}); + this.xrTable9.SizeF = new System.Drawing.SizeF(517F, 2F); + // + // xrTableRow15 + // + this.xrTableRow15.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrTableRow15.BorderWidth = 1F; + this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell42, + this.xrTableCell43, + this.xrTableCell44}); + this.xrTableRow15.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow15.Name = "xrTableRow15"; + this.xrTableRow15.StylePriority.UseBorderDashStyle = false; + this.xrTableRow15.StylePriority.UseBorders = false; + this.xrTableRow15.StylePriority.UseBorderWidth = false; + this.xrTableRow15.StylePriority.UseFont = false; + this.xrTableRow15.Weight = 0.0010782962159689652D; + // + // xrTableCell42 + // + this.xrTableCell42.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrTableCell42.BorderWidth = 2F; + this.xrTableCell42.Name = "xrTableCell42"; + this.xrTableCell42.StylePriority.UseBorders = false; + this.xrTableCell42.StylePriority.UseBorderWidth = false; + this.xrTableCell42.Weight = 1.8568665710533374D; + // + // xrTableCell43 + // + this.xrTableCell43.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTableCell43.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell43.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel12}); + this.xrTableCell43.Name = "xrTableCell43"; + this.xrTableCell43.StylePriority.UseBorderColor = false; + this.xrTableCell43.StylePriority.UseBorders = false; + this.xrTableCell43.Weight = 0.5298717482676697D; + // + // xrLabel12 + // + this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(2.641846F, 0F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(88.73718F, 2.117312F); + this.xrLabel12.StylePriority.UseBorders = false; + // + // xrTableCell44 + // + this.xrTableCell44.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTableCell44.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell44.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel14}); + this.xrTableCell44.Name = "xrTableCell44"; + this.xrTableCell44.StylePriority.UseBorderColor = false; + this.xrTableCell44.StylePriority.UseBorders = false; + this.xrTableCell44.Weight = 0.61326168067899334D; + // + // xrLabel14 + // + this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(1.916016F, 0F); + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(101.2372F, 2.122624F); + this.xrLabel14.StylePriority.UseBorders = false; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.ReportHeader1, + this.ReportFooter}); + this.DetailReport.DataMember = "OrderItems"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + // + // Detail + // + this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable7}); + this.Detail.HeightF = 24F; + this.Detail.Name = "Detail"; + // + // ReportHeader1 + // + this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable6}); + this.ReportHeader1.HeightF = 29.18F; + this.ReportHeader1.Name = "ReportHeader1"; + // + // ReportFooter + // + this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable8, + this.xrTable9}); + this.ReportFooter.HeightF = 138.2184F; + this.ReportFooter.Name = "ReportFooter"; + // + // xrTable8 + // + this.xrTable8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(452F, 2F); + this.xrTable8.Name = "xrTable8"; + this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow12, + this.xrTableRow14, + this.xrTableRow13, + this.xrTableRow23}); + this.xrTable8.SizeF = new System.Drawing.SizeF(197.0001F, 86.46875F); + this.xrTable8.StylePriority.UseBorderColor = false; + this.xrTable8.StylePriority.UseBorders = false; + // + // xrTableRow12 + // + this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell34, + this.xrTableCell35}); + this.xrTableRow12.Name = "xrTableRow12"; + this.xrTableRow12.Weight = 1.046874917837296D; + // + // xrTableCell34 + // + this.xrTableCell34.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell34.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel15}); + this.xrTableCell34.Name = "xrTableCell34"; + this.xrTableCell34.StylePriority.UseBorders = false; + this.xrTableCell34.Weight = 1.1747578993203811D; + // + // xrLabel15 + // + this.xrLabel15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(167)))), ((int)(((byte)(167))))); + this.xrLabel15.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel15.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(2.641846F, 0F); + this.xrLabel15.Name = "xrLabel15"; + this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel15.SizeF = new System.Drawing.SizeF(88.73718F, 24.99997F); + this.xrLabel15.StylePriority.UseBackColor = false; + this.xrLabel15.StylePriority.UseBorderColor = false; + this.xrLabel15.StylePriority.UseBorders = false; + this.xrLabel15.StylePriority.UsePadding = false; + this.xrLabel15.StylePriority.UseTextAlignment = false; + this.xrLabel15.Text = "SUB TOTAL"; + this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableCell35 + // + this.xrTableCell35.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell35.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel17}); + this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.StylePriority.UseBorders = false; + this.xrTableCell35.Weight = 1.3137093943675247D; + // + // xrLabel17 + // + this.xrLabel17.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total")}); + this.xrLabel17.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(101.4678F, 24.99997F); + this.xrLabel17.StylePriority.UseBorderColor = false; + this.xrLabel17.StylePriority.UseBorders = false; + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UsePadding = false; + this.xrLabel17.StylePriority.UseTextAlignment = false; + xrSummary4.FormatString = "{0:$#,#}"; + xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrLabel17.Summary = xrSummary4; + this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrTableRow14 + // + this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell38, + this.xrTableCell39}); + this.xrTableRow14.Name = "xrTableRow14"; + this.xrTableRow14.Weight = 1.0468756054609312D; + // + // xrTableCell38 + // + this.xrTableCell38.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell38.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel21}); + this.xrTableCell38.Name = "xrTableCell38"; + this.xrTableCell38.StylePriority.UseBorders = false; + this.xrTableCell38.Weight = 1.1747578993203811D; + // + // xrLabel21 + // + this.xrLabel21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(167)))), ((int)(((byte)(167))))); + this.xrLabel21.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel21.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(2.641846F, 0F); + this.xrLabel21.Name = "xrLabel21"; + this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel21.SizeF = new System.Drawing.SizeF(88.73718F, 25.00004F); + this.xrLabel21.StylePriority.UseBackColor = false; + this.xrLabel21.StylePriority.UseBorderColor = false; + this.xrLabel21.StylePriority.UseBorders = false; + this.xrLabel21.StylePriority.UsePadding = false; + this.xrLabel21.StylePriority.UseTextAlignment = false; + this.xrLabel21.Text = "SHIPPING"; + this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableCell39 + // + this.xrTableCell39.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell39.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel19}); + this.xrTableCell39.Name = "xrTableCell39"; + this.xrTableCell39.StylePriority.UseBorders = false; + this.xrTableCell39.Weight = 1.3137093943675247D; + // + // xrLabel19 + // + this.xrLabel19.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel19.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ShippingAmount", "{0:$#,#}")}); + this.xrLabel19.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(101.4679F, 25.00004F); + this.xrLabel19.StylePriority.UseBorderColor = false; + this.xrLabel19.StylePriority.UseBorders = false; + this.xrLabel19.StylePriority.UseFont = false; + this.xrLabel19.StylePriority.UsePadding = false; + this.xrLabel19.StylePriority.UseTextAlignment = false; + xrSummary5.FormatString = "{0:$#,#}"; + this.xrLabel19.Summary = xrSummary5; + this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrTableRow13 + // + this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell36, + this.xrTableCell37}); + this.xrTableRow13.Name = "xrTableRow13"; + this.xrTableRow13.Weight = 1.2812499462205338D; + // + // xrTableCell36 + // + this.xrTableCell36.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell36.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel22}); + this.xrTableCell36.Name = "xrTableCell36"; + this.xrTableCell36.StylePriority.UseBorders = false; + this.xrTableCell36.Weight = 1.1747578993203811D; + // + // xrLabel22 + // + this.xrLabel22.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel22.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel22.CanGrow = false; + this.xrLabel22.Font = new System.Drawing.Font("Segoe UI", 14F); + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(2.641846F, 0F); + this.xrLabel22.Name = "xrLabel22"; + this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(88.73718F, 30.75446F); + this.xrLabel22.StylePriority.UseBorderColor = false; + this.xrLabel22.StylePriority.UseBorders = false; + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.StylePriority.UsePadding = false; + this.xrLabel22.StylePriority.UseTextAlignment = false; + this.xrLabel22.Text = "TOTAL"; + this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableCell37 + // + this.xrTableCell37.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell37.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel23}); + this.xrTableCell37.Name = "xrTableCell37"; + this.xrTableCell37.StylePriority.UseBorders = false; + this.xrTableCell37.Weight = 1.3137093943675247D; + // + // xrLabel23 + // + this.xrLabel23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel23.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel23.CanGrow = false; + this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalAmount", "{0:$#,#}")}); + this.xrLabel23.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(101.468F, 30.75446F); + this.xrLabel23.StylePriority.UseBorderColor = false; + this.xrLabel23.StylePriority.UseBorders = false; + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.StylePriority.UsePadding = false; + this.xrLabel23.StylePriority.UseTextAlignment = false; + this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrTableRow23 + // + this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell51}); + this.xrTableRow23.Name = "xrTableRow23"; + this.xrTableRow23.Weight = 0.083749385919608343D; + // + // xrTableCell51 + // + this.xrTableCell51.BorderColor = System.Drawing.Color.Black; + this.xrTableCell51.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrTableCell51.BorderWidth = 2F; + this.xrTableCell51.Name = "xrTableCell51"; + this.xrTableCell51.StylePriority.UseBorderColor = false; + this.xrTableCell51.StylePriority.UseBorders = false; + this.xrTableCell51.StylePriority.UseBorderWidth = false; + this.xrTableCell51.Weight = 2.4884672936879064D; + // + // CustomerSalesDetail + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.topMarginBand1, + this.detailBand1, + this.bottomMarginBand1, + this.ReportHeader, + this.DetailReport}); + 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, 100); + this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] { + this.paramOrderDate, + this.paramFromDate, + this.paramToDate}); + this.Version = "14.1"; + this.DataSourceDemanded += new System.EventHandler(this.CustomerSalesDetail_DataSourceDemanded); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.xrTable10)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable11)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + private void CustomerSalesDetail_DataSourceDemanded(object sender, EventArgs e) { + if(Equals(true, paramOrderDate.Value)) { + xrTableCell2.Text = "Sorted by Order Date"; + this.detailBand1.SortFields[0].FieldName = "OrderDate"; + } else { + xrTableCell2.Text = "Sorted by Invoice #"; + this.detailBand1.SortFields[0].FieldName = "InvoiceNumber"; + } + + xrTableCell41.Text = ((DateTime)paramFromDate.Value).ToString("MMMM d, yyyy") + " to " + ((DateTime)paramToDate.Value).ToString("MMMM d, yyyy"); + + UpdateChartFilter(); + } + + private void xrLabel11_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) { + Product currentProduct = (Product)DetailReport.GetCurrentColumnValue("Product"); + if(currentProduct != null) { + (sender as XRLabel).Text = EnumDisplayTextHelper.GetDisplayText(currentProduct.Category); + } + } + + private void xrTableCell50_SummaryRowChanged(object sender, EventArgs e) { + CustomerStore currentStore = (CustomerStore)GetCurrentColumnValue("Store"); + List orderItems = (List)GetCurrentColumnValue("OrderItems"); + decimal total = 0; + foreach(OrderItem item in orderItems) { + total += item.Total; + } + if(storeSales.ContainsKey(currentStore)) { + storeSales[currentStore] += total; + } else { + storeSales.Add(currentStore, total); + } + } + + private void xrTableCell50_SummaryGetResult(object sender, SummaryGetResultEventArgs e) { + e.Result = storeSales.Count == 0 ? " - " : storeSales.Aggregate((x, y) => x.Value > y.Value ? x : y).Key.City; + e.Handled = true; + } + + private void xrTableCell50_SummaryReset(object sender, EventArgs e) { + storeSales.Clear(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetail.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetail.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetail.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+f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h1QwFx8k1l+TcahQSZAGI + PD2/QM779yX2A0ByjspyCUBCAGSsxGBZIpbVNdmMaAytgKNbfvjBQyWVtbKBzef3M4Ls9RW1swqBQ9Wu + fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg + Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/ + /QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA + OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetailReport.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetailReport.cs new file mode 100644 index 0000000..0f74c4c --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetailReport.cs @@ -0,0 +1,1752 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using DevExpress.XtraReports.UI; +using System.Reflection; +using System.Drawing; +using DevExpress.Data.Filtering; + +namespace DevExpress.DevAV.Reports { + public class CustomerSalesDetailReport : 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 XtraReports.Parameters.Parameter paramOrderDate; + private XtraReports.Parameters.Parameter paramFromDate; + private XtraReports.Parameters.Parameter paramToDate; + private XRTable xrTable3; + private XRTableRow xrTableRow8; + private XRTableCell xrTableCell15; + private XRTableRow xrTableRow7; + private XRTableCell xrTableCell7; + private XRTableCell xrTableCell14; + private XRTableRow xrTableRow3; + private XRTableCell xrTableCell8; + private XRTableCell xrTableCell9; + private XRTableRow xrTableRow4; + private XRTableCell xrTableCell10; + private XRTableCell xrTableCell11; + private XRTableRow xrTableRow5; + private XRTableCell xrTableCell12; + private XRTableCell xrTableCell13; + private XRPictureBox xrPictureBox4; + private XRPageInfo xrPageInfo2; + private XRTable xrTable2; + private XRTableRow xrTableRow2; + private XRTableCell xrTableCell4; + private XRTableCell xrTableCell5; + private XRTable xrTable1; + private XRTableRow xrTableRow1; + private XRTableCell xrTableCell1; + private XRTableCell xrTableCell2; + private XRTable xrTable4; + private XRTableRow xrTableRow9; + private XRTableCell xrTableCell19; + private XRTableCell xrTableCell20; + private XRTableCell xrTableCell21; + private XRTableCell xrTableCell22; + private XRTableCell xrTableCell23; + private XRTable xrTable5; + private XRTableRow xrTableRow10; + private XRTableCell xrTableCell24; + private XRTableCell xrTableCell25; + private XRTableCell xrTableCell26; + private XRTableCell xrTableCell27; + private XRTableCell xrTableCell28; + private XRTable xrTable10; + private XRTableRow xrTableRow16; + private XRTableCell xrTableCell40; + private XRTableCell xrTableCell41; + private XRTable xrTable11; + private XRTableRow xrTableRow17; + private XRTableCell xrTableCell45; + private XRTableRow xrTableRow18; + private XRTableCell xrTableCell46; + private XRTableRow xrTableRow19; + private XRTableCell xrTableCell47; + private XRTableRow xrTableRow20; + private XRTableCell xrTableCell48; + private XRTableRow xrTableRow21; + private XRTableCell xrTableCell49; + private XRTableRow xrTableRow22; + private XRTable xrTable6; + private XRTableRow xrTableRow6; + private XRTableCell xrTableCell3; + private XRLabel xrLabel1; + private XRLabel xrLabel6; + private XRTableCell xrTableCell6; + private XRLabel xrLabel2; + private XRLabel xrLabel7; + private XRTableCell xrTableCell17; + private XRLabel xrLabel8; + private XRLabel xrLabel3; + private XRTableCell xrTableCell18; + private XRLabel xrLabel9; + private XRLabel xrLabel4; + private XRTableCell xrTableCell16; + private XRLabel xrLabel10; + private XRLabel xrLabel5; + private XRTable xrTable7; + private XRTableRow xrTableRow11; + private XRTableCell xrTableCell29; + private XRLabel xrLabel11; + private XRTableCell xrTableCell30; + private XRLabel xrLabel13; + private XRTableCell xrTableCell31; + private XRLabel xrLabel16; + private XRTableCell xrTableCell32; + private XRLabel xrLabel18; + private XRTableCell xrTableCell33; + private XRLabel xrLabel20; + private XRTable xrTable9; + private XRTableRow xrTableRow15; + private XRTableCell xrTableCell42; + private XRTableCell xrTableCell43; + private XRLabel xrLabel12; + private XRTableCell xrTableCell44; + private XRLabel xrLabel14; + private DetailReportBand DetailReport; + private DetailBand Detail; + private ReportHeaderBand ReportHeader1; + private ReportFooterBand ReportFooter; + public XRChart xrChart1; + private XRTableCell xrTableCell50; + private XRLabel xrLabel22; + private XRLabel xrLabel23; + private XRLabel xrLabel19; + private XRLabel xrLabel21; + private XRLabel xrLabel15; + private XRLabel xrLabel17; + private XRTable xrTable8; + private XRTableRow xrTableRow12; + private XRTableCell xrTableCell34; + private XRTableCell xrTableCell35; + private XRTableRow xrTableRow14; + private XRTableCell xrTableCell38; + private XRTableCell xrTableCell39; + private XRTableRow xrTableRow13; + private XRTableCell xrTableCell36; + private XRTableCell xrTableCell37; + private XRTableRow xrTableRow23; + private GroupHeaderBand GroupHeader1; + private XRTableCell xrTableCell51; + + public CustomerSalesDetailReport() { + InitializeComponent(); + ParameterHelper.InitializeDateTimeParameters(paramFromDate, paramToDate); + } + + public void SetChartData(object data) { + xrChart1.DataSource = data; + xrChart1.Series[0].ArgumentDataMember = "ProductCategory"; + UpdateChartFilter(); + } + void UpdateChartFilter() { + xrChart1.Series[0].FilterCriteria = new GroupOperator( + new BinaryOperator("OrderDate", paramFromDate.Value, BinaryOperatorType.GreaterOrEqual), + new BinaryOperator("OrderDate", paramToDate.Value, BinaryOperatorType.LessOrEqual) + ); + } + + private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerSalesDetailReport)); + 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.paramToDate = 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.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow9 = 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.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell(); + 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.xrPictureBox4 = 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.xrChart1 = new DevExpress.XtraReports.UI.XRChart(); + this.xrTable10 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow16 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTable11 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow17 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow18 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow19 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell50 = 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.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.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell(); + this.paramOrderDate = new DevExpress.XtraReports.Parameters.Parameter(); + this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable7 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable9 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.ReportHeader1 = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrTable8 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableRow14 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.xrTable10)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable11)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable8)).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; + // + // 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; + // + // 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.xrTable4}); + this.detailBand1.HeightF = 29.16667F; + this.detailBand1.KeepTogether = true; + this.detailBand1.KeepTogetherWithDetailReports = 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)}); + // + // 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(5.928103F, 0F); + this.xrTable4.Name = "xrTable4"; + this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow9}); + this.xrTable4.SizeF = new System.Drawing.SizeF(635.7385F, 29.16667F); + this.xrTable4.StylePriority.UseFont = false; + this.xrTable4.StylePriority.UseTextAlignment = false; + this.xrTable4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrTableRow9 + // + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell19, + this.xrTableCell20, + this.xrTableCell21, + this.xrTableCell22, + this.xrTableCell23}); + this.xrTableRow9.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableRow9.StylePriority.UseFont = false; + this.xrTableRow9.StylePriority.UsePadding = false; + this.xrTableRow9.Weight = 0.87499997138977259D; + // + // xrTableCell19 + // + this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderDate", "{0:MM/dd/yyyy}")}); + this.xrTableCell19.Name = "xrTableCell19"; + this.xrTableCell19.StylePriority.UseTextAlignment = false; + this.xrTableCell19.Weight = 0.59173941979041467D; + // + // xrTableCell20 + // + this.xrTableCell20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceNumber")}); + this.xrTableCell20.Name = "xrTableCell20"; + this.xrTableCell20.StylePriority.UseTextAlignment = false; + this.xrTableCell20.Weight = 0.47683549147385823D; + // + // xrTableCell21 + // + this.xrTableCell21.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "PONumber")}); + this.xrTableCell21.Name = "xrTableCell21"; + this.xrTableCell21.StylePriority.UseTextAlignment = false; + this.xrTableCell21.Weight = 0.38046329204852769D; + // + // xrTableCell22 + // + this.xrTableCell22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "StoreCity")}); + this.xrTableCell22.Name = "xrTableCell22"; + this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 100F); + this.xrTableCell22.StylePriority.UsePadding = false; + this.xrTableCell22.StylePriority.UseTextAlignment = false; + this.xrTableCell22.Weight = 0.908654526930589D; + // + // xrTableCell23 + // + this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "EmployeeFullName")}); + this.xrTableCell23.Name = "xrTableCell23"; + this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrTableCell23.StylePriority.UsePadding = false; + this.xrTableCell23.StylePriority.UseTextAlignment = false; + this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell23.Weight = 0.57648507925180281D; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(176.4658F, 51.12502F); + 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, 184.1186F); + 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, "CustomerName")}); + 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.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 = "[CustomerHomeOfficeLine]\r\n[CustomerHomeOfficeCityLine]"; + this.xrTableCell8.Weight = 1.4122964395059121D; + // + // xrTableCell9 + // + this.xrTableCell9.Multiline = true; + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Text = "[CustomerBillingAddressLine]\r\n[CustomerBillingAddressCityLine]"; + 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, "CustomerPhone")}); + 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, "CustomerFax")}); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.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, "CustomerImage")}); + this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(7.965815F, 53.125F); + 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; + // + // 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 = 100F; + 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.CustomerSaleDetailOrderItemInfo); + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrChart1, + this.xrTable10, + this.xrTable11, + this.xrTable2, + this.xrTable3, + this.xrPictureBox4}); + this.ReportHeader.HeightF = 563.3893F; + 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(5.928087F, 309.5011F); + this.xrChart1.Name = "xrChart1"; + 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); + // + // xrTable10 + // + this.xrTable10.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 272.0011F); + this.xrTable10.Name = "xrTable10"; + this.xrTable10.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow16}); + this.xrTable10.SizeF = new System.Drawing.SizeF(647.9999F, 37.5F); + this.xrTable10.StylePriority.UseFont = false; + // + // xrTableRow16 + // + this.xrTableRow16.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell40, + this.xrTableCell41}); + this.xrTableRow16.Name = "xrTableRow16"; + this.xrTableRow16.Weight = 1.3333334941638817D; + // + // xrTableCell40 + // + this.xrTableCell40.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71))))); + this.xrTableCell40.ForeColor = System.Drawing.Color.White; + this.xrTableCell40.Name = "xrTableCell40"; + this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F); + this.xrTableCell40.StylePriority.UseBackColor = false; + this.xrTableCell40.StylePriority.UseFont = false; + this.xrTableCell40.StylePriority.UseForeColor = false; + this.xrTableCell40.StylePriority.UsePadding = false; + this.xrTableCell40.StylePriority.UseTextAlignment = false; + this.xrTableCell40.Text = "Analysis"; + this.xrTableCell40.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell40.Weight = 0.8195229174103581D; + // + // xrTableCell41 + // + this.xrTableCell41.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217))))); + this.xrTableCell41.Name = "xrTableCell41"; + this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 10, 0, 0, 100F); + this.xrTableCell41.StylePriority.UseBackColor = false; + this.xrTableCell41.StylePriority.UsePadding = false; + this.xrTableCell41.StylePriority.UseTextAlignment = false; + this.xrTableCell41.Text = "July 1, 2013 to July 31, 2013"; + this.xrTableCell41.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell41.Weight = 2.1804770825896416D; + // + // xrTable11 + // + this.xrTable11.LocationFloat = new DevExpress.Utils.PointFloat(429.7018F, 358.3021F); + this.xrTable11.Name = "xrTable11"; + this.xrTable11.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow17, + this.xrTableRow18, + this.xrTableRow19, + this.xrTableRow20, + this.xrTableRow21, + this.xrTableRow22}); + this.xrTable11.SizeF = new System.Drawing.SizeF(220.0368F, 148.504F); + // + // xrTableRow17 + // + this.xrTableRow17.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell45}); + this.xrTableRow17.Name = "xrTableRow17"; + this.xrTableRow17.Weight = 0.77837459842722589D; + // + // xrTableCell45 + // + this.xrTableCell45.Font = new System.Drawing.Font("Segoe UI", 10F); + this.xrTableCell45.Name = "xrTableCell45"; + this.xrTableCell45.StylePriority.UseFont = false; + this.xrTableCell45.Text = "Total sales in date range was"; + this.xrTableCell45.Weight = 3D; + // + // xrTableRow18 + // + this.xrTableRow18.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell46}); + this.xrTableRow18.Name = "xrTableRow18"; + this.xrTableRow18.Weight = 1.3828073576824858D; + // + // xrTableCell46 + // + this.xrTableCell46.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total")}); + this.xrTableCell46.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrTableCell46.Name = "xrTableCell46"; + this.xrTableCell46.StylePriority.UseFont = false; + xrSummary1.FormatString = "{0:$#,#}"; + xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrTableCell46.Summary = xrSummary1; + this.xrTableCell46.Weight = 3D; + // + // xrTableRow19 + // + this.xrTableRow19.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell47}); + this.xrTableRow19.Name = "xrTableRow19"; + this.xrTableRow19.Weight = 0.83881804389028847D; + // + // xrTableCell47 + // + this.xrTableCell47.Font = new System.Drawing.Font("Segoe UI", 10F); + this.xrTableCell47.Name = "xrTableCell47"; + this.xrTableCell47.StylePriority.UseFont = false; + this.xrTableCell47.Text = "Total discounts on orders was "; + this.xrTableCell47.Weight = 3D; + // + // xrTableRow20 + // + this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell48}); + this.xrTableRow20.Name = "xrTableRow20"; + this.xrTableRow20.Weight = 1.28206876997332D; + // + // xrTableCell48 + // + this.xrTableCell48.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Discount")}); + this.xrTableCell48.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrTableCell48.Name = "xrTableCell48"; + this.xrTableCell48.StylePriority.UseFont = false; + xrSummary2.FormatString = "{0:$#,#}"; + xrSummary2.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrTableCell48.Summary = xrSummary2; + this.xrTableCell48.Weight = 3D; + // + // xrTableRow21 + // + this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell49}); + this.xrTableRow21.Name = "xrTableRow21"; + this.xrTableRow21.Weight = 0.71793123002668D; + // + // xrTableCell49 + // + this.xrTableCell49.Font = new System.Drawing.Font("Segoe UI", 10F); + this.xrTableCell49.Name = "xrTableCell49"; + this.xrTableCell49.StylePriority.UseFont = false; + this.xrTableCell49.Text = "Top-selling store was"; + this.xrTableCell49.Weight = 3D; + // + // xrTableRow22 + // + this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell50}); + this.xrTableRow22.Name = "xrTableRow22"; + this.xrTableRow22.Weight = 1D; + // + // xrTableCell50 + // + this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total")}); + this.xrTableCell50.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrTableCell50.Name = "xrTableCell50"; + this.xrTableCell50.StylePriority.UseFont = false; + xrSummary3.Func = DevExpress.XtraReports.UI.SummaryFunc.Custom; + xrSummary3.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrTableCell50.Summary = xrSummary3; + this.xrTableCell50.Weight = 3D; + this.xrTableCell50.SummaryGetResult += new DevExpress.XtraReports.UI.SummaryGetResultHandler(this.xrTableCell50_SummaryGetResult); + this.xrTableCell50.SummaryReset += new System.EventHandler(this.xrTableCell50_SummaryReset); + this.xrTableCell50.SummaryRowChanged += new System.EventHandler(this.xrTableCell50_SummaryRowChanged); + // + // 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(647.9999F, 37.5F); + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell4, + this.xrTableCell5}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 1.3333334941638817D; + // + // 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 = "Customer 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.1804770825896416D; + // + // 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(650.0001F, 32.29167F); + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell1, + this.xrTableCell2}); + this.xrTableRow1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.StylePriority.UseFont = false; + this.xrTableRow1.Weight = 1.3333334941638817D; + // + // 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.80308245213023211D; + // + // 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 = "Sorted by : Order Date"; + this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell2.Weight = 2.206177656583951D; + // + // xrTable5 + // + this.xrTable5.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(5.927976F, 62.49994F); + this.xrTable5.Name = "xrTable5"; + this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow10}); + this.xrTable5.SizeF = new System.Drawing.SizeF(635.7386F, 28.125F); + this.xrTable5.StylePriority.UseFont = false; + this.xrTable5.StylePriority.UseTextAlignment = false; + this.xrTable5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrTableRow10 + // + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell24, + this.xrTableCell25, + this.xrTableCell26, + this.xrTableCell27, + this.xrTableCell28}); + this.xrTableRow10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableRow10.StylePriority.UseForeColor = false; + this.xrTableRow10.StylePriority.UsePadding = false; + this.xrTableRow10.Weight = 0.84374993562698863D; + // + // xrTableCell24 + // + this.xrTableCell24.Name = "xrTableCell24"; + this.xrTableCell24.StylePriority.UsePadding = false; + this.xrTableCell24.StylePriority.UseTextAlignment = false; + this.xrTableCell24.Text = "ORDER DATE"; + this.xrTableCell24.Weight = 0.59173941979041478D; + // + // xrTableCell25 + // + this.xrTableCell25.Name = "xrTableCell25"; + this.xrTableCell25.StylePriority.UseTextAlignment = false; + this.xrTableCell25.Text = "INVOICE #"; + this.xrTableCell25.Weight = 0.47683563232421888D; + // + // xrTableCell26 + // + this.xrTableCell26.Name = "xrTableCell26"; + this.xrTableCell26.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell26.StylePriority.UsePadding = false; + this.xrTableCell26.StylePriority.UseTextAlignment = false; + this.xrTableCell26.Text = "PO #"; + this.xrTableCell26.Weight = 0.38046315119816709D; + // + // xrTableCell27 + // + this.xrTableCell27.Name = "xrTableCell27"; + this.xrTableCell27.Padding = new DevExpress.XtraPrinting.PaddingInfo(10, 0, 0, 0, 100F); + this.xrTableCell27.StylePriority.UsePadding = false; + this.xrTableCell27.StylePriority.UseTextAlignment = false; + this.xrTableCell27.Text = "STORE"; + this.xrTableCell27.Weight = 0.908654526930589D; + // + // xrTableCell28 + // + this.xrTableCell28.Name = "xrTableCell28"; + this.xrTableCell28.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrTableCell28.StylePriority.UsePadding = false; + this.xrTableCell28.StylePriority.UseTextAlignment = false; + this.xrTableCell28.Text = "ORDERED BY"; + this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell28.Weight = 0.576485360952524D; + // + // paramOrderDate + // + this.paramOrderDate.Description = "ParamOrderDate"; + this.paramOrderDate.Name = "paramOrderDate"; + this.paramOrderDate.Type = typeof(bool); + this.paramOrderDate.ValueInfo = "True"; + this.paramOrderDate.Visible = false; + // + // xrTable6 + // + this.xrTable6.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(132F, 0F); + this.xrTable6.Name = "xrTable6"; + this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow6}); + this.xrTable6.SizeF = new System.Drawing.SizeF(517F, 29.18F); + this.xrTable6.StylePriority.UseBorderColor = false; + // + // xrTableRow6 + // + this.xrTableRow6.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrTableRow6.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrTableRow6.BorderWidth = 1F; + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell3, + this.xrTableCell6, + this.xrTableCell17, + this.xrTableCell18, + this.xrTableCell16}); + this.xrTableRow6.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.StylePriority.UseBorderDashStyle = false; + this.xrTableRow6.StylePriority.UseBorders = false; + this.xrTableRow6.StylePriority.UseBorderWidth = false; + this.xrTableRow6.StylePriority.UseFont = false; + this.xrTableRow6.Weight = 0.99312458613261245D; + // + // xrTableCell3 + // + this.xrTableCell3.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top))); + this.xrTableCell3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel1, + this.xrLabel6}); + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.StylePriority.UseBorders = false; + this.xrTableCell3.Weight = 0.80976249989033178D; + // + // xrLabel1 + // + this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(2.107574F, 2.180233F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(135.97F, 25F); + this.xrLabel1.StylePriority.UseBorders = false; + this.xrLabel1.StylePriority.UsePadding = false; + this.xrLabel1.Text = "Product"; + // + // xrLabel6 + // + this.xrLabel6.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(2.11F, 27.18023F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(135.97F, 2.000021F); + this.xrLabel6.StylePriority.UseBorders = false; + // + // xrTableCell6 + // + this.xrTableCell6.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2, + this.xrLabel7}); + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Weight = 0.31075230478016674D; + // + // xrLabel2 + // + this.xrLabel2.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 2.18F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(52.4F, 25F); + this.xrLabel2.StylePriority.UseBorders = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "Unit"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrLabel7 + // + this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 27.18F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(52.39993F, 2.000021F); + this.xrLabel7.StylePriority.UseBorders = false; + // + // xrTableCell17 + // + this.xrTableCell17.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel8, + this.xrLabel3}); + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.Weight = 0.74349946878361461D; + // + // xrLabel8 + // + this.xrLabel8.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0.15F, 27.18F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(127.62F, 2F); + this.xrLabel8.StylePriority.UseBorders = false; + // + // xrLabel3 + // + this.xrLabel3.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0.1453552F, 2.180233F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(127.6163F, 25F); + this.xrLabel3.StylePriority.UseBorders = false; + this.xrLabel3.StylePriority.UsePadding = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.Text = "Price"; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTableCell18 + // + this.xrTableCell18.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel9, + this.xrLabel4}); + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.Weight = 0.52946757061084682D; + // + // xrLabel9 + // + this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(1.41F, 27.18F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(88.73712F, 2.000021F); + this.xrLabel9.StylePriority.UseBorders = false; + // + // xrLabel4 + // + this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(1.410004F, 2.179966F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(88.73721F, 25F); + this.xrLabel4.StylePriority.UseBorders = false; + this.xrLabel4.StylePriority.UsePadding = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = "Discount"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTableCell16 + // + this.xrTableCell16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Top | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableCell16.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel10, + this.xrLabel5}); + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.StylePriority.UseBorders = false; + this.xrTableCell16.Weight = 0.6065181559350401D; + // + // xrLabel10 + // + this.xrLabel10.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0.75F, 27.18F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(101.2372F, 2.071886F); + this.xrLabel10.StylePriority.UseBorders = false; + // + // xrLabel5 + // + this.xrLabel5.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0.7538452F, 2.180012F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(101.2372F, 25F); + this.xrLabel5.StylePriority.UseBorders = false; + this.xrLabel5.StylePriority.UsePadding = false; + this.xrLabel5.StylePriority.UseTextAlignment = false; + this.xrLabel5.Text = "Item Total"; + this.xrLabel5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTable7 + // + this.xrTable7.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(132F, 0F); + this.xrTable7.Name = "xrTable7"; + this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow11}); + this.xrTable7.SizeF = new System.Drawing.SizeF(517F, 24F); + this.xrTable7.StylePriority.UseBorderColor = false; + // + // xrTableRow11 + // + this.xrTableRow11.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrTableRow11.BorderWidth = 1F; + this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell29, + this.xrTableCell30, + this.xrTableCell31, + this.xrTableCell32, + this.xrTableCell33}); + this.xrTableRow11.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow11.Name = "xrTableRow11"; + this.xrTableRow11.StylePriority.UseBorderDashStyle = false; + this.xrTableRow11.StylePriority.UseBorders = false; + this.xrTableRow11.StylePriority.UseBorderWidth = false; + this.xrTableRow11.StylePriority.UseFont = false; + this.xrTableRow11.Weight = 0.81989936523876228D; + // + // xrTableCell29 + // + this.xrTableCell29.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell29.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel11}); + this.xrTableCell29.Name = "xrTableCell29"; + this.xrTableCell29.StylePriority.UseBorders = false; + this.xrTableCell29.Weight = 0.80976249989033178D; + // + // xrLabel11 + // + this.xrLabel11.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel11.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.ProductCategory")}); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(1.848602F, 0F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(136.229F, 23.91371F); + this.xrLabel11.StylePriority.UseBorders = false; + this.xrLabel11.StylePriority.UsePadding = false; + this.xrLabel11.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.xrLabel11_BeforePrint); + // + // xrTableCell30 + // + this.xrTableCell30.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel13}); + this.xrTableCell30.Name = "xrTableCell30"; + this.xrTableCell30.Weight = 0.31075230478016674D; + // + // xrLabel13 + // + this.xrLabel13.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.ProductUnits")}); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 96F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(52.40005F, 23.9137F); + this.xrLabel13.StylePriority.UseBorders = false; + this.xrLabel13.StylePriority.UseTextAlignment = false; + this.xrLabel13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter; + // + // xrTableCell31 + // + this.xrTableCell31.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel16}); + this.xrTableCell31.Name = "xrTableCell31"; + this.xrTableCell31.Weight = 0.74349946878361461D; + // + // xrLabel16 + // + this.xrLabel16.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.ProductPrice", "{0:$#,#}")}); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(0.1453552F, 0F); + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(127.6163F, 24F); + this.xrLabel16.StylePriority.UseBorders = false; + this.xrLabel16.StylePriority.UsePadding = false; + this.xrLabel16.StylePriority.UseTextAlignment = false; + this.xrLabel16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTableCell32 + // + this.xrTableCell32.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel18}); + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.Weight = 0.52946757061084682D; + // + // xrLabel18 + // + this.xrLabel18.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Discount", "{0:$#,#;$#,#; - }")}); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(1.410034F, 0F); + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(88.73712F, 24F); + this.xrLabel18.StylePriority.UseBorders = false; + this.xrLabel18.StylePriority.UsePadding = false; + this.xrLabel18.StylePriority.UseTextAlignment = false; + this.xrLabel18.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTableCell33 + // + this.xrTableCell33.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell33.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel20}); + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.StylePriority.UseBorders = false; + this.xrTableCell33.Weight = 0.6065181559350401D; + // + // xrLabel20 + // + this.xrLabel20.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrLabel20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total", "{0:$#,#}")}); + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(0.7538757F, 0F); + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(101.2372F, 24.00001F); + this.xrLabel20.StylePriority.UseBorders = false; + this.xrLabel20.StylePriority.UsePadding = false; + this.xrLabel20.StylePriority.UseTextAlignment = false; + this.xrLabel20.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight; + // + // xrTable9 + // + this.xrTable9.LocationFloat = new DevExpress.Utils.PointFloat(132F, 0F); + this.xrTable9.Name = "xrTable9"; + this.xrTable9.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow15}); + this.xrTable9.SizeF = new System.Drawing.SizeF(517F, 2F); + // + // xrTableRow15 + // + this.xrTableRow15.BorderDashStyle = DevExpress.XtraPrinting.BorderDashStyle.Solid; + this.xrTableRow15.BorderWidth = 1F; + this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell42, + this.xrTableCell43, + this.xrTableCell44}); + this.xrTableRow15.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow15.Name = "xrTableRow15"; + this.xrTableRow15.StylePriority.UseBorderDashStyle = false; + this.xrTableRow15.StylePriority.UseBorders = false; + this.xrTableRow15.StylePriority.UseBorderWidth = false; + this.xrTableRow15.StylePriority.UseFont = false; + this.xrTableRow15.Weight = 0.0010782962159689652D; + // + // xrTableCell42 + // + this.xrTableCell42.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrTableCell42.BorderWidth = 2F; + this.xrTableCell42.Name = "xrTableCell42"; + this.xrTableCell42.StylePriority.UseBorders = false; + this.xrTableCell42.StylePriority.UseBorderWidth = false; + this.xrTableCell42.Weight = 1.8568665710533374D; + // + // xrTableCell43 + // + this.xrTableCell43.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTableCell43.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell43.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel12}); + this.xrTableCell43.Name = "xrTableCell43"; + this.xrTableCell43.StylePriority.UseBorderColor = false; + this.xrTableCell43.StylePriority.UseBorders = false; + this.xrTableCell43.Weight = 0.5298717482676697D; + // + // xrLabel12 + // + this.xrLabel12.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(2.641846F, 0F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(88.73718F, 2.117312F); + this.xrLabel12.StylePriority.UseBorders = false; + // + // xrTableCell44 + // + this.xrTableCell44.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTableCell44.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell44.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel14}); + this.xrTableCell44.Name = "xrTableCell44"; + this.xrTableCell44.StylePriority.UseBorderColor = false; + this.xrTableCell44.StylePriority.UseBorders = false; + this.xrTableCell44.Weight = 0.61326168067899334D; + // + // xrLabel14 + // + this.xrLabel14.Borders = DevExpress.XtraPrinting.BorderSide.Top; + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(1.916016F, 0F); + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(101.2372F, 2.122624F); + this.xrLabel14.StylePriority.UseBorders = false; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.ReportHeader1, + this.ReportFooter}); + this.DetailReport.DataMember = "OrderItems"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + // + // Detail + // + this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable7}); + this.Detail.HeightF = 24F; + this.Detail.Name = "Detail"; + // + // ReportHeader1 + // + this.ReportHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable6}); + this.ReportHeader1.HeightF = 29.18F; + this.ReportHeader1.Name = "ReportHeader1"; + // + // ReportFooter + // + this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable8, + this.xrTable9}); + this.ReportFooter.HeightF = 138.2184F; + this.ReportFooter.Name = "ReportFooter"; + // + // xrTable8 + // + this.xrTable8.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(452F, 2F); + this.xrTable8.Name = "xrTable8"; + this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow12, + this.xrTableRow14, + this.xrTableRow13, + this.xrTableRow23}); + this.xrTable8.SizeF = new System.Drawing.SizeF(197.0001F, 86.46875F); + this.xrTable8.StylePriority.UseBorderColor = false; + this.xrTable8.StylePriority.UseBorders = false; + // + // xrTableRow12 + // + this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell34, + this.xrTableCell35}); + this.xrTableRow12.Name = "xrTableRow12"; + this.xrTableRow12.Weight = 1.046874917837296D; + // + // xrTableCell34 + // + this.xrTableCell34.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell34.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel15}); + this.xrTableCell34.Name = "xrTableCell34"; + this.xrTableCell34.StylePriority.UseBorders = false; + this.xrTableCell34.Weight = 1.1747578993203811D; + // + // xrLabel15 + // + this.xrLabel15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(167)))), ((int)(((byte)(167))))); + this.xrLabel15.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel15.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(2.641846F, 0F); + this.xrLabel15.Name = "xrLabel15"; + this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel15.SizeF = new System.Drawing.SizeF(88.73718F, 24.99997F); + this.xrLabel15.StylePriority.UseBackColor = false; + this.xrLabel15.StylePriority.UseBorderColor = false; + this.xrLabel15.StylePriority.UseBorders = false; + this.xrLabel15.StylePriority.UsePadding = false; + this.xrLabel15.StylePriority.UseTextAlignment = false; + this.xrLabel15.Text = "SUB TOTAL"; + this.xrLabel15.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableCell35 + // + this.xrTableCell35.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell35.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel17}); + this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.StylePriority.UseBorders = false; + this.xrTableCell35.Weight = 1.3137093943675247D; + // + // xrLabel17 + // + this.xrLabel17.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel17.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total")}); + this.xrLabel17.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(101.4678F, 24.99997F); + this.xrLabel17.StylePriority.UseBorderColor = false; + this.xrLabel17.StylePriority.UseBorders = false; + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.StylePriority.UsePadding = false; + this.xrLabel17.StylePriority.UseTextAlignment = false; + xrSummary4.FormatString = "{0:$#,#}"; + xrSummary4.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrLabel17.Summary = xrSummary4; + this.xrLabel17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrTableRow14 + // + this.xrTableRow14.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell38, + this.xrTableCell39}); + this.xrTableRow14.Name = "xrTableRow14"; + this.xrTableRow14.Weight = 1.0468756054609312D; + // + // xrTableCell38 + // + this.xrTableCell38.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell38.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel21}); + this.xrTableCell38.Name = "xrTableCell38"; + this.xrTableCell38.StylePriority.UseBorders = false; + this.xrTableCell38.Weight = 1.1747578993203811D; + // + // xrLabel21 + // + this.xrLabel21.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(167)))), ((int)(((byte)(167)))), ((int)(((byte)(167))))); + this.xrLabel21.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel21.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(2.641846F, 0F); + this.xrLabel21.Name = "xrLabel21"; + this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel21.SizeF = new System.Drawing.SizeF(88.73718F, 25.00004F); + this.xrLabel21.StylePriority.UseBackColor = false; + this.xrLabel21.StylePriority.UseBorderColor = false; + this.xrLabel21.StylePriority.UseBorders = false; + this.xrLabel21.StylePriority.UsePadding = false; + this.xrLabel21.StylePriority.UseTextAlignment = false; + this.xrLabel21.Text = "SHIPPING"; + this.xrLabel21.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableCell39 + // + this.xrTableCell39.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell39.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel19}); + this.xrTableCell39.Name = "xrTableCell39"; + this.xrTableCell39.StylePriority.UseBorders = false; + this.xrTableCell39.Weight = 1.3137093943675247D; + // + // xrLabel19 + // + this.xrLabel19.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel19.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ShippingAmount", "{0:$#,#}")}); + this.xrLabel19.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(101.4679F, 25.00004F); + this.xrLabel19.StylePriority.UseBorderColor = false; + this.xrLabel19.StylePriority.UseBorders = false; + this.xrLabel19.StylePriority.UseFont = false; + this.xrLabel19.StylePriority.UsePadding = false; + this.xrLabel19.StylePriority.UseTextAlignment = false; + xrSummary5.FormatString = "{0:$#,#}"; + this.xrLabel19.Summary = xrSummary5; + this.xrLabel19.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrTableRow13 + // + this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell36, + this.xrTableCell37}); + this.xrTableRow13.Name = "xrTableRow13"; + this.xrTableRow13.Weight = 1.2812499462205338D; + // + // xrTableCell36 + // + this.xrTableCell36.Borders = DevExpress.XtraPrinting.BorderSide.Left; + this.xrTableCell36.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel22}); + this.xrTableCell36.Name = "xrTableCell36"; + this.xrTableCell36.StylePriority.UseBorders = false; + this.xrTableCell36.Weight = 1.1747578993203811D; + // + // xrLabel22 + // + this.xrLabel22.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel22.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel22.CanGrow = false; + this.xrLabel22.Font = new System.Drawing.Font("Segoe UI", 14F); + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(2.641846F, 0F); + this.xrLabel22.Name = "xrLabel22"; + this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(88.73718F, 30.75446F); + this.xrLabel22.StylePriority.UseBorderColor = false; + this.xrLabel22.StylePriority.UseBorders = false; + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.StylePriority.UsePadding = false; + this.xrLabel22.StylePriority.UseTextAlignment = false; + this.xrLabel22.Text = "TOTAL"; + this.xrLabel22.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableCell37 + // + this.xrTableCell37.Borders = DevExpress.XtraPrinting.BorderSide.Right; + this.xrTableCell37.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel23}); + this.xrTableCell37.Name = "xrTableCell37"; + this.xrTableCell37.StylePriority.UseBorders = false; + this.xrTableCell37.Weight = 1.3137093943675247D; + // + // xrLabel23 + // + this.xrLabel23.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(127)))), ((int)(((byte)(127)))), ((int)(((byte)(127))))); + this.xrLabel23.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel23.CanGrow = false; + this.xrLabel23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalAmount", "{0:$#,#}")}); + this.xrLabel23.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 6, 0, 0, 100F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(101.468F, 30.75446F); + this.xrLabel23.StylePriority.UseBorderColor = false; + this.xrLabel23.StylePriority.UseBorders = false; + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.StylePriority.UsePadding = false; + this.xrLabel23.StylePriority.UseTextAlignment = false; + this.xrLabel23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrTableRow23 + // + this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell51}); + this.xrTableRow23.Name = "xrTableRow23"; + this.xrTableRow23.Weight = 0.083749385919608343D; + // + // xrTableCell51 + // + this.xrTableCell51.BorderColor = System.Drawing.Color.Black; + this.xrTableCell51.Borders = DevExpress.XtraPrinting.BorderSide.Bottom; + this.xrTableCell51.BorderWidth = 2F; + this.xrTableCell51.Name = "xrTableCell51"; + this.xrTableCell51.StylePriority.UseBorderColor = false; + this.xrTableCell51.StylePriority.UseBorders = false; + this.xrTableCell51.StylePriority.UseBorderWidth = false; + this.xrTableCell51.Weight = 2.4884672936879064D; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable1, + this.xrTable5}); + this.GroupHeader1.GroupUnion = DevExpress.XtraReports.UI.GroupUnion.WithFirstDetail; + this.GroupHeader1.HeightF = 90.62494F; + this.GroupHeader1.Name = "GroupHeader1"; + // + // CustomerSalesDetailReport + // + 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.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, 100); + this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] { + this.paramOrderDate, + this.paramFromDate, + this.paramToDate}); + this.Version = "14.1"; + this.DataSourceDemanded += new System.EventHandler(this.CustomerSalesDetail_DataSourceDemanded); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.xrTable10)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable11)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + private void CustomerSalesDetail_DataSourceDemanded(object sender, EventArgs e) { + if(Equals(true, paramOrderDate.Value)) { + xrTableCell2.Text = "Sorted by Order Date"; + this.detailBand1.SortFields[0].FieldName = "OrderDate"; + } else { + xrTableCell2.Text = "Sorted by Invoice #"; + this.detailBand1.SortFields[0].FieldName = "InvoiceNumber"; + } + + xrTableCell41.Text = ((DateTime)paramFromDate.Value).ToString("MMMM d, yyyy") + " to " + ((DateTime)paramToDate.Value).ToString("MMMM d, yyyy"); + + UpdateChartFilter(); + } + + private void xrLabel11_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) { + CustomerSaleDetailOrderItemInfo currentOrderInfo = (CustomerSaleDetailOrderItemInfo)DetailReport.GetCurrentRow(); + if(currentOrderInfo != null) { + (sender as XRLabel).Text = EnumDisplayTextHelper.GetDisplayText(currentOrderInfo.ProductCategory); + } + } + class StoreInfo { + public StoreInfo(string city) { + this.City = city; + } + public string City { get; private set; } + public decimal TotalSales { get; set; } + } + Dictionary storeSales = new Dictionary(); + private void xrTableCell50_SummaryRowChanged(object sender, EventArgs e) { + CustomerSaleDetailOrderInfo currentInfo = (CustomerSaleDetailOrderInfo)GetCurrentRow(); + decimal total = currentInfo.OrderItems.Sum(x => x.Total); + if(storeSales.ContainsKey(currentInfo.StoreId)) { + storeSales[currentInfo.StoreId].TotalSales += total; + } else { + storeSales.Add(currentInfo.StoreId, new StoreInfo(currentInfo.StoreCity) { TotalSales = total }); + } + } + + private void xrTableCell50_SummaryGetResult(object sender, SummaryGetResultEventArgs e) { + e.Result = storeSales.Count == 0 ? " - " : storeSales.Values.Aggregate((x, y) => x.TotalSales > y.TotalSales ? x : y).City; + e.Handled = true; + } + + private void xrTableCell50_SummaryReset(object sender, EventArgs e) { + storeSales.Clear(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetailReport.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetailReport.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesDetailReport.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8Zk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fOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA + OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummary.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummary.cs new file mode 100644 index 0000000..134f69a --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummary.cs @@ -0,0 +1,1075 @@ +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 CustomerSalesSummary : 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 XRTable xrTable3; + private XRTableRow xrTableRow8; + private XRTableCell xrTableCell15; + private XRTableRow xrTableRow7; + private XRTableCell xrTableCell7; + private XRTableCell xrTableCell14; + private XRTableRow xrTableRow3; + private XRTableCell xrTableCell8; + private XRTableCell xrTableCell9; + private XRTableRow xrTableRow4; + private XRTableCell xrTableCell10; + private XRTableCell xrTableCell11; + private XRTableRow xrTableRow5; + private XRTableCell xrTableCell12; + private XRTableCell xrTableCell13; + private XRPictureBox xrPictureBox4; + private XRPageInfo xrPageInfo2; + private XRTable xrTable2; + private XRTableRow xrTableRow2; + private XRTableCell xrTableCell4; + private XRTableCell xrTableCell5; + 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 storeSales = new Dictionary(); + private XtraReports.Parameters.Parameter paramToDate; + + public CustomerSalesSummary() { + InitializeComponent(); + ParameterHelper.InitializeDateTimeParameters(paramFromDate, paramToDate); + } + + private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerSalesSummary)); + 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.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.xrPictureBox4 = 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.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.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.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.xrTable3)).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.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(); + // + // 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; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(178.5F, 55.12498F); + 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, 184.1186F); + 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, "Order.Customer.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.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 = "[Order.Customer.HomeOffice.Line]\r\n[Order.Customer.HomeOffice.CityLine]"; + this.xrTableCell8.Weight = 1.4122964395059121D; + // + // xrTableCell9 + // + this.xrTableCell9.Multiline = true; + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Text = "[Order.Customer.BillingAddress.Line]\r\n[Order.Customer.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, "Order.Customer.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, "Order.Customer.Fax")}); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.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, "Order.Customer.Image")}); + this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 57.12503F); + 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; + // + // 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.xrTable2, + this.xrPictureBox4, + this.xrTable3, + this.xrTable4}); + this.ReportHeader.HeightF = 630.4186F; + 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, 309.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, 357.1042F); + 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, 271.875F); + 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; + // + // 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(647.9999F, 37.5F); + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell4, + this.xrTableCell5}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 1.3333334941638817D; + // + // 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 = "Customer 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.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, 578.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; + // + // CustomerSalesSummary + // + 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(this.CustomerSalesSummary_DataSourceDemanded); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.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"; + } + + 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) { + e.Result = storeSales.Count == 0 ? " - " : storeSales.Aggregate((x, y) => x.Value > y.Value ? x : y).Key.City; + e.Handled = true; + } + + private void xrTableCell23_SummaryReset(object sender, EventArgs e) { + storeSales.Clear(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummary.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummary.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummary.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5 + QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk + n16kiV6kzhpt89qLAMhGAHkYQHye0Gtp9RoVVIx/l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SoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummaryReport.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummaryReport.cs new file mode 100644 index 0000000..fb592ea --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummaryReport.cs @@ -0,0 +1,1082 @@ +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 CustomerSalesSummaryReport : 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 XRTable xrTable3; + private XRTableRow xrTableRow8; + private XRTableCell xrTableCell15; + private XRTableRow xrTableRow7; + private XRTableCell xrTableCell7; + private XRTableCell xrTableCell14; + private XRTableRow xrTableRow3; + private XRTableCell xrTableCell8; + private XRTableCell xrTableCell9; + private XRTableRow xrTableRow4; + private XRTableCell xrTableCell10; + private XRTableCell xrTableCell11; + private XRTableRow xrTableRow5; + private XRTableCell xrTableCell12; + private XRTableCell xrTableCell13; + private XRPictureBox xrPictureBox4; + private XRPageInfo xrPageInfo2; + private XRTable xrTable2; + private XRTableRow xrTableRow2; + private XRTableCell xrTableCell4; + private XRTableCell xrTableCell5; + 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 CustomerSalesSummaryReport() { + InitializeComponent(); + ParameterHelper.InitializeDateTimeParameters(paramFromDate, paramToDate); + } + + private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomerSalesSummaryReport)); + 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.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.xrPictureBox4 = 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.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.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.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.xrTable3)).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.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(); + // + // 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; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(178.5F, 55.12498F); + 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, 184.1186F); + 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, "CustomerName")}); + 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.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 = "[CustomerHomeOfficeLine]\r\n[CustomerHomeOfficeCityLine]"; + this.xrTableCell8.Weight = 1.4122964395059121D; + // + // xrTableCell9 + // + this.xrTableCell9.Multiline = true; + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Text = "[CustomerBillingAddressLine]\r\n[CustomerBillingAddressCityLine]"; + 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, "CustomerPhone")}); + 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, "CustomerFax")}); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.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, "CustomerImage")}); + this.xrPictureBox4.LocationFloat = new DevExpress.Utils.PointFloat(10.00001F, 57.12503F); + 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; + // + // 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.CustomerSaleDetailOrderItemInfo); + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrChart1, + this.xrTable8, + this.xrTable1, + this.xrTable2, + this.xrPictureBox4, + this.xrTable3, + this.xrTable4}); + this.ReportHeader.HeightF = 630.4186F; + 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, 309.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, 357.1042F); + 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, 271.875F); + 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; + // + // 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(647.9999F, 37.5F); + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell4, + this.xrTableCell5}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 1.3333334941638817D; + // + // 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 = "Customer 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.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, 578.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; + // + // CustomerSalesSummaryReport + // + 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(this.CustomerSalesSummary_DataSourceDemanded); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.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) { + CustomerSaleDetailOrderItemInfo currentOrderInfo = (CustomerSaleDetailOrderItemInfo)GetCurrentRow(); + if(currentOrderInfo != null) { + (sender as XRLabel).Text = EnumDisplayTextHelper.GetDisplayText(currentOrderInfo.ProductCategory); + } + } + + 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) { + this.City = city; + } + public string City { get; private set; } + public decimal TotalSales { get; set; } + } + Dictionary storeSales = new Dictionary(); + private void xrTableCell23_SummaryRowChanged(object sender, EventArgs e) { + CustomerSaleDetailOrderItemInfo currentInfo = (CustomerSaleDetailOrderItemInfo)GetCurrentRow(); + if(storeSales.ContainsKey(currentInfo.StoreId)) { + storeSales[currentInfo.StoreId].TotalSales += currentInfo.Total; + } else { + storeSales.Add(currentInfo.StoreId, new StoreInfo(currentInfo.StoreCity) { TotalSales = currentInfo.Total }); + } + + } + + private void xrTableCell23_SummaryGetResult(object sender, SummaryGetResultEventArgs e) { + e.Result = storeSales.Count == 0 ? " - " : storeSales.Values.Aggregate((x, y) => x.TotalSales > y.TotalSales ? x : y).City; + e.Handled = true; + } + + private void xrTableCell23_SummaryReset(object sender, EventArgs e) { + storeSales.Clear(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummaryReport.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummaryReport.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Customers/CustomerSalesSummaryReport.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5 + QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk + n16kiV6kzhpt89qLAMhGAHkYQHye0Gtp9RoVVIx/lF5kPYCkqiSX8p1VNQyvTpJ/FoCoVC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QPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/DevExpress.DevAV.Reports.csproj b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/DevExpress.DevAV.Reports.csproj new file mode 100644 index 0000000..4a52d13 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/DevExpress.DevAV.Reports.csproj @@ -0,0 +1,147 @@ + + + netcoreapp3.0 + Library + false + false + false + SAK + SAK + SAK + SAK + true + Debug;Release + DevExpress.DevAV.Reports + DevExpress.DevAV.v19.1.Reports + + + ..\..\bin\ + DEBUG;TRACE + + + ..\..\bin\ + TRACE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SalesRevenueAnalysisReport.cs + + + SalesRevenueReport.cs + + + FedExGroundLabel.cs + + + CustomerContactsDirectory.cs + + + CustomerLocationsDirectory.cs + + + CustomerProfile.cs + + + CustomerSalesDetail.cs + + + CustomerSalesDetailReport.cs + + + CustomerSalesSummary.cs + + + CustomerSalesSummaryReport.cs + + + EmployeeDirectory.cs + + + EmployeeProfile.cs + + + EmployeeSummary.cs + + + EmployeeTaskList.cs + + + ProductProfile.cs + + + ProductOrders.cs + + + ProductSalesSummary.cs + + + ProductTopSalesperson.cs + + + SalesAnalysis.cs + + + SalesAnalysisReport.cs + + + SalesInvoice.cs + + + SalesOrdersSummary.cs + + + SalesOrdersSummaryReport.cs + + + TaskListReport.cs + + + TaskDetailReport.cs + + + + + + + + + + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeDirectory.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeDirectory.cs new file mode 100644 index 0000000..a5b4832 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeDirectory.cs @@ -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; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeDirectory.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeDirectory.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeDirectory.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9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Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA + OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeProfile.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeProfile.cs new file mode 100644 index 0000000..4948886 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeProfile.cs @@ -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(); + + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeProfile.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeProfile.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeProfile.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0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8kt1VUlmXxgWUHqKtOUlPeT83/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== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeSummary.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeSummary.cs new file mode 100644 index 0000000..5a94658 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeSummary.cs @@ -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; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeSummary.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeSummary.resx new file mode 100644 index 0000000..d07a894 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeSummary.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15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ZJNSk2I6A8k2xUkb9GTWCLCQqKBY5GkAchnABI8kt1VUlmXxgWUHqKtOUlPeT83/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== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeTaskList.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeTaskList.cs new file mode 100644 index 0000000..b771b59 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeTaskList.cs @@ -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 printer’s 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(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(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeTaskList.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeTaskList.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Employees/EmployeeTaskList.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + +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e4Xsoctw4XdLX9z42+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== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/EnumDisplayTextHelper.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/EnumDisplayTextHelper.cs new file mode 100644 index 0000000..0e1e23a --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/EnumDisplayTextHelper.cs @@ -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(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Images/droplet.png b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Images/droplet.png new file mode 100644 index 0000000..5af4793 Binary files /dev/null and b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Images/droplet.png differ diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ParameterHelper.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ParameterHelper.cs new file mode 100644 index 0000000..ece7943 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ParameterHelper.cs @@ -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); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductOrders.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductOrders.cs new file mode 100644 index 0000000..aa70a91 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductOrders.cs @@ -0,0 +1,1025 @@ +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 ProductOrders : 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 XRTable xrTable3; + private XRTableRow xrTableRow8; + private XRTableCell xrTableCell15; + private XRTableRow xrTableRow7; + private XRTableCell xrTableCell7; + private XRTableCell xrTableCell14; + private XRTableRow xrTableRow3; + private XRTableCell xrTableCell8; + private XRTableCell xrTableCell9; + private XRPictureBox xrPictureBox4; + private XRPageInfo xrPageInfo2; + private XRTable xrTable2; + private XRTableRow xrTableRow2; + private XRTableCell xrTableCell4; + private XRTableCell xrTableCell5; + 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 XRLabel xrLabel2; + private CalculatedField totalCost; + private XtraReports.Parameters.Parameter paramToDate; + IList states; + + public ProductOrders() { + InitializeComponent(); + ParameterHelper.InitializeDateTimeParameters(paramFromDate, paramToDate); + } + + public void SetStates(IList states) { + this.states = states; + } + + private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductOrders)); + 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.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.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.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + 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.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.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(); + this.totalCost = new DevExpress.XtraReports.UI.CalculatedField(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.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(); + // + // 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; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(208.3125F, 49.12503F); + 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(10.00001F, 51.85159F); + 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; + // + // 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.xrTable2, + this.xrPictureBox4, + this.xrTable3, + this.xrTable4}); + this.ReportHeader.HeightF = 605.3966F; + 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, 264.3151F); + this.xrChart1.Name = "xrChart1"; + series1.ArgumentDataMember = "Order.Store.Address.State"; + series1.ArgumentScaleType = DevExpress.XtraCharts.ScaleType.Qualitative; + pieSeriesLabel1.TextPattern = "{V:$#,#}"; + series1.Label = pieSeriesLabel1; + series1.LabelsVisibility = DevExpress.Utils.DefaultBoolean.False; + series1.LegendTextPattern = "{A} {V:$#,#}"; + 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(390.9943F, 284.4791F); + // + // xrTable8 + // + this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(407.0465F, 328.2069F); + 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, 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.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2}); + 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; + // + // xrLabel2 + // + this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "totalCost", "{0:$#,#}")}); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 6.103516E-05F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(242.9535F, 34.58945F); + this.xrLabel2.Text = "xrLabel2"; + // + // 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; + // + // 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, 230.2735F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow1}); + this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 29.29686F); + 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.94159332354853686D; + // + // 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.0676665025954248D; + // + // xrTable2 + // + this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 6.445313F); + this.xrTable2.Name = "xrTable2"; + this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2}); + this.xrTable2.SizeF = new System.Drawing.SizeF(650F, 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.0622411543511747D; + // + // 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, 563.666F); + this.xrTable4.Name = "xrTable4"; + this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow6}); + this.xrTable4.SizeF = new System.Drawing.SizeF(649.9999F, 28.64948F); + 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.80741964592598314D; + // + // 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 State | Sorted by Order Date"; + this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell6.Weight = 2.1925803540740167D; + // + // 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, "Order.Store.Address.State")}); + 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(1.598337E-05F, 7.999996F); + 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, "Order.Store.Address.State")}); + 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("Order.Store.Address.State", 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; + // + // totalCost + // + this.totalCost.Expression = "[][[Order.OrderDate] >= [Parameters.paramFromDate] And [Order.OrderDate] <=[Para" + + "meters.paramToDate]].Sum([ProductUnits]) * [Product.Cost]"; + this.totalCost.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal; + this.totalCost.Name = "totalCost"; + // + // ProductOrders + // + 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.totalCost}); + 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(this.CustomerSalesSummary_DataSourceDemanded); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).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.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) { + Order currentOrder = (Order)GetCurrentColumnValue("Order"); + if(currentOrder != null && states != null) + (sender as XRLabel).Text = states.Last(element => element.ShortName == currentOrder.Store.Address.State).LongName.ToUpper(); + } + + private void CustomerSalesSummary_DataSourceDemanded(object sender, EventArgs e) { + if(Equals(true, paramOrderDate.Value)) { + xrTableCell6.Text = "Grouped by State | Sorted by Order Date"; + this.detailBand1.SortFields[0].FieldName = "Order.OrderDate"; + } else { + xrTableCell6.Text = "Grouped by State | 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"); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductOrders.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductOrders.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductOrders.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77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XSqrq8rlwDe4Xsoctw4XdLX9z42+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== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductProfile.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductProfile.cs new file mode 100644 index 0000000..53ce0f6 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductProfile.cs @@ -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(); + + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductProfile.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductProfile.resx new file mode 100644 index 0000000..d07a894 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductProfile.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMh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W1swqBQ9Wu + fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg + Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/ + /QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA + OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductSalesSummary.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductSalesSummary.cs new file mode 100644 index 0000000..08edc7f --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductSalesSummary.cs @@ -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 = ""; + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductSalesSummary.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductSalesSummary.resx new file mode 100644 index 0000000..d07a894 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductSalesSummary.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + 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+sGgVt9V4cjx6UBRBRATcCn+GP8enwKQZwCkw6fsWlq9So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eW + 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== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductTopSalesperson.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductTopSalesperson.cs new file mode 100644 index 0000000..ab3b6bf --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductTopSalesperson.cs @@ -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; + } + + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductTopSalesperson.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductTopSalesperson.resx new file mode 100644 index 0000000..d07a894 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Products/ProductTopSalesperson.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5 + QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk + n16kiV6kzhpt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8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Properties/AssemblyInfo.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..f335747 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Properties/AssemblyInfo.cs @@ -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)] \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ReportFactory.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ReportFactory.cs new file mode 100644 index 0000000..4cfc9c9 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ReportFactory.cs @@ -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 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 employees, bool sortAscending) { + var report = new EmployeeSummary(); + report.DataSource = employees; + report.Parameters["paramAscending"].Value = sortAscending; + return report; + } + public static XtraReport EmployeeDirectory(IEnumerable 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 customerContacts, bool sortAscending) { + var report = new CustomerContactsDirectory(); + report.DataSource = customerContacts; + report.Parameters["paramAscending"].Value = sortAscending; + return report; + } + + public static XtraReport CustomerSalesDetail(IEnumerable orders, IEnumerable 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 orders, IEnumerable 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 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 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 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 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 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 sales, string years) { + var report = new SalesAnalysis(); + report.DataSource = sales; + report.Parameters["paramYears"].Value = years; + return report; + } + + public static XtraReport SalesAnalysisReport(IEnumerable sales, string years) { + var report = new SalesAnalysisReport(); + report.DataSource = sales; + report.Parameters["paramYears"].Value = years; + return report; + } + + public static XtraReport SalesRevenueAnalysisReport(IEnumerable sales, bool sortByOrderDate) { + var report = new SalesRevenueAnalysisReport(); + report.DataSource = sales; + report.Parameters["paramOrderDate"].Value = sortByOrderDate; + return report; + } + + public static XtraReport SalesRevenueReport(IEnumerable 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 sales, IList 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 sales, string years) { + var report = new ProductSalesSummary(); + report.DataSource = sales; + report.Parameters["paramYears"].Value = years; + return report; + } + public static XtraReport ProductTopSalesPerson(IEnumerable 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 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 + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ReportFinder.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ReportFinder.cs new file mode 100644 index 0000000..2d8c915 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/ReportFinder.cs @@ -0,0 +1,9 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace DevExpress.DevAV.Reports { + public static class ReportFinder { + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/CellsHelper.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/CellsHelper.cs new file mode 100644 index 0000000..f82ec85 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/CellsHelper.cs @@ -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 OrderCells { get { return orderCells; } } + public static List OrderItemCells { get { return orderItemCells; } } + public static Dictionary CustomEditorsConfig { get { return customEditorsConfig; } } + public static string InvoiceWorksheetName { get { return "Invoice"; } } + public static string InvoiceWorksheetPassword { get { return "123"; } } + + static Dictionary customEditorsConfig = CreateCustomEditorsConfig(); + static List orderCells = CreateOrderCells(); + static List orderItemCells = CreateOrderItemCells(); + static Dictionary cellsPosition = orderCells.ToDictionary(x => x.Cell, y => y.CellRange); + + public static void GenerateEditors(List 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(CellsKind cell, Worksheet invoice, IEnumerable source, Func 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 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 CreateOrderCells() { + var result = new List(); + 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 CreateOrderItemCells() { + var result = new List(); + 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 CreateCustomEditorsConfig() { + var result = new Dictionary(); + 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; + } + } + + +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/Enums.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/Enums.cs new file mode 100644 index 0000000..2e145d8 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/Enums.cs @@ -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 + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/InvoiceHelper.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/InvoiceHelper.cs new file mode 100644 index 0000000..720d913 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/InvoiceHelper.cs @@ -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 actualOrderItems; + + public Worksheet Invoice { get { return invoice; } } + + public InvoiceHelper(IWorkbook workbook, Tuple 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(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(CellsKind.CustomerName, Invoice, source.Customers, x => x.Name); + CellsHelper.CreateCollectionEditor(CellsKind.EmployeeName, Invoice, source.Employees, x => x.FullName); + UpdateCollectionEditors(); + } + void UpdateCollectionEditors() { + CellsHelper.RemoveEditor(CellsKind.CustomerStoreName, Invoice); + CellsHelper.CreateCollectionEditor(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(); + Products = Enumerable.Empty(); + Employees = Enumerable.Empty(); + CustomerStores = Enumerable.Empty(); + } + public IEnumerable Customers { get; set; } + public IEnumerable Products { get; set; } + public IEnumerable Employees { get; set; } + public IEnumerable 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(); + CreateOrderItem = () => null; + AddOrderItem = x => { }; + RemoveOrderItem = x => { }; + IsDefaultActions = true; + } + + public Action ActivateEditor { get; set; } + public Action CloseEditor { get; set; } + public Func> GetCustomerStores { get; set; } + public Func CreateOrderItem { get; set; } + public Action AddOrderItem { get; set; } + public Action RemoveOrderItem { get; set; } + + public bool IsDefaultActions { get; set; } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/OrderPropertiesHelper.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/OrderPropertiesHelper.cs new file mode 100644 index 0000000..8bf8d77 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/InvoiceHelper/OrderPropertiesHelper.cs @@ -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> Setters { get { return propertySetters; } } + static Dictionary> propertySetters = CreatePropertySetters(); + + static Dictionary> CreatePropertySetters() { + var result = new Dictionary>(); + 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 setValue) { + if(value.IsNumeric) + setValue.Invoke(value.NumericValue.ToString("F0")); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysis.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysis.cs new file mode 100644 index 0000000..c7dd3c7 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysis.cs @@ -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; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysis.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysis.resx new file mode 100644 index 0000000..d07a894 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysis.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVcl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+ fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg + Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/ + /QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA + OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysisReport.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysisReport.cs new file mode 100644 index 0000000..42cb1eb --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysisReport.cs @@ -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; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysisReport.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysisReport.resx new file mode 100644 index 0000000..d07a894 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesAnalysisReport.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5 + QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLA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Pd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.cs new file mode 100644 index 0000000..be74a2b --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.cs @@ -0,0 +1,1093 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace DevExpress.DevAV.Reports { + public class SalesInvoice : 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.ReportFooterBand ReportFooter1; + private XtraReports.UI.XRTable xrTableHeader; + 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.XRTableRow xrTableRow3; + private XtraReports.UI.XRTableCell xrTableCell3; + private XtraReports.UI.XRPictureBox xrPictureBoxLogo; + private XtraReports.UI.XRTable xrTable3; + private XtraReports.UI.XRTableRow xrTableRow4; + private XtraReports.UI.XRTableCell xrTableCell2; + private XtraReports.UI.XRTableCell xrTableCell6; + 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.XRTable xrTable4; + private XtraReports.UI.XRTableRow xrTableRow7; + private XtraReports.UI.XRTableCell xrTableCell11; + private XtraReports.UI.XRTableCell xrTableCell12; + private XtraReports.UI.XRTableCell xrTableCell14; + private XtraReports.UI.XRTableCell xrTableCell15; + private XtraReports.UI.XRTableCell xrTableCell16; + private XtraReports.UI.XRTableCell xrTableCell17; + private XtraReports.UI.XRTableRow xrTableRow8; + private XtraReports.UI.XRTableCell xrTableCell13; + private XtraReports.UI.XRTableCell xrTableCell18; + private XtraReports.UI.XRTableCell xrTableCell19; + private XtraReports.UI.XRTableCell xrTableCell20; + private XtraReports.UI.XRTableCell xrTableCell21; + private XtraReports.UI.XRTableCell xrTableCell22; + private XtraReports.UI.XRTable xrTable6; + private XtraReports.UI.XRTableRow xrTableRow10; + private XtraReports.UI.XRTableCell xrTableCell28; + private XtraReports.UI.XRTableCell xrTableCell29; + private XtraReports.UI.XRTableRow xrTableRow11; + private XtraReports.UI.XRTableCell xrTableCell30; + private XtraReports.UI.XRTableCell xrTableCell31; + private XtraReports.UI.XRTableRow xrTableRow12; + private XtraReports.UI.XRTableCell xrTableCell32; + private XtraReports.UI.XRTableCell xrTableCell33; + private XtraReports.UI.GroupHeaderBand GroupHeader1; + private XtraReports.UI.XRTable xrTable5; + private XtraReports.UI.XRTableRow xrTableRow9; + private XtraReports.UI.XRTableCell xrTableCell23; + private XtraReports.UI.XRTableCell xrTableCell24; + private XtraReports.UI.XRTableCell xrTableCell26; + private XtraReports.UI.XRTableCell xrTableCell27; + private XtraReports.UI.XRTableCell xrTableCell25; + private XtraReports.UI.XRLabel xrLabel4; + private XtraReports.UI.XRLabel xrLabel3; + private XtraReports.UI.XRLabel xrLabel2; + private XtraReports.UI.XRLabel xrLabel1; + private XtraReports.UI.XRCrossBandBox xrCrossBandBox1; + private XtraReports.UI.XRCrossBandLine xrCrossBandLine1; + private XtraReports.UI.XRCrossBandLine xrCrossBandLine2; + private XtraReports.UI.XRCrossBandLine xrCrossBandLine3; + private XtraReports.UI.XRCrossBandLine xrCrossBandLine4; + private XtraReports.UI.DetailBand Detail; + private XtraReports.UI.XRLabel xrLabel6; + private XtraReports.UI.DetailReportBand DetailReport; + private XtraReports.UI.XRLabel xrLabel5; + private XtraReports.UI.XRLabel xrLabel8; + private XtraReports.UI.XRPageInfo xrPageInfo1; + private XtraReports.Parameters.Parameter paramShowHeader; + private XtraReports.Parameters.Parameter paramShowFooter; + private XtraReports.Parameters.Parameter paramShowStatus; + private XtraReports.Parameters.Parameter paramShowComments; + private XtraReports.UI.PageFooterBand PageFooter; + private XtraReports.UI.XRTable xrTable7; + private XtraReports.UI.XRTableRow xrTableRow13; + private XtraReports.UI.XRTableCell xrTableCell34; + private XtraReports.UI.XRPanel xrPanelComments; + private XtraReports.UI.BottomMarginBand bottomMarginBand1; + + public SalesInvoice() { + InitializeComponent(); + } + + private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SalesInvoice)); + DevExpress.XtraReports.UI.XRSummary xrSummary1 = new DevExpress.XtraReports.UI.XRSummary(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.detailBand1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTable3 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell(); + 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.xrTable1 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrPictureBoxLogo = new DevExpress.XtraReports.UI.XRPictureBox(); + this.xrTableHeader = 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.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo(); + this.ReportFooter1 = new DevExpress.XtraReports.UI.ReportFooterBand(); + this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell28 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableRow12 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell32 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell33 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrPanelComments = new DevExpress.XtraReports.UI.XRPanel(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell24 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell26 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell27 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell25 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrCrossBandBox1 = new DevExpress.XtraReports.UI.XRCrossBandBox(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrCrossBandLine1 = new DevExpress.XtraReports.UI.XRCrossBandLine(); + this.xrCrossBandLine2 = new DevExpress.XtraReports.UI.XRCrossBandLine(); + this.xrCrossBandLine3 = new DevExpress.XtraReports.UI.XRCrossBandLine(); + this.xrCrossBandLine4 = new DevExpress.XtraReports.UI.XRCrossBandLine(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.paramShowHeader = new DevExpress.XtraReports.Parameters.Parameter(); + this.paramShowFooter = new DevExpress.XtraReports.Parameters.Parameter(); + this.paramShowStatus = new DevExpress.XtraReports.Parameters.Parameter(); + this.paramShowComments = new DevExpress.XtraReports.Parameters.Parameter(); + this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); + this.xrTable7 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow13 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell34 = new DevExpress.XtraReports.UI.XRTableCell(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // topMarginBand1 + // + this.topMarginBand1.HeightF = 48F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // 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; + // + // xrLabel4 + // + this.xrLabel4.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Discount", "{0:$#,#}")}); + this.xrLabel4.Font = new System.Drawing.Font("Arial Narrow", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(511.9698F, 1.279825F); + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(92.11032F, 29.45825F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.StylePriority.UsePadding = false; + this.xrLabel4.StylePriority.UseTextAlignment = false; + this.xrLabel4.Text = "xrLabel4"; + this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel3 + // + this.xrLabel3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.ProductPrice", "{0:$#,#}")}); + this.xrLabel3.Font = new System.Drawing.Font("Arial Narrow", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(405.77F, 1.279825F); + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 8, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(105F, 29.45825F); + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.StylePriority.UsePadding = false; + this.xrLabel3.StylePriority.UseTextAlignment = false; + this.xrLabel3.Text = "xrLabel3"; + this.xrLabel3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrLabel2 + // + this.xrLabel2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Product.Name")}); + this.xrLabel2.Font = new System.Drawing.Font("Arial Narrow", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(183.1908F, 1.279831F); + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(220.9593F, 29.45824F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.StylePriority.UsePadding = false; + this.xrLabel2.StylePriority.UseTextAlignment = false; + this.xrLabel2.Text = "xrLabel2"; + this.xrLabel2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrLabel1 + // + this.xrLabel1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.ProductUnits")}); + this.xrLabel1.Font = new System.Drawing.Font("Arial Narrow", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(2.4194F, 1.279825F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(178.6885F, 29.45825F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.Text = "xrLabel1"; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.bottomMarginBand1.HeightF = 94.20573F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + this.bottomMarginBand1.StylePriority.UseFont = false; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(DevExpress.DevAV.Order); + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable4, + this.xrTable3, + this.xrTable1, + this.xrPictureBoxLogo, + this.xrTableHeader}); + this.ReportHeader.HeightF = 441.7458F; + this.ReportHeader.Name = "ReportHeader"; + // + // xrTable4 + // + this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable4.Font = new System.Drawing.Font("Segoe UI", 11F); + this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 337.4106F); + this.xrTable4.Name = "xrTable4"; + this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow7, + this.xrTableRow8}); + this.xrTable4.SizeF = new System.Drawing.SizeF(738.0317F, 67.80725F); + this.xrTable4.StylePriority.UseBorders = false; + this.xrTable4.StylePriority.UseFont = false; + this.xrTable4.StylePriority.UseTextAlignment = false; + this.xrTable4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // xrTableRow7 + // + this.xrTableRow7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); + this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell11, + this.xrTableCell12, + this.xrTableCell14, + this.xrTableCell15, + this.xrTableCell16, + this.xrTableCell17}); + this.xrTableRow7.Name = "xrTableRow7"; + this.xrTableRow7.StylePriority.UseBackColor = false; + this.xrTableRow7.Weight = 1.3351953125D; + // + // xrTableCell11 + // + this.xrTableCell11.Name = "xrTableCell11"; + this.xrTableCell11.Text = "Sales Rep."; + this.xrTableCell11.Weight = 0.87337124463981453D; + // + // xrTableCell12 + // + this.xrTableCell12.Name = "xrTableCell12"; + this.xrTableCell12.Text = "PO #"; + this.xrTableCell12.Weight = 0.542657708540922D; + // + // xrTableCell14 + // + this.xrTableCell14.Name = "xrTableCell14"; + this.xrTableCell14.Text = "Ship Date"; + this.xrTableCell14.Weight = 0.76259622302369945D; + // + // xrTableCell15 + // + this.xrTableCell15.Name = "xrTableCell15"; + this.xrTableCell15.Text = "Ship Via"; + this.xrTableCell15.Weight = 0.74244572182261748D; + // + // xrTableCell16 + // + this.xrTableCell16.Name = "xrTableCell16"; + this.xrTableCell16.Text = "FOB"; + this.xrTableCell16.Weight = 0.75802148176866191D; + // + // xrTableCell17 + // + this.xrTableCell17.Name = "xrTableCell17"; + this.xrTableCell17.Text = "Terms"; + this.xrTableCell17.Weight = 0.78187486628821778D; + // + // xrTableRow8 + // + this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell13, + this.xrTableCell18, + this.xrTableCell19, + this.xrTableCell20, + this.xrTableCell21, + this.xrTableCell22}); + this.xrTableRow8.Name = "xrTableRow8"; + this.xrTableRow8.Weight = 1.3770947265625D; + // + // xrTableCell13 + // + this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Employee.FullName")}); + this.xrTableCell13.Name = "xrTableCell13"; + this.xrTableCell13.Weight = 0.87337124463981453D; + // + // xrTableCell18 + // + this.xrTableCell18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "PONumber")}); + this.xrTableCell18.Name = "xrTableCell18"; + this.xrTableCell18.Weight = 0.54265752408010282D; + // + // xrTableCell19 + // + this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ShipDate", "{0:MM/dd/yyyy}")}); + this.xrTableCell19.Name = "xrTableCell19"; + this.xrTableCell19.Weight = 0.76259663806054245D; + // + // xrTableCell20 + // + this.xrTableCell20.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ShipmentCourier")}); + this.xrTableCell20.Name = "xrTableCell20"; + this.xrTableCell20.Weight = 0.742445583477003D; + // + // xrTableCell21 + // + this.xrTableCell21.Name = "xrTableCell21"; + this.xrTableCell21.Text = " - "; + this.xrTableCell21.Weight = 0.75802138953825215D; + // + // xrTableCell22 + // + this.xrTableCell22.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderTerms")}); + this.xrTableCell22.Name = "xrTableCell22"; + this.xrTableCell22.Weight = 0.7818748662882179D; + // + // xrTable3 + // + this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 184.8101F); + this.xrTable3.Name = "xrTable3"; + this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow4, + this.xrTableRow5, + this.xrTableRow6}); + this.xrTable3.SizeF = new System.Drawing.SizeF(747.0001F, 100.1396F); + // + // xrTableRow4 + // + this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell2, + this.xrTableCell6}); + this.xrTableRow4.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableRow4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166))))); + this.xrTableRow4.Name = "xrTableRow4"; + this.xrTableRow4.StylePriority.UseFont = false; + this.xrTableRow4.StylePriority.UseForeColor = false; + this.xrTableRow4.Weight = 0.8269312838050884D; + // + // xrTableCell2 + // + this.xrTableCell2.CanGrow = false; + this.xrTableCell2.Name = "xrTableCell2"; + this.xrTableCell2.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrTableCell2.StylePriority.UsePadding = false; + this.xrTableCell2.Text = "BILLING ADDRESS"; + this.xrTableCell2.Weight = 1.3551172785937633D; + // + // xrTableCell6 + // + this.xrTableCell6.CanGrow = false; + this.xrTableCell6.Name = "xrTableCell6"; + this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrTableCell6.StylePriority.UsePadding = false; + this.xrTableCell6.Text = "SHIPPING ADDRESS"; + this.xrTableCell6.Weight = 1.6448827214062367D; + // + // xrTableRow5 + // + this.xrTableRow5.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell7, + this.xrTableCell8}); + this.xrTableRow5.Font = new System.Drawing.Font("Segoe UI", 11F, System.Drawing.FontStyle.Bold); + this.xrTableRow5.Name = "xrTableRow5"; + this.xrTableRow5.StylePriority.UseFont = false; + this.xrTableRow5.Weight = 0.879773087130504D; + // + // xrTableCell7 + // + this.xrTableCell7.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Customer.Name")}); + this.xrTableCell7.Name = "xrTableCell7"; + this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrTableCell7.StylePriority.UsePadding = false; + this.xrTableCell7.Weight = 1.3551172785937633D; + // + // xrTableCell8 + // + this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Customer.Name")}); + this.xrTableCell8.Name = "xrTableCell8"; + this.xrTableCell8.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrTableCell8.StylePriority.UsePadding = false; + this.xrTableCell8.Weight = 1.6448827214062367D; + // + // xrTableRow6 + // + this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell9, + this.xrTableCell10}); + this.xrTableRow6.Font = new System.Drawing.Font("Segoe UI", 10F); + this.xrTableRow6.Name = "xrTableRow6"; + this.xrTableRow6.StylePriority.UseFont = false; + this.xrTableRow6.Weight = 2.2988821654829317D; + // + // xrTableCell9 + // + this.xrTableCell9.Multiline = true; + this.xrTableCell9.Name = "xrTableCell9"; + this.xrTableCell9.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrTableCell9.StylePriority.UsePadding = false; + this.xrTableCell9.Text = "Home Office\r\n[Customer.HomeOffice.Line]\r\n[Customer.HomeOffice.CityLine]"; + this.xrTableCell9.Weight = 1.3551172785937633D; + // + // xrTableCell10 + // + this.xrTableCell10.Multiline = true; + this.xrTableCell10.Name = "xrTableCell10"; + this.xrTableCell10.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrTableCell10.StylePriority.UsePadding = false; + this.xrTableCell10.Text = "[Store.City] Store\r\n[Store.Address.Line]\r\n[Store.Address.CityLine]"; + this.xrTableCell10.Weight = 1.6448827214062367D; + // + // xrTable1 + // + this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 56.45351F); + this.xrTable1.Name = "xrTable1"; + this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow1, + this.xrTableRow3}); + this.xrTable1.SizeF = new System.Drawing.SizeF(216.7917F, 63.49998F); + this.xrTable1.StylePriority.UseFont = false; + this.xrTable1.StylePriority.UsePadding = false; + this.xrTable1.StylePriority.UseTextAlignment = false; + this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + // + // xrTableRow1 + // + this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell1}); + this.xrTableRow1.Font = new System.Drawing.Font("Segoe UI", 14F); + this.xrTableRow1.Name = "xrTableRow1"; + this.xrTableRow1.StylePriority.UseFont = false; + this.xrTableRow1.Weight = 11.5D; + // + // xrTableCell1 + // + this.xrTableCell1.CanGrow = false; + this.xrTableCell1.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderDate", "{0:MM/dd/yy}")}); + this.xrTableCell1.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrTableCell1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(166)))), ((int)(((byte)(166)))), ((int)(((byte)(166))))); + this.xrTableCell1.Name = "xrTableCell1"; + this.xrTableCell1.StylePriority.UseFont = false; + this.xrTableCell1.StylePriority.UseForeColor = false; + this.xrTableCell1.Text = "xrTableCell1"; + this.xrTableCell1.Weight = 0.3656307129798903D; + // + // xrTableRow3 + // + this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell3}); + this.xrTableRow3.Name = "xrTableRow3"; + this.xrTableRow3.Weight = 8.7438043212890619D; + // + // xrTableCell3 + // + this.xrTableCell3.CanGrow = false; + this.xrTableCell3.Font = new System.Drawing.Font("Segoe UI", 16F, System.Drawing.FontStyle.Bold); + this.xrTableCell3.Name = "xrTableCell3"; + this.xrTableCell3.StylePriority.UseFont = false; + this.xrTableCell3.Text = "Invoice # [InvoiceNumber]"; + this.xrTableCell3.Weight = 0.3656307129798903D; + // + // xrPictureBoxLogo + // + this.xrPictureBoxLogo.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBoxLogo.Image"))); + this.xrPictureBoxLogo.LocationFloat = new DevExpress.Utils.PointFloat(531.7613F, 60.41667F); + this.xrPictureBoxLogo.Name = "xrPictureBoxLogo"; + this.xrPictureBoxLogo.SizeF = new System.Drawing.SizeF(201.0721F, 59.53684F); + this.xrPictureBoxLogo.Sizing = DevExpress.XtraPrinting.ImageSizeMode.StretchImage; + // + // xrTableHeader + // + this.xrTableHeader.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTableHeader.Name = "xrTableHeader"; + this.xrTableHeader.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow2}); + this.xrTableHeader.SizeF = new System.Drawing.SizeF(747F, 22.46094F); + // + // xrTableRow2 + // + this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell4, + this.xrTableCell5}); + this.xrTableRow2.Name = "xrTableRow2"; + this.xrTableRow2.Weight = 0.81850549162585273D; + // + // 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.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell4.Weight = 2.0743676514315035D; + // + // xrTableCell5 + // + this.xrTableCell5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(217)))), ((int)(((byte)(217)))), ((int)(((byte)(217))))); + this.xrTableCell5.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrPageInfo1}); + this.xrTableCell5.Name = "xrTableCell5"; + this.xrTableCell5.StylePriority.UseBackColor = false; + this.xrTableCell5.Weight = 0.89785498948665832D; + // + // xrPageInfo1 + // + this.xrPageInfo1.ForeColor = System.Drawing.Color.Black; + 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(0, 10, 0, 0, 100F); + this.xrPageInfo1.SizeF = new System.Drawing.SizeF(225.6552F, 22.46094F); + this.xrPageInfo1.StylePriority.UseForeColor = false; + this.xrPageInfo1.StylePriority.UsePadding = false; + this.xrPageInfo1.StylePriority.UseTextAlignment = false; + this.xrPageInfo1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // ReportFooter1 + // + this.ReportFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable6, + this.xrPanelComments}); + this.ReportFooter1.HeightF = 138.7163F; + this.ReportFooter1.Name = "ReportFooter1"; + this.ReportFooter1.PrintAtBottom = true; + // + // xrTable6 + // + this.xrTable6.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(404.15F, 1F); + this.xrTable6.Name = "xrTable6"; + this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow10, + this.xrTableRow11, + this.xrTableRow12}); + this.xrTable6.SizeF = new System.Drawing.SizeF(333.8817F, 120.0418F); + this.xrTable6.StylePriority.UseBorders = false; + // + // xrTableRow10 + // + this.xrTableRow10.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell28, + this.xrTableCell29}); + this.xrTableRow10.Name = "xrTableRow10"; + this.xrTableRow10.StylePriority.UseBorders = false; + this.xrTableRow10.Weight = 1.460894422478543D; + // + // xrTableCell28 + // + this.xrTableCell28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); + this.xrTableCell28.Font = new System.Drawing.Font("Segoe UI", 12F); + this.xrTableCell28.Name = "xrTableCell28"; + this.xrTableCell28.StylePriority.UseBackColor = false; + this.xrTableCell28.StylePriority.UseFont = false; + this.xrTableCell28.StylePriority.UseTextAlignment = false; + this.xrTableCell28.Text = "SUB TOTAL"; + this.xrTableCell28.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell28.Weight = 1.8420703793542417D; + // + // xrTableCell29 + // + this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total")}); + this.xrTableCell29.Font = new System.Drawing.Font("Segoe UI", 12F); + this.xrTableCell29.Name = "xrTableCell29"; + this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrTableCell29.StylePriority.UseFont = false; + this.xrTableCell29.StylePriority.UsePadding = false; + this.xrTableCell29.StylePriority.UseTextAlignment = false; + xrSummary1.FormatString = "{0:$#,#}"; + xrSummary1.Running = DevExpress.XtraReports.UI.SummaryRunning.Report; + this.xrTableCell29.Summary = xrSummary1; + this.xrTableCell29.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell29.Weight = 1.2176832235359758D; + // + // xrTableRow11 + // + this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell30, + this.xrTableCell31}); + this.xrTableRow11.Name = "xrTableRow11"; + this.xrTableRow11.Weight = 1.460894422478543D; + // + // xrTableCell30 + // + this.xrTableCell30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); + this.xrTableCell30.Font = new System.Drawing.Font("Segoe UI", 12F); + this.xrTableCell30.Name = "xrTableCell30"; + this.xrTableCell30.StylePriority.UseBackColor = false; + this.xrTableCell30.StylePriority.UseFont = false; + this.xrTableCell30.StylePriority.UseTextAlignment = false; + this.xrTableCell30.Text = "SHIPPING"; + this.xrTableCell30.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell30.Weight = 1.8420720573667064D; + // + // xrTableCell31 + // + this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "ShippingAmount", "{0:$#,#}")}); + this.xrTableCell31.Font = new System.Drawing.Font("Segoe UI", 12F); + this.xrTableCell31.Name = "xrTableCell31"; + this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrTableCell31.StylePriority.UseFont = false; + this.xrTableCell31.StylePriority.UsePadding = false; + this.xrTableCell31.StylePriority.UseTextAlignment = false; + this.xrTableCell31.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell31.Weight = 1.217681545523511D; + // + // xrTableRow12 + // + this.xrTableRow12.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell32, + this.xrTableCell33}); + this.xrTableRow12.Name = "xrTableRow12"; + this.xrTableRow12.Weight = 1.879889379747778D; + // + // xrTableCell32 + // + this.xrTableCell32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); + this.xrTableCell32.Font = new System.Drawing.Font("Arial Narrow", 18F); + this.xrTableCell32.Name = "xrTableCell32"; + this.xrTableCell32.StylePriority.UseBackColor = false; + this.xrTableCell32.StylePriority.UseFont = false; + this.xrTableCell32.StylePriority.UseTextAlignment = false; + this.xrTableCell32.Text = "TOTAL DUE"; + this.xrTableCell32.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell32.Weight = 1.8420720573667064D; + // + // xrTableCell33 + // + this.xrTableCell33.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "TotalAmount", "{0:$#,#}")}); + this.xrTableCell33.Font = new System.Drawing.Font("Segoe UI", 14F, System.Drawing.FontStyle.Bold); + this.xrTableCell33.Name = "xrTableCell33"; + this.xrTableCell33.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrTableCell33.StylePriority.UseFont = false; + this.xrTableCell33.StylePriority.UsePadding = false; + this.xrTableCell33.StylePriority.UseTextAlignment = false; + this.xrTableCell33.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell33.Weight = 1.217681545523511D; + // + // xrPanelComments + // + this.xrPanelComments.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel8, + this.xrLabel5}); + this.xrPanelComments.LocationFloat = new DevExpress.Utils.PointFloat(9.999998F, 37.52232F); + this.xrPanelComments.Name = "xrPanelComments"; + this.xrPanelComments.SizeF = new System.Drawing.SizeF(375.75F, 83.51949F); + // + // xrLabel8 + // + this.xrLabel8.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Comments")}); + this.xrLabel8.Font = new System.Drawing.Font("Arial Narrow", 12.75F); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(134.4924F, 0F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(241.2576F, 83.51948F); + this.xrLabel8.StylePriority.UseBorders = false; + this.xrLabel8.StylePriority.UseFont = false; + this.xrLabel8.Text = "Comments"; + // + // xrLabel5 + // + this.xrLabel5.CanGrow = false; + this.xrLabel5.Font = new System.Drawing.Font("Arial Narrow", 12.75F); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(100F, 23F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.Text = "Comments"; + // + // GroupHeader1 + // + this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable5}); + this.GroupHeader1.HeightF = 36F; + this.GroupHeader1.Name = "GroupHeader1"; + // + // xrTable5 + // + this.xrTable5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(242)))), ((int)(((byte)(242)))), ((int)(((byte)(242))))); + this.xrTable5.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTable5.Font = new System.Drawing.Font("Arial Narrow", 13F); + this.xrTable5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(113)))), ((int)(((byte)(112)))), ((int)(((byte)(116))))); + this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable5.Name = "xrTable5"; + this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow9}); + this.xrTable5.SizeF = new System.Drawing.SizeF(738.0317F, 35F); + this.xrTable5.StylePriority.UseBackColor = false; + this.xrTable5.StylePriority.UseBorders = false; + this.xrTable5.StylePriority.UseFont = false; + this.xrTable5.StylePriority.UseForeColor = false; + // + // xrTableRow9 + // + this.xrTableRow9.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right))); + this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell23, + this.xrTableCell24, + this.xrTableCell26, + this.xrTableCell27, + this.xrTableCell25}); + this.xrTableRow9.Name = "xrTableRow9"; + this.xrTableRow9.StylePriority.UseBorders = false; + this.xrTableRow9.Weight = 1.1553719643170166D; + // + // xrTableCell23 + // + this.xrTableCell23.Name = "xrTableCell23"; + this.xrTableCell23.StylePriority.UseTextAlignment = false; + this.xrTableCell23.Text = "Quantity"; + this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell23.Weight = 0.74283632613826966D; + // + // xrTableCell24 + // + this.xrTableCell24.Name = "xrTableCell24"; + this.xrTableCell24.Padding = new DevExpress.XtraPrinting.PaddingInfo(7, 0, 0, 0, 100F); + this.xrTableCell24.StylePriority.UsePadding = false; + this.xrTableCell24.StylePriority.UseTextAlignment = false; + this.xrTableCell24.Text = "Description"; + this.xrTableCell24.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft; + this.xrTableCell24.Weight = 0.90976289799882426D; + // + // xrTableCell26 + // + this.xrTableCell26.Name = "xrTableCell26"; + this.xrTableCell26.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 8, 0, 0, 100F); + this.xrTableCell26.StylePriority.UsePadding = false; + this.xrTableCell26.StylePriority.UseTextAlignment = false; + this.xrTableCell26.Text = "Unit price"; + this.xrTableCell26.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell26.Weight = 0.4349010466082886D; + // + // xrTableCell27 + // + this.xrTableCell27.Name = "xrTableCell27"; + this.xrTableCell27.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 6, 0, 0, 100F); + this.xrTableCell27.StylePriority.UsePadding = false; + this.xrTableCell27.StylePriority.UseTextAlignment = false; + this.xrTableCell27.Text = "Discount"; + this.xrTableCell27.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell27.Weight = 0.38092685018935046D; + // + // xrTableCell25 + // + this.xrTableCell25.Name = "xrTableCell25"; + this.xrTableCell25.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 7, 0, 0, 100F); + this.xrTableCell25.StylePriority.UsePadding = false; + this.xrTableCell25.StylePriority.UseTextAlignment = false; + this.xrTableCell25.Text = "Total"; + this.xrTableCell25.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + this.xrTableCell25.Weight = 0.54199066346430813D; + // + // xrCrossBandBox1 + // + this.xrCrossBandBox1.BorderWidth = 1F; + this.xrCrossBandBox1.EndBand = this.ReportFooter1; + this.xrCrossBandBox1.EndPointFloat = new DevExpress.Utils.PointFloat(0F, 1.000002F); + this.xrCrossBandBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 35F); + this.xrCrossBandBox1.Name = "xrCrossBandBox1"; + this.xrCrossBandBox1.StartBand = this.GroupHeader1; + this.xrCrossBandBox1.StartPointFloat = new DevExpress.Utils.PointFloat(0F, 35F); + this.xrCrossBandBox1.WidthF = 738.0316F; + // + // Detail + // + this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel6, + this.xrLabel2, + this.xrLabel1, + this.xrLabel3, + this.xrLabel4}); + this.Detail.HeightF = 32.02937F; + this.Detail.Name = "Detail"; + this.Detail.SortFields.AddRange(new DevExpress.XtraReports.UI.GroupField[] { + new DevExpress.XtraReports.UI.GroupField("ProductUnits", DevExpress.XtraReports.UI.XRColumnSortOrder.Ascending)}); + // + // xrLabel6 + // + this.xrLabel6.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "OrderItems.Total", "{0:$#,#}")}); + this.xrLabel6.Font = new System.Drawing.Font("Arial Narrow", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(605.619F, 1.27982F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 7, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(129.8586F, 29.45824F); + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.StylePriority.UsePadding = false; + this.xrLabel6.StylePriority.UseTextAlignment = false; + this.xrLabel6.Text = "xrLabel5"; + this.xrLabel6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleRight; + // + // xrCrossBandLine1 + // + this.xrCrossBandLine1.EndBand = this.ReportFooter1; + this.xrCrossBandLine1.EndPointFloat = new DevExpress.Utils.PointFloat(510.77F, 0F); + this.xrCrossBandLine1.LocationFloat = new DevExpress.Utils.PointFloat(510.77F, 0F); + this.xrCrossBandLine1.Name = "xrCrossBandLine1"; + this.xrCrossBandLine1.StartBand = this.Detail; + this.xrCrossBandLine1.StartPointFloat = new DevExpress.Utils.PointFloat(510.77F, 0F); + this.xrCrossBandLine1.WidthF = 1F; + // + // xrCrossBandLine2 + // + this.xrCrossBandLine2.EndBand = this.ReportFooter1; + this.xrCrossBandLine2.EndPointFloat = new DevExpress.Utils.PointFloat(181.11F, 0F); + this.xrCrossBandLine2.LocationFloat = new DevExpress.Utils.PointFloat(181.11F, 0F); + this.xrCrossBandLine2.Name = "xrCrossBandLine2"; + this.xrCrossBandLine2.StartBand = this.Detail; + this.xrCrossBandLine2.StartPointFloat = new DevExpress.Utils.PointFloat(181.11F, 0F); + this.xrCrossBandLine2.WidthF = 1.077576F; + // + // xrCrossBandLine3 + // + this.xrCrossBandLine3.EndBand = this.ReportFooter1; + this.xrCrossBandLine3.EndPointFloat = new DevExpress.Utils.PointFloat(404.15F, 0F); + this.xrCrossBandLine3.LocationFloat = new DevExpress.Utils.PointFloat(404.15F, 0F); + this.xrCrossBandLine3.Name = "xrCrossBandLine3"; + this.xrCrossBandLine3.StartBand = this.Detail; + this.xrCrossBandLine3.StartPointFloat = new DevExpress.Utils.PointFloat(404.15F, 0F); + this.xrCrossBandLine3.WidthF = 1.041656F; + // + // xrCrossBandLine4 + // + this.xrCrossBandLine4.EndBand = this.ReportFooter1; + this.xrCrossBandLine4.EndPointFloat = new DevExpress.Utils.PointFloat(604.08F, 0F); + this.xrCrossBandLine4.LocationFloat = new DevExpress.Utils.PointFloat(604.08F, 0F); + this.xrCrossBandLine4.Name = "xrCrossBandLine4"; + this.xrCrossBandLine4.StartBand = this.Detail; + this.xrCrossBandLine4.StartPointFloat = new DevExpress.Utils.PointFloat(604.08F, 0F); + this.xrCrossBandLine4.WidthF = 1.077576F; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail}); + this.DetailReport.DataMember = "OrderItems"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + // + // paramShowHeader + // + this.paramShowHeader.Description = "Show Header"; + this.paramShowHeader.Name = "paramShowHeader"; + this.paramShowHeader.Type = typeof(bool); + this.paramShowHeader.ValueInfo = "True"; + this.paramShowHeader.Visible = false; + // + // paramShowFooter + // + this.paramShowFooter.Description = "Show Footer"; + this.paramShowFooter.Name = "paramShowFooter"; + this.paramShowFooter.Type = typeof(bool); + this.paramShowFooter.ValueInfo = "True"; + this.paramShowFooter.Visible = false; + // + // paramShowStatus + // + this.paramShowStatus.Description = "Show Status"; + this.paramShowStatus.Name = "paramShowStatus"; + this.paramShowStatus.Type = typeof(bool); + this.paramShowStatus.ValueInfo = "True"; + this.paramShowStatus.Visible = false; + // + // paramShowComments + // + this.paramShowComments.Description = "Show Comments"; + this.paramShowComments.Name = "paramShowComments"; + this.paramShowComments.Type = typeof(bool); + this.paramShowComments.ValueInfo = "True"; + this.paramShowComments.Visible = false; + // + // PageFooter + // + this.PageFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable7}); + this.PageFooter.HeightF = 28.71094F; + this.PageFooter.Name = "PageFooter"; + // + // xrTable7 + // + this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable7.Name = "xrTable7"; + this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow13}); + this.xrTable7.SizeF = new System.Drawing.SizeF(746.9999F, 28.71094F); + // + // xrTableRow13 + // + this.xrTableRow13.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell34}); + this.xrTableRow13.Name = "xrTableRow13"; + this.xrTableRow13.Weight = 0.66666681489878932D; + // + // xrTableCell34 + // + this.xrTableCell34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(128)))), ((int)(((byte)(71))))); + this.xrTableCell34.Font = new System.Drawing.Font("Segoe UI", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.xrTableCell34.ForeColor = System.Drawing.Color.White; + this.xrTableCell34.Name = "xrTableCell34"; + this.xrTableCell34.Padding = new DevExpress.XtraPrinting.PaddingInfo(15, 0, 0, 0, 100F); + this.xrTableCell34.StylePriority.UseBackColor = false; + this.xrTableCell34.StylePriority.UseFont = false; + this.xrTableCell34.StylePriority.UseForeColor = false; + this.xrTableCell34.StylePriority.UsePadding = false; + this.xrTableCell34.StylePriority.UseTextAlignment = false; + this.xrTableCell34.Text = "DevAV corp - a fictional tech company"; + this.xrTableCell34.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + this.xrTableCell34.Weight = 0.94701867179278676D; + // + // SalesInvoice + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.topMarginBand1, + this.detailBand1, + this.bottomMarginBand1, + this.ReportHeader, + this.ReportFooter1, + this.GroupHeader1, + this.DetailReport, + this.PageFooter}); + this.CrossBandControls.AddRange(new DevExpress.XtraReports.UI.XRCrossBandControl[] { + this.xrCrossBandLine4, + this.xrCrossBandLine3, + this.xrCrossBandLine2, + this.xrCrossBandLine1, + this.xrCrossBandBox1}); + 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(58, 45, 48, 94); + this.Parameters.AddRange(new DevExpress.XtraReports.Parameters.Parameter[] { + this.paramShowHeader, + this.paramShowFooter, + this.paramShowStatus, + this.paramShowComments}); + this.Version = "17.2"; + this.Watermark.Font = new System.Drawing.Font("Verdana", 54F); + this.Watermark.TextDirection = XtraPrinting.Drawing.DirectionMode.BackwardDiagonal; + this.Watermark.ShowBehind = false; + this.Watermark.Text = "Watermark"; + this.Watermark.TextTransparency = 100; + this.BeforePrint += new System.Drawing.Printing.PrintEventHandler(this.SalesInvoice_BeforePrint); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTableHeader)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + private void SalesInvoice_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) { + SetShowHeader((bool)Parameters["paramShowHeader"].Value); + SetShowFooter((bool)Parameters["paramShowFooter"].Value); + SetShowStatus((bool)Parameters["paramShowStatus"].Value); + SetShowComments((bool)Parameters["paramShowComments"].Value); + } + + public void SetShowHeader(bool show) { + if(xrTableHeader.Visible != show) xrTableHeader.Visible = show; + if(xrPictureBoxLogo.Visible != show) xrPictureBoxLogo.Visible = show; + } + public void SetShowFooter(bool show) { + if(PageFooter.Visible != show) PageFooter.Visible = show; + } + public void SetShowStatus(bool show) { + var status = GetCurrentColumnValue("PaymentStatus"); + Watermark.Text = (show && status != null) ? EnumDisplayTextHelper.GetDisplayText((PaymentStatus)status) + : string.Empty; + } + public void SetShowComments(bool show) { + if(xrPanelComments.Visible != show) xrPanelComments.Visible = show; + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.resx new file mode 100644 index 0000000..b67fd5d --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhB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V697KEcvQKrvQsUCFWyYVxScAx13SGPcvd7z30KU5XTvZ9aLsFGv2 + 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== + + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.xltx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.xltx new file mode 100644 index 0000000..30ffe3c Binary files /dev/null and b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesInvoice.xltx differ diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummary.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummary.cs new file mode 100644 index 0000000..aae01c8 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummary.cs @@ -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 storeSales = new Dictionary(); + 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(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(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummary.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummary.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummary.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3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qBQ9Wu + fXUjIDtohGclD8r0+sBoYHZeLI36euI+dTsuIPsDiAhIIqmfzN9MX3ZM2jcDR5kKE0CyAGS9NDoA2QQg + Kif4yhxgTQaSDXJuIPmTt+3uQBJ1YGXZtRKDT+JtwPHlH28f8aQK6RkVV9ZKb7IUezxt7ya/zLdzpb8/ + /QMgJQAyieO9LdN2hetoeMMGDBziU73Ss4enldfOHMdx8uPd3srzxbUAUgwgfj29TUpJl56kjONlLrgA + OC7KKnSYdmsDSDyAVAJHDXBkq+RuEYCEAEgajb4OQMYCiNdnbynxEaEHfllWQNwchlrzgKPd91G6VcVj + Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummaryReport.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummaryReport.cs new file mode 100644 index 0000000..1934521 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummaryReport.cs @@ -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(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 storeSales = new Dictionary(); + + 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(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummaryReport.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummaryReport.resx new file mode 100644 index 0000000..9a50250 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesOrdersSummaryReport.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5 + QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBk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+ Jwkosg/qfRzsoZdsNZHfxBoZyG9iaWn1qIrGTKynAcuPU8sE0PSiVSdsrFwBxY+iY/U/0tHqJSoaPdFm + H2/83pU89f4llvcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueAnalysisReport.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueAnalysisReport.cs new file mode 100644 index 0000000..5c3694b --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueAnalysisReport.cs @@ -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 storeSales = new Dictionary(); + + 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(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"; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueAnalysisReport.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueAnalysisReport.resx new file mode 100644 index 0000000..76cdda2 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueAnalysisReport.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueReport.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueReport.cs new file mode 100644 index 0000000..565a00b --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueReport.cs @@ -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 storeSales = new Dictionary(); + 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(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"; + } + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueReport.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueReport.resx new file mode 100644 index 0000000..76cdda2 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Sales/SalesRevenueReport.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Shipping/FedExGroundLabel.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Shipping/FedExGroundLabel.cs new file mode 100644 index 0000000..965c0e6 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Shipping/FedExGroundLabel.cs @@ -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; + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Shipping/FedExGroundLabel.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Shipping/FedExGroundLabel.resx new file mode 100644 index 0000000..8ea4e09 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Shipping/FedExGroundLabel.resx @@ -0,0 +1,1769 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMoAAABmCAYAAACKuw49AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO + vAAADrwBlbxySQAACy1JREFUeF7tnD2u1EwThcnJ3w2QsgIWwA5YAznZjSAgJCIjJSQlJSEkRSIhJCRi + AYj59FxRUn1F2a5uuz326DzSEZdxd9tj1+l/z4OLEGIRGUWIAjKKEAVkFCEKyChCFJBRhCggowhRQEYR + ooCMIkQBGUWIAjKKEAVkFCEKyChCFJBRhCggowhRoNsob9++vTx69Ojy+PHj4eI8//33398z3x7Pnj3b + 7V626NbvewvdRrm7u7s8ePBgV90qBGT2fY8iscIoL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Fr1UNrx7yAAAAAAAAAAAAAAAAAYmT52vRsn82tvXcst1r1QHaeq5CIygTEiJEJEJ + gTEiJESCJgTEiJESAACJESAglEgAgljJKJBiZEEsZJRIAIJYyTaJV1aKbJAaibd6iGlSB5za9VDa8e8g + AAAAAAAAAAAAAAHWzsn56aaiFj+p2oeR934MiJAAAAAAAAAAAABEjHICIMgAAImBMSACAjIiQRIEBGRE + gAICMiLRaurRDZMDUTbvUQ0qQPObXqobXj3kAAAAAAAAAAAAgmMfCz3Xy/QDXs241Y+ZJjkACJxJmJAA + AAAAAAAAETAmJAAETAmJAAETAmJABBKBKJBBJBKBKJABBKBNolXVopskBqJt3qIaVA84teqhtePeQAAA + AAAAAAAH5+DnvGvmi/i57V4qkiQAAAAAAAAAAAAAAAAARMCYkIEgAARIiQARMAkiQY5BEwEZESACJgIy + ItFq6tFNkgNRNu9RDSkHnNr1UNrx7yAAAAAAAAAjqZ2rynTbU4988AiSJAAAAAAYmSJAAAAAAAAAABiZ + IkAAhOJkiQABEwJiQBEiJAABEiJAAACJCLRau7RDZIDUTbvUQ0qB5xa9VDa8e8gAAAAAAEDjeRVzm1ui + nxZIkAAAAAAAAAAAAAAAAAAAAABAnHIIEgAAY5CJABEwQmTHIGGYRMESkxyABEjGUkWi1dWimyQGom3e + ohpSkecWvVQ2vHvIAAAAAGMeKnrGhuuvnJ+35AAAAAAAAAAIJRIAAAAAAAAAAIJRIABCYJRIAAiYExIA + iREgAAiRjkAACJGOQRaLV3aIbJAaibd6iGlKR5xa9VDa8e8gAAAGJlxOnVmnvmkP4SAAAAAAAAAAAIkR + IAAAAAAAAAAIkRICCWOQiREgAAiYExIAiYAExIxygmJgiQTEgCJGMgtFq6tFNkgNRNu9RDSlI84teqht + ePeQAAD8T9NcPGtHz73wJESAAAAAAAAAAAAgkAAAAAAAAAAAglEgESERlBKJAABiZIkARIxyAABEjHIA + AESMcgi0Sry0Q2SA1E271ENKUjzi16qG1495AAxednZ6zug+bmOQAAAAAAAAAAAA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OdGous5ampf+WXaKbPTS0Zpts6dsRI4fM4RR9x/3/AAWiVd2iGyQGom3eohpWDz + e16qG1495A0s3T0sK+5iREwWE7naY7nAAADi8rilGmOWIIMkSAN1dKt1SwBMEgAAik67Gk462ByOPyC8 + zLHIAAAjSPdzSU0DkAESPR7M6hPvF3E+Z+lkgAAjwr3bAorn2zxIkgi4CqK64/cAAAxOtVV+h6wCQAAj + mcQbcb2UtfbLuuJq5tEUf8fkccAWiVd2iGyQGom3eohpWDze16qG1495A0s3T0sK+5iQQWE7naY7nAAA + Di8rilGmOWIAmJIBO6ulW6pYBMSAAARSddjScdbA5HH5BeZljkAAARpLu1pKaCAAARI9ntrortVNg0SA + AIkas1nXh0pnySD2W3CrK08AAAfG+z5aVAfljkAMcoJAABG5Om8HI/CJAFolXdohskBqJt3qIaVg83te + qhtePeQNLN09LCvuYkRMFhO52mO5wAAA4vK4pRpE4GSIMkSAN1dKt1SwCWJkiQACKTrsaTjrYHI4/ILz + MscgAACNJd2tJTQQAAAEbR6u/eLtsvx/YAAAisGz/T8roBsNajUrbUAAAOld1gom/T0nzYAAAAAAAAWi + Vd2iGyQGom3eohpWDze16qG1495A0s3T0sK+5iREiwjc7TDc8AAAcXlcUo0xyxBBkiRCDLdXSrdUsAmJ + AAAIpOuxpOOtgcjj8gvMyxyAAAI0l3a0lNBAAAAMcoLh/UNWtpCQAAPKvVeEUaufwTu9zlF11x2YAACJ + GutWt6WqBWzPJ4pMTiZAAAROJkABaJV3aIbJAaibd6iGlYPN7XqobXj3kDSzdPSwr7mJETBYTudpjucA + AAOLyuKUaROJKBKJAG6ulW6pYBMCQAARSddjScdbA5HH5BeZljkAAARpLu1pKaCAAAAA3y3jrssTJAAA + xyFO/mOxGu5Fl9aHuxbBOGYAAAxyHj1blwXGKM5sH0WPgokAAAAAWiVd2iGyQGom3eohpWDze16qG149 + 5A0s3T0sK+5iREiwjc7TDc8AAAcXlcUo0xyxBBMxIRBlurpVuqWAEgAAEUnXY0nHWwORx+Q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ABCAAAQgAQQgAQQgAQQgBTDwAAAAAAAAAAAxCCAAAAAA + AAAAAAAAAAABQAAAAACABQABBRgABRigBTzwAAAAAAAAAjgiAAAAAAAAAAAAAAAAAAQAADQAAAQgBCAA + BCAAACCABQzwAAAAAAABSAAAAAAAAAAAAAAAAAAAAAAASgwAABAAATiBAQiABAggAQDwAAAAAAiwAAAA + AAAAAAAgAAAAAAAAAAAgAAAgABCgBAAABCAABCCABTzwAAAARAAAAAAAAAAAAACAAAAAAAAAAACAQhCA + AAQgBQwhBSwgBCwgATDwAAABzCAAAAAAAAAAAAQAAAAAAAAAAAQgCBQgAAQAACAAAAAABABABQzwABQi + AAAAAAAAAAAAABCAAAAAAAAAABAAQAAAABCABTCARTiAATiABAzwBQTQAQhQwAQgwAAAwAAAAAAAAAAA + AAABAAAAAAAAQAAAQAAAQAAABQDwASgAiQgCTDADBCAxgAAAAAAAQAgQAwAAAAAAAAAAAAwgAggAAAAA + BQDwAABRCBBCBQyAxSDBADQAAzwTBACCBDTCgAAAAAAwTiAAAACzgAAABQDwACgQAAAAABCDBQAAABQA + DwAAAAAAAABBggAAABygAAAAAABCAAAABQDwAABQAAAAARyABQwAABQAAAAAAAAAAAABCwgAACiAAAAA + AAAAAAAABQDwBCASAAAABACABQAAABQAAAAAAgwgQQAABBAgBgAAAABQwwAgQgAABQDwBCBQAAAABDQg + BTAAABQAAAAABiABBgwAADSwTAAAAQgAAADjwAAABQDwACAQAAAAASiihQAAABQAAAAACQAABDwgAADg + RAAABQABAAADAgAABQDwBCBQAAAAAQAgBQQgABQAAAAABQAAADCgAAATyAAABCgAAAAAAAAABQDwAQhA + gAAABDQhxQAAABQAAAAACQAAAAQQAAARjwAAADCxAAABAAAABQDwAAhQAAAAAAggBQgAABQAAAAABQAA + AACQAAAADiAAAABwwAAAAAAABQDwAQhAgAAABCSgxTAAABQAAAAACQAAAABwAAADARgAAAAAAQgAAAAA + BQDwAQhQAAAABTwBBQgAABQAAAAABQAAAADQAAABABCAgAAABBSxgAAABQDwAABQAAAAARighRAAABQA + AAAABgAAAADwAAACgABAgwAAAADSgAAABQDwACgQAAAAACCCBQAAABQAAAAABQAAAAAQAAADwAAAAwgA + AAABCAAABQDwAABQAAAAARyABRgAABQAAAAABgAAAABAAAADQAAAAACQAAABCAAABQDwBCASgAAABACA + BQAAABQAAAAABQAAAARAAAAAAAABAAABAAAABQAABQDwACBQwAABBiigBTgAABQAAAAABgAAABSgAABS + gAAAAAAASAAAAAAABQDgACBQwAABCRyDxQAAABQAAAAACQAAADSAAADCAAABAAABQgAABAAABQBQBShR + QAAADQgwRQAAABQAAAAABQAAAigAABzADjAgQAAQwAAAAwDQAAzQBAgTigAABBDiRiAAABQAAAAACAjh + iAAAASwACwDSTijRAAAATgCQBDAwAAhSxAAAAAAAAAAAABQAAAAAAAAAAAAADjAADwAAAAAAAAABgABA + AAxABCwTSAQAAAAAAAAAARQAAAAAAAAAAAABRgQADwAAAAAAAAAigADQAzDAgBRAhRjggwAAAAAywyAA + AAAAAggAAwBzAAAABTywAAAAAzxgAATgAQwTQDxygCAAzRDjjBCiggAAAAAABSzDRQCAAAAgAADDRQAD + CAAAABwgDwDRADDwgTjDjCDChCSATAAAAAAABgAAAAAAABCAAAAAAAAAAAAAADgAQwARQhDwRABABwTA + RSSDRwAAAAAABgAAAAAAAAQgAAABAAAAAAAABDADCgBDywDwBCwygRiTgQyhAwAAAAAABgAAAAAAAAAA + AAAAAAAAAAAACyBTggACAggAgChQhQDwACCiBwAAAAAACgAAAAAAAAAAAAABAAAAAAABDACwAAAADzwB + QwAzRxyTRRijwwAAAAAABQAAAAAAAAQgAAAAAAAAAAAAgBhSgAAABBAADCASRRQyhRwgBAAAAAAACQAA + AAAAAAAAAAABAAAAAATCAAhAAAAAABAAQRQTTAiyhAiijgAAAAAADQAAAAAAABCgAAAAAAAAASCARxgA + AAAAAACjwABgwQRwgQyjQQAAAAAACQAAAAAAAAAAAAAAAAAACTgADgAAAAAAAABBhwCCRBAiBRAiDQAA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2cfoA8BDoUvT451/0ZjvU+U6W/GlS4PYa2WXhjm2 + XxWGAOCFKNm2ggLmqkc73xU6dbnOVHyVWFnviYh1Vlb2ia+90qUBeCk8MrbPu1aOqCLmOlvx5d57xH6r + 4jPxtV+6NAAvhUfG9vjrx7tCFTHXmSoh321C7Jcuzff4lN+EA4Bk6NL0qWN9RxgD+c5UCenSIPZbVdkn + vvZ717kWAIqhS9PjnStHjIFcZyu+dGkQe63sohNfe6VLA/BSVJmyggLme9fK0U8frf3F885UfLn3HrHf + qvhMl6ZfujQAL0UVZSsoYK66n/quMAZyna34cu89Yq+VlX26NL3eea4FgELo0vSp6vsdYQzkO1MlpEuD + 2G9VZZ/42u9d51oAKIYKfY90ad7jbMWX34pC7LXyx5CJr73SpQF4KfywX5/6lf47wmOD852p+HLvPWK/ + VZV9ujT90qUBeCk8MrbH2R9grIQxkOtsl4Z77xF7razs06Xp9c5zLQAUQoW+Ty0c7gpjINeZKiFdGsR+ + qyr7zLH93nmuBYBCqND3eOfKkSZza5/xnLMVXz0xzXpfRKxR8bkK5the7zzXAkAhVJD61O0Hd0VJuLXP + eM6Zii/33iP2W1XZZ47tly4NwEuhQt+nktU7whjIdbZLw733iL1WVvbp0vR717kWAIqhQt/jnbs0fCE9 + 15mn29GlQey3srLPHNvrnedaACiECn2fP328I3whPdfZii9dGsR+q7o0zLH90qUBeClUkHqcfbRvJXwh + PdeZii/33iP2W1nZZ47tlS4NwEuhgtTnzA8wVsKtTrnOdmm49x6x36rKPnNsv3e9IwIAiuF7FD3euUvD + rU65/vLxLHRpEPutrOz/9tHaJtZ457kWAArhexR9qlp3R+jS5DtT8aVLg9hvVZeGObbfu94RAQDF0KXp + cfbRvpWQROc6W/Hl3nvEXisr+8yxvdKlAXgpVJD6vGuXhlud8p2p+HLvPWK/VZV95th+f/4IAC+Ep131 + qEXDXdHvqFj7jOekS4P4LCsr+8yxvd75jggAKITvUfRZ+WNus5BE5zrzxB26NIj9VnVpmGP7vesdEQBQ + DE+76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XRq+hSMwejZXI9+dm + ur8zRKr7ZwubFpE4OIodkfiT7fpYaF6w/qba9dcBruyonsnXAFKJBDI5M2ijt4bN3Jvpra5VqIl/lGRc + Wa3zJo17i6mZ6qjXdTJ9JvGvVvs3u6BZsN5/ZGSRYRG5JjSGveMvY6EeWXR3GT3PVy3KFFO6iM4XWWps + CM0hZxNHvceZ+SuyYB3NWZFF2BWJYeT6099lxb8Fb2waLaYiMSjb5VjovFn/Xq3Ox3oxfdUCL3OhC3Ca + yCQ1s8hYsN7XUhfmTODUayMTSZZKbEbJYEbyN0NkUbl37KuTt/WC8KpE0VJjcrRYPYu1HUtNXLOL3Mi1 + HqlmZyzUr0qWLc+eZ10zV1Rqs8fkHld9Ro0PJY3exHur9nnURfEwcwtaJNmdLVycJXL96W+z8c6N1vFd + uGKuWM/TV+Qb2wWN9zhmWzEmAE7hDWYKJjOLjAXrvS2zqlW6yCNJ1xk1YSoJPEo6I8nAzAS8h/dYHCVK + up2i4riuJy2Nt7NJTJbavhKaM08b82Bt03LmtrMF77UeSawyErY7nefZBYI+S2dytb5eutBn7OjYLurc + zNxSo3E3O3dFksVt7I4ku1nzXpRILJ8trozwxoC9WKwY1xlLlmMRiYMZ6jMqzmzHdcWcvKfG9lVjFk7x + j3/8Px8Agco6XWUPAAAAAElFTkSuQmCC + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskDetailReport.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskDetailReport.cs new file mode 100644 index 0000000..7d38cc7 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskDetailReport.cs @@ -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(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskDetailReport.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskDetailReport.resx new file mode 100644 index 0000000..29c6e3b --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskDetailReport.resx @@ -0,0 +1,208 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5 + QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk + n16kiV6kzhpt89qLAMhGAHkYQHye0Gtp9RoVVIx/lF5kPYCkqiSX8p1VNQy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vcd5PlGW0MyeQPuVSw/nrAQzwCKtChbbKgqUktLS0tLS0tLS0tLS0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + ewBcAHIAdABmADEAXABhAG4AcwBpAGMAcABnADEAMgA1ADEADQAKAHsADQAKAFwAZgBvAG4AdAB0AGIAbAANAAoAewBcAGYAMAAgAFQAaQBtAGUAcwAgAE4AZQB3ACAAUgBvAG0AYQBuADsAfQANAAoAfQANAAoAewANAAoAXABjAG8AbABvAHIAdABiAGwADQAKADsADQAKAFwAcgBlAGQAMABcAGcAcgBlAGUAbgAwAFwAYgBsAHUAZQAwADsADQAKAFwAcgBlAGQAMABcAGcAcgBlAGUAbgAwAFwAYgBsAHUAZQAyADUANQA7AA0ACgB9AA0ACgBcAG4AbwB1AGkAYwBvAG0AcABhAHQAXABzAHAAbAB5AHQAdwBuAGkAbgBlAFwAaAB0AG0AYQB1AHQAcwBwAHsAXABzAGUAYwB0AGQAXABwAGEAcgBkAFwAcABsAGEAaQBuAFwAcQBsAFwAYwBmADEAXABwAGEAcgB9AA0ACgB9AA0ACgA= + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskListReport.cs b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskListReport.cs new file mode 100644 index 0000000..0f9402f --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskListReport.cs @@ -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(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(); + } + } +} diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskListReport.resx b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskListReport.resx new file mode 100644 index 0000000..d07a894 --- /dev/null +++ b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.Reports/Tasks/TaskListReport.resx @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + + iVBORw0KGgoAAAANSUhEUgAAAMgAAAA8CAYAAAAjW/WRAAAABGdBTUEAALGPC/xhBQAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABFySURBVHhe7Z15fJTVuccn6ySZrEA2CGQDspBlJpOw + JZAASWQT0Nb2Xq2tXluvy8WrrYoVxa0VxKWXRYSigKJVrNarxVrRq6CIWy3lFlS07YWCwWAFZI0gpt/n + vSdj3plJMjPJJJqc3+fz+yPnPO95z7zv+c5Z3vNOLFpaWlpaWn1Hwx1jEstqps6pqJ1ZGROfGK6StbS0 + RAByG4A0A8jjAJKmkrW0tEQAMhtA3gKQegAJVclaWloiANk8sv7sC2PiEiJUkpaWliivbGztyPqzXgGO + ESpJS0urRQCyFkBuA5AklaSlpSUCjqHA8T5wlKkkLa3epcJR1ec7qqdsKp80418io2KsKtknAchiAFkJ + IOkqSUurdwlAXgGQZgC5G0DiVHKHyiurDHfUTP2konbmOQCiUrW0epkAJBRA7geQpwEkWSV3KAC5hd7j + t9Gx8ZkqSUurd6pwZHUMkBwFklprdEyISm5TwGGh92ig9/gxgPg1LNPS+kaqcOT4hTT4pwAkRSW1KQC5 + QCbnwKGXdrX6hgAkWvUi9e31InlOo/fYDkwLAURPPrT6joBkBQ3/mfZ6EQCZQO9xIDo2zq6StLT6hgAk + n16kiV6kzhpt89qLAMhGAHkYQHye0Gtp9RoVVIx/lF5kPYCkqiSX8p1VNQyvTpJ/FoCoVC2tPiQAyVO9 + yBnWGHMvAiAP0ns8DxyDVZKWVt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0url8ti+SflHokG + Mk+4YgAAAABJRU5ErkJggg== + + + + 17, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.csproj b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.csproj deleted file mode 100644 index 50b587f..0000000 --- a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - netstandard2.0 - false - - - - - - - - - - diff --git a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.sln b/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.sln deleted file mode 100644 index 4dbbaa8..0000000 --- a/OutlookInspiredApp/DevExpress.DevAV/DevExpress.DevAV.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.28315.86 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevExpress.DevAV", "DevExpress.DevAV.csproj", "{76AE4911-338A-43CA-81B9-C043FBB3B31E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {76AE4911-338A-43CA-81B9-C043FBB3B31E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {76AE4911-338A-43CA-81B9-C043FBB3B31E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {76AE4911-338A-43CA-81B9-C043FBB3B31E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {76AE4911-338A-43CA-81B9-C043FBB3B31E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {3FA2356F-A04A-43E2-9503-EFCD1578EB97} - EndGlobalSection -EndGlobal diff --git a/OutlookInspiredApp/DevExpress.DevAV/EnglishAlphabet.txt b/OutlookInspiredApp/DevExpress.DevAV/EnglishAlphabet.txt deleted file mode 100644 index a6860d9..0000000 --- a/OutlookInspiredApp/DevExpress.DevAV/EnglishAlphabet.txt +++ /dev/null @@ -1 +0,0 @@ -ABCDEFGHIJKLMNOPQRSTUVWXYZ \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp.sln b/OutlookInspiredApp/DevExpress.OutlookInspiredApp.sln index b71c702..291beea 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp.sln +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp.sln @@ -1,31 +1,51 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.28307.168 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.28803.202 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevExpress.OutlookInspiredApp", "DevExpress.OutlookInspiredApp\DevExpress.OutlookInspiredApp.csproj", "{3E1753D3-E331-4156-9DC1-C3B49B1BB281}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevExpress.DevAV.Data", "DevExpress.DevAV\DevExpress.DevAV.Data\DevExpress.DevAV.Data.csproj", "{81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevExpress.DevAV", "DevExpress.DevAV\DevExpress.DevAV.csproj", "{4BBCECE2-D8E1-41AB-BB97-D90C33575067}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevExpress.DevAV.Reports", "DevExpress.DevAV\DevExpress.DevAV.Reports\DevExpress.DevAV.Reports.csproj", "{0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DevExpress.OutlookInspiredApp", "DevExpress.OutlookInspiredApp\DevExpress.OutlookInspiredApp.csproj", "{3932816E-D0B4-08A9-2715-8D5B7DC201D8}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + DebugTest|Any CPU = DebugTest|Any CPU Release|Any CPU = Release|Any CPU + RemoteDebug|Any CPU = RemoteDebug|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {3E1753D3-E331-4156-9DC1-C3B49B1BB281}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3E1753D3-E331-4156-9DC1-C3B49B1BB281}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3E1753D3-E331-4156-9DC1-C3B49B1BB281}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3E1753D3-E331-4156-9DC1-C3B49B1BB281}.Release|Any CPU.Build.0 = Release|Any CPU - {4BBCECE2-D8E1-41AB-BB97-D90C33575067}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4BBCECE2-D8E1-41AB-BB97-D90C33575067}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4BBCECE2-D8E1-41AB-BB97-D90C33575067}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4BBCECE2-D8E1-41AB-BB97-D90C33575067}.Release|Any CPU.Build.0 = Release|Any CPU + {81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}.DebugTest|Any CPU.ActiveCfg = DebugTest|Any CPU + {81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}.DebugTest|Any CPU.Build.0 = DebugTest|Any CPU + {81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}.Release|Any CPU.Build.0 = Release|Any CPU + {81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}.RemoteDebug|Any CPU.ActiveCfg = RemoteDebug|Any CPU + {81BE8E61-B408-490D-BFB4-EFC2ABAC9B1F}.RemoteDebug|Any CPU.Build.0 = RemoteDebug|Any CPU + {0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}.DebugTest|Any CPU.ActiveCfg = Debug|Any CPU + {0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}.DebugTest|Any CPU.Build.0 = Debug|Any CPU + {0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}.Release|Any CPU.Build.0 = Release|Any CPU + {0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}.RemoteDebug|Any CPU.ActiveCfg = Debug|Any CPU + {0C1E2088-333A-4F3B-B1C5-4BC5DBFC3482}.RemoteDebug|Any CPU.Build.0 = Debug|Any CPU + {3932816E-D0B4-08A9-2715-8D5B7DC201D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3932816E-D0B4-08A9-2715-8D5B7DC201D8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3932816E-D0B4-08A9-2715-8D5B7DC201D8}.DebugTest|Any CPU.ActiveCfg = DebugTest|Any CPU + {3932816E-D0B4-08A9-2715-8D5B7DC201D8}.DebugTest|Any CPU.Build.0 = DebugTest|Any CPU + {3932816E-D0B4-08A9-2715-8D5B7DC201D8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3932816E-D0B4-08A9-2715-8D5B7DC201D8}.Release|Any CPU.Build.0 = Release|Any CPU + {3932816E-D0B4-08A9-2715-8D5B7DC201D8}.RemoteDebug|Any CPU.ActiveCfg = Debug|Any CPU + {3932816E-D0B4-08A9-2715-8D5B7DC201D8}.RemoteDebug|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {EF4B80D3-8139-4F5C-B054-BD71E5337C2A} + SolutionGuid = {CE287ABD-E97B-44B7-97A5-5D03A23956C5} EndGlobalSection EndGlobal diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/CollectionViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/CollectionViewModel.cs index a3c2a8a..5304d03 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/CollectionViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/CollectionViewModel.cs @@ -8,11 +8,12 @@ using DevExpress.Mvvm; using DevExpress.Mvvm.POCO; using DevExpress.Mvvm.DataAnnotations; using DevExpress.DevAV.Common.Utils; +using DevExpress.Mvvm.ViewModel; using DevExpress.Mvvm.DataModel; namespace DevExpress.DevAV.Common.ViewModel { /// - /// The base class for a POCO view models exposing a colection of entities of a given type and CRUD operations against these entities. + /// The base class for a POCO view models exposing a collection of entities of a given type and CRUD operations against these entities. /// This is a partial class that provides extension point to add custom properties, commands and override methods without modifying the auto-generated code. /// /// An entity type. @@ -29,14 +30,17 @@ namespace DevExpress.DevAV.Common.ViewModel { /// A function that returns a repository representing entities of the given type. /// An optional parameter that provides a LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data. /// An optional parameter that provides a function to initialize a new entity. This parameter is used in the detail collection view models when creating a single object view model for a new entity. + /// A function that is called before an attempt to create a new entity is made. This parameter is used together with the newEntityInitializer parameter. /// An optional parameter that used to specify that the selected entity should not be managed by PeekCollectionViewModel. public static CollectionViewModel CreateCollectionViewModel( IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, Func, IQueryable> projection = null, Action newEntityInitializer = null, - bool ignoreSelectEntityMessage = false) { - return ViewModelSource.Create(() => new CollectionViewModel(unitOfWorkFactory, getRepositoryFunc, projection, newEntityInitializer, ignoreSelectEntityMessage)); + Func canCreateNewEntity = null, + bool ignoreSelectEntityMessage = false, + UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual) { + return ViewModelSource.Create(() => new CollectionViewModel(unitOfWorkFactory, getRepositoryFunc, projection, newEntityInitializer, canCreateNewEntity, ignoreSelectEntityMessage, unitOfWorkPolicy)); } /// @@ -47,19 +51,22 @@ namespace DevExpress.DevAV.Common.ViewModel { /// A function that returns a repository representing entities of the given type. /// An optional parameter that provides a LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data. /// An optional parameter that provides a function to initialize a new entity. This parameter is used in the detail collection view models when creating a single object view model for a new entity. + /// A function that is called before an attempt to create a new entity is made. This parameter is used together with the newEntityInitializer parameter. /// An optional parameter that used to specify that the selected entity should not be managed by PeekCollectionViewModel. protected CollectionViewModel( IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, Func, IQueryable> projection = null, Action newEntityInitializer = null, - bool ignoreSelectEntityMessage = false - ) : base(unitOfWorkFactory, getRepositoryFunc, projection, newEntityInitializer, ignoreSelectEntityMessage) { + Func canCreateNewEntity = null, + bool ignoreSelectEntityMessage = false, + UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual + ) : base(unitOfWorkFactory, getRepositoryFunc, projection, newEntityInitializer, canCreateNewEntity, ignoreSelectEntityMessage, unitOfWorkPolicy) { } } /// - /// The base class for a POCO view models exposing a collection of entities of a given type and CRUD operations against these entities. + /// The base class for a POCO view models exposing a collection of entities of a given type and CRUD operations against these entities. /// This is a partial class that provides extension point to add custom properties, commands and override methods without modifying the auto-generated code. /// /// A repository entity type. @@ -78,14 +85,17 @@ namespace DevExpress.DevAV.Common.ViewModel { /// A function that returns a repository representing entities of the given type. /// A LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. /// An optional parameter that provides a function to initialize a new entity. This parameter is used in the detail collection view models when creating a single object view model for a new entity. + /// A function that is called before an attempt to create a new entity is made. This parameter is used together with the newEntityInitializer parameter. /// An optional parameter that used to specify that the selected entity should not be managed by PeekCollectionViewModel. public static CollectionViewModel CreateProjectionCollectionViewModel( IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, Func, IQueryable> projection, Action newEntityInitializer = null, - bool ignoreSelectEntityMessage = false) { - return ViewModelSource.Create(() => new CollectionViewModel(unitOfWorkFactory, getRepositoryFunc, projection, newEntityInitializer, ignoreSelectEntityMessage)); + Func canCreateNewEntity = null, + bool ignoreSelectEntityMessage = false, + UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual) { + return ViewModelSource.Create(() => new CollectionViewModel(unitOfWorkFactory, getRepositoryFunc, projection, newEntityInitializer, canCreateNewEntity, ignoreSelectEntityMessage, unitOfWorkPolicy)); } /// @@ -96,338 +106,17 @@ namespace DevExpress.DevAV.Common.ViewModel { /// A function that returns a repository representing entities of the given type. /// A LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. /// An optional parameter that provides a function to initialize a new entity. This parameter is used in the detail collection view models when creating a single object view model for a new entity. + /// A function that is called before an attempt to create a new entity is made. This parameter is used together with the newEntityInitializer parameter. /// An optional parameter that used to specify that the selected entity should not be managed by PeekCollectionViewModel. protected CollectionViewModel( IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, Func, IQueryable> projection, Action newEntityInitializer = null, - bool ignoreSelectEntityMessage = false - ) : base(unitOfWorkFactory, getRepositoryFunc, projection, newEntityInitializer, ignoreSelectEntityMessage) { + Func canCreateNewEntity = null, + bool ignoreSelectEntityMessage = false, + UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual + ) : base(unitOfWorkFactory, getRepositoryFunc, projection, newEntityInitializer, canCreateNewEntity, ignoreSelectEntityMessage, unitOfWorkPolicy) { } - } - - /// - /// The base class for POCO view models exposing a collection of entities of a given type and CRUD operations against these entities. - /// It is not recommended to inherit directly from this class. Use the CollectionViewModel class instead. - /// - /// A repository entity type. - /// A projection entity type. - /// A primary key value type. - /// A unit of work type. - public abstract class CollectionViewModelBase : ReadOnlyCollectionViewModel - where TEntity : class - where TProjection : class - where TUnitOfWork : IUnitOfWork { - - EntitiesChangeTracker ChangeTrackerWithKey { get { return (EntitiesChangeTracker)ChangeTracker; } } - readonly Action newEntityInitializer; - IRepository Repository { get { return (IRepository)ReadOnlyRepository; } } - - /// - /// Initializes a new instance of the CollectionViewModelBase class. - /// - /// A factory used to create a unit of work instance. - /// A function that returns a repository representing entities of the given type. - /// A LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. - /// A function to initialize a new entity. This parameter is used in the detail collection view models when creating a single object view model for a new entity. - /// A parameter used to specify whether the selected entity should be managed by PeekCollectionViewModel. - protected CollectionViewModelBase( - IUnitOfWorkFactory unitOfWorkFactory, - Func> getRepositoryFunc, - Func, IQueryable> projection, - Action newEntityInitializer, - bool ignoreSelectEntityMessage - ) : base(unitOfWorkFactory, getRepositoryFunc, projection) { - VerifyProjectionType(); - this.newEntityInitializer = newEntityInitializer; - this.ignoreSelectEntityMessage = ignoreSelectEntityMessage; - if(!this.IsInDesignMode()) - RegisterSelectEntityMessage(); - } - - /// - /// Creates and shows a document that contains a single object view model for new entity. - /// Since CollectionViewModelBase is a POCO view model, an the instance of this class will also expose the NewCommand property that can be used as a binding source in views. - /// - public virtual void New() { - GetDocumentManagerService().ShowNewEntityDocument(this, newEntityInitializer); - } - - /// - /// Creates and shows a document that contains a single object view model for the existing entity. - /// Since CollectionViewModelBase is a POCO view model, an the instance of this class will also expose the EditCommand property that can be used as a binding source in views. - /// - /// Entity to edit. - public virtual void Edit(TProjection projectionEntity) { - if(Repository.IsDetached(projectionEntity)) - return; - TPrimaryKey primaryKey = Repository.GetProjectionPrimaryKey(projectionEntity); - int index = Entities.IndexOf(projectionEntity); - projectionEntity = ChangeTrackerWithKey.FindActualProjectionByKey(primaryKey); - if(index >= 0) { - if(projectionEntity == null) - Entities.RemoveAt(index); - else - Entities[index] = projectionEntity; - } - if(projectionEntity == null) { - DestroyDocument(GetDocumentManagerService().FindEntityDocument(primaryKey)); - return; - } - GetDocumentManagerService().ShowExistingEntityDocument(this, primaryKey); - } - - /// - /// Determines whether an entity can be edited. - /// Since CollectionViewModelBase is a POCO view model, this method will be used as a CanExecute callback for EditCommand. - /// - /// An entity to edit. - public bool CanEdit(TProjection projectionEntity) { - return projectionEntity != null && !IsLoading; - } - - /// - /// Deletes a given entity from the repository and saves changes if confirmed by the user. - /// Since CollectionViewModelBase is a POCO view model, an the instance of this class will also expose the DeleteCommand property that can be used as a binding source in views. - /// - /// An entity to edit. - public virtual void Delete(TProjection projectionEntity) { - if(MessageBoxService.ShowMessage(string.Format(CommonResources.Confirmation_Delete, typeof(TEntity).Name), CommonResources.Confirmation_Caption, MessageButton.YesNo) != MessageResult.Yes) - return; - try { - Entities.Remove(projectionEntity); - TPrimaryKey primaryKey = Repository.GetProjectionPrimaryKey(projectionEntity); - TEntity entity = Repository.Find(primaryKey); - if(entity != null) { - OnBeforeEntityDeleted(primaryKey, entity); - Repository.Remove(entity); - Repository.UnitOfWork.SaveChanges(); - OnEntityDeleted(primaryKey, entity); - } - } catch (DbException e) { - Refresh(); - MessageBoxService.ShowMessage(e.ErrorMessage, e.ErrorCaption, MessageButton.OK, MessageIcon.Error); - } - } - - /// - /// Determines whether an entity can be deleted. - /// Since CollectionViewModelBase is a POCO view model, this method will be used as a CanExecute callback for DeleteCommand. - /// - /// An entity to edit. - public virtual bool CanDelete(TProjection projectionEntity) { - return projectionEntity != null && !IsLoading; - } - - /// - /// Saves the given entity. - /// Since CollectionViewModelBase is a POCO view model, the instance of this class will also expose the SaveCommand property that can be used as a binding source in views. - /// - /// An entity to save. - [Display(AutoGenerateField = false)] - public virtual void Save(TProjection projectionEntity) { - TPrimaryKey primaryKey = Repository.GetProjectionPrimaryKey(projectionEntity); - TEntity entity = Repository.Find(primaryKey); - if(typeof(TProjection) != typeof(TEntity)) - ApplyProjectionPropertiesToEntity(projectionEntity, entity); - try { - OnBeforeEntitySaved(primaryKey, entity); - Repository.UnitOfWork.SaveChanges(); - OnEntitySaved(primaryKey, entity); - } catch (DbException e) { - MessageBoxService.ShowMessage(e.ErrorMessage, e.ErrorCaption, MessageButton.OK, MessageIcon.Error); - } - } - - /// - /// Determines whether entity local changes can be saved. - /// Since CollectionViewModelBase is a POCO view model, this method will be used as a CanExecute callback for SaveCommand. - /// - /// An entity to save. - public virtual bool CanSave(TProjection projectionEntity) { - return projectionEntity != null && !IsLoading; - } - - /// - /// Notifies that SelectedEntity has been changed by raising the PropertyChanged event. - /// Since CollectionViewModelBase is a POCO view model, an the instance of this class will also expose the UpdateSelectedEntityCommand property that can be used as a binding source in views. - /// - [Display(AutoGenerateField = false)] - public virtual void UpdateSelectedEntity() { - this.RaisePropertyChanged(x => x.SelectedEntity); - } - - /// - /// Closes the corresponding view. - /// Since CollectionViewModelBase is a POCO view model, an the instance of this class will also expose the CloseCommand property that can be used as a binding source in views. - /// - [Display(AutoGenerateField = false)] - public void Close() { - if(DocumentOwner != null) - DocumentOwner.Close(this); - } - - protected IMessageBoxService MessageBoxService { get { return this.GetRequiredService(); } } - - protected virtual IDocumentManagerService GetDocumentManagerService() { return this.GetService(); } - - protected virtual void OnBeforeEntityDeleted(TPrimaryKey primaryKey, TEntity entity) { } - - protected virtual void OnEntityDeleted(TPrimaryKey primaryKey, TEntity entity) { - Messenger.Default.Send(new EntityMessage(primaryKey, EntityMessageType.Deleted)); - } - - protected override Func GetSelectedEntityCallback() { - var entity = SelectedEntity; - return () => FindLocalProjectionWithSameKey(entity); - } - - TProjection FindLocalProjectionWithSameKey(TProjection projectionEntity) { - bool primaryKeyAvailable = projectionEntity != null && Repository.ProjectionHasPrimaryKey(projectionEntity); - return primaryKeyAvailable ? ChangeTrackerWithKey.FindLocalProjectionByKey(Repository.GetProjectionPrimaryKey(projectionEntity)) : null; - } - - protected virtual void OnBeforeEntitySaved(TPrimaryKey primaryKey, TEntity entity) { } - - protected virtual void OnEntitySaved(TPrimaryKey primaryKey, TEntity entity) { - Messenger.Default.Send(new EntityMessage(primaryKey, EntityMessageType.Changed)); - } - - protected virtual void ApplyProjectionPropertiesToEntity(TProjection projectionEntity, TEntity entity) { - throw new NotImplementedException("Override this method in the collection view model class and apply projection properties to the entity so that it can be correctly saved by unit of work."); - } - - protected override void OnSelectedEntityChanged() { - base.OnSelectedEntityChanged(); - UpdateCommands(); - } - - protected override void RestoreSelectedEntity(TProjection existingProjectionEntity, TProjection newProjectionEntity) { - base.RestoreSelectedEntity(existingProjectionEntity, newProjectionEntity); - if(ReferenceEquals(SelectedEntity, existingProjectionEntity)) - SelectedEntity = newProjectionEntity; - } - - protected override void OnIsLoadingChanged() { - base.OnIsLoadingChanged(); - UpdateCommands(); - if(!IsLoading) - RequestSelectedEntity(); - } - - void UpdateCommands() { - TProjection projectionEntity = null; - this.RaiseCanExecuteChanged(x => x.Edit(projectionEntity)); - this.RaiseCanExecuteChanged(x => x.Delete(projectionEntity)); - this.RaiseCanExecuteChanged(x => x.Save(projectionEntity)); - } - - protected void DestroyDocument(IDocument document) { - if(document != null) - document.Close(); - } - - protected IRepository CreateRepository() { - return (IRepository)CreateReadOnlyRepository(); - } - - protected override IEntitiesChangeTracker CreateEntitiesChangeTracker() { - return new EntitiesChangeTracker(this); - } - - void VerifyProjectionType() { - //string primaryKeyPropertyName = CreateRepository().GetPrimaryKeyExpression.Name; - //if (TypeDescriptor.GetProperties(typeof(TProjection))[primaryKeyPropertyName] == null) - // throw new ArgumentException(string.Format("Projection type {0} should have primary key property {1}", typeof(TProjection).Name, primaryKeyPropertyName), "TProjection"); - } - - #region SelectEntityMessage - protected class SelectEntityMessage { - public SelectEntityMessage(TPrimaryKey primaryKey) { - PrimaryKey = primaryKey; - } - public TPrimaryKey PrimaryKey { get; private set; } - } - - protected class SelectedEntityRequest { } - - readonly bool ignoreSelectEntityMessage; - - void RegisterSelectEntityMessage() { - if(!ignoreSelectEntityMessage) - Messenger.Default.Register(this, x => OnSelectEntityMessage(x)); - } - - void RequestSelectedEntity() { - if(!ignoreSelectEntityMessage) - Messenger.Default.Send(new SelectedEntityRequest()); - } - - void OnSelectEntityMessage(SelectEntityMessage message) { - if(!IsLoaded) - return; - var projectionEntity = ChangeTrackerWithKey.FindActualProjectionByKey(message.PrimaryKey); - if(projectionEntity == null) { - FilterExpression = null; - projectionEntity = ChangeTrackerWithKey.FindActualProjectionByKey(message.PrimaryKey); - } - SelectedEntity = projectionEntity; - } - #endregion - } - - /// - /// Provides the extension methods that are used to implement the IDocumentManagerService interface. - /// - public static class DocumentManagerServiceExtensions { - - /// - /// Creates and shows a document containing a single object view model for the existing entity. - /// - /// An instance of the IDocumentManager interface used to create and show the document. - /// An object that is passed to the view model of the created view. - /// An entity primary key. - public static void ShowExistingEntityDocument(this IDocumentManagerService documentManagerService, object parentViewModel, TPrimaryKey primaryKey) { - IDocument document = FindEntityDocument(documentManagerService, primaryKey) ?? CreateDocument(documentManagerService, primaryKey, parentViewModel); - if(document != null) - document.Show(); - } - - /// - /// Creates and shows a document containing a single object view model for new entity. - /// - /// An instance of the IDocumentManager interface used to create and show the document. - /// An object that is passed to the view model of the created view. - /// An optional parameter that provides a function that initializes a new entity. - public static void ShowNewEntityDocument(this IDocumentManagerService documentManagerService, object parentViewModel, Action newEntityInitializer = null) { - IDocument document = CreateDocument(documentManagerService, newEntityInitializer != null ? newEntityInitializer : x => DefaultEntityInitializer(x), parentViewModel); - if(document != null) - document.Show(); - } - - /// - /// Searches for a document that contains a single object view model editing entity with a specified primary key. - /// - /// An instance of the IDocumentManager interface used to find a document. - /// An entity primary key. - public static IDocument FindEntityDocument(this IDocumentManagerService documentManagerService, TPrimaryKey primaryKey) { - if(documentManagerService == null) - return null; - foreach(IDocument document in documentManagerService.Documents) { - ISingleObjectViewModel entityViewModel = document.Content as ISingleObjectViewModel; - if(entityViewModel != null && object.Equals(entityViewModel.PrimaryKey, primaryKey)) - return document; - } - return null; - } - - static void DefaultEntityInitializer(TEntity entity) { } - - static IDocument CreateDocument(IDocumentManagerService documentManagerService, object parameter, object parentViewModel) { - if(documentManagerService == null) - return null; - return documentManagerService.CreateDocument(typeof(TEntity).Name + "View", parameter, parentViewModel); - } - } + } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/CollectionViewModel.partial.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/CollectionViewModel.partial.cs index 18092b7..6b2131b 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/CollectionViewModel.partial.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/CollectionViewModel.partial.cs @@ -3,9 +3,10 @@ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Linq.Expressions; -using DevExpress.Mvvm.DataModel; using DevExpress.Mvvm; using DevExpress.Mvvm.DataAnnotations; +using DevExpress.Mvvm.DataModel; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.Common.ViewModel { partial class CollectionViewModel : ISupportParameter, IDocumentContent @@ -43,9 +44,9 @@ namespace DevExpress.DevAV.Common.ViewModel { if(handler != null) handler(this, new EntitiesCountEventArgs(count)); } - [Command, Display(AutoGenerateField = false)] - public virtual void OnLoaded() { + public override void OnLoaded() { //SelectedEntity = Parameter == null ? Entities.FirstOrDefault() : FindEntity((TPrimaryKey)Parameter); // TODO + base.OnLoaded(); } public event EventHandler SelectedEntityChanged; // move to descendand protected override void OnSelectedEntityChanged() { @@ -78,7 +79,6 @@ namespace DevExpress.DevAV.Common.ViewModel { set { Parameter = value; } } #endregion - protected IDocumentManagerService DocumentManagerService { get { return GetDocumentManagerService(); } } protected IDocument FindDocument() { if(DocumentManagerService == null) return null; return DocumentManagerService.Documents.FirstOrDefault(d => d.Content is TViewModel); diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/EntitiesViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/EntitiesViewModel.cs index 94f5eb5..e7dc11e 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/EntitiesViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/EntitiesViewModel.cs @@ -11,6 +11,7 @@ using System.Collections.ObjectModel; using System.Threading; using System.Threading.Tasks; using DevExpress.DevAV.Common.Utils; +using DevExpress.Mvvm.ViewModel; using DevExpress.Mvvm.DataModel; namespace DevExpress.DevAV.Common.ViewModel { @@ -34,276 +35,11 @@ namespace DevExpress.DevAV.Common.ViewModel { /// A function that returns a repository representing entities of the given type. /// A LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. protected EntitiesViewModel( - IUnitOfWorkFactory unitOfWorkFactory, - Func> getRepositoryFunc, - Func, IQueryable> projection) - : base(unitOfWorkFactory, getRepositoryFunc, projection) { - } - } - - /// - /// The base class for a POCO view models exposing a collection of entities of the given type. - /// It is not recommended to inherit directly from this class. Use the EntitiesViewModel class instead. - /// - /// A repository entity type. - /// A projection entity type. - /// A unit of work type. - [POCOViewModel] - public abstract class EntitiesViewModelBase : IEntitiesViewModel - where TEntity : class - where TProjection : class - where TUnitOfWork : IUnitOfWork { - - #region inner classes - protected interface IEntitiesChangeTracker { - void RegisterMessageHandler(); - void UnregisterMessageHandler(); - } - - protected class EntitiesChangeTracker : IEntitiesChangeTracker { - - readonly EntitiesViewModelBase owner; - ObservableCollection Entities { get { return owner.Entities; } } - IRepository Repository { get { return (IRepository)owner.ReadOnlyRepository; } } - - public EntitiesChangeTracker(EntitiesViewModelBase owner) { - this.owner = owner; - } - - void IEntitiesChangeTracker.RegisterMessageHandler() { - Messenger.Default.Register>(this, x => OnMessage(x)); - } - - void IEntitiesChangeTracker.UnregisterMessageHandler() { - Messenger.Default.Unregister(this); - } - - public TProjection FindLocalProjectionByKey(TPrimaryKey primaryKey) { - var primaryKeyEqualsExpression = RepositoryExtensions.GetProjectionPrimaryKeyEqualsExpression(Repository, primaryKey); - return Entities.AsQueryable().FirstOrDefault(primaryKeyEqualsExpression); - } - - public TProjection FindActualProjectionByKey(TPrimaryKey primaryKey) { - var projectionEntity = Repository.FindActualProjectionByKey(owner.Projection, primaryKey); - if(projectionEntity != null && ExpressionHelper.IsFitEntity(Repository.Find(primaryKey), owner.GetFilterExpression())) { - owner.OnEntitiesLoaded(GetUnitOfWork(Repository), new TProjection[] { projectionEntity }); - return projectionEntity; - } - return null; - } - - void OnMessage(EntityMessage message) { - if(!owner.IsLoaded) - return; - switch(message.MessageType) { - case EntityMessageType.Added: - OnEntityAdded(message.PrimaryKey); - break; - case EntityMessageType.Changed: - OnEntityChanged(message.PrimaryKey); - break; - case EntityMessageType.Deleted: - OnEntityDeleted(message.PrimaryKey); - break; - } - } - - void OnEntityAdded(TPrimaryKey primaryKey) { - var projectionEntity = FindActualProjectionByKey(primaryKey); - if(projectionEntity != null) - Entities.Add(projectionEntity); - } - - void OnEntityChanged(TPrimaryKey primaryKey) { - var existingProjectionEntity = FindLocalProjectionByKey(primaryKey); - var projectionEntity = FindActualProjectionByKey(primaryKey); - if(projectionEntity == null) { - Entities.Remove(existingProjectionEntity); - return; - } - if(existingProjectionEntity != null) { - Entities[Entities.IndexOf(existingProjectionEntity)] = projectionEntity; - owner.RestoreSelectedEntity(existingProjectionEntity, projectionEntity); - return; - } - OnEntityAdded(primaryKey); - } - - void OnEntityDeleted(TPrimaryKey primaryKey) { - Entities.Remove(FindLocalProjectionByKey(primaryKey)); - } - } - #endregion - - ObservableCollection entities = new ObservableCollection(); - CancellationTokenSource loadCancellationTokenSource; - protected readonly IUnitOfWorkFactory unitOfWorkFactory; - protected readonly Func> getRepositoryFunc; - protected Func, IQueryable> Projection { get; private set; } - - /// - /// Initializes a new instance of the EntitiesViewModelBase class. - /// - /// A factory used to create a unit of work instance. - /// A function that returns a repository representing entities of the given type. - /// A LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. - protected EntitiesViewModelBase( IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, - Func, IQueryable> projection - ) { - this.unitOfWorkFactory = unitOfWorkFactory; - this.getRepositoryFunc = getRepositoryFunc; - this.Projection = projection; - this.ChangeTracker = CreateEntitiesChangeTracker(); - if(!this.IsInDesignMode()) - OnInitializeInRuntime(); + Func, IQueryable> projection, + UnitOfWorkPolicy unitOfWorkPolicy) + : base(unitOfWorkFactory, getRepositoryFunc, projection, unitOfWorkPolicy) { } - - /// - /// Used to check whether entities are currently being loaded in the background. The property can be used to show the progress indicator. - /// - public virtual bool IsLoading { get; protected set; } - - /// - /// The collection of entities loaded from the unit of work. - /// - public ObservableCollection Entities { - get { - if(!IsLoaded) - LoadEntities(false); - return entities; - } - } - - protected IEntitiesChangeTracker ChangeTracker { get; private set; } - - protected IReadOnlyRepository ReadOnlyRepository { get; private set; } - - protected bool IsLoaded { get { return ReadOnlyRepository != null; } } - - protected void LoadEntities(bool forceLoad) { - if(forceLoad) { - if(loadCancellationTokenSource != null) - loadCancellationTokenSource.Cancel(); - } else if(IsLoading) { - return; - } - loadCancellationTokenSource = LoadCore(); - } - - void CancelLoading() { - if(loadCancellationTokenSource != null) - loadCancellationTokenSource.Cancel(); - IsLoading = false; - } - - CancellationTokenSource LoadCore() { - IsLoading = true; - var cancellationTokenSource = new CancellationTokenSource(); - var selectedEntityCallback = GetSelectedEntityCallback(); - Task.Factory.StartNew(() => { - var repository = CreateReadOnlyRepository(); - var entities = new ObservableCollection(repository.GetFilteredEntities(GetFilterExpression(), Projection)); - OnEntitiesLoaded(GetUnitOfWork(repository), entities); - return new Tuple, ObservableCollection>(repository, entities); - }).ContinueWith(x => { - if(!x.IsFaulted) { - ReadOnlyRepository = x.Result.Item1; - entities = x.Result.Item2; - this.RaisePropertyChanged(y => y.Entities); - OnEntitiesAssigned(selectedEntityCallback); - } - IsLoading = false; - }, cancellationTokenSource.Token, TaskContinuationOptions.None, TaskScheduler.FromCurrentSynchronizationContext()); - return cancellationTokenSource; - } - - static TUnitOfWork GetUnitOfWork(IReadOnlyRepository repository) { - return (TUnitOfWork)repository.UnitOfWork; - } - - protected virtual void OnEntitiesLoaded(TUnitOfWork unitOfWork, IEnumerable entities) { - } - - protected virtual void OnEntitiesAssigned(Func getSelectedEntityCallback) { - } - - protected virtual Func GetSelectedEntityCallback() { - return null; - } - - protected virtual void RestoreSelectedEntity(TProjection existingProjectionEntity, TProjection projectionEntity) { - } - - protected virtual Expression> GetFilterExpression() { - return null; - } - - protected virtual void OnInitializeInRuntime() { - if(ChangeTracker != null) - ChangeTracker.RegisterMessageHandler(); - } - - protected virtual void OnDestroy() { - CancelLoading(); - if(ChangeTracker != null) - ChangeTracker.UnregisterMessageHandler(); - } - - protected virtual void OnIsLoadingChanged() { - } - - protected IReadOnlyRepository CreateReadOnlyRepository() { - return getRepositoryFunc(CreateUnitOfWork()); - } - - protected TUnitOfWork CreateUnitOfWork() { - return unitOfWorkFactory.CreateUnitOfWork(); - } - - protected virtual IEntitiesChangeTracker CreateEntitiesChangeTracker() { - return null; - } - - protected IDocumentOwner DocumentOwner { get; private set; } - - #region IDocumentContent - object IDocumentContent.Title { get { return null; } } - - void IDocumentContent.OnClose(CancelEventArgs e) { } - - void IDocumentContent.OnDestroy() { - OnDestroy(); - } - - IDocumentOwner IDocumentContent.DocumentOwner { - get { return DocumentOwner; } - set { DocumentOwner = value; } - } - #endregion - - #region IEntitiesViewModel - ObservableCollection IEntitiesViewModel.Entities { get { return Entities; } } - - bool IEntitiesViewModel.IsLoading { get { return IsLoading; } } - #endregion - } - - /// - /// The base interface for view models exposing a collection of entities of the given type. - /// - /// An entity type. - public interface IEntitiesViewModel : IDocumentContent where TEntity : class { - - /// - /// The loaded collection of entities. - /// - ObservableCollection Entities { get; } - - /// - /// Used to check whether entities are currently being loaded in the background. The property can be used to show the progress indicator. - /// - bool IsLoading { get; } } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/ISingleObjectViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/ISingleObjectViewModel.cs deleted file mode 100644 index 91015d2..0000000 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/ISingleObjectViewModel.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.ComponentModel.DataAnnotations; -using System.Linq; -using System.Linq.Expressions; -using DevExpress.Mvvm; -using DevExpress.Mvvm.POCO; -using DevExpress.Mvvm.DataAnnotations; -using DevExpress.DevAV.Common.Utils; -using DevExpress.Mvvm.DataModel; - -namespace DevExpress.DevAV.Common.ViewModel { - /// - /// The base interface for view models representing a single entity. - /// - /// An entity type. - /// An entity primary key type. - public interface ISingleObjectViewModel { - - /// - /// The entity represented by a view model. - /// - TEntity Entity { get; } - - /// - /// The entity primary key value. - /// - TPrimaryKey PrimaryKey { get; } - } -} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/LookUpEntitiesViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/LookUpEntitiesViewModel.cs deleted file mode 100644 index c056c92..0000000 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/LookUpEntitiesViewModel.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using System.Linq; -using System.ComponentModel; -using DevExpress.Mvvm; -using DevExpress.Mvvm.POCO; -using System.Collections.ObjectModel; -using DevExpress.DevAV.Common.Utils; -using DevExpress.Mvvm.DataModel; - -namespace DevExpress.DevAV.Common.ViewModel { - /// - /// Represents a POCO view models used by SingleObjectViewModel to exposing collections of related entities. - /// This is a partial class that provides an extension point to add custom properties, commands and override methods without modifying the auto-generated code. - /// - /// A repository entity type. - /// A projection entity type. - /// A primary key value type. - /// A unit of work type. - public class LookUpEntitiesViewModel : EntitiesViewModel, IDocumentContent - where TEntity : class - where TProjection : class - where TUnitOfWork : IUnitOfWork { - - /// - /// Creates a new instance of LookUpEntitiesViewModel as a POCO view model. - /// - /// A factory used to create a unit of work instance. - /// A function that returns a repository representing entities of the given type. - /// An optional parameter that provides a LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. - public static LookUpEntitiesViewModel Create( - IUnitOfWorkFactory unitOfWorkFactory, - Func> getRepositoryFunc, - Func, IQueryable> projection = null) { - return ViewModelSource.Create(() => new LookUpEntitiesViewModel(unitOfWorkFactory, getRepositoryFunc, projection)); - } - - /// - /// Initializes a new instance of the LookUpEntitiesViewModel class. - /// This constructor is declared protected to avoid an undesired instantiation of the LookUpEntitiesViewModel type without the POCO proxy factory. - /// - /// A factory used to create a unit of work instance. - /// A function that returns a repository representing entities of the given type. - /// A LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. - protected LookUpEntitiesViewModel( - IUnitOfWorkFactory unitOfWorkFactory, - Func> getRepositoryFunc, - Func, IQueryable> projection - ) : base(unitOfWorkFactory, getRepositoryFunc, projection) { - } - - protected override IEntitiesChangeTracker CreateEntitiesChangeTracker() { - return new EntitiesChangeTracker(this); - } - } -} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/Messages.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/Messages.cs deleted file mode 100644 index 02dee77..0000000 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/Messages.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System; -using System.Linq; -using System.ComponentModel; - -namespace DevExpress.DevAV.Common.ViewModel { - /// - /// Represents the type of an entity state change notification that is shown when the IUnitOfWork.SaveChanges method has been called. - /// - public enum EntityMessageType { - - /// - /// A new entity has been added to the unit of work. - /// - Added, - - /// - /// An entity has been removed from the unit of work. - /// - Deleted, - - /// - /// One of the entity properties has been modified. - /// - Changed - } - - /// - /// Provides the information about an entity state change notification that is shown when an entity has been added, removed or modified, and the IUnitOfWork.SaveChanges method has been called. - /// - /// An entity type. - /// A primary key value type. - public class EntityMessage { - - /// - /// Initializes a new instance of the EntityMessage class. - /// - /// A primary key of an entity that has been added, removed or modified. - /// An entity state change notification type. - public EntityMessage(TPrimaryKey primaryKey, EntityMessageType messageType) { - this.PrimaryKey = primaryKey; - this.MessageType = messageType; - } - - /// - /// The primary key of entity that has been added, deleted or modified. - /// - public TPrimaryKey PrimaryKey { get; private set; } - - /// - /// The entity state change notification type. - /// - public EntityMessageType MessageType { get; private set; } - } - - /// - /// A message notifying that all view models should save changes. Usually sent by DocumentsViewModel when the SaveAll command is executed. - /// - public class SaveAllMessage { - } - - /// - /// A message notifying that all view models should close itself. Usually sent by DocumentsViewModel when the CloseAll command is executed. - /// - public class CloseAllMessage { - - readonly CancelEventArgs cancelEventArgs; - - /// - /// Initializes a new instance of the CloseAllMessage class. - /// - /// An argument of the System.ComponentModel.CancelEventArgs type which can be used to cancel closing. - public CloseAllMessage(CancelEventArgs cancelEventArgs) { - this.cancelEventArgs = cancelEventArgs; - } - - /// - /// Used to cancel closing and check whether the closing has already been cancelled. - /// - public bool Cancel { - get { return cancelEventArgs.Cancel; } - set { cancelEventArgs.Cancel = value; } - } - } - - /// - /// Used by the PeekCollectionViewModel to notify that DocumentsViewModel should navigate to the specified module. - /// - /// The navigation token type. - public class NavigateMessage { - - /// - /// Initializes a new instance of the NavigateMessage class. - /// - /// An object that is used to identify the module to which the DocumentsViewModel should navigate. - public NavigateMessage(TNavigationToken token) { - Token = token; - } - - /// - /// An object that is used to identify the module to which the DocumentsViewModel should navigate. - /// - public TNavigationToken Token { get; private set; } - } -} diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/PeekCollectionViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/PeekCollectionViewModel.cs deleted file mode 100644 index c980502..0000000 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/PeekCollectionViewModel.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using System.ComponentModel; -using System.ComponentModel.DataAnnotations; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using DevExpress.Mvvm; -using DevExpress.Mvvm.POCO; -using DevExpress.Mvvm.DataAnnotations; -using DevExpress.DevAV.Common.Utils; -using DevExpress.Mvvm.DataModel; - -namespace DevExpress.DevAV.Common.ViewModel { - /// - /// A POCO view model exposing a read-only collection of entities of a given type. It is designed for quick navigation between collection views. - /// This is a partial class that provides an extension point to add custom properties, commands and override methods without modifying the auto-generated code. - /// - /// A navigation token type. - /// An entity type. - /// A primary key value type. - /// A unit of work type. - public partial class PeekCollectionViewModel : CollectionViewModelBase - where TEntity : class - where TUnitOfWork : IUnitOfWork { - - /// - /// Creates a new instance of PeekCollectionViewModel as a POCO view model. - /// - /// Identifies the module that is the navigation target. - /// A factory that is used to create a unit of work instance. - /// A function that returns a repository representing entities of a given type. - /// An optional parameter that provides a LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data. - public static PeekCollectionViewModel Create( - TNavigationToken navigationToken, - IUnitOfWorkFactory unitOfWorkFactory, - Func> getRepositoryFunc, - Func, IQueryable> projection = null) { - return ViewModelSource.Create(() => new PeekCollectionViewModel(navigationToken, unitOfWorkFactory, getRepositoryFunc, projection)); - } - - TNavigationToken navigationToken; - TEntity pickedEntity; - - /// - /// Initializes a new instance of the PeekCollectionViewModel class. - /// This constructor is declared protected to avoid an undesired instantiation of the PeekCollectionViewModel type without the POCO proxy factory. - /// - /// Identifies the module that is the navigation target. - /// A factory that is used to create a unit of work instance. - /// A function that returns a repository representing entities of a given type. - /// An optional parameter that provides a LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data. - protected PeekCollectionViewModel( - TNavigationToken navigationToken, - IUnitOfWorkFactory unitOfWorkFactory, - Func> getRepositoryFunc, - Func, IQueryable> projection = null - ) : base(unitOfWorkFactory, getRepositoryFunc, projection, null, true) { - this.navigationToken = navigationToken; - } - - /// - /// Navigates to the corresponding collection view and selects the given entity. - /// Since PeekCollectionViewModel is a POCO view model, an instance of this class will also expose the NavigateCommand property that can be used as a binding source in views. - /// - /// An entity to select within the collection view. - [Display(AutoGenerateField = false)] - public void Navigate(TEntity projectionEntity) { - pickedEntity = projectionEntity; - SendSelectEntityMessage(); - Messenger.Default.Send(new NavigateMessage(navigationToken), navigationToken); - } - - /// - /// Determines if a navigation to corresponding collection view can be performed. - /// Since PeekCollectionViewModel is a POCO view model, this method will be used as a CanExecute callback for NavigateCommand. - /// - /// An entity to select in the collection view. - public bool CanNavigate(TEntity projectionEntity) { - return projectionEntity != null; - } - - protected override void OnInitializeInRuntime() { - base.OnInitializeInRuntime(); - Messenger.Default.Register(this, x => SendSelectEntityMessage()); - } - - void SendSelectEntityMessage() { - if(IsLoaded && pickedEntity != null) - Messenger.Default.Send(new SelectEntityMessage(CreateRepository().GetProjectionPrimaryKey(pickedEntity))); - } - } -} \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/ReadOnlyCollectionViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/ReadOnlyCollectionViewModel.cs index b69ac5c..3f87817 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/ReadOnlyCollectionViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/ReadOnlyCollectionViewModel.cs @@ -1,21 +1,12 @@ using System; using System.Linq; -using System.Linq.Expressions; -using System.Collections; -using System.Collections.Generic; -using System.ComponentModel; -using DevExpress.Mvvm; -using DevExpress.Mvvm.POCO; -using DevExpress.Mvvm.DataAnnotations; -using System.Collections.ObjectModel; -using System.Threading; -using System.Threading.Tasks; -using DevExpress.DevAV.Common.Utils; using DevExpress.Mvvm.DataModel; +using DevExpress.Mvvm.POCO; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.Common.ViewModel { /// - /// The base class for POCO view models exposing a read-only collection of entities of a given type. + /// The base class for POCO view models exposing a read-only collection of entities of a given type. /// This is a partial class that provides the extension point to add custom properties, commands and override methods without modifying the auto-generated code. /// /// An entity type. @@ -33,8 +24,9 @@ namespace DevExpress.DevAV.Common.ViewModel { public static ReadOnlyCollectionViewModel CreateReadOnlyCollectionViewModel( IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, - Func, IQueryable> projection = null) { - return ViewModelSource.Create(() => new ReadOnlyCollectionViewModel(unitOfWorkFactory, getRepositoryFunc, projection)); + Func, IQueryable> projection = null, + UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual) { + return ViewModelSource.Create(() => new ReadOnlyCollectionViewModel(unitOfWorkFactory, getRepositoryFunc, projection, unitOfWorkPolicy)); } /// @@ -47,13 +39,14 @@ namespace DevExpress.DevAV.Common.ViewModel { protected ReadOnlyCollectionViewModel( IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, - Func, IQueryable> projection = null) - : base(unitOfWorkFactory, getRepositoryFunc, projection) { + Func, IQueryable> projection = null, + UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual) + : base(unitOfWorkFactory, getRepositoryFunc, projection, unitOfWorkPolicy) { } } /// - /// The base class for POCO view models exposing a read-only collection of entities of a given type. + /// The base class for POCO view models exposing a read-only collection of entities of a given type. /// This is a partial class that provides the extension point to add custom properties, commands and override methods without modifying the auto-generated code. /// /// A repository entity type. @@ -73,8 +66,9 @@ namespace DevExpress.DevAV.Common.ViewModel { public static ReadOnlyCollectionViewModel CreateReadOnlyProjectionCollectionViewModel( IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, - Func, IQueryable> projection) { - return ViewModelSource.Create(() => new ReadOnlyCollectionViewModel(unitOfWorkFactory, getRepositoryFunc, projection)); + Func, IQueryable> projection, + UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual) { + return ViewModelSource.Create(() => new ReadOnlyCollectionViewModel(unitOfWorkFactory, getRepositoryFunc, projection, unitOfWorkPolicy)); } /// @@ -85,91 +79,11 @@ namespace DevExpress.DevAV.Common.ViewModel { /// A function that returns the repository representing entities of a given type. /// A LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. protected ReadOnlyCollectionViewModel( - IUnitOfWorkFactory unitOfWorkFactory, + IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, - Func, IQueryable> projection) - : base(unitOfWorkFactory, getRepositoryFunc, projection) { - } - } - - /// - /// The base class for POCO view models exposing a read-only collection of entities of a given type. - /// It is not recommended to inherit directly from this class. Use the ReadOnlyCollectionViewModel class instead. - /// - /// A repository entity type. - /// A projection entity type. - /// A unit of work type. - [POCOViewModel] - public abstract class ReadOnlyCollectionViewModelBase : EntitiesViewModel - where TEntity : class - where TProjection : class - where TUnitOfWork : IUnitOfWork { - - /// - /// Initializes a new instance of the ReadOnlyCollectionViewModelBase class. - /// - /// A factory used to create a unit of work instance. - /// A function that returns the repository representing entities of a given type. - /// A LINQ function used to customize a query for entities. The parameter, for example, can be used for sorting data and/or for projecting data to a custom type that does not match the repository entity type. - protected ReadOnlyCollectionViewModelBase( - IUnitOfWorkFactory unitOfWorkFactory, - Func> getRepositoryFunc, - Func, IQueryable> projection - ) : base(unitOfWorkFactory, getRepositoryFunc, projection) { - } - - /// - /// The selected enity. - /// Since ReadOnlyCollectionViewModelBase is a POCO view model, this property will raise INotifyPropertyChanged.PropertyEvent when modified so it can be used as a binding source in views. - /// - public virtual TProjection SelectedEntity { get; set; } - - /// - /// The lambda expression used to filter which entities will be loaded locally from the unit of work. - /// Since ReadOnlyCollectionViewModelBase is a POCO view model, this property will raise INotifyPropertyChanged.PropertyEvent when modified so it can be used as a binding source in views. - /// - public virtual Expression> FilterExpression { get; set; } - - /// - /// Reloads entities. - /// Since CollectionViewModelBase is a POCO view model, an instance of this class will also expose the RefreshCommand property that can be used as a binding source in views. - /// - public virtual void Refresh() { - LoadEntities(false); - } - - /// - /// Determines whether entities can be reloaded. - /// Since CollectionViewModelBase is a POCO view model, this method will be used as a CanExecute callback for RefreshCommand. - /// - public bool CanRefresh() { - return !IsLoading; - } - - protected override void OnEntitiesAssigned(Func getSelectedEntityCallback) { - base.OnEntitiesAssigned(getSelectedEntityCallback); - SelectedEntity = getSelectedEntityCallback() ?? Entities.FirstOrDefault(); - } - - protected override Func GetSelectedEntityCallback() { - int selectedItemIndex = Entities.IndexOf(SelectedEntity); - return () => (selectedItemIndex >= 0 && selectedItemIndex < Entities.Count) ? Entities[selectedItemIndex] : null; - } - - protected override void OnIsLoadingChanged() { - base.OnIsLoadingChanged(); - this.RaiseCanExecuteChanged(x => x.Refresh()); - } - - protected virtual void OnSelectedEntityChanged() { } - - protected virtual void OnFilterExpressionChanged() { - if(IsLoaded || IsLoading) - LoadEntities(true); - } - - protected override Expression> GetFilterExpression() { - return FilterExpression; + Func, IQueryable> projection, + UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual) + : base(unitOfWorkFactory, getRepositoryFunc, projection, unitOfWorkPolicy) { } } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/SingleObjectViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/SingleObjectViewModel.cs index 1c747f7..0a5d5b5 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/SingleObjectViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/SingleObjectViewModel.cs @@ -1,18 +1,11 @@ using System; -using System.ComponentModel; -using System.ComponentModel.DataAnnotations; -using System.Collections.Generic; using System.Linq; -using System.Linq.Expressions; -using DevExpress.Mvvm; -using DevExpress.Mvvm.POCO; -using DevExpress.Mvvm.DataAnnotations; -using DevExpress.DevAV.Common.Utils; using DevExpress.Mvvm.DataModel; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.Common.ViewModel { /// - /// The base class for POCO view models exposing a single entity of a given type and CRUD operations against this entity. + /// The base class for POCO view models exposing a single entity of a given type and CRUD operations against this entity. /// This is a partial class that provides the extension point to add custom properties, commands and override methods without modifying the auto-generated code. /// /// An entity type. @@ -32,479 +25,4 @@ namespace DevExpress.DevAV.Common.ViewModel { : base(unitOfWorkFactory, getRepositoryFunc, getEntityDisplayNameFunc) { } } - - /// - /// The base class for POCO view models exposing a single entity of a given type and CRUD operations against this entity. - /// It is not recommended to inherit directly from this class. Use the SingleObjectViewModel class instead. - /// - /// An entity type. - /// A primary key value type. - /// A unit of work type. - [POCOViewModel] - public abstract class SingleObjectViewModelBase : ISingleObjectViewModel, ISupportParameter, IDocumentContent - where TEntity : class - where TUnitOfWork : IUnitOfWork { - - object title; - protected readonly Func> getRepositoryFunc; - protected readonly Func getEntityDisplayNameFunc; - Action entityInitializer; - bool isEntityNewAndUnmodified; - readonly Dictionary lookUpViewModels = new Dictionary(); - - /// - /// Initializes a new instance of the SingleObjectViewModelBase class. - /// - /// A factory used to create the unit of work instance. - /// A function that returns repository representing entities of a given type. - /// An optional parameter that provides a function to obtain the display text for a given entity. If ommited, the primary key value is used as a display text. - protected SingleObjectViewModelBase(IUnitOfWorkFactory unitOfWorkFactory, Func> getRepositoryFunc, Func getEntityDisplayNameFunc) { - UnitOfWorkFactory = unitOfWorkFactory; - this.getRepositoryFunc = getRepositoryFunc; - this.getEntityDisplayNameFunc = getEntityDisplayNameFunc; - UpdateUnitOfWork(); - if(this.IsInDesignMode()) - this.Entity = this.Repository.FirstOrDefault(); - else - OnInitializeInRuntime(); - } - - /// - /// The display text for a given entity used as a title in the corresponding view. - /// - /// - public object Title { get { return title; } } - - /// - /// An entity represented by this view model. - /// Since SingleObjectViewModelBase is a POCO view model, this property will raise INotifyPropertyChanged.PropertyEvent when modified so it can be used as a binding source in views. - /// - /// - public virtual TEntity Entity { get; protected set; } - - /// - /// Updates the Title property value and raises CanExecute changed for relevant commands. - /// Since SingleObjectViewModelBase is a POCO view model, an instance of this class will also expose the UpdateCommand property that can be used as a binding source in views. - /// - [Display(AutoGenerateField = false)] - public void Update() { - isEntityNewAndUnmodified = false; - UpdateTitle(); - UpdateCommands(); - } - - /// - /// Saves changes in the underlying unit of work. - /// Since SingleObjectViewModelBase is a POCO view model, an instance of this class will also expose the SaveCommand property that can be used as a binding source in views. - /// - public virtual void Save() { - SaveCore(); - } - - /// - /// Determines whether entity has local changes that can be saved. - /// Since SingleObjectViewModelBase is a POCO view model, this method will be used as a CanExecute callback for SaveCommand. - /// - public virtual bool CanSave() { - return Entity != null && !HasValidationErrors() && NeedSave(); - } - - /// - /// Saves changes in the underlying unit of work and closes the corresponding view. - /// Since SingleObjectViewModelBase is a POCO view model, an instance of this class will also expose the SaveAndCloseCommand property that can be used as a binding source in views. - /// - [Command(CanExecuteMethodName = "CanSave")] - public void SaveAndClose() { - if(SaveCore()) - Close(); - } - - /// - /// Saves changes in the underlying unit of work and create new entity. - /// Since SingleObjectViewModelBase is a POCO view model, an instance of this class will also expose the SaveAndNewCommand property that can be used as a binding source in views. - /// - [Command(CanExecuteMethodName = "CanSave")] - public void SaveAndNew() { - if(SaveCore()) - CreateAndInitializeEntity(this.entityInitializer); - } - - /// - /// Reset entity local changes. - /// Since SingleObjectViewModelBase is a POCO view model, an instance of this class will also expose the ResetCommand property that can be used as a binding source in views. - /// - [Display(Name = "Reset Changes")] - public void Reset() { - MessageResult confirmationResult = MessageBoxService.ShowMessage(CommonResources.Confirmation_Reset, CommonResources.Confirmation_Caption, MessageButton.OKCancel); - if(confirmationResult == MessageResult.OK) - Reload(); - } - - /// - /// Determines whether entity has local changes. - /// Since SingleObjectViewModelBase is a POCO view model, this method will be used as a CanExecute callback for ResetCommand. - /// - public bool CanReset() { - return NeedReset(); - } - - /// - /// Deletes the entity, save changes and closes the corresponding view if confirmed by a user. - /// Since SingleObjectViewModelBase is a POCO view model, an instance of this class will also expose the DeleteCommand property that can be used as a binding source in views. - /// - public virtual void Delete() { - if(MessageBoxService.ShowMessage(string.Format(CommonResources.Confirmation_Delete, typeof(TEntity).Name), GetConfirmationMessageTitle(), MessageButton.YesNo) != MessageResult.Yes) - return; - try { - OnBeforeEntityDeleted(PrimaryKey, Entity); - Repository.Remove(Entity); - UnitOfWork.SaveChanges(); - TPrimaryKey primaryKeyForMessage = PrimaryKey; - TEntity entityForMessage = Entity; - Entity = null; - OnEntityDeleted(primaryKeyForMessage, entityForMessage); - Close(); - } catch (DbException e) { - MessageBoxService.ShowMessage(e.ErrorMessage, e.ErrorCaption, MessageButton.OK, MessageIcon.Error); - } - } - - /// - /// Determines whether the entity can be deleted. - /// Since SingleObjectViewModelBase is a POCO view model, this method will be used as a CanExecute callback for DeleteCommand. - /// - public virtual bool CanDelete() { - return Entity != null && !IsNew(); - } - - /// - /// Closes the corresponding view. - /// Since SingleObjectViewModelBase is a POCO view model, an instance of this class will also expose the CloseCommand property that can be used as a binding source in views. - /// - public void Close() { - if(!TryClose()) - return; - if(DocumentOwner != null) - DocumentOwner.Close(this); - } - - protected IUnitOfWorkFactory UnitOfWorkFactory { get; private set; } - - protected TUnitOfWork UnitOfWork { get; private set; } - - protected virtual bool SaveCore() { - try { - bool isNewEntity = IsNew(); - if(!isNewEntity) { - Repository.SetPrimaryKey(Entity, PrimaryKey); - Repository.Update(Entity); - } - OnBeforeEntitySaved(PrimaryKey, Entity, isNewEntity); - UnitOfWork.SaveChanges(); - LoadEntityByKey(Repository.GetPrimaryKey(Entity)); - OnEntitySaved(PrimaryKey, Entity, isNewEntity); - return true; - } catch (DbException e) { - MessageBoxService.ShowMessage(e.ErrorMessage, e.ErrorCaption, MessageButton.OK, MessageIcon.Error); - return false; - } - } - - protected virtual void OnBeforeEntitySaved(TPrimaryKey primaryKey, TEntity entity, bool isNewEntity) { } - - protected virtual void OnEntitySaved(TPrimaryKey primaryKey, TEntity entity, bool isNewEntity) { - Messenger.Default.Send(new EntityMessage(primaryKey, isNewEntity ? EntityMessageType.Added : EntityMessageType.Changed)); - } - - protected virtual void OnBeforeEntityDeleted(TPrimaryKey primaryKey, TEntity entity) { } - - protected virtual void OnEntityDeleted(TPrimaryKey primaryKey, TEntity entity) { - Messenger.Default.Send(new EntityMessage(primaryKey, EntityMessageType.Deleted)); - } - - protected virtual void OnInitializeInRuntime() { - Messenger.Default.Register>(this, x => OnEntityMessage(x)); - Messenger.Default.Register(this, x => Save()); - Messenger.Default.Register(this, x => OnClosing(x)); - } - - protected virtual void OnEntityMessage(EntityMessage message) { - if(Entity == null) return; - if(message.MessageType == EntityMessageType.Deleted && object.Equals(message.PrimaryKey, PrimaryKey)) - Close(); - } - - protected virtual void OnEntityChanged() { - if(Entity != null && Repository.HasPrimaryKey(Entity)) { - PrimaryKey = Repository.GetPrimaryKey(Entity); - RefreshLookUpCollections(true); - } - Update(); - } - - protected IRepository Repository { get { return getRepositoryFunc(UnitOfWork); } } - - protected TPrimaryKey PrimaryKey { get; private set; } - - protected IMessageBoxService MessageBoxService { get { return this.GetRequiredService(); } } - - protected virtual void OnParameterChanged(object parameter) { - var initializer = parameter as Action; - if(initializer != null) - CreateAndInitializeEntity(initializer); - else if(parameter is TPrimaryKey) - LoadEntityByKey((TPrimaryKey)parameter); - else - Entity = null; - } - - protected virtual TEntity CreateEntity() { - return Repository.Create(); - } - - protected void Reload() { - if(Entity == null || IsNew()) - CreateAndInitializeEntity(this.entityInitializer); - else - LoadEntityByKey(PrimaryKey); - } - - protected void CreateAndInitializeEntity(Action entityInitializer) { - UpdateUnitOfWork(); - this.entityInitializer = entityInitializer; - var entity = CreateEntity(); - if(this.entityInitializer != null) - this.entityInitializer(entity); - Entity = entity; - isEntityNewAndUnmodified = true; - } - - protected void LoadEntityByKey(TPrimaryKey primaryKey) { - UpdateUnitOfWork(); - Entity = Repository.Find(primaryKey); - } - - void UpdateUnitOfWork() { - UnitOfWork = UnitOfWorkFactory.CreateUnitOfWork(); - } - - void UpdateTitle() { - if(Entity == null) - title = null; - else if(IsNew()) - title = GetTitleForNewEntity(); - else - title = GetTitle(GetState() == EntityState.Modified); - this.RaisePropertyChanged(x => x.Title); - } - - protected virtual void UpdateCommands() { - this.RaiseCanExecuteChanged(x => x.Save()); - this.RaiseCanExecuteChanged(x => x.SaveAndClose()); - this.RaiseCanExecuteChanged(x => x.SaveAndNew()); - this.RaiseCanExecuteChanged(x => x.Delete()); - this.RaiseCanExecuteChanged(x => x.Reset()); - } - - protected IDocumentOwner DocumentOwner { get; private set; } - - protected virtual void OnDestroy() { - Messenger.Default.Unregister(this); - RefreshLookUpCollections(false); - } - - protected virtual bool TryClose() { - if(HasValidationErrors()) { - MessageResult warningResult = MessageBoxService.ShowMessage(CommonResources.Warning_SomeFieldsContainInvalidData, CommonResources.Warning_Caption, MessageButton.OKCancel); - return warningResult == MessageResult.OK; - } - if(!NeedReset()) return true; - MessageResult result = MessageBoxService.ShowMessage(CommonResources.Confirmation_Save, GetConfirmationMessageTitle(), MessageButton.YesNoCancel); - if(result == MessageResult.Yes) - return SaveCore(); - return result != MessageResult.Cancel; - } - - protected virtual void OnClosing(CloseAllMessage message) { - if(!message.Cancel) - message.Cancel = !TryClose(); - } - - protected virtual string GetConfirmationMessageTitle() { - return GetTitle(); - } - - protected bool IsNew() { - return GetState() == EntityState.Added; - } - - protected virtual bool NeedSave() { - if(Entity == null) - return false; - EntityState state = GetState(); - return state == EntityState.Modified || state == EntityState.Added; - } - - protected virtual bool NeedReset() { - return NeedSave() && !isEntityNewAndUnmodified; - } - - protected virtual bool HasValidationErrors() { - IDataErrorInfo dataErrorInfo = Entity as IDataErrorInfo; - return dataErrorInfo != null && IDataErrorInfoHelper.HasErrors(dataErrorInfo); - } - - string GetTitle(bool entityModified) { - return GetTitle() + (entityModified ? CommonResources.Entity_Changed : string.Empty); - } - - protected virtual string GetTitleForNewEntity() { - return typeof(TEntity).Name + CommonResources.Entity_New; - } - - protected virtual string GetTitle() { - return (typeof(TEntity).Name + " - " + Convert.ToString(getEntityDisplayNameFunc != null ? getEntityDisplayNameFunc(Entity) : PrimaryKey)) - .Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).FirstOrDefault(); - } - - protected EntityState GetState() { - try { - return Repository.GetState(Entity); - } catch(InvalidOperationException) { - Repository.SetPrimaryKey(Entity, PrimaryKey); - return Repository.GetState(Entity); - } - - } - - #region look up and detail view models - protected virtual void RefreshLookUpCollections(bool raisePropertyChanged) { - var values = lookUpViewModels.ToArray(); - lookUpViewModels.Clear(); - foreach(var item in values) { - item.Value.OnDestroy(); - if(raisePropertyChanged) - ((IPOCOViewModel)this).RaisePropertyChanged(item.Key); - } - } - - protected CollectionViewModel GetDetailsCollectionViewModel( - Expression>> propertyExpression, - Func> getRepositoryFunc, - Expression> foreignKeyExpression, - Action setMasterEntityKeyAction, - Func, IQueryable> projection = null) where TDetailEntity : class { - - return GetCollectionViewModelCore, TDetailEntity, TDetailEntity, TForeignKey>(propertyExpression, foreignKeyExpression, - () => CollectionViewModel.CreateCollectionViewModel(UnitOfWorkFactory, getRepositoryFunc, projection, CreateForeignKeyPropertyInitializer(setMasterEntityKeyAction, PrimaryKey), true)); - } - - protected CollectionViewModel GetDetailProjectionsCollectionViewModel( - Expression>> propertyExpression, - Func> getRepositoryFunc, - Expression> foreignKeyExpression, - Action setMasterEntityKeyAction, - Func, IQueryable> projection = null) where TDetailEntity : class where TDetailProjection : class { - - return GetCollectionViewModelCore, TDetailEntity, TDetailProjection, TForeignKey>(propertyExpression, foreignKeyExpression, - () => CollectionViewModel.CreateProjectionCollectionViewModel(UnitOfWorkFactory, getRepositoryFunc, projection, CreateForeignKeyPropertyInitializer(setMasterEntityKeyAction, PrimaryKey), true)); - } - - protected ReadOnlyCollectionViewModel GetReadOnlyDetailsCollectionViewModel( - Expression>> propertyExpression, - Func> getRepositoryFunc, - Expression> foreignKeyExpression, - Func, IQueryable> projection = null) where TDetailEntity : class { - - return GetCollectionViewModelCore, TDetailEntity, TDetailEntity, TForeignKey>(propertyExpression, foreignKeyExpression, - () => ReadOnlyCollectionViewModel.CreateReadOnlyCollectionViewModel(UnitOfWorkFactory, getRepositoryFunc, projection)); - } - - protected ReadOnlyCollectionViewModel GetReadOnlyDetailProjectionsCollectionViewModel( - Expression>> propertyExpression, - Func> getRepositoryFunc, - Expression> foreignKeyExpression, - Func, IQueryable> projection) where TDetailEntity : class where TDetailProjection : class { - - return GetCollectionViewModelCore, TDetailEntity, TDetailProjection, TForeignKey>(propertyExpression, foreignKeyExpression, - () => ReadOnlyCollectionViewModel.CreateReadOnlyProjectionCollectionViewModel(UnitOfWorkFactory, getRepositoryFunc, projection)); - } - - protected IEntitiesViewModel GetLookUpEntitiesViewModel(Expression>> propertyExpression, Func> getRepositoryFunc, Func, IQueryable> projection = null) where TLookUpEntity : class { - return GetLookUpProjectionsViewModel(propertyExpression, getRepositoryFunc, projection); - } - - protected virtual IEntitiesViewModel GetLookUpProjectionsViewModel(Expression>> propertyExpression, Func> getRepositoryFunc, Func, IQueryable> projection) where TLookUpEntity : class where TLookUpProjection : class { - return GetEntitiesViewModelCore, TLookUpProjection>(propertyExpression, () => LookUpEntitiesViewModel.Create(UnitOfWorkFactory, getRepositoryFunc, projection)); - } - - static Action CreateForeignKeyPropertyInitializer(Action setMasterEntityKeyAction, TForeignKey masterEntityKey) where TDetailEntity : class { - return x => setMasterEntityKeyAction(x, (TPrimaryKey)(object)masterEntityKey); - } - - TViewModel GetCollectionViewModelCore( - LambdaExpression propertyExpression, - Expression> foreignKeyExpression, - Func createViewModelCallback) - where TViewModel : ReadOnlyCollectionViewModel - where TDetailEntity : class - where TDetailProjection : class { - - return GetEntitiesViewModelCore(propertyExpression, - () => CreateAndInitializeCollectionViewModel(createViewModelCallback, foreignKeyExpression)); - } - - TViewModel CreateAndInitializeCollectionViewModel(Func createViewModelCallback, Expression> foreignKeyExpression) - where TViewModel : ReadOnlyCollectionViewModel - where TDetailEntity : class - where TDetailProjection : class { - TViewModel lookUpViewModel = createViewModelCallback().SetParentViewModel(this); - lookUpViewModel.FilterExpression = ExpressionHelper.GetValueEqualsExpression(foreignKeyExpression, (TForeignKey)(object)PrimaryKey); - return lookUpViewModel; - } - - TViewModel GetEntitiesViewModelCore(LambdaExpression propertyExpression, Func createViewModelCallback) - where TViewModel : IEntitiesViewModel - where TDetailEntity : class { - - IDocumentContent result = null; - string propertyName = ExpressionHelper.GetPropertyName(propertyExpression); - if(!lookUpViewModels.TryGetValue(propertyName, out result)) { - result = createViewModelCallback(); - lookUpViewModels[propertyName] = result; - } - return (TViewModel)result; - } - #endregion - - #region ISupportParameter - object ISupportParameter.Parameter { - get { return null; } - set { OnParameterChanged(value); } - } - #endregion - - #region IDocumentContent - object IDocumentContent.Title { get { return Title; } } - - void IDocumentContent.OnClose(CancelEventArgs e) { - e.Cancel = !TryClose(); - } - - void IDocumentContent.OnDestroy() { - OnDestroy(); - } - - IDocumentOwner IDocumentContent.DocumentOwner { - get { return DocumentOwner; } - set { DocumentOwner = value; } - } - #endregion - - #region ISingleObjectViewModel - TEntity ISingleObjectViewModel.Entity { get { return Entity; } } - - TPrimaryKey ISingleObjectViewModel.PrimaryKey { get { return PrimaryKey; } } - #endregion - } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/SingleObjectViewModel.partial.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/SingleObjectViewModel.partial.cs index 73d4360..9b3e95d 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/SingleObjectViewModel.partial.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Common/ViewModel/SingleObjectViewModel.partial.cs @@ -1,11 +1,8 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Windows; using DevExpress.Mvvm; -using DevExpress.Mvvm.DataAnnotations; -using DevExpress.Mvvm.POCO; using DevExpress.Mvvm.DataModel; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.Common.ViewModel { partial class SingleObjectViewModel diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/ColumnViewHelper.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/ColumnViewHelper.cs index 564c7cf..afb944f 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/ColumnViewHelper.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/ColumnViewHelper.cs @@ -1,14 +1,14 @@ namespace DevExpress.DevAV { using System.Collections.Generic; using System.Drawing; - using DevExpress.Mvvm.DataModel; using DevExpress.DevAV.Common.ViewModel; + using DevExpress.Mvvm.DataModel; using DevExpress.XtraGrid.Views.Base; class ColumnViewHelper where TEntity : class where TUnitOfWork : class, IUnitOfWork { - CollectionViewModelBase viewModel; + CollectionViewModel viewModel; ColumnView view; public ColumnViewHelper(ColumnView view, CollectionViewModel viewModel) { this.view = view; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/FilterTreeListHelper.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/FilterTreeListHelper.cs index 3e47422..b36d261 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/FilterTreeListHelper.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/FilterTreeListHelper.cs @@ -1,6 +1,6 @@ namespace DevExpress.DevAV.Modules { - using DevExpress.Mvvm.DataModel; using DevExpress.DevAV.ViewModels; + using DevExpress.Mvvm.DataModel; using DevExpress.Utils.Menu; using DevExpress.XtraTreeList; using DevExpress.XtraTreeList.Nodes; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Helpers.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Helpers.cs index a05ce18..ed308c3 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Helpers.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Helpers.cs @@ -36,26 +36,14 @@ namespace DevExpress.DevAV { e.Appearance.Font = FontResources.GetFont(e.Appearance.Font.FontFamily.Name, rowFontSize, e.Appearance.Font.Style); if(e.RowHandle == FocusedRowHandle && GridControl.Focused) e.Appearance.BackColor = PaintAppearance.FocusedRow.BackColor; - else SetEvenRowAppearance(e.Appearance, e.RowHandle); }; this.CustomDrawRowPreview += (s, e) => { if(e.RowHandle == FocusedRowHandle && GridControl.Focused) { e.Appearance.BackColor = PaintAppearance.FocusedRow.BackColor; e.Appearance.ForeColor = PaintAppearance.FocusedRow.ForeColor; } - else SetEvenRowAppearance(e.Appearance, e.RowHandle); }; } - void SetEvenRowAppearance(AppearanceObject appearance, int rowHandle) { - if(rowHandle % 2 == 0) { - appearance.BackColor = PaintAppearance.EvenRow.BackColor; - appearance.ForeColor = PaintAppearance.EvenRow.ForeColor; - } - else { - appearance.BackColor = PaintAppearance.Row.BackColor; - appearance.ForeColor = PaintAppearance.Row.ForeColor; - } - } public void SetViewFontSize(float rowFontSize, float previewFontSize) { if(previewFontSize > 0) Appearance.Preview.Font = FontResources.GetSegoeUIFont(previewFontSize); @@ -200,6 +188,8 @@ namespace DevExpress.DevAV { winExplorerView.Appearance.ItemDescriptionHovered.Options.UseForeColor = true; winExplorerView.Appearance.ItemDescriptionPressed.ForeColor = ColorHelper.DisabledTextColor; winExplorerView.Appearance.ItemDescriptionPressed.Options.UseForeColor = true; + winExplorerView.Appearance.ItemDescriptionSelected.ForeColor = ColorHelper.DisabledTextColor; + winExplorerView.Appearance.ItemDescriptionSelected.Options.UseForeColor = true; } } // @@ -209,11 +199,7 @@ namespace DevExpress.DevAV { } public static void ProcessStart(string name, string arguments) { try { - System.Diagnostics.Process process = new System.Diagnostics.Process(); - process.StartInfo.FileName = "cmd"; - process.StartInfo.Arguments = $"/c start {name}"; - process.StartInfo.CreateNoWindow = true; - process.Start(); + Data.Utils.SafeProcess.Open(name, arguments); } catch(System.ComponentModel.Win32Exception) { } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Reports/PreviewControl.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Reports/PreviewControl.Designer.cs index 0fd570e..28ab425 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Reports/PreviewControl.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Reports/PreviewControl.Designer.cs @@ -70,7 +70,7 @@ this.documentViewerBarManager1.DockControls.Add(this.barDockControlRight); this.documentViewerBarManager1.DocumentViewer = this.documentViewerCore; this.documentViewerBarManager1.Form = this; - //this.documentViewerBarManager1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("documentViewerBarManager1.ImageStream"))); + this.documentViewerBarManager1.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("documentViewerBarManager1.ImageStream"))); this.documentViewerBarManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.printPreviewStaticItem1, this.progressBarEditItem1, diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Reports/PreviewControl.resx b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Reports/PreviewControl.resx index 448d285..5062823 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Reports/PreviewControl.resx +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Controls/Reports/PreviewControl.resx @@ -119,5 +119,269 @@ 17, 17 - + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/DevAVDbUnitOfWork.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/DevAVDbUnitOfWork.cs index 7a78806..07f184d 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/DevAVDbUnitOfWork.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/DevAVDbUnitOfWork.cs @@ -1,102 +1,96 @@ -using DevExpress.DevAV; -using DevExpress.Mvvm.DataModel; -using DevExpress.Mvvm.DataModel.EFCore; using System; -using System.Collections.Generic; using System.Linq; +using DevExpress.Mvvm.DataModel; +#if DXCORE3 +using DevExpress.Mvvm.DataModel.EFCore; +#else +using DevExpress.Mvvm.DataModel.EF6; +#endif -namespace DevExpress.DevAV.DevAVDbDataModel -{ - +namespace DevExpress.DevAV.DevAVDbDataModel { /// /// A DevAVDbUnitOfWork instance that represents the run-time implementation of the IDevAVDbUnitOfWork interface. /// - public class DevAVDbUnitOfWork : DbUnitOfWork, IDevAVDbUnitOfWork - { + public class DevAVDbUnitOfWork : DbUnitOfWork, IDevAVDbUnitOfWork { public DevAVDbUnitOfWork(Func contextFactory) - : base(contextFactory) - { - } - - IRepository IDevAVDbUnitOfWork.AttachedFiles { - get { return GetRepository(x => x.Set(), (TaskAttachedFile x) => x.Id); } - } - - IRepository IDevAVDbUnitOfWork.Tasks { - get { return GetRepository(x => x.Set(), (EmployeeTask x) => x.Id); } - } - - IRepository IDevAVDbUnitOfWork.Employees { - get { return GetRepository(x => x.Set(), (Employee x) => x.Id); } + : base(contextFactory) { } IRepository IDevAVDbUnitOfWork.Communications { - get { return GetRepository(x => x.Set(), (CustomerCommunication x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } } IRepository IDevAVDbUnitOfWork.CustomerEmployees { - get { return GetRepository(x => x.Set(), (CustomerEmployee x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } } IRepository IDevAVDbUnitOfWork.Customers { - get { return GetRepository(x => x.Set(), (Customer x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } } IRepository IDevAVDbUnitOfWork.CustomerStores { - get { return GetRepository(x => x.Set(), (CustomerStore x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } } IRepository IDevAVDbUnitOfWork.Crests { - get { return GetRepository(x => x.Set(), (Crest x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } } IRepository IDevAVDbUnitOfWork.Orders { - get { return GetRepository(x => x.Set(), (Order x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } } - IRepository IDevAVDbUnitOfWork.OrderItems { - get { return GetRepository(x => x.Set(), (OrderItem x) => x.Id); } + IRepository IDevAVDbUnitOfWork.Employees { + get { return GetRepository(x => x.Set(), x=>x.Id); } } - IRepository IDevAVDbUnitOfWork.Products { - get { return GetRepository(x => x.Set(), (Product x) => x.Id); } - } - - IRepository IDevAVDbUnitOfWork.ProductCatalogs { - get { return GetRepository(x => x.Set(), (ProductCatalog x) => x.Id); } - } - - IRepository IDevAVDbUnitOfWork.ProductImages { - get { return GetRepository(x => x.Set(), (ProductImage x) => x.Id); } - } - - IRepository IDevAVDbUnitOfWork.Pictures { - get { return GetRepository(x => x.Set(), (Picture x) => x.Id); } - } - - IRepository IDevAVDbUnitOfWork.QuoteItems { - get { return GetRepository(x => x.Set(), (QuoteItem x) => x.Id); } - } - - IRepository IDevAVDbUnitOfWork.Quotes { - get { return GetRepository(x => x.Set(), (Quote x) => x.Id); } + IRepository IDevAVDbUnitOfWork.Tasks { + get { return GetRepository(x => x.Set(), x=>x.Id); } } IRepository IDevAVDbUnitOfWork.Evaluations { - get { return GetRepository(x => x.Set(), (Evaluation x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } + } + + IRepository IDevAVDbUnitOfWork.Pictures { + get { return GetRepository(x => x.Set(), x=>x.Id); } } IRepository IDevAVDbUnitOfWork.Probations { - get { return GetRepository(x => x.Set(), (Probation x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } + } + + IRepository IDevAVDbUnitOfWork.OrderItems { + get { return GetRepository(x => x.Set(), x=>x.Id); } + } + + IRepository IDevAVDbUnitOfWork.Products { + get { return GetRepository(x => x.Set(), x=>x.Id); } + } + + IRepository IDevAVDbUnitOfWork.ProductCatalogs { + get { return GetRepository(x => x.Set(), x=>x.Id); } + } + + IRepository IDevAVDbUnitOfWork.ProductImages { + get { return GetRepository(x => x.Set(), x=>x.Id); } + } + + IRepository IDevAVDbUnitOfWork.Quotes { + get { return GetRepository(x => x.Set(), x=>x.Id); } + } + + IRepository IDevAVDbUnitOfWork.QuoteItems { + get { return GetRepository(x => x.Set(), x=>x.Id); } } IRepository IDevAVDbUnitOfWork.States { - get { return GetRepository(x => x.Set(), (State x) => x.ShortName); } + get { return GetRepository(x => x.Set(), x=>x.ShortName); } } IRepository IDevAVDbUnitOfWork.Version { - get { return GetRepository(x => x.Set(), (DatabaseVersion x) => x.Id); } + get { return GetRepository(x => x.Set(), x=>x.Id); } } } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/IDevAVDbUnitOfWork.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/IDevAVDbUnitOfWork.cs index 4442bca..28d59f2 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/IDevAVDbUnitOfWork.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/IDevAVDbUnitOfWork.cs @@ -1,116 +1,106 @@ -using DevExpress.DevAV; -using DevExpress.Mvvm.DataModel; using System; -using System.Collections.Generic; using System.Linq; +using DevExpress.Mvvm.DataModel; -namespace DevExpress.DevAV.DevAVDbDataModel -{ - +namespace DevExpress.DevAV.DevAVDbDataModel { /// /// IDevAVDbUnitOfWork extends the IUnitOfWork interface with repositories representing specific entities. /// - public interface IDevAVDbUnitOfWork : IUnitOfWork - { - - /// - /// The TaskAttachedFile entities repository. - /// - IRepository AttachedFiles { get; } - - /// - /// The EmployeeTask entities repository. - /// - IRepository Tasks { get; } - - /// - /// The Employee entities repository. - /// - IRepository Employees { get; } - + public interface IDevAVDbUnitOfWork : IUnitOfWork { + /// /// The CustomerCommunication entities repository. /// - IRepository Communications { get; } - + IRepository Communications { get; } + /// /// The CustomerEmployee entities repository. /// - IRepository CustomerEmployees { get; } - + IRepository CustomerEmployees { get; } + /// /// The Customer entities repository. /// - IRepository Customers { get; } - + IRepository Customers { get; } + /// /// The CustomerStore entities repository. /// - IRepository CustomerStores { get; } - + IRepository CustomerStores { get; } + /// /// The Crest entities repository. /// - IRepository Crests { get; } - + IRepository Crests { get; } + /// /// The Order entities repository. /// - IRepository Orders { get; } - + IRepository Orders { get; } + /// - /// The OrderItem entities repository. + /// The Employee entities repository. /// - IRepository OrderItems { get; } - + IRepository Employees { get; } + /// - /// The Product entities repository. + /// The EmployeeTask entities repository. /// - IRepository Products { get; } - - /// - /// The ProductCatalog entities repository. - /// - IRepository ProductCatalogs { get; } - - /// - /// The ProductImage entities repository. - /// - IRepository ProductImages { get; } - - /// - /// The Picture entities repository. - /// - IRepository Pictures { get; } - - /// - /// The QuoteItem entities repository. - /// - IRepository QuoteItems { get; } - - /// - /// The Quote entities repository. - /// - IRepository Quotes { get; } - + IRepository Tasks { get; } + /// /// The Evaluation entities repository. /// - IRepository Evaluations { get; } - + IRepository Evaluations { get; } + + /// + /// The Picture entities repository. + /// + IRepository Pictures { get; } + /// /// The Probation entities repository. /// - IRepository Probations { get; } - + IRepository Probations { get; } + + /// + /// The OrderItem entities repository. + /// + IRepository OrderItems { get; } + + /// + /// The Product entities repository. + /// + IRepository Products { get; } + + /// + /// The ProductCatalog entities repository. + /// + IRepository ProductCatalogs { get; } + + /// + /// The ProductImage entities repository. + /// + IRepository ProductImages { get; } + + /// + /// The Quote entities repository. + /// + IRepository Quotes { get; } + + /// + /// The QuoteItem entities repository. + /// + IRepository QuoteItems { get; } + /// /// The State entities repository. /// - IRepository States { get; } - + IRepository States { get; } + /// /// The DatabaseVersion entities repository. /// - IRepository Version { get; } + IRepository Version { get; } } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/UnitOfWorkSource.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/UnitOfWorkSource.cs index 3c04e29..4b3055f 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/UnitOfWorkSource.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevAVDbDataModel/UnitOfWorkSource.cs @@ -1,38 +1,23 @@ -using DevExpress.DevAV; -using DevExpress.Mvvm; -using DevExpress.Mvvm.DataModel; -using DevExpress.Mvvm.DataModel.DesignTime; -using DevExpress.Mvvm.DataModel.EFCore; using System; -using System.Collections; using System.Linq; +using DevExpress.Mvvm.DataModel; +#if DXCORE3 +using DevExpress.Mvvm.DataModel.EFCore; +#else +using DevExpress.Mvvm.DataModel.EF6; +#endif -namespace DevExpress.DevAV.DevAVDbDataModel -{ - +namespace DevExpress.DevAV.DevAVDbDataModel { /// /// Provides methods to obtain the relevant IUnitOfWorkFactory. /// - public static class UnitOfWorkSource - { - + public static class UnitOfWorkSource { /// - /// Returns the IUnitOfWorkFactory implementation based on the current mode (run-time or design-time). + /// Returns the IUnitOfWorkFactory implementation. /// - public static IUnitOfWorkFactory GetUnitOfWorkFactory() - { - return GetUnitOfWorkFactory(ViewModelBase.IsInDesignMode); - } - - /// - /// Returns the IUnitOfWorkFactory implementation based on the given mode (run-time or design-time). - /// - /// Used to determine which implementation of IUnitOfWorkFactory should be returned. - public static IUnitOfWorkFactory GetUnitOfWorkFactory(bool isInDesignTime) - { - //if (isInDesignTime) - // return new DesignTimeUnitOfWorkFactory(() => new DevAVDbDesignTimeUnitOfWork()); - return new DbUnitOfWorkFactory(() => new DevAVDbUnitOfWork(() => new DevAVDb(@"Data Source=devav.sqlite3"))); + public static IUnitOfWorkFactory GetUnitOfWorkFactory() { + Func contextFactory = () => new DevAVDb(@"Data Source=..\Data\devav.sqlite3"); + return new DbUnitOfWorkFactory(() => new DevAVDbUnitOfWork(contextFactory)); } } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevExpress.OutlookInspiredApp.csproj b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevExpress.OutlookInspiredApp.csproj index 9d7c9cb..84d9d9b 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevExpress.OutlookInspiredApp.csproj +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/DevExpress.OutlookInspiredApp.csproj @@ -1,42 +1,1253 @@ - - - false - false - WinExe - netcoreapp3.0 - DevExpress WinForms - DevExpress Outlook Inspired Application - 18.2.0.0 - Debug;Release - DevExpress.OutlookInspiredApp.Win - DevExpress.DevAV + + + {3932816E-D0B4-08A9-2715-8D5B7DC201D8} + netcoreapp3.0 + WinExe + False + Debug;Release;DebugTest + False + False + DevExpress.DevAV + DevExpress.OutlookInspiredApp.Win + 512 + Properties + + + true + 4 + true + full + false + prompt ..\bin\ - + DEBUG;TRACE;DXCORE3; + + + true + 4 + pdbonly + true + prompt + ..\bin\ + TRACE;DXCORE3; + - - - - - - - + + True + True + CommonResources.resx + + + + + + + + + + + + + + + + + Component + + + UserControl + + + ContactsControl.cs + + + UserControl + + + EvaluationsControl.cs + + + UserControl + + + ImagesControl.cs + + + UserControl + + + InvoiceSettingsControl.cs + + + UserControl + + + SortFilterControl.cs + + + UserControl + + + SortOrderControl.cs + + + UserControl + + + TasksSortControl.cs + + + UserControl + + + YearsControl.cs + + + UserControl + + + ViewSettingsControl.cs + + + + + + UserControl + + + UserControl + + + CustomerMapView.cs + + + UserControl + + + CustomersCustomFilter.cs + + + UserControl + + + CustomersExport.cs + + + UserControl + + + CustomersFilterPaneCollapsed.cs + + + UserControl + + + CustomersGroupFilter.cs + + + UserControl + + + CustomersPrint.cs + + + UserControl + + + CustomerView.cs + + + UserControl + + + EmployeeMailMerge.cs + + + UserControl + + + EmployeesExport.cs + + + UserControl + + + EmployeesFilterPaneCollapsed.cs + + + UserControl + + + EmployeesCustomFilter.cs + + + UserControl + + + EmployeeMapView.cs + + + UserControl + + + EmployeesGroupFilter.cs + + + UserControl + + + EmployeesPrint.cs + + + UserControl + + + QuotesCustomFilter.cs + + + UserControl + + + QuotesMapView.cs + + + UserControl + + + ProductAnalysis.cs + + + UserControl + + + ProductsCustomFilter.cs + + + UserControl + + + ProductsGroupFilter.cs + + + UserControl + + + OrderRevenueView.cs + + + UserControl + + + OrderDocQuickReportView.cs + + + UserControl + + + OrderMailMerge.cs + + + UserControl + + + OrderMapView.cs + + + UserControl + + + CustomerAnalysis.cs + + + UserControl + + + OrderPdfQuickReportView.cs + + + UserControl + + + OrdersCustomFilter.cs + + + UserControl + + + OrdersExport.cs + + + UserControl + + + OrdersPrint.cs + + + UserControl + + + OrderEditView.cs + + + UserControl + + + OrderXlsQuickReportView.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + UserControl + + + Customers.cs + + + UserControl + + + CustomersFilterPane.cs + + + UserControl + + + CustomersPeek.cs + + + UserControl + + + EmployeeEditView.cs + + + UserControl + + + Employees.cs + + + UserControl + + + EmployeeView.cs + + + + + UserControl + + + Quotes.cs + + + UserControl + + + QuotesFilterPane.cs + + + UserControl + + + QuotesFilterPaneCollapsed.cs + + + UserControl + + + QuoteView.cs + + + UserControl + + + OverviewControl.cs + + + UserControl + + + ProductMapView.cs + + + UserControl + + + Products.cs + + + UserControl + + + ProductsExport.cs + + + UserControl + + + ProductsFilterPane.cs + + + UserControl + + + ProductsFilterPaneCollapsed.cs + + + UserControl + + + ProductsPeek.cs + + + UserControl + + + ProductsPrint.cs + + + UserControl + + + ProductView.cs + + + UserControl + + + Orders.cs + + + UserControl + + + OrdersFilterPane.cs + + + UserControl + + + OrdersFilterPaneCollapsed.cs + + + UserControl + + + OrderView.cs + + + + + Form + + + DetailForm.cs + + + Form + + + FilterForm.cs + + + + + + + + UserControl + + + PreviewControl.cs + + + UserControl + + + PrintControl.cs + + + UserControl + + + ExportControl.cs + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ResXFileCodeGenerator + CommonResources.Designer.cs + + + ContactsControl.cs + + + EvaluationsControl.cs + + + ImagesControl.cs + + + InvoiceSettingsControl.cs + + + SortFilterControl.cs + + + SortOrderControl.cs + + + TasksSortControl.cs + + + YearsControl.cs + + + ViewSettingsControl.cs + + + BaseModule.cs + + + CustomerMapView.cs + + + Customers.cs + + + CustomersCustomFilter.cs + + + CustomersFilterPane.cs + + + CustomersFilterPaneCollapsed.cs + + + CustomersGroupFilter.cs + + + CustomersPrint.cs + + + CustomerView.cs + + + EmployeeMailMerge.cs + + + EmployeeMapView.cs + + + EmployeeEditView.cs + + + EmployeesCustomFilter.cs + + + EmployeesExport.cs + + + EmployeesFilterPaneCollapsed.cs + + + EmployeesGroupFilter.cs + + + EmployeesPrint.cs + + + EmployeeView.cs + + + Quotes.cs + + + QuotesCustomFilter.cs + + + QuotesFilterPane.cs + + + QuotesFilterPaneCollapsed.cs + + + QuotesMapView.cs + + + QuoteView.cs + + + OverviewControl.cs + + + ProductAnalysis.cs + + + ProductMapView.cs + + + Products.cs + + + ProductsCustomFilter.cs + + + ProductsFilterPane.cs + + + ProductsFilterPaneCollapsed.cs + + + ProductsGroupFilter.cs + + + ProductsPeek.cs + + + ProductView.cs + + + OrderRevenueView.cs + + + OrderDocQuickReportView.cs + + + OrderMailMerge.cs + + + OrderMapView.cs + + + OrderPdfQuickReportView.cs + + + Orders.cs + + + CustomerAnalysis.cs + + + OrdersCustomFilter.cs + + + OrdersExport.cs + + + OrdersFilterPane.cs + + + OrdersFilterPaneCollapsed.cs + + + OrdersPrint.cs + + + OrderView.cs + + + OrderEditView.cs + + + OrderXlsQuickReportView.cs + + + DetailForm.cs + + + PreviewControl.cs + + + PrintControl.cs + + + ExportControl.cs + + + FilterForm.cs + + + + Form + + + MainForm.cs + + + UserControl + + + EmployeesFilterPane.cs + + + UserControl + + + EmployeesPeek.cs + + + + + MainForm.cs + Designer + + + CustomersPeek.cs + + + Employees.cs + + + EmployeesFilterPane.cs + + + EmployeesPeek.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + + + Designer + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + False + Microsoft .NET Framework 4 Client Profile %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + false + + + False + Windows Installer 4.5 + true + - - - - - \ No newline at end of file + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/DevExpress.ico b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/DevExpress.ico new file mode 100644 index 0000000..f387039 Binary files /dev/null and b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/DevExpress.ico differ diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Employee.ico b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Employee.ico new file mode 100644 index 0000000..e7a4e8b Binary files /dev/null and b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Employee.ico differ diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Map.ico b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Map.ico new file mode 100644 index 0000000..0f72969 Binary files /dev/null and b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Map.ico differ diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Opportunities.ico b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Opportunities.ico new file mode 100644 index 0000000..7f7deb8 Binary files /dev/null and b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Opportunities.ico differ diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Universal.ico b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Universal.ico new file mode 100644 index 0000000..8da294c Binary files /dev/null and b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Universal.ico differ diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Win.ico b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Win.ico new file mode 100644 index 0000000..9b014f6 Binary files /dev/null and b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Icons/Win.ico differ diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/MainForm.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/MainForm.cs index a6ae428..4f82e6c 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/MainForm.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/MainForm.cs @@ -123,7 +123,7 @@ namespace DevExpress.DevAV { moduleControl.Parent = modulesContainer; navBar.SendToBack(); modulesContainer.ResumeLayout(); - Text = string.Format("{1} - {0} (.Net Core 3.0)", ViewModel.GetModuleCaption(ViewModel.SelectedModuleType), "DevAV"); + Text = string.Format("{1} - {0}", ViewModel.GetModuleCaption(ViewModel.SelectedModuleType), "DevAV"); IRibbonModule ribbonModuleControl = moduleControl as IRibbonModule; if(ribbonModuleControl != null) { Ribbon.MergeRibbon(ribbonModuleControl.Ribbon); @@ -175,8 +175,8 @@ namespace DevExpress.DevAV { ribbonControl.ShowApplicationButtonContentControl(); } void backstageViewControl_Shown(object sender, EventArgs e) { - tabBackstageViewExport.Enabled = false; - tabBackstageViewPrint.Enabled = false; + tabBackstageViewExport.Enabled = ViewModel.SelectedExportModuleType != ModuleType.QuotesExport; + tabBackstageViewPrint.Enabled = ViewModel.SelectedPrintModuleType != ModuleType.QuotesPrint; } void backstageViewControl_Hidden(object sender, EventArgs e) { if(backstageViewControl.SelectedTab != tabBackstageViewAbout) @@ -515,7 +515,7 @@ namespace DevExpress.DevAV { OnNotificationClick(e.NotificationID); } bool CanUseToastNotifications() { - return false; + return DevExpress.XtraBars.ToastNotifications.ToastNotificationsManager.AreToastNotificationsSupported; } void ShowNotification(int index) { var notification = notificationManager.Notifications[index]; @@ -540,13 +540,19 @@ namespace DevExpress.DevAV { ViewModel.SelectedModuleType = ModuleType.Orders; } if(notificationID == notificationManager.Notifications[1].ID) { - ViewModel.SelectedModuleType = ModuleType.CustomerMapView; + ISupportMap supportMap = ViewModel.SelectedModuleViewModel as ISupportMap; + if(supportMap != null && supportMap.CanShowMap()) + supportMap.ShowMap(); } if(notificationID == notificationManager.Notifications[2].ID) { ViewModel.SelectedModuleType = ModuleType.Products; } if(notificationID == notificationManager.Notifications[3].ID) { - ViewModel.SelectedModuleType = ModuleType.Customers; + if(!(ViewModel.SelectedModuleViewModel is ISupportAnalysis)) + ViewModel.SelectedModuleType = ModuleType.Customers; + ISupportAnalysis supportAnalysis = ViewModel.SelectedModuleViewModel as ISupportAnalysis; + if(supportAnalysis != null) + supportAnalysis.ShowAnalysis(); } } #endregion Notifications diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/Customers.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/Customers.cs index 15e7507..168b959 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/Customers.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/Customers.cs @@ -26,10 +26,6 @@ // InitViewKind(); InitViewLayout(); - //netcore3 - galleryQuickReports.Enabled = false; - biPrintSubItem.Enabled = false; - biSalesAnalysis.Enabled = false; } protected override void OnDisposing() { CollectionPresenter.Dispose(); diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersExport.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersExport.cs index 9d9c22c..aeaf74f 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersExport.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersExport.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Windows.Forms; using DevExpress.DevAV; - + using DevExpress.DevAV.Reports; using DevExpress.DevAV.ViewModels; using DevExpress.XtraPrinting; using DevExpress.XtraReports.Parameters; @@ -159,6 +159,7 @@ break; case CustomerReportType.SalesDetail: var orders = QueriesHelper.GetCustomerSaleDetails(CollectionViewModel.SelectedEntityKey, CollectionViewModel.GetOrderItems()); + ((CustomerSalesDetailReport)report).SetChartData(orders.SelectMany(x => x.OrderItems).ToArray()); report.DataSource = orders; break; case CustomerReportType.Profile: diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersGroupFilter.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersGroupFilter.Designer.cs index ff308ae..15787e6 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersGroupFilter.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersGroupFilter.Designer.cs @@ -111,6 +111,8 @@ this.winExplorerView.Appearance.ItemNormal.Options.UseFont = true; this.winExplorerView.Appearance.ItemPressed.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.winExplorerView.Appearance.ItemPressed.Options.UseFont = true; + this.winExplorerView.Appearance.ItemSelected.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.winExplorerView.Appearance.ItemSelected.Options.UseFont = true; this.winExplorerView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.winExplorerView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colLogo, diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersPrint.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersPrint.cs index 028f49b..409e9d0 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersPrint.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Customers/CustomersPrint.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Windows.Forms; using DevExpress.DevAV; - + using DevExpress.DevAV.Reports; using DevExpress.DevAV.ViewModels; using DevExpress.XtraPrinting; using DevExpress.XtraReports.Parameters; @@ -125,7 +125,7 @@ break; case CustomerReportType.SalesDetail: var orders = QueriesHelper.GetCustomerSaleDetails(CollectionViewModel.SelectedEntityKey, CollectionViewModel.GetOrderItems()); - //((CustomerSalesDetailReport)report).SetChartData(orders.SelectMany(x => x.OrderItems).ToArray()); + ((CustomerSalesDetailReport)report).SetChartData(orders.SelectMany(x => x.OrderItems).ToArray()); report.DataSource = orders; break; case CustomerReportType.Profile: diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeMailMerge.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeMailMerge.Designer.cs index 7e50ac6..e2b1349 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeMailMerge.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeMailMerge.Designer.cs @@ -1,4 +1,5 @@ -namespace DevExpress.DevAV.Modules { +#if !DXCORE3 +namespace DevExpress.DevAV.Modules { partial class EmployeeMailMerge { /// /// Required designer variable. @@ -217,7 +218,7 @@ // // stylesRibbonPageGroup1 // - //this.stylesRibbonPageGroup1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("stylesRibbonPageGroup1.ImageOptions.Image"))); + this.stylesRibbonPageGroup1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("stylesRibbonPageGroup1.ImageOptions.Image"))); this.stylesRibbonPageGroup1.ItemLinks.Add(this.galleryChangeStyleItem1); this.stylesRibbonPageGroup1.Name = "stylesRibbonPageGroup1"; // @@ -934,13 +935,13 @@ // repositoryItemMailMergeCurrentRecordEdit1 // this.repositoryItemMailMergeCurrentRecordEdit1.AutoHeight = false; - //editorButtonImageOptions1.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions1.Image"))); + editorButtonImageOptions1.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions1.Image"))); editorButtonImageOptions1.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft; - //editorButtonImageOptions2.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions2.Image"))); + editorButtonImageOptions2.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions2.Image"))); editorButtonImageOptions2.Location = DevExpress.XtraEditors.ImageLocation.MiddleRight; - //editorButtonImageOptions3.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions3.Image"))); + editorButtonImageOptions3.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions3.Image"))); editorButtonImageOptions3.Location = DevExpress.XtraEditors.ImageLocation.MiddleLeft; - //editorButtonImageOptions4.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions4.Image"))); + editorButtonImageOptions4.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions4.Image"))); editorButtonImageOptions4.Location = DevExpress.XtraEditors.ImageLocation.MiddleRight; this.repositoryItemMailMergeCurrentRecordEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", 6, true, true, true, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "Previous", DevExpress.Snap.Extensions.UI.MailMergeCurrentRecordEditorButtonTag.Prev, null, DevExpress.Utils.ToolTipAnchor.Default), @@ -1640,4 +1641,5 @@ private XtraRichEdit.UI.DocumentProofingRibbonPageGroup documentProofingRibbonPageGroup1; private XtraSpellChecker.SpellChecker spellChecker1; } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeMailMerge.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeMailMerge.cs index 3cce9b3..c405363 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeMailMerge.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeMailMerge.cs @@ -1,4 +1,5 @@ -namespace DevExpress.DevAV.Modules { +#if !DXCORE3 +namespace DevExpress.DevAV.Modules { using System; using System.Drawing; using DevExpress.DevAV; @@ -151,4 +152,5 @@ } #endregion } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.Designer.cs index 6843895..7fd2aec 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.Designer.cs @@ -244,7 +244,7 @@ // // images // - //this.images.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("images.ImageStream"))); + this.images.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("images.ImageStream"))); this.images.TransparentColor = System.Drawing.Color.Transparent; this.images.InsertImage(global::DevExpress.DevAV.Properties.Resources.glyph_message_16, "glyph_message_16", typeof(global::DevExpress.DevAV.Properties.Resources), 0); this.images.Images.SetKeyName(0, "glyph_message_16"); @@ -306,7 +306,7 @@ this.navigationItemTasks}); this.officeTabFilter.Location = new System.Drawing.Point(2, 150); this.officeTabFilter.Name = "officeTabFilter"; - this.officeTabFilter.SelectedItem = this.navigationItemEvaluations; + this.officeTabFilter.SelectedItem = this.navigationItemTasks; this.officeTabFilter.Size = new System.Drawing.Size(574, 31); this.officeTabFilter.TabIndex = 10; this.officeTabFilter.ViewMode = DevExpress.XtraBars.Navigation.OfficeNavigationBarViewMode.Tab; @@ -749,11 +749,11 @@ // // buttonImages // - //this.buttonImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("buttonImages.ImageStream"))); - //this.buttonImages.TransparentColor = System.Drawing.Color.Transparent; - //this.buttonImages.Images.SetKeyName(0, "glyph-backg-normal.png"); - //this.buttonImages.Images.SetKeyName(1, "glyph-backg-hover.png"); - //this.buttonImages.Images.SetKeyName(2, "glyph-backg-pressed.png"); + this.buttonImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("buttonImages.ImageStream"))); + this.buttonImages.TransparentColor = System.Drawing.Color.Transparent; + this.buttonImages.Images.SetKeyName(0, "glyph-backg-normal.png"); + this.buttonImages.Images.SetKeyName(1, "glyph-backg-hover.png"); + this.buttonImages.Images.SetKeyName(2, "glyph-backg-pressed.png"); // // layoutControlGroup1 // @@ -818,7 +818,6 @@ this.lciTasks.Size = new System.Drawing.Size(289, 408); this.lciTasks.TextSize = new System.Drawing.Size(0, 0); this.lciTasks.TextVisible = false; - this.lciTasks.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlGroup2 // @@ -891,6 +890,7 @@ this.lciEvaluations.Size = new System.Drawing.Size(289, 408); this.lciEvaluations.TextSize = new System.Drawing.Size(0, 0); this.lciEvaluations.TextVisible = false; + this.lciEvaluations.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never; // // layoutControlItem1 // diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.cs index 3c13205..c1ea08e 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.cs @@ -33,7 +33,6 @@ svgYes = SvgImage.FromResources("DevExpress.DevAV.Resources.EvaluationYes.svg", asm); svgNo = SvgImage.FromResources("DevExpress.DevAV.Resources.EvaluationNo.svg", asm); priorityImages = SVGHelper.CreateTaskPriorityImages(LookAndFeel, "DevExpress.DevAV.Resources.Tasks."); - buttonPanel.UseButtonBackgroundImages = false; } void OfficeTabFilter_SelectedItemChanged(object sender, XtraBars.Navigation.NavigationBarItemEventArgs e) { diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.resx b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.resx index 76bf5f8..10869c8 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.resx +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeeView.resx @@ -123,6 +123,18 @@ 144, 17 + 362, 17 diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.Designer.cs index 89642fb..99b41c7 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.Designer.cs @@ -729,8 +729,7 @@ this.colPrefix.FieldName = "Prefix"; this.colPrefix.ImageOptions.Alignment = System.Drawing.StringAlignment.Center; this.colPrefix.ImageOptions.Image = global::DevExpress.DevAV.Properties.Resources.icon_prefix_16; - this.colPrefix.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - this.colPrefix.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.NewGroup.svg"; + this.colPrefix.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("colPrefix.ImageOptions.SvgImage"))); this.colPrefix.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.colPrefix.Name = "colPrefix"; this.colPrefix.OptionsColumn.AllowFocus = false; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.cs index 9e64d62..6894077 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.cs @@ -24,8 +24,6 @@ InitViewKind(); InitViewLayout(); InitEditors(); - //NetCore3 - biPrintSubItem.Enabled = false; } protected override void OnDisposing() { CollectionPresenter.Dispose(); diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.resx b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.resx index b4fa6bf..c702450 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.resx +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/Employees.resx @@ -123,6 +123,34 @@ 144, 17 + 44 diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesExport.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesExport.cs index 15e2eeb..762448a 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesExport.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesExport.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Windows.Forms; using DevExpress.DevAV; - + using DevExpress.DevAV.Reports; using DevExpress.DevAV.ViewModels; using DevExpress.XtraPrinting; using DevExpress.XtraReports.Parameters; @@ -57,6 +57,7 @@ get { return GetParameter("paramDueDate", typeof(bool)); } } void ViewModel_ReportEntityKeyChanged(object sender, EventArgs e) { + if(!(report is EmployeeProfile)) return; UpdatePreview(); } void ViewModel_ReportTypeChanged(object sender, System.EventArgs e) { diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesGroupFilter.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesGroupFilter.Designer.cs index 1dc10c5..cf1ddac 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesGroupFilter.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesGroupFilter.Designer.cs @@ -111,6 +111,8 @@ this.winExplorerView.Appearance.ItemNormal.Options.UseFont = true; this.winExplorerView.Appearance.ItemPressed.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.winExplorerView.Appearance.ItemPressed.Options.UseFont = true; + this.winExplorerView.Appearance.ItemSelected.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.winExplorerView.Appearance.ItemSelected.Options.UseFont = true; this.winExplorerView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.winExplorerView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colPhoto, diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesPrint.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesPrint.cs index bb40bd8..a717481 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesPrint.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Employees/EmployeesPrint.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Windows.Forms; using DevExpress.DevAV; - + using DevExpress.DevAV.Reports; using DevExpress.DevAV.ViewModels; using DevExpress.XtraPrinting; using DevExpress.XtraReports.Parameters; @@ -60,6 +60,8 @@ get { return GetParameter("paramDueDate", typeof(bool)); } } void ViewModel_ReportEntityKeyChanged(object sender, EventArgs e) { + if(!(report is EmployeeProfile)) + return; UpdatePreview(); } void ViewModel_ReportTypeChanged(object sender, System.EventArgs e) { diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/Products.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/Products.cs index 2894537..fedb241 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/Products.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/Products.cs @@ -28,10 +28,6 @@ InitViewKind(); InitViewLayout(); InitEditors(); - //netcore3 - galleryQuickReports.Enabled = false; - biPrintSubItem.Enabled = false; - biSalesAnalysis.Enabled = false; } protected override void OnDisposing() { CollectionPresenter.Dispose(); diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsExport.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsExport.cs index 3f1c251..a9a8974 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsExport.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsExport.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Windows.Forms; using DevExpress.DevAV; - + using DevExpress.DevAV.Reports; using DevExpress.DevAV.ViewModels; using DevExpress.XtraPrinting; using DevExpress.XtraReports.Parameters; @@ -119,6 +119,7 @@ break; case ProductReportType.OrderDetail: report.DataSource = ViewModel.GetOrderItems((long)CollectionViewModel.SelectedEntityKey); + (report as ProductOrders).SetStates(ViewModel.GetStates()); break; } return report; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsGroupFilter.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsGroupFilter.Designer.cs index de4f504..fad2bd5 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsGroupFilter.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsGroupFilter.Designer.cs @@ -111,6 +111,8 @@ this.winExplorerView.Appearance.ItemNormal.Options.UseFont = true; this.winExplorerView.Appearance.ItemPressed.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.winExplorerView.Appearance.ItemPressed.Options.UseFont = true; + this.winExplorerView.Appearance.ItemSelected.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.winExplorerView.Appearance.ItemSelected.Options.UseFont = true; this.winExplorerView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.winExplorerView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colImage, diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsPrint.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsPrint.cs index 070f265..c238ac8 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsPrint.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Products/ProductsPrint.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Windows.Forms; using DevExpress.DevAV; - + using DevExpress.DevAV.Reports; using DevExpress.DevAV.ViewModels; using DevExpress.XtraPrinting; using DevExpress.XtraReports.Parameters; @@ -120,7 +120,7 @@ break; case ProductReportType.OrderDetail: report.DataSource = ViewModel.GetOrderItems((long)CollectionViewModel.SelectedEntityKey); - //(report as ProductOrders).SetStates(ViewModel.GetStates()); + (report as ProductOrders).SetStates(ViewModel.GetStates()); break; } return report; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderEditView.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderEditView.cs index 301a488..fd21cd0 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderEditView.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderEditView.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; - +using DevExpress.DevAV.Reports.Spreadsheet; using DevExpress.DevAV.ViewModels; using DevExpress.Spreadsheet; using DevExpress.Utils.Drawing; @@ -32,42 +32,42 @@ namespace DevExpress.DevAV.Modules { protected override void OnLoad(EventArgs e) { base.OnLoad(e); BindCommands(); - //LoadInvoiceTemplate(); - //CreateInvoiceHelper(); + LoadInvoiceTemplate(); + CreateInvoiceHelper(); } public OrderViewModel ViewModel { get { return GetViewModel(); } } - //void LoadInvoiceTemplate() { - // using(var stream = InvoiceHelper.GetInvoiceTemplate()) - // spreadsheetControl1.LoadDocument(stream); - //} - //InvoiceHelper invoiceHelper; - //void CreateInvoiceHelper() { - // var actions = CreateInvoiceEditActions(); - // var dataSource = ViewModel.CreateInvoiceDataSource(); - // this.invoiceHelper = new InvoiceHelper(spreadsheetControl1.Document, dataSource, actions); - //} - //EditActions CreateInvoiceEditActions() { - // EditActions actions = new EditActions(); - // actions.IsDefaultActions = false; - // // Do not simplify lines below due to VB convertation - // actions.GetCustomerStores = new Func>(ViewModel.GetCustomerStores); - // actions.CreateOrderItem = new Func(ViewModel.CreateOrderItem); - // actions.AddOrderItem = new Action(ViewModel.AddOrderItem); - // actions.RemoveOrderItem = new Action(ViewModel.RemoveOrderItem); - // actions.ActivateEditor = new Action(SpreadsheetControl_ActivateEditor); - // actions.CloseEditor = new Action(SpreadsheetControl_CloseEditor); - // // Do not simplify lines above due to VB convertation - // return actions; - //} - //void SpreadsheetControl_ActivateEditor() { - // Worksheet activeSheet = spreadsheetControl1.ActiveWorksheet; - // if(activeSheet.Name == CellsHelper.InvoiceWorksheetName) { - // if(activeSheet.CustomCellInplaceEditors.GetCustomCellInplaceEditors(activeSheet.Selection).Count > 0) - // spreadsheetControl1.OpenCellEditor(XtraSpreadsheet.CellEditorMode.Edit); - // } - //} + void LoadInvoiceTemplate() { + using(var stream = InvoiceHelper.GetInvoiceTemplate()) + spreadsheetControl1.LoadDocument(stream); + } + InvoiceHelper invoiceHelper; + void CreateInvoiceHelper() { + var actions = CreateInvoiceEditActions(); + var dataSource = ViewModel.CreateInvoiceDataSource(); + this.invoiceHelper = new InvoiceHelper(spreadsheetControl1.Document, dataSource, actions); + } + EditActions CreateInvoiceEditActions() { + EditActions actions = new EditActions(); + actions.IsDefaultActions = false; + // Do not simplify lines below due to VB convertation + actions.GetCustomerStores = new Func>(ViewModel.GetCustomerStores); + actions.CreateOrderItem = new Func(ViewModel.CreateOrderItem); + actions.AddOrderItem = new Action(ViewModel.AddOrderItem); + actions.RemoveOrderItem = new Action(ViewModel.RemoveOrderItem); + actions.ActivateEditor = new Action(SpreadsheetControl_ActivateEditor); + actions.CloseEditor = new Action(SpreadsheetControl_CloseEditor); + // Do not simplify lines above due to VB convertation + return actions; + } + void SpreadsheetControl_ActivateEditor() { + Worksheet activeSheet = spreadsheetControl1.ActiveWorksheet; + if(activeSheet.Name == CellsHelper.InvoiceWorksheetName) { + if(activeSheet.CustomCellInplaceEditors.GetCustomCellInplaceEditors(activeSheet.Selection).Count > 0) + spreadsheetControl1.OpenCellEditor(XtraSpreadsheet.CellEditorMode.Edit); + } + } void SpreadsheetControl_CloseEditor() { if(spreadsheetControl1.IsCellEditorActive) spreadsheetControl1.CloseCellEditor(XtraSpreadsheet.CellEditorEnterValueMode.Cancel); @@ -75,25 +75,25 @@ namespace DevExpress.DevAV.Modules { void SpreadsheetControl_CustomCellEdit(object sender, XtraSpreadsheet.SpreadsheetCustomCellEditEventArgs e) { if(!e.ValueObject.IsText) return; - //var editorInfo = CellsHelper.FindEditor(e.ValueObject.TextValue); - //if(editorInfo != null && e.RepositoryItem is RepositoryItemSpinEdit) { - // RepositoryItemSpinEdit repositoryItemSpinEdit = e.RepositoryItem as RepositoryItemSpinEdit; - // repositoryItemSpinEdit.MinValue = editorInfo.MinValue; - // repositoryItemSpinEdit.MaxValue = editorInfo.MaxValue; - // repositoryItemSpinEdit.Increment = editorInfo.Increment; - // repositoryItemSpinEdit.IsFloatValue = false; - //} + var editorInfo = CellsHelper.FindEditor(e.ValueObject.TextValue); + if(editorInfo != null && e.RepositoryItem is RepositoryItemSpinEdit) { + RepositoryItemSpinEdit repositoryItemSpinEdit = e.RepositoryItem as RepositoryItemSpinEdit; + repositoryItemSpinEdit.MinValue = editorInfo.MinValue; + repositoryItemSpinEdit.MaxValue = editorInfo.MaxValue; + repositoryItemSpinEdit.Increment = editorInfo.Increment; + repositoryItemSpinEdit.IsFloatValue = false; + } } void SpreadsheetControl_SelectionChanged(object sender, EventArgs e) { - //invoiceHelper.SelectionChanged(); + invoiceHelper.SelectionChanged(); } void SpreadsheetControl_CellValueChanged(object sender, XtraSpreadsheet.SpreadsheetCellEventArgs e) { - //invoiceHelper.CellValueChanged(sender, e); + invoiceHelper.CellValueChanged(sender, e); ViewModel.Update(); } void SpreadsheetControl_MouseClick(object sender, MouseEventArgs e) { - //if(e.Button == MouseButtons.Left) - // invoiceHelper.OnPreviewMouseLeftButton(spreadsheetControl1.GetCellFromPoint(e.Location)); + if(e.Button == MouseButtons.Left) + invoiceHelper.OnPreviewMouseLeftButton(spreadsheetControl1.GetCellFromPoint(e.Location)); } void SpreadsheetControl_ProtectionWarning(object sender, HandledEventArgs e) { e.Handled = true; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderEditView.resx b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderEditView.resx index 4277b14..bbbb370 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderEditView.resx +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderEditView.resx @@ -479,7 +479,97 @@ t2xktqB6kgrYlWKcbxinfL4pP3Sd8quYyuuUV3mNzoIKpnyMcivG6AxH8EnZVUXpV3S6BIzSac4/5igU j9JHoGhE+DBvYI615XV8ACYYHAr4WQA42w/v74MPGHyHxa2D/wI8gvSKdSVY5gAAAABJRU5ErkJggg== - + + + AAEAAAD/////AQAAAAAAAAAEAQAAABxTeXN0ZW0uVGV4dC5Db2RlUGFnZUVuY29kaW5nCAAAAAxtX2lz diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMailMerge.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMailMerge.Designer.cs index 55fc630..bf57ad6 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMailMerge.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMailMerge.Designer.cs @@ -1,4 +1,5 @@ -namespace DevExpress.DevAV.Modules { +#if !DXCORE3 +namespace DevExpress.DevAV.Modules { partial class OrderMailMerge { /// /// Required designer variable. @@ -1156,4 +1157,5 @@ private Snap.Extensions.UI.ViewFieldsRibbonPageGroup viewFieldsRibbonPageGroup1; private XtraSpellChecker.SpellChecker spellChecker1; } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMailMerge.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMailMerge.cs index 9d34159..2cb5532 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMailMerge.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMailMerge.cs @@ -1,4 +1,5 @@ -namespace DevExpress.DevAV.Modules { +#if !DXCORE3 +namespace DevExpress.DevAV.Modules { using System; using System.IO; using DevExpress.DevAV.ViewModels; @@ -117,10 +118,11 @@ void ViewModel_Save(object sender, EventArgs e) { snapControl.SaveDocumentAs(); } - #region +#region XtraBars.Ribbon.RibbonControl IRibbonModule.Ribbon { get { return ribbonControl; } } - #endregion +#endregion } -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMapView.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMapView.cs index 388c263..c6adfa2 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMapView.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderMapView.cs @@ -4,7 +4,7 @@ using System.IO; using DevExpress.DevAV; using DevExpress.DevAV.Presenters; - + using DevExpress.DevAV.Reports; using DevExpress.DevAV.ViewModels; using DevExpress.Pdf; @@ -65,8 +65,8 @@ } static Stream GetShipmentTemplate(Order order) { MemoryStream pdfStream = new MemoryStream(); - //var report = ReportFactory.ShippingDetail(order); - //report.ExportToPdf(pdfStream); + var report = ReportFactory.ShippingDetail(order); + report.ExportToPdf(pdfStream); return pdfStream; } static string GetWatermarkText(Order order) { diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderRevenueView.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderRevenueView.cs index 04323e8..71b3bdc 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderRevenueView.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderRevenueView.cs @@ -26,9 +26,9 @@ namespace DevExpress.DevAV.Modules { #endregion private void showDesignerBarItem_ItemClick(object sender, XtraBars.ItemClickEventArgs e) { - using(var tool = new ReportDesignTool(ViewModel.Report)) { - tool.ShowRibbonDesignerDialog(); - } + //using(var tool = new ReportDesignTool(ViewModel.Report)) { + // tool.ShowRibbonDesignerDialog(); + //} } } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderRevenueView.resx b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderRevenueView.resx index 16f7b84..92db3a7 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderRevenueView.resx +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderRevenueView.resx @@ -126,4 +126,31 @@ 278, 17 + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.Designer.cs index 79d1e4a..40a68d3 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.Designer.cs @@ -174,15 +174,15 @@ // this.editBBI.Caption = "Edit Invoice"; this.editBBI.Id = 0; - //this.editBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("editBBI.ImageOptions.SvgImage"))); - //this.editBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); + this.editBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("editBBI.ImageOptions.SvgImage"))); + this.editBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.editBBI.Name = "editBBI"; // // deleteBBI // this.deleteBBI.Caption = "Delete Sale Record"; this.deleteBBI.Id = 1; - //this.deleteBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("deleteBBI.ImageOptions.SvgImage"))); + this.deleteBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("deleteBBI.ImageOptions.SvgImage"))); this.deleteBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.deleteBBI.Name = "deleteBBI"; // @@ -190,7 +190,7 @@ // this.emailBBI.Caption = "Send Invoice via Email"; this.emailBBI.Id = 2; - //this.emailBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("emailBBI.ImageOptions.SvgImage"))); + this.emailBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("emailBBI.ImageOptions.SvgImage"))); this.emailBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.emailBBI.Name = "emailBBI"; // @@ -198,7 +198,7 @@ // this.printBBI.Caption = "Print Invoice"; this.printBBI.Id = 3; - //this.printBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("printBBI.ImageOptions.SvgImage"))); + this.printBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("printBBI.ImageOptions.SvgImage"))); this.printBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.printBBI.Name = "printBBI"; // @@ -206,7 +206,7 @@ // this.paidBBI.Caption = "Mark as Paid"; this.paidBBI.Id = 4; - //this.paidBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("paidBBI.ImageOptions.SvgImage"))); + this.paidBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("paidBBI.ImageOptions.SvgImage"))); this.paidBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.paidBBI.Name = "paidBBI"; // @@ -214,7 +214,7 @@ // this.refundBBI.Caption = "Issue Full Refund"; this.refundBBI.Id = 5; - //this.refundBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("refundBBI.ImageOptions.SvgImage"))); + this.refundBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("refundBBI.ImageOptions.SvgImage"))); this.refundBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.refundBBI.Name = "refundBBI"; // @@ -222,7 +222,7 @@ // this.previousBBI.Caption = "Previous Record"; this.previousBBI.Id = 6; - //this.previousBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("previousBBI.ImageOptions.SvgImage"))); + this.previousBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("previousBBI.ImageOptions.SvgImage"))); this.previousBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.previousBBI.Name = "previousBBI"; // @@ -230,7 +230,7 @@ // this.nextBBI.Caption = "Next Record"; this.nextBBI.Id = 7; - //this.nextBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("nextBBI.ImageOptions.SvgImage"))); + this.nextBBI.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("nextBBI.ImageOptions.SvgImage"))); this.nextBBI.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.nextBBI.Name = "nextBBI"; // diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.cs index ef7ffc3..e121d03 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.cs @@ -20,7 +20,6 @@ namespace DevExpress.DevAV.Modules { LookAndFeel.StyleChanged += LookAndFeel_StyleChanged; ViewModel.EntityChanged += ViewModel_EntityChanged; snapControl.ZoomChanged += snapControl_ZoomChanged; - } protected override void OnMVVMContextReleasing() { ViewModel.EntityChanged -= ViewModel_EntityChanged; @@ -37,30 +36,12 @@ namespace DevExpress.DevAV.Modules { var fluentAPI = mvvmContext.OfType(); fluentAPI.SetBinding(paidBBI, x => x.Caption, x => x.MarkPaidToolTip); fluentAPI.SetBinding(refundBBI, x => x.Caption, x => x.IssueFullRefundToolTip); - //editBBI.BindCommand(() => ViewModel.Edit(), ViewModel); - editBBI.Enabled = false; - editBBI.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - editBBI.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.Edit.svg?Size=16x16"; + editBBI.BindCommand(() => ViewModel.Edit(), ViewModel); deleteBBI.BindCommand(() => ViewModel.Delete(), ViewModel); - deleteBBI.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - deleteBBI.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.Delete.svg?Size=16x16"; emailBBI.BindCommand(() => ViewModel.MailTo(), ViewModel); - emailBBI.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - emailBBI.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.ThankYou.svg?Size=16x16"; - //printBBI.BindCommand(() => ViewModel.Print(), ViewModel); - printBBI.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - printBBI.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.Print.svg?Size=16x16"; - printBBI.Enabled = false; + printBBI.BindCommand(() => ViewModel.Print(), ViewModel); paidBBI.BindCommand(() => ViewModel.MarkPaid(), ViewModel); - paidBBI.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - paidBBI.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.Paid.svg?Size=16x16"; refundBBI.BindCommand(() => ViewModel.IssueFullRefund(), ViewModel); - refundBBI.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - refundBBI.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.Refund.svg?Size=16x16"; - nextBBI.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - nextBBI.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.NextRecord.svg?Size=16x16"; - previousBBI.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - previousBBI.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.PreviousRecord.svg?Size=16x16"; } void ViewModel_EntityChanged(object sender, System.EventArgs e) { QueueUIUpdate(); diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.resx b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.resx index 7f64273..78b2b72 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.resx +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrderView.resx @@ -126,6 +126,135 @@ 275, 17 + 55 diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.Designer.cs index 332e790..b2afbdf 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.Designer.cs @@ -745,8 +745,8 @@ this.biShowList.Caption = "List"; this.biShowList.GroupIndex = 1; this.biShowList.Id = 4; - this.biShowList.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - this.biShowList.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.List.svg"; + this.biShowList.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False; + this.biShowList.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biShowList.ImageOptions.SvgImage"))); this.biShowList.Name = "biShowList"; // // biMap @@ -985,8 +985,8 @@ this.biShowMasterDetail.Caption = "Detail"; this.biShowMasterDetail.GroupIndex = 1; this.biShowMasterDetail.Id = 11; - this.biShowMasterDetail.ImageOptions.ImageUri.ResourceType = typeof(DevExpress.DevAV.MainForm); - this.biShowMasterDetail.ImageOptions.ImageUri.Uri = "resource://DevExpress.DevAV.Resources.Detailed.svg"; + this.biShowMasterDetail.ImageOptions.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.False; + this.biShowMasterDetail.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("biShowMasterDetail.ImageOptions.SvgImage"))); this.biShowMasterDetail.Name = "biShowMasterDetail"; // // biShowCard diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.cs index 9424e0d..01d60c8 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.cs @@ -22,11 +22,6 @@ InitViewKind(); InitViewLayout(); InitEditors(); - //netcore3 - biPrintSubItem.Enabled = false; - biNewOrder.Enabled = false; - galleryQuickReports.Enabled = false; - biMap.Enabled = false; } protected override void OnDisposing() { CollectionPresenter.Dispose(); @@ -51,7 +46,7 @@ //New biNewOrder.BindCommand(() => ViewModel.New(), ViewModel); //Map - //biMap.BindCommand(() => ViewModel.ShowMap(), ViewModel); + biMap.BindCommand(() => ViewModel.ShowMap(), ViewModel); //Filter biNewCustomFilter.BindCommand(() => ViewModel.NewCustomFilter(), ViewModel); //Print diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.resx b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.resx index ef648ea..151c1ae 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.resx +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/Orders.resx @@ -123,4 +123,41 @@ 144, 17 + + \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrdersPrint.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrdersPrint.cs index 7e45c02..5919f70 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrdersPrint.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Modules/Sales/OrdersPrint.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Windows.Forms; using DevExpress.DevAV; - + using DevExpress.DevAV.Reports; using DevExpress.DevAV.ViewModels; using DevExpress.XtraPrinting; using DevExpress.XtraReports.Parameters; @@ -75,6 +75,7 @@ get { return GetParameter("paramToDate", typeof(DateTime)); } } void ViewModel_ReportEntityKeyChanged(object sender, EventArgs e) { + if(!(report is SalesInvoice)) return; UpdatePreview(); } void ViewModel_ReportTypeChanged(object sender, System.EventArgs e) { diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Program.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Program.cs index 3c39688..272d8c4 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Program.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Program.cs @@ -11,15 +11,23 @@ /// /// The main entry point for the application. /// + const string AppName = "DevExpressWinOutlookInspiredApp"; [STAThread] static void Main() { TaskbarAssistant.Default.Initialize(); - DevExpress.XtraEditors.WindowsFormsSettings.ForceDirectXPaint(); + AppDomain.CurrentDomain.AssemblyResolve += OnCurrentDomainAssemblyResolve; + DevAVDataDirectoryHelper.LocalPrefix = "WinOutlookInspiredApp"; + // + bool exit; + using(DevAVDataDirectoryHelper.SingleInstanceApplicationGuard(AppName, out exit)) { + if(exit) + return; // Global Appearance Settings - DevExpress.XtraEditors.WindowsFormsSettings.DefaultRibbonStyle = XtraEditors.DefaultRibbonControlStyle.Office2019; DevExpress.XtraEditors.WindowsFormsSettings.SetDPIAware(); DevExpress.XtraEditors.WindowsFormsSettings.EnableFormSkins(); + DevExpress.XtraEditors.WindowsFormsSettings.ForceDirectXPaint(); DevExpress.XtraEditors.WindowsFormsSettings.DefaultLookAndFeel.SetSkinStyle(LookAndFeel.SkinStyle.Office2019Colorful); + DevExpress.XtraEditors.WindowsFormsSettings.DefaultRibbonStyle = XtraEditors.DefaultRibbonControlStyle.Office2019; DevExpress.XtraEditors.WindowsFormsSettings.AllowPixelScrolling = Utils.DefaultBoolean.True; DevExpress.Utils.AppearanceObject.DefaultFont = new Font("Segoe UI", AppHelper.GetDefaultSize()); // Global Behavior Settings @@ -35,6 +43,16 @@ Application.Run(new MainForm()); } } + } + } + // + static Assembly OnCurrentDomainAssemblyResolve(object sender, ResolveEventArgs args) { + string partialName = DevExpress.Utils.AssemblyHelper.GetPartialName(args.Name).ToLower(); + if(partialName == "entityframework" || partialName == "system.data.sqlite" || partialName == "system.data.sqlite.ef6") { + string path = Path.Combine(Path.GetDirectoryName(typeof(Program).Assembly.Location), "Dll", partialName + ".dll"); + return Assembly.LoadFrom(path); + } + return null; } } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Properties/Settings.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Properties/Settings.Designer.cs index b9d9ac0..f6c970d 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Properties/Settings.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Properties/Settings.Designer.cs @@ -71,7 +71,7 @@ namespace DevExpress.DevAV.Properties { ")] public global::DevExpress.DevAV.ViewModels.FilterInfoList EmployeesStaticFilters { get { - return ((global::DevExpress.DevAV.ViewModels.FilterInfoList)(this["EmployeesStaticFilters"])); + return ((global::DevExpress.DevAV.ViewModels.FilterInfoList)(this["EmployeesStaticFilters"])); } set { this["EmployeesStaticFilters"] = value; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/Forms/DetailForm.Designer.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/Forms/DetailForm.Designer.cs index e915743..574df2c 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/Forms/DetailForm.Designer.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/Forms/DetailForm.Designer.cs @@ -126,7 +126,7 @@ this.Controls.Add(this.ribbonStatusBar1); this.Controls.Add(this.ribbonControl); this.FormBorderEffect = DevExpress.XtraEditors.FormBorderEffect.Shadow; - //this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "DetailForm"; this.Ribbon = this.ribbonControl; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/Forms/DetailForm.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/Forms/DetailForm.cs index 6b04b6c..de3203b 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/Forms/DetailForm.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/Forms/DetailForm.cs @@ -38,7 +38,7 @@ Ribbon.Pages[0].Text = ribbonModule.Ribbon.Pages[0].Text; Ribbon.MergeRibbon(ribbonModule.Ribbon); Ribbon.StatusBar.MergeStatusBar(ribbonModule.Ribbon.StatusBar); - Text = string.Format("{1} - {0} (.Net Core 3.0)", ribbonModule.Ribbon.ApplicationDocumentCaption, "DevAV"); + Text = string.Format("{1} - {0}", ribbonModule.Ribbon.ApplicationDocumentCaption, "DevAV"); } } #region IRibbonModule diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/ModuleActivator.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/ModuleActivator.cs index 3583962..70fe067 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/ModuleActivator.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/Services/ModuleActivator.cs @@ -32,26 +32,26 @@ public ReportActivator() { this.reportTypes = new Dictionary(); - //reportTypes.Add(EmployeeReportType.Directory, typeof(DevExpress.DevAV.Reports.EmployeeDirectory)); - //reportTypes.Add(EmployeeReportType.Profile, typeof(DevExpress.DevAV.Reports.EmployeeProfile)); - //reportTypes.Add(EmployeeReportType.Summary, typeof(DevExpress.DevAV.Reports.EmployeeSummary)); - //reportTypes.Add(EmployeeReportType.TaskList, typeof(DevExpress.DevAV.Reports.EmployeeTaskList)); + reportTypes.Add(EmployeeReportType.Directory, typeof(DevExpress.DevAV.Reports.EmployeeDirectory)); + reportTypes.Add(EmployeeReportType.Profile, typeof(DevExpress.DevAV.Reports.EmployeeProfile)); + reportTypes.Add(EmployeeReportType.Summary, typeof(DevExpress.DevAV.Reports.EmployeeSummary)); + reportTypes.Add(EmployeeReportType.TaskList, typeof(DevExpress.DevAV.Reports.EmployeeTaskList)); - //reportTypes.Add(CustomerReportType.Profile, typeof(DevExpress.DevAV.Reports.CustomerProfile)); - //reportTypes.Add(CustomerReportType.SelectedContactDirectory, typeof(DevExpress.DevAV.Reports.CustomerContactsDirectory)); - //reportTypes.Add(CustomerReportType.ContactDirectory, typeof(DevExpress.DevAV.Reports.CustomerContactsDirectory)); - //reportTypes.Add(CustomerReportType.LocationsDirectory, typeof(DevExpress.DevAV.Reports.CustomerLocationsDirectory)); - //reportTypes.Add(CustomerReportType.SalesSummary, typeof(DevExpress.DevAV.Reports.CustomerSalesSummaryReport)); - //reportTypes.Add(CustomerReportType.SalesDetail, typeof(DevExpress.DevAV.Reports.CustomerSalesDetailReport)); + reportTypes.Add(CustomerReportType.Profile, typeof(DevExpress.DevAV.Reports.CustomerProfile)); + reportTypes.Add(CustomerReportType.SelectedContactDirectory, typeof(DevExpress.DevAV.Reports.CustomerContactsDirectory)); + reportTypes.Add(CustomerReportType.ContactDirectory, typeof(DevExpress.DevAV.Reports.CustomerContactsDirectory)); + reportTypes.Add(CustomerReportType.LocationsDirectory, typeof(DevExpress.DevAV.Reports.CustomerLocationsDirectory)); + reportTypes.Add(CustomerReportType.SalesSummary, typeof(DevExpress.DevAV.Reports.CustomerSalesSummaryReport)); + reportTypes.Add(CustomerReportType.SalesDetail, typeof(DevExpress.DevAV.Reports.CustomerSalesDetailReport)); - //reportTypes.Add(ProductReportType.SpecificationSummary, typeof(DevExpress.DevAV.Reports.ProductProfile)); - //reportTypes.Add(ProductReportType.OrderDetail, typeof(DevExpress.DevAV.Reports.ProductOrders)); - //reportTypes.Add(ProductReportType.SalesSummary, typeof(DevExpress.DevAV.Reports.ProductSalesSummary)); - //reportTypes.Add(ProductReportType.TopSalesperson, typeof(DevExpress.DevAV.Reports.ProductTopSalesperson)); + reportTypes.Add(ProductReportType.SpecificationSummary, typeof(DevExpress.DevAV.Reports.ProductProfile)); + reportTypes.Add(ProductReportType.OrderDetail, typeof(DevExpress.DevAV.Reports.ProductOrders)); + reportTypes.Add(ProductReportType.SalesSummary, typeof(DevExpress.DevAV.Reports.ProductSalesSummary)); + reportTypes.Add(ProductReportType.TopSalesperson, typeof(DevExpress.DevAV.Reports.ProductTopSalesperson)); - //reportTypes.Add(SalesReportType.Invoice, typeof(DevExpress.DevAV.Reports.SalesInvoice)); - //reportTypes.Add(SalesReportType.SalesReport, typeof(DevExpress.DevAV.Reports.SalesOrdersSummaryReport)); - //reportTypes.Add(SalesReportType.SalesByStore, typeof(DevExpress.DevAV.Reports.SalesAnalysisReport)); + reportTypes.Add(SalesReportType.Invoice, typeof(DevExpress.DevAV.Reports.SalesInvoice)); + reportTypes.Add(SalesReportType.SalesReport, typeof(DevExpress.DevAV.Reports.SalesOrdersSummaryReport)); + reportTypes.Add(SalesReportType.SalesByStore, typeof(DevExpress.DevAV.Reports.SalesAnalysisReport)); } public object CreateReport(object reportKey) { Type reportType; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Customer/CustomerViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Customer/CustomerViewModel.cs index 1c8240d..9945290 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Customer/CustomerViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Customer/CustomerViewModel.cs @@ -10,6 +10,7 @@ using DevExpress.DevAV.DevAVDbDataModel; using DevExpress.Mvvm.DataModel; using DevExpress.DevAV; using DevExpress.DevAV.Common.ViewModel; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.ViewModels { /// @@ -37,29 +38,29 @@ namespace DevExpress.DevAV.ViewModels { /// /// The view model for the CustomerEmployees detail collection. /// - public CollectionViewModel CustomerEmployeesDetails { - get { return GetDetailsCollectionViewModel((CustomerViewModel x) => x.CustomerEmployeesDetails, x => x.CustomerEmployees, x => x.CustomerId, (x, key) => x.CustomerId = key); } + public CollectionViewModelBase CustomerEmployeesDetails { + get { return GetDetailsCollectionViewModel((CustomerViewModel x) => x.CustomerEmployeesDetails, x => x.CustomerEmployees, x => x.CustomerId, (x, key) => x.CustomerId = key); } } /// /// The view model for the CustomerOrders detail collection. /// - public CollectionViewModel CustomerOrdersDetails { - get { return GetDetailsCollectionViewModel((CustomerViewModel x) => x.CustomerOrdersDetails, x => x.Orders, x => x.CustomerId, (x, key) => x.CustomerId = key, query => query.ActualOrders()); } + public CollectionViewModelBase CustomerOrdersDetails { + get { return GetDetailsCollectionViewModel((CustomerViewModel x) => x.CustomerOrdersDetails, x => x.Orders, x => x.CustomerId, (x, key) => x.CustomerId = key, query => query.ActualOrders()); } } /// /// The view model for the CustomerQuotes detail collection. /// - public CollectionViewModel CustomerQuotesDetails { - get { return GetDetailsCollectionViewModel((CustomerViewModel x) => x.CustomerQuotesDetails, x => x.Quotes, x => x.CustomerId, (x, key) => x.CustomerId = key, query => query.ActualQuotes()); } + public CollectionViewModelBase CustomerQuotesDetails { + get { return GetDetailsCollectionViewModel((CustomerViewModel x) => x.CustomerQuotesDetails, x => x.Quotes, x => x.CustomerId, (x, key) => x.CustomerId = key, query => query.ActualQuotes()); } } /// /// The view model for the CustomerCustomerStores detail collection. /// - public CollectionViewModel CustomerCustomerStoresDetails { - get { return GetDetailsCollectionViewModel((CustomerViewModel x) => x.CustomerCustomerStoresDetails, x => x.CustomerStores, x => x.CustomerId, (x, key) => x.CustomerId = key); } + public CollectionViewModelBase CustomerCustomerStoresDetails { + get { return GetDetailsCollectionViewModel((CustomerViewModel x) => x.CustomerCustomerStoresDetails, x => x.CustomerStores, x => x.CustomerId, (x, key) => x.CustomerId = key); } } } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeCollectionViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeCollectionViewModel.cs index e81b31f..70bbd57 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeCollectionViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeCollectionViewModel.cs @@ -1,13 +1,15 @@ using System; using System.Linq; using DevExpress.Mvvm.POCO; -using DevExpress.DevAV.Common.Utils; -using DevExpress.DevAV.DevAVDbDataModel; using DevExpress.Mvvm.DataModel; +using DevExpress.Mvvm.ViewModel; +using DevExpress.DevAV.DevAVDbDataModel; +using DevExpress.DevAV.Common; using DevExpress.DevAV; using DevExpress.DevAV.Common.ViewModel; namespace DevExpress.DevAV.ViewModels { + /// /// Represents the Employees collection view model. /// @@ -17,8 +19,8 @@ namespace DevExpress.DevAV.ViewModels { /// Creates a new instance of EmployeeCollectionViewModel as a POCO view model. /// /// A factory used to create a unit of work instance. - public static EmployeeCollectionViewModel Create(IUnitOfWorkFactory unitOfWorkFactory = null) { - return ViewModelSource.Create(() => new EmployeeCollectionViewModel(unitOfWorkFactory)); + public static EmployeeCollectionViewModel Create(IUnitOfWorkFactory unitOfWorkFactory = null, UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual) { + return ViewModelSource.Create(() => new EmployeeCollectionViewModel(unitOfWorkFactory, unitOfWorkPolicy)); } /// @@ -26,8 +28,8 @@ namespace DevExpress.DevAV.ViewModels { /// This constructor is declared protected to avoid undesired instantiation of the EmployeeCollectionViewModel type without the POCO proxy factory. /// /// A factory used to create a unit of work instance. - protected EmployeeCollectionViewModel(IUnitOfWorkFactory unitOfWorkFactory = null) - : base(unitOfWorkFactory ?? UnitOfWorkSource.GetUnitOfWorkFactory(), x => x.Employees) { + protected EmployeeCollectionViewModel(IUnitOfWorkFactory unitOfWorkFactory = null, UnitOfWorkPolicy unitOfWorkPolicy = UnitOfWorkPolicy.Individual) + : base(unitOfWorkFactory ?? UnitOfWorkSource.GetUnitOfWorkFactory(), x => x.Employees, unitOfWorkPolicy: unitOfWorkPolicy) { } } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeCollectionViewModel.partial.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeCollectionViewModel.partial.cs index f5529e1..7ff73fd 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeCollectionViewModel.partial.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeCollectionViewModel.partial.cs @@ -3,6 +3,7 @@ namespace DevExpress.DevAV.ViewModels { using System.Collections.Generic; using System.Linq; using DevExpress.DevAV; + using DevExpress.Mvvm; using DevExpress.Mvvm.DataAnnotations; using DevExpress.Mvvm.POCO; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeContactsViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeContactsViewModel.cs index 68161d3..0bf36aa 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeContactsViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeContactsViewModel.cs @@ -74,13 +74,8 @@ namespace DevExpress.DevAV.ViewModels { this.RaiseCanExecuteChanged(x => x.MailTo()); } public static void ExecuteMailTo(IMessageBoxService messageBoxService, string email) { - try { - Process.Start("mailto://" + email); - } - catch { - if(messageBoxService != null) - messageBoxService.Show("Mail To: " + email); - } + if(Data.Utils.SafeProcess.Start("mailto://" + email) == null && messageBoxService != null) + messageBoxService.Show("Mail To: " + email); } } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeViewModel.cs index 41093c5..4dffbf7 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Employee/EmployeeViewModel.cs @@ -1,15 +1,10 @@ using System; using System.Linq; -using System.Linq.Expressions; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using DevExpress.Mvvm; -using DevExpress.Mvvm.POCO; -using DevExpress.DevAV.Common.Utils; +using DevExpress.DevAV.Common.ViewModel; using DevExpress.DevAV.DevAVDbDataModel; using DevExpress.Mvvm.DataModel; -using DevExpress.DevAV; -using DevExpress.DevAV.Common.ViewModel; +using DevExpress.Mvvm.POCO; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.ViewModels { /// @@ -38,7 +33,11 @@ namespace DevExpress.DevAV.ViewModels { /// The view model that contains a look-up collection of Pictures for the corresponding navigation property in the view. /// public IEntitiesViewModel LookUpPictures { - get { return GetLookUpEntitiesViewModel((EmployeeViewModel x) => x.LookUpPictures, x => x.Pictures); } + get { + return GetLookUpEntitiesViewModel( + propertyExpression: (EmployeeViewModel x) => x.LookUpPictures, + getRepositoryFunc: x => x.Pictures); + } } /// @@ -48,25 +47,30 @@ namespace DevExpress.DevAV.ViewModels { get { return GetLookUpEntitiesViewModel((EmployeeViewModel x) => x.LookUpProbations, x => x.Probations); } } - /// - /// The view model for the EmployeeAssignedTasks detail collection. - /// - public CollectionViewModel EmployeeAssignedTasksDetails { - get { return GetDetailsCollectionViewModel((EmployeeViewModel x) => x.EmployeeAssignedTasksDetails, x => x.Tasks, x => x.AssignedEmployeeId, (x, key) => x.AssignedEmployeeId = key); } - } - /// /// The view model for the EmployeeOwnedTasks detail collection. /// - public CollectionViewModel EmployeeOwnedTasksDetails { - get { return GetDetailsCollectionViewModel((EmployeeViewModel x) => x.EmployeeOwnedTasksDetails, x => x.Tasks, x => x.OwnerId, (x, key) => x.OwnerId = key); } + public CollectionViewModelBase EmployeeOwnedTasksDetails { + get { + return GetDetailsCollectionViewModel( + propertyExpression: (EmployeeViewModel x) => x.EmployeeOwnedTasksDetails, + getRepositoryFunc: x => x.Tasks, + foreignKeyExpression: x => x.OwnerId, + navigationExpression: x => x.Owner); + } } /// /// The view model for the EmployeeEvaluations detail collection. /// - public CollectionViewModel EmployeeEvaluationsDetails { - get { return GetDetailsCollectionViewModel((EmployeeViewModel x) => x.EmployeeEvaluationsDetails, x => x.Evaluations, x => x.EmployeeId, (x, key) => x.EmployeeId = key); } + public CollectionViewModelBase EmployeeEvaluationsDetails { + get { + return GetDetailsCollectionViewModel( + propertyExpression: (EmployeeViewModel x) => x.EmployeeEvaluationsDetails, + getRepositoryFunc: x => x.Evaluations, + foreignKeyExpression: x => x.EmployeeId, + navigationExpression: x => x.Employee); + } } } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/FilterTreeViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/FilterTreeViewModel.cs index ef40da2..74cfe5e 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/FilterTreeViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/FilterTreeViewModel.cs @@ -5,6 +5,7 @@ using System.ComponentModel.DataAnnotations; using DevExpress.Data.Filtering; using DevExpress.Mvvm.DataModel; + using DevExpress.DevAV.Common.Utils; using DevExpress.DevAV.Common.ViewModel; using DevExpress.DevAV.ViewModels; diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderCollectionViewModel.partial.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderCollectionViewModel.partial.cs index 2afd93e..f221da4 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderCollectionViewModel.partial.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderCollectionViewModel.partial.cs @@ -9,6 +9,7 @@ namespace DevExpress.DevAV.ViewModels { using DevExpress.Mvvm; using DevExpress.Mvvm.DataAnnotations; using DevExpress.Mvvm.POCO; + using DevExpress.Mvvm.ViewModel; partial class OrderCollectionViewModel : ISupportMap, ISupportCustomFilters { public override void Refresh() { @@ -81,7 +82,7 @@ namespace DevExpress.DevAV.ViewModels { return order != null; } public override void New() { - GetDocumentManagerService().ShowNewEntityDocument(this, newOrder => InitializeNewOrder(newOrder)); + DocumentManagerService.ShowNewEntityDocument(this, newOrder => InitializeNewOrder(newOrder)); } void InitializeNewOrder(Order order) { var unitOfWork = CreateUnitOfWork(); diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderQuickReportsViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderQuickReportsViewModel.cs index 63e4185..84d241f 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderQuickReportsViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderQuickReportsViewModel.cs @@ -1,7 +1,7 @@ namespace DevExpress.DevAV.ViewModels { using DevExpress.DevAV; using DevExpress.DevAV.DevAVDbDataModel; - + using DevExpress.DevAV.Reports; using DevExpress.Mvvm; using System; using System.ComponentModel; @@ -26,18 +26,18 @@ } public void LoadDocument(Order order) { var documentStream = new MemoryStream(); - //var report = ReportFactory.SalesInvoice(order, true, false, false, false); - //switch(Format) { - // case ReportFormat.Pdf: - // report.ExportToPdf(documentStream); - // break; - // case ReportFormat.Xls: - // report.ExportToXls(documentStream); - // break; - // case ReportFormat.Doc: - // report.ExportToRtf(documentStream, new XtraPrinting.RtfExportOptions() { ExportMode = XtraPrinting.RtfExportMode.SingleFilePageByPage }); - // break; - //} + var report = ReportFactory.SalesInvoice(order, true, false, false, false); + switch(Format) { + case ReportFormat.Pdf: + report.ExportToPdf(documentStream); + break; + case ReportFormat.Xls: + report.ExportToXls(documentStream); + break; + case ReportFormat.Doc: + report.ExportToRtf(documentStream, new XtraPrinting.RtfExportOptions() { ExportMode = XtraPrinting.RtfExportMode.SingleFilePageByPage }); + break; + } DocumentStream = documentStream; DocumentStream.Seek(0, SeekOrigin.Begin); } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderRevenueViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderRevenueViewModel.cs index 002bd15..acfdaf4 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderRevenueViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderRevenueViewModel.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.IO; - +using DevExpress.DevAV.Reports; using DevExpress.Mvvm; using DevExpress.Mvvm.POCO; using DevExpress.XtraReports.UI; @@ -58,9 +58,8 @@ namespace DevExpress.DevAV.ViewModels { report.Parameters["paramOrderDate"].Value = true; } XtraReport CreateReport() { - return null; - //return Format == RevenueReportFormat.Summary ? ReportFactory.SalesRevenueReport(SelectedItems, true) : - // ReportFactory.SalesRevenueAnalysisReport(SelectedItems, true); + return Format == RevenueReportFormat.Summary ? ReportFactory.SalesRevenueReport(SelectedItems, true) : + ReportFactory.SalesRevenueAnalysisReport(SelectedItems, true); } string CreateTitle() { return string.Format("{0}", Format == RevenueReportFormat.Analysis ? "Revenue Analysis" : "Revenue"); diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderViewModel.cs index 1d17c60..42768e2 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderViewModel.cs @@ -10,6 +10,7 @@ using DevExpress.DevAV.DevAVDbDataModel; using DevExpress.Mvvm.DataModel; using DevExpress.DevAV; using DevExpress.DevAV.Common.ViewModel; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.ViewModels { /// @@ -55,11 +56,11 @@ namespace DevExpress.DevAV.ViewModels { get { return GetLookUpEntitiesViewModel((OrderViewModel x) => x.LookUpEmployees, x => x.Employees); } } - /// - /// The view model for the OrderOrderItems detail collection. - /// - public CollectionViewModel OrderOrderItemsDetails { - get { return GetDetailsCollectionViewModel((OrderViewModel x) => x.OrderOrderItemsDetails, x => x.OrderItems, x => x.OrderId, (x, key) => x.OrderId = key); } - } + ///// + ///// The view model for the OrderOrderItems detail collection. + ///// + //public CollectionViewModel OrderOrderItemsDetails { + // get { return GetDetailsCollectionViewModel((OrderViewModel x) => x.OrderOrderItemsDetails, x => x.OrderItems, x => x.OrderId, (x, key) => x.OrderId = key); } + //} } } \ No newline at end of file diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderViewModel.partial.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderViewModel.partial.cs index ad6e5e9..d6bdb38 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderViewModel.partial.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Order/OrderViewModel.partial.cs @@ -1,7 +1,7 @@ namespace DevExpress.DevAV.ViewModels { using System; using System.Collections.Generic; - + using DevExpress.DevAV.Reports.Spreadsheet; using DevExpress.Mvvm.DataAnnotations; using DevExpress.Mvvm.POCO; using System.Linq; @@ -106,25 +106,25 @@ namespace DevExpress.DevAV.ViewModels { public IEnumerable GetCustomerStores(long? customerId) { return UnitOfWork.CustomerStores.Where(x => Nullable.Equals(x.CustomerId, customerId)); } - //[Command(false)] - //public Tuple CreateInvoiceDataSource() { - // var collections = new OrderCollections(); - // collections.Customers = UnitOfWork.Customers; - // collections.Products = UnitOfWork.Products; - // collections.Employees = UnitOfWork.Employees; - // collections.CustomerStores = GetCustomerStores(Entity.CustomerId); - // return new Tuple(collections, Entity); - //} + [Command(false)] + public Tuple CreateInvoiceDataSource() { + var collections = new OrderCollections(); + collections.Customers = UnitOfWork.Customers; + collections.Products = UnitOfWork.Products; + collections.Employees = UnitOfWork.Employees; + collections.CustomerStores = GetCustomerStores(Entity.CustomerId); + return new Tuple(collections, Entity); + } public override bool CanSave() { return base.CanSave() && Entity.OrderItems.Any(); } } public partial class SynchronizedOrderViewModel : OrderViewModel { - protected override bool EnableEntityChangedSynchronization { + protected override bool EnableSelectedItemSynchronization { get { return true; } } - protected override bool EnableSelectedItemSynchronization { + protected override bool EnableEntityChangedSynchronization { get { return true; } } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Product/ProductViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Product/ProductViewModel.cs index 93b3363..b7165ea 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Product/ProductViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Product/ProductViewModel.cs @@ -10,6 +10,7 @@ using DevExpress.DevAV.DevAVDbDataModel; using DevExpress.Mvvm.DataModel; using DevExpress.DevAV; using DevExpress.DevAV.Common.ViewModel; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.ViewModels { /// @@ -51,22 +52,40 @@ namespace DevExpress.DevAV.ViewModels { /// /// The view model for the ProductCatalog detail collection. /// - public CollectionViewModel ProductCatalogDetails { - get { return GetDetailsCollectionViewModel((ProductViewModel x) => x.ProductCatalogDetails, x => x.ProductCatalogs, x => x.ProductId, (x, key) => x.ProductId = key); } + public CollectionViewModelBase ProductCatalogDetails { + get { + return GetDetailsCollectionViewModel( + propertyExpression: (ProductViewModel x) => x.ProductCatalogDetails, + getRepositoryFunc: x => x.ProductCatalogs, + foreignKeyExpression: x => x.ProductId, + navigationExpression: x => x.Product); + } } /// /// The view model for the ProductOrderItems detail collection. /// - public CollectionViewModel ProductOrderItemsDetails { - get { return GetDetailsCollectionViewModel((ProductViewModel x) => x.ProductOrderItemsDetails, x => x.OrderItems, x => x.ProductId, (x, key) => x.ProductId = key); } + public CollectionViewModelBase ProductOrderItemsDetails { + get { + return GetDetailsCollectionViewModel( + propertyExpression: (ProductViewModel x) => x.ProductOrderItemsDetails, + getRepositoryFunc: x => x.OrderItems, + foreignKeyExpression: x => x.ProductId, + navigationExpression: x => x.Product); + } } /// /// The view model for the ProductImages detail collection. /// - public CollectionViewModel ProductImagesDetails { - get { return GetDetailsCollectionViewModel((ProductViewModel x) => x.ProductImagesDetails, x => x.ProductImages, x => x.ProductId, (x, key) => x.ProductId = key); } + public CollectionViewModelBase ProductImagesDetails { + get { + return GetDetailsCollectionViewModel( + propertyExpression: (ProductViewModel x) => x.ProductImagesDetails, + getRepositoryFunc: x => x.ProductImages, + foreignKeyExpression: x => x.ProductId, + navigationExpression: x => x.Product); + } } } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Quote/QuoteViewModel.cs b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Quote/QuoteViewModel.cs index fb840a4..cd985e5 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Quote/QuoteViewModel.cs +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/ViewModels/Quote/QuoteViewModel.cs @@ -10,6 +10,7 @@ using DevExpress.DevAV.DevAVDbDataModel; using DevExpress.Mvvm.DataModel; using DevExpress.DevAV; using DevExpress.DevAV.Common.ViewModel; +using DevExpress.Mvvm.ViewModel; namespace DevExpress.DevAV.ViewModels { /// @@ -55,11 +56,5 @@ namespace DevExpress.DevAV.ViewModels { get { return GetLookUpEntitiesViewModel((QuoteViewModel x) => x.LookUpEmployees, x => x.Employees); } } - /// - /// The view model for the QuoteQuoteItems detail collection. - /// - public CollectionViewModel QuoteQuoteItemsDetails { - get { return GetDetailsCollectionViewModel((QuoteViewModel x) => x.QuoteQuoteItemsDetails, x => x.QuoteItems, x => x.QuoteId, (x, key) => x.QuoteId = key); } - } } } diff --git a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/app.config b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/app.config index 1edb9a7..81e6849 100644 --- a/OutlookInspiredApp/DevExpress.OutlookInspiredApp/app.config +++ b/OutlookInspiredApp/DevExpress.OutlookInspiredApp/app.config @@ -163,7 +163,7 @@ All - + Unpaid Orders [PaymentTotal] = 0.0m @@ -196,22 +196,22 @@ All - - +