using System; using System.Drawing; using System.Collections; using System.ComponentModel; using DevExpress.XtraReports.UI; using System.Reflection; namespace Neo.LegitimateLicences.Reports.OLReports { public partial class Licences_TemporarySpecialOL : DevExpress.XtraReports.UI.XtraReport { public Licences_TemporarySpecialOL() { InitializeComponent(); } private void Licences_TemporarySpecialOL_ParametersRequestBeforeShow(object sender, DevExpress.XtraReports.Parameters.ParametersRequestEventArgs e) { foreach (var info in e.ParametersInformation) { if (info.Parameter.Name == "IssueDate") { info.Parameter.Value = DateTime.Now; } } } } }