PageRenderTime 13ms CodeModel.GetById 2ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

/Reports/Invoice.cs

http://github.com/khaneh/Orders
C# | 159 lines | 115 code | 20 blank | 24 comment | 0 complexity | f7e1b725fc743fb9adad9d8db5338f8f MD5 | raw file
  1//------------------------------------------------------------------------------
  2// <autogenerated>
  3//     This code was generated by a tool.
  4//     Runtime Version: 1.0.3705.6018
  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 Invoice : ReportClass {
 20        
 21        public Invoice() {
 22        }
 23        
 24        public override string ResourceName {
 25            get {
 26                return "Invoice.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 PageHeaderSection2 {
 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 PageHeaderSection1 {
 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 PageHeaderSection3 {
 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 DetailSection1 {
 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 ReportFooterSection1 {
 76            get {
 77                return this.ReportDefinition.Sections[5];
 78            }
 79        }
 80        
 81        [Browsable(false)]
 82        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 83        public CrystalDecisions.CrystalReports.Engine.Section PageFooterSection1 {
 84            get {
 85                return this.ReportDefinition.Sections[6];
 86            }
 87        }
 88        
 89        [Browsable(false)]
 90        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 91        public CrystalDecisions.Shared.IParameterField Parameter_Invoice_ID {
 92            get {
 93                return this.DataDefinition.ParameterFields[0];
 94            }
 95        }
 96    }
 97    
 98    [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
 99    public class CachedInvoice : Component, ICachedReport {
100        
101        public CachedInvoice() {
102        }
103        
104        [Browsable(false)]
105        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
106        public virtual bool IsCacheable {
107            get {
108                return true;
109            }
110            set {
111                // 
112            }
113        }
114        
115        [Browsable(false)]
116        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
117        public virtual bool ShareDBLogonInfo {
118            get {
119                return false;
120            }
121            set {
122                // 
123            }
124        }
125        
126        [Browsable(false)]
127        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
128        public virtual System.TimeSpan CacheTimeOut {
129            get {
130                return CachedReportConstants.DEFAULT_TIMEOUT;
131            }
132            set {
133                // 
134            }
135        }
136        
137        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
138            Invoice rpt = new Invoice();
139            rpt.Site = this.Site;
140            return rpt;
141        }
142        
143        public virtual string GetCustomizedCacheKey(RequestContext request) {
144            String key = null;
145            // // The following is the code used to generate the default
146            // // cache key for caching report jobs in the ASP.NET Cache.
147            // // Feel free to modify this code to suit your needs.
148            // // Returning key == null causes the default cache key to
149            // // be generated.
150            // 
151            // key = RequestContext.BuildCompleteCacheKey(
152            //     request,
153            //     null,       // sReportFilename
154            //     this.GetType(),
155            //     this.ShareDBLogonInfo );
156            return key;
157        }
158    }
159}