PageRenderTime 16ms CodeModel.GetById 10ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Reports/dailySale.cs

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