protected virtual void OnBeforeShowPreview(XtraReport report) { if (BeforeShowPreview != null) { BeforeShowPreviewEventArgs args = new BeforeShowPreviewEventArgs(report); BeforeShowPreview(this, args); } }
void ReportsDataSourceHelper_BeforeShowPreview(object sender, BeforeShowPreviewEventArgs e) { var currentViewObject = View.CurrentObject as Pilot; e.Report.Parameters["OidParam"].Value = currentViewObject.Oid; }
private void ReportsDataSourceHelper_BeforeShowPreview(object sender, BeforeShowPreviewEventArgs e) { e.Report.PrintingSystem.StartPrint += PrintingSystem_StartPrint; }
private void ReportsDataSourceHelper_BeforeShowPreview_new(object sender, BeforeShowPreviewEventArgs e) { #if DEBUG Thread.Sleep(1000); #endif }