PageRenderTime 37ms CodeModel.GetById 19ms app.highlight 12ms RepoModel.GetById 2ms app.codeStats 0ms

/Reports/CheqBook.cs

http://github.com/khaneh/Orders
C# | 199 lines | 150 code | 25 blank | 24 comment | 0 complexity | 26c79f381d7def16175e87a601eb15e7 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 CheqBook : ReportClass {
 20        
 21        public CheqBook() {
 22        }
 23        
 24        public override string ResourceName {
 25            get {
 26                return "CheqBook.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 Section1 {
 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 Section2 {
 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 Section3 {
 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 Section4 {
 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 Section5 {
 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_GLAccount {
 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_Tafsil {
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_FromDate {
108            get {
109                return this.DataDefinition.ParameterFields[2];
110            }
111        }
112        
113        [Browsable(false)]
114        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
115        public CrystalDecisions.Shared.IParameterField Parameter_ToDate {
116            get {
117                return this.DataDefinition.ParameterFields[3];
118            }
119        }
120        
121        [Browsable(false)]
122        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
123        public CrystalDecisions.Shared.IParameterField Parameter_GL {
124            get {
125                return this.DataDefinition.ParameterFields[4];
126            }
127        }
128        
129        [Browsable(false)]
130        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
131        public CrystalDecisions.Shared.IParameterField Parameter_ShowRemained {
132            get {
133                return this.DataDefinition.ParameterFields[5];
134            }
135        }
136    }
137    
138    [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
139    public class CachedCheqBook : Component, ICachedReport {
140        
141        public CachedCheqBook() {
142        }
143        
144        [Browsable(false)]
145        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
146        public virtual bool IsCacheable {
147            get {
148                return true;
149            }
150            set {
151                // 
152            }
153        }
154        
155        [Browsable(false)]
156        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
157        public virtual bool ShareDBLogonInfo {
158            get {
159                return false;
160            }
161            set {
162                // 
163            }
164        }
165        
166        [Browsable(false)]
167        [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
168        public virtual System.TimeSpan CacheTimeOut {
169            get {
170                return CachedReportConstants.DEFAULT_TIMEOUT;
171            }
172            set {
173                // 
174            }
175        }
176        
177        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
178            CheqBook rpt = new CheqBook();
179            rpt.Site = this.Site;
180            return rpt;
181        }
182        
183        public virtual string GetCustomizedCacheKey(RequestContext request) {
184            String key = null;
185            // // The following is the code used to generate the default
186            // // cache key for caching report jobs in the ASP.NET Cache.
187            // // Feel free to modify this code to suit your needs.
188            // // Returning key == null causes the default cache key to
189            // // be generated.
190            // 
191            // key = RequestContext.BuildCompleteCacheKey(
192            //     request,
193            //     null,       // sReportFilename
194            //     this.GetType(),
195            //     this.ShareDBLogonInfo );
196            return key;
197        }
198    }
199}