case 3646
This commit is contained in:
@@ -210,8 +210,9 @@ namespace AyaNova
|
||||
|
||||
mxr.DesignerLoaded += new DesignerLoadedEventHandler(r_DesignerLoaded);
|
||||
|
||||
if (AyaBizUtils.Trial)
|
||||
Util.WatermarkReport(mxr, true);
|
||||
//case 3646 removed
|
||||
//if (AyaBizUtils.Trial)
|
||||
// Util.WatermarkReport(mxr, true);
|
||||
|
||||
//mxr.ExportOptions.Email.RecipientAddress = strEmail;
|
||||
|
||||
@@ -278,7 +279,10 @@ namespace AyaNova
|
||||
if (bReportLayoutIsDirty)
|
||||
{
|
||||
MemoryStream mStream = new MemoryStream();
|
||||
if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//case 3646
|
||||
//if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//Case 232
|
||||
//xrDesignPanel1.Report.SaveState(mStream);
|
||||
xrDesignPanel1.Report.SaveLayout(mStream);
|
||||
@@ -318,7 +322,10 @@ namespace AyaNova
|
||||
if (bReportLayoutIsDirty)
|
||||
{
|
||||
MemoryStream mStream = new MemoryStream();
|
||||
if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//case 3646 removed
|
||||
//if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//Case 232
|
||||
//xrDesignPanel1.Report.SaveState(mStream);
|
||||
xrDesignPanel1.Report.SaveLayout(mStream);
|
||||
@@ -353,7 +360,9 @@ namespace AyaNova
|
||||
{
|
||||
//Save before exit
|
||||
MemoryStream mStream = new MemoryStream();
|
||||
if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//case 3646 removed
|
||||
//if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//Case 232
|
||||
//xrDesignPanel1.Report.SaveState(mStream);
|
||||
|
||||
@@ -215,8 +215,9 @@ namespace AyaNova
|
||||
|
||||
mxr.DesignerLoaded += new DesignerLoadedEventHandler(r_DesignerLoaded);
|
||||
|
||||
if (AyaBizUtils.Trial)
|
||||
Util.WatermarkReport(mxr, true);
|
||||
//case 3646 removed
|
||||
//if (AyaBizUtils.Trial)
|
||||
// Util.WatermarkReport(mxr, true);
|
||||
|
||||
|
||||
//xrDesignMdiController1.OpenReport(mxr);
|
||||
@@ -283,7 +284,9 @@ namespace AyaNova
|
||||
if (bReportLayoutIsDirty)
|
||||
{
|
||||
MemoryStream mStream = new MemoryStream();
|
||||
if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//case 3646 removed
|
||||
//if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
|
||||
xrDesignPanel1.Report.SaveLayout(mStream);
|
||||
@@ -327,7 +330,9 @@ namespace AyaNova
|
||||
if (bReportLayoutIsDirty)
|
||||
{
|
||||
MemoryStream mStream = new MemoryStream();
|
||||
if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//case 3646 removed
|
||||
//if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
xrDesignPanel1.Report.SaveLayout(mStream);
|
||||
|
||||
@@ -362,7 +367,9 @@ namespace AyaNova
|
||||
{
|
||||
//Save before exit
|
||||
MemoryStream mStream = new MemoryStream();
|
||||
if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
//case 3646 removed
|
||||
//if (AyaBizUtils.Trial) Util.WatermarkReport(mxr, false);
|
||||
|
||||
|
||||
xrDesignPanel1.Report.SaveLayout(mStream);
|
||||
|
||||
@@ -5802,13 +5802,14 @@ At first I was happy to find your code that solved my problem, but I did not lik
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(AyaBizUtils.Trial)
|
||||
{
|
||||
WatermarkReport(x,true);
|
||||
x.PrintingSystem.SetCommandVisibility(DevExpress.XtraPrinting.PrintingSystemCommand.Watermark,DevExpress.XtraPrinting.CommandVisibility.None);
|
||||
}
|
||||
|
||||
//case 3646 removed
|
||||
//if(AyaBizUtils.Trial)
|
||||
//{
|
||||
// WatermarkReport(x,true);
|
||||
// x.PrintingSystem.SetCommandVisibility(DevExpress.XtraPrinting.PrintingSystemCommand.Watermark,DevExpress.XtraPrinting.CommandVisibility.None);
|
||||
//}
|
||||
|
||||
//case 1039 //log.Debug("ReportHandleToolClick: Initialization complete, displaying report");
|
||||
|
||||
|
||||
@@ -99,11 +99,12 @@ namespace ri
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (AyaBizUtils.Trial)
|
||||
{
|
||||
WatermarkReport(x, true);
|
||||
}
|
||||
|
||||
//case 3646 removed
|
||||
//if (AyaBizUtils.Trial)
|
||||
//{
|
||||
// WatermarkReport(x, true);
|
||||
//}
|
||||
|
||||
//pass it to the viewer component
|
||||
this.ReportViewer1.Report = x;
|
||||
|
||||
Reference in New Issue
Block a user