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

/Reports/ARStatement.cs

http://github.com/khaneh/Orders
C# | 175 lines | 129 code | 22 blank | 24 comment | 0 complexity | 3e53a648579505f589d853333fc66d93 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 ARStatement : ReportClass {
 20        
 21        public ARStatement() {
 22        }
 23        
 24        public override string ResourceName {
 25            get {
 26                return "ARStatement.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 PageHeaderSection3 {
 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 DetailSection1 {
 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 ReportFooterSection1 {
 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 PageFooterSection1 {
 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 PageFooterSection3 {
 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_Account {
 92            get {
 93                return this.DataDefinition.ParameterFields[0];
 94            }
 95        }
 96        
 97        [Browsable(false)]
 98        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 99        public CrystalDecisions.Shared.IParameterField Parameter_StartDate {
100            get {
101                return this.DataDefinition.ParameterFields[1];
102            }
103        }
104        
105        [Browsable(false)]
106        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
107        public CrystalDecisions.Shared.IParameterField Parameter_EndDate {
108            get {
109                return this.DataDefinition.ParameterFields[2];
110            }
111        }
112    }
113    
114    [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
115    public class CachedARStatement : Component, ICachedReport {
116        
117        public CachedARStatement() {
118        }
119        
120        [Browsable(false)]
121        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
122        public virtual bool IsCacheable {
123            get {
124                return true;
125            }
126            set {
127                // 
128            }
129        }
130        
131        [Browsable(false)]
132        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
133        public virtual bool ShareDBLogonInfo {
134            get {
135                return false;
136            }
137            set {
138                // 
139            }
140        }
141        
142        [Browsable(false)]
143        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
144        public virtual System.TimeSpan CacheTimeOut {
145            get {
146                return CachedReportConstants.DEFAULT_TIMEOUT;
147            }
148            set {
149                // 
150            }
151        }
152        
153        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
154            ARStatement rpt = new ARStatement();
155            rpt.Site = this.Site;
156            return rpt;
157        }
158        
159        public virtual string GetCustomizedCacheKey(RequestContext request) {
160            String key = null;
161            // // The following is the code used to generate the default
162            // // cache key for caching report jobs in the ASP.NET Cache.
163            // // Feel free to modify this code to suit your needs.
164            // // Returning key == null causes the default cache key to
165            // // be generated.
166            // 
167            // key = RequestContext.BuildCompleteCacheKey(
168            //     request,
169            //     null,       // sReportFilename
170            //     this.GetType(),
171            //     this.ShareDBLogonInfo );
172            return key;
173        }
174    }
175}