PageRenderTime 23ms CodeModel.GetById 12ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/Reports/InvoicePrintForm.cs

http://github.com/khaneh/Orders
C# | 151 lines | 108 code | 19 blank | 24 comment | 0 complexity | c22ad84ad3674fa0d3a1ce1c3c3c0335 MD5 | raw file
  1//------------------------------------------------------------------------------
  2// <autogenerated>
  3//     This code was generated by a tool.
  4//     Runtime Version: 1.0.3705.0
  5//
  6//     Changes to this file may cause incorrect behavior and will be lost if 
  7//     the code is regenerated.
  8// </autogenerated>
  9//------------------------------------------------------------------------------
 10
 11namespace Reports {
 12    using System;
 13    using System.ComponentModel;
 14    using CrystalDecisions.Shared;
 15    using CrystalDecisions.ReportSource;
 16    using CrystalDecisions.CrystalReports.Engine;
 17    
 18    
 19    public class InvoicePrintForm : ReportClass {
 20        
 21        public InvoicePrintForm() {
 22        }
 23        
 24        public override string ResourceName {
 25            get {
 26                return "InvoicePrintForm.rpt";
 27            }
 28            set {
 29                // Do nothing
 30            }
 31        }
 32        
 33        [Browsable(false)]
 34        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 35        public CrystalDecisions.CrystalReports.Engine.Section ReportHeaderSection1 {
 36            get {
 37                return this.ReportDefinition.Sections[0];
 38            }
 39        }
 40        
 41        [Browsable(false)]
 42        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 43        public CrystalDecisions.CrystalReports.Engine.Section PageHeaderSection1 {
 44            get {
 45                return this.ReportDefinition.Sections[1];
 46            }
 47        }
 48        
 49        [Browsable(false)]
 50        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 51        public CrystalDecisions.CrystalReports.Engine.Section DetailSection1 {
 52            get {
 53                return this.ReportDefinition.Sections[2];
 54            }
 55        }
 56        
 57        [Browsable(false)]
 58        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 59        public CrystalDecisions.CrystalReports.Engine.Section ReportFooterSection1 {
 60            get {
 61                return this.ReportDefinition.Sections[3];
 62            }
 63        }
 64        
 65        [Browsable(false)]
 66        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 67        public CrystalDecisions.CrystalReports.Engine.Section PageFooterSection1 {
 68            get {
 69                return this.ReportDefinition.Sections[4];
 70            }
 71        }
 72        
 73        [Browsable(false)]
 74        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 75        public CrystalDecisions.CrystalReports.Engine.Section PageFooterSection3 {
 76            get {
 77                return this.ReportDefinition.Sections[5];
 78            }
 79        }
 80        
 81        [Browsable(false)]
 82        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 83        public CrystalDecisions.Shared.IParameterField Parameter_InvoiceID {
 84            get {
 85                return this.DataDefinition.ParameterFields[0];
 86            }
 87        }
 88    }
 89    
 90    [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
 91    public class CachedInvoicePrintForm : Component, ICachedReport {
 92        
 93        public CachedInvoicePrintForm() {
 94        }
 95        
 96        [Browsable(false)]
 97        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 98        public virtual bool IsCacheable {
 99            get {
100                return true;
101            }
102            set {
103                // 
104            }
105        }
106        
107        [Browsable(false)]
108        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
109        public virtual bool ShareDBLogonInfo {
110            get {
111                return false;
112            }
113            set {
114                // 
115            }
116        }
117        
118        [Browsable(false)]
119        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
120        public virtual System.TimeSpan CacheTimeOut {
121            get {
122                return CachedReportConstants.DEFAULT_TIMEOUT;
123            }
124            set {
125                // 
126            }
127        }
128        
129        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
130            InvoicePrintForm rpt = new InvoicePrintForm();
131            rpt.Site = this.Site;
132            return rpt;
133        }
134        
135        public virtual string GetCustomizedCacheKey(RequestContext request) {
136            String key = null;
137            // // The following is the code used to generate the default
138            // // cache key for caching report jobs in the ASP.NET Cache.
139            // // Feel free to modify this code to suit your needs.
140            // // Returning key == null causes the default cache key to
141            // // be generated.
142            // 
143            // key = RequestContext.BuildCompleteCacheKey(
144            //     request,
145            //     null,       // sReportFilename
146            //     this.GetType(),
147            //     this.ShareDBLogonInfo );
148            return key;
149        }
150    }
151}